EasyColor::BayerToC24
Converts a Bayer pattern encoded image into a color image.
Namespace: Euresys::Open_eVision_2_11
[C++]
void BayerToC24(
EROIBW8* sourceImage,
EROIC24* destinationImage,
BOOL evenCol,
BOOL evenRow,
BOOL interpolate,
BOOL improved
)
Parameters
sourceImage
Pointer to the Bayer pattern input image/ROI, stored using the 8 bits per pixel format.
destinationImage
Pointer to the color output image/ROI.
evenCol
evenRow
interpolate
Interpolation mode to be used for pixel reconstruction. When
improved
Provides an access to an improved interpolation mode that reduces visible artifacts along object edges. The running time of the improved method is longer. By default, it is not used.
Remarks
The pattern can be shifted by one pixel horizontally and vertically as needed to deal with a non standard pattern origin.
See also Bayer Filter.
EasyColor.BayerToC24
Converts a Bayer pattern encoded image into a color image.
Namespace: Euresys.Open_eVision_2_11
[C#]
void BayerToC24(
Euresys.Open_eVision_2_11.EROIBW8 sourceImage,
Euresys.Open_eVision_2_11.EROIC24 destinationImage,
bool evenCol,
bool evenRow,
bool interpolate,
bool improved
)
Parameters
sourceImage
Pointer to the Bayer pattern input image/ROI, stored using the 8 bits per pixel format.
destinationImage
Pointer to the color output image/ROI.
evenCol
evenRow
interpolate
Interpolation mode to be used for pixel reconstruction. When
improved
Provides an access to an improved interpolation mode that reduces visible artifacts along object edges. The running time of the improved method is longer. By default, it is not used.
Remarks
The pattern can be shifted by one pixel horizontally and vertically as needed to deal with a non standard pattern origin.
See also Bayer Filter.