CWO++library  0.32
 All Classes Functions Variables Groups
Macros
Macros
Convolution

Macros

#define CWO_FLD_COMPLEX   (0)
#define CWO_FLD_INTENSITY   (1)
#define CWO_FLD_PHASE   (2)
#define CWO_FLD_CHAR   (3)
#define CWO_RED   (0)
#define CWO_GREEN   (1)
#define CWO_BLUE   (2)
#define CWO_GREY   (3)
#define CWO_INTER_NEAREST   (0)
#define CWO_INTER_LINEAR   (1)
#define CWO_INTER_CUBIC   (2)
#define CWO_INTER_LANCZOS   (3)
#define CWO_ED_FS   (0)
#define CWO_ED_MFS   (1)
#define CWO_ED_JJN   (2)
#define CWO_ED_ST   (3)
#define CWO_ED_BUR   (4)
#define CWO_ED_ATK   (5)
#define CWO_SAVE_AS_INTENSITY   (0x01)
#define CWO_SAVE_AS_PHASE   (0x02)
#define CWO_SAVE_AS_AMP   (0x03)
#define CWO_SAVE_AS_RE   (0x04)
#define CWO_SAVE_AS_IM   (0x05)
#define CWO_SAVE_AS_ARG   (0x06)
#define CWO_SAVE_AS_LOG   (0x100)
#define CWO_PROP_CENTER   (0)
#define CWO_PROP_FFT_SHIFT   (1)
#define CWO_PROP_MUL_CENTER   (2)
#define CWO_PROP_MUL_FFT_SHIFT   (3)
#define CWO_FILL_INSIDE   (0)
#define CWO_FILL_OUTSIDE   (1)
#define CWO_EXPAND_ZEROPAD   (0)
#define CWO_EXPAND_MIRROR   (1)
#define CWO_EXPAND_WITHOUT   (2)
#define CWO_BUFFER_FIELD   (0)
#define CWO_BUFFER_DIFF_A   (1)
#define CWO_BUFFER_DIFF_B   (2)
#define CWO_BUFFER_D1   (3)
#define CWO_BUFFER_D2   (4)
#define CWO_BUFFER_X1   (5)
#define CWO_BUFFER_X2   (6)
#define CWO_BUFFER_PLS   (7)
#define CWO_FAIL   (-1)

Detailed Description


Macro Definition Documentation

#define CWO_FLD_COMPLEX   (0)

indicates complex amplitude.

#define CWO_FLD_INTENSITY   (1)

indicates the light intensity of complex amplitude.

#define CWO_FLD_PHASE   (2)

indicates the argument of complex amplitude.

#define CWO_FLD_CHAR   (3)

This field-type is now testing. Do not use it.

#define CWO_RED   (0)

indicate red color.

#define CWO_GREEN   (1)

indicate green color.

#define CWO_BLUE   (2)

*indicate blue color.

#define CWO_GREY   (3)

indicate glay scale.

#define CWO_INTER_NEAREST   (0)

indicate nearrest neighbor interpolation.

#define CWO_INTER_LINEAR   (1)

indicate bi-linear interpolation.

#define CWO_INTER_CUBIC   (2)

indicate bi-cubic interpolation.

#define CWO_INTER_LANCZOS   (3)

indicate bi-cubic interpolation.

#define CWO_ED_FS   (0)

indicate Floyd & Steinberg's error diffusion method

#define CWO_ED_MFS   (1)

indicate modified Floyd & Steinberg's error diffusion method

#define CWO_ED_JJN   (2)

indicate Jarvis, Judice & Ninke's error diffusion method

#define CWO_ED_ST   (3)

indicate Stucki's error diffusion method

#define CWO_ED_BUR   (4)

indicate Burkes 's error diffusion method

#define CWO_ED_ATK   (5)

indicate Atkinson 's error diffusion method

#define CWO_SAVE_AS_INTENSITY   (0x01)

save intensity of complex amplitude as 256 gray scale image

#define CWO_SAVE_AS_AMP   (0x03)

save amplitude of complex amplitude as 256 gray scale image

Examples:
Phase shifting digital holography.
#define CWO_SAVE_AS_RE   (0x04)

save real part of complex amplitude as 256 gray scale image

#define CWO_SAVE_AS_IM   (0x05)

save imaginary part of complex amplitude as 256 gray scale image

#define CWO_SAVE_AS_ARG   (0x06)

save argument part of complex amplitude as 256 gray scale image

Examples:
Phase shifting digital holography.