EasyColor::C24ToBayer
Converts a color image into a Bayer pattern encoded image. Deprecation notice: the version of this method taking two bool as argument is deprecated. You should use the one taking an EBayerConfiguration instead.
Namespace: Euresys::Open_eVision
[C++]
void C24ToBayer(
EROIC24* sourceImage,
EROIBW8* destinationImage,
Euresys::Open_eVision::EBayerConfiguration bayerConfiguration
)
void C24ToBayer(
EROIC24* sourceImage,
EROIBW8* destinationImage,
bool evenCol,
bool evenRow
)
Parameters
sourceImage
Pointer to the color input image/ROI.
destinationImage
Pointer to the Bayer pattern output image/ROI, stored using the 8 bits per pixel format.
bayerConfiguration
The color configuration of the bayer image. The color configuration is defined by the component of the first 2 pixels of the image, see EBayerConfiguration.
evenCol
evenRow
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.C24ToBayer
Converts a color image into a Bayer pattern encoded image. Deprecation notice: the version of this method taking two bool as argument is deprecated. You should use the one taking an EBayerConfiguration instead.
Namespace: Euresys.Open_eVision
[C#]
void C24ToBayer(
Euresys.Open_eVision.EROIC24 sourceImage,
Euresys.Open_eVision.EROIBW8 destinationImage,
Euresys.Open_eVision.EBayerConfiguration bayerConfiguration
)
void C24ToBayer(
Euresys.Open_eVision.EROIC24 sourceImage,
Euresys.Open_eVision.EROIBW8 destinationImage,
bool evenCol,
bool evenRow
)
Parameters
sourceImage
Pointer to the color input image/ROI.
destinationImage
Pointer to the Bayer pattern output image/ROI, stored using the 8 bits per pixel format.
bayerConfiguration
The color configuration of the bayer image. The color configuration is defined by the component of the first 2 pixels of the image, see EBayerConfiguration.
evenCol
evenRow
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.