whitebox-Pixels.C File Reference

#include "Image/Pixels.H"
#include "TestSuite/TestSuite.H"
#include "Util/fpe.H"
#include "Util/log.H"
#include <cstdlib>
#include <cstring>
#include <typeinfo>
Include dependency graph for whitebox-Pixels.C:

Go to the source code of this file.

Defines

#define REQUIRE_PIX3_EQ(pp, x1, x2, x3)
 Shorthand for checking the values of any 3-element pixel:
#define REQUIRE_PIX3_EQ2(pixel1, pixel2)
 Shorthand for checking the values of any 3-element pixel:
#define REQUIRE_PIX4_EQ(pp, x1, x2, x3, x4)
 Shorthand for checking the values of any 4-element pixel:
#define REQUIRE_PIX4_EQ2(pixel1, pixel2)
 Shorthand for checking the values of any 4-element pixel:

Functions

static void Pixels_xx_constructors_xx_1 (TestSuite &suite)
static void Pixels_xx_conversions_xx_1 (TestSuite &suite)
static void Pixels_xx_conversions_xx_2 (TestSuite &suite)
static void Pixels_xx_conversions_xx_3 (TestSuite &suite)
static void Pixels_xx_conversions_xx_4 (TestSuite &suite)
static void Pixels_xx_conversions_xx_5 (TestSuite &suite)
static void Pixels_xx_promotions_xx_1 (TestSuite &suite)
static void Pixels_xx_conversions_xx_6 (TestSuite &suite)
static void Pixels_xx_conversions_xx_7 (TestSuite &suite)
static void Pixels_xx_operators_xx_1 (TestSuite &suite)
static void Pixels_xx_operators_xx_2 (TestSuite &suite)
static void Pixels_xx_binary_layout_xx_1 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_1 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_2 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_3 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_4 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_5 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_6 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_7 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_8 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_9 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_10 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_11 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_12 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_13 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_14 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_15 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_16 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_17 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_18 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_19 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_20 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_21 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_22 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_23 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_24 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_25 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_26 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_27 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_28 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_29 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_30 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_31 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_32 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_33 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_34 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_35 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_36 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_37 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_38 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_39 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_40 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_41 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_42 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_43 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_44 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_45 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_46 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_47 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_48 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_49 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_50 (TestSuite &suite)
static void Pixels_xx_math_functions_xx_51 (TestSuite &suite)
int main (int argc, const char **argv)

Detailed Description

Test PixRGB and other Pixels class

Definition in file whitebox-Pixels.C.


Define Documentation

#define REQUIRE_PIX3_EQ ( pp,
x1,
x2,
x3   ) 
Value:
REQUIRE_EQ((pp)[0], (x1));                    \
  REQUIRE_EQ((pp)[1], (x2));                    \
  REQUIRE_EQ((pp)[2], (x3));

Shorthand for checking the values of any 3-element pixel:

Definition at line 60 of file whitebox-Pixels.C.

#define REQUIRE_PIX3_EQ2 ( pixel1,
pixel2   ) 
Value:
REQUIRE_EQ((pixel1)[0], (pixel2)[0]);         \
  REQUIRE_EQ((pixel1)[1], (pixel2)[1]);         \
  REQUIRE_EQ((pixel1)[2], (pixel2)[2]);

Shorthand for checking the values of any 3-element pixel:

Definition at line 66 of file whitebox-Pixels.C.

#define REQUIRE_PIX4_EQ ( pp,
x1,
x2,
x3,
x4   ) 
Value:
REQUIRE_EQ((pp)[0], (x1));                    \
  REQUIRE_EQ((pp)[1], (x2));                    \
  REQUIRE_EQ((pp)[2], (x3));                    \
  REQUIRE_EQ((pp)[3], (x4));

Shorthand for checking the values of any 4-element pixel:

Definition at line 72 of file whitebox-Pixels.C.

#define REQUIRE_PIX4_EQ2 ( pixel1,
pixel2   ) 
Value:
REQUIRE_EQ((pixel1)[0], (pixel2)[0]);         \
  REQUIRE_EQ((pixel1)[1], (pixel2)[1]);         \
  REQUIRE_EQ((pixel1)[2], (pixel2)[2]);         \
  REQUIRE_EQ((pixel1)[3], (pixel2)[3]);

Shorthand for checking the values of any 4-element pixel:

Definition at line 79 of file whitebox-Pixels.C.

Generated on Sun May 8 08:42:51 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3