EasyColor::Format422To444

Converts a YUV 4:2:2 image to a YUV 4:4:4 image using interpolation.

Namespace: Euresys::Open_eVision_2_11

[C++]

void Format422To444(
   EROIBW16* sourceImage,
   EROIC24* destinationImage,
   BOOL yFirst
)

Parameters

sourceImage

Pointer to the input image/ROI, stored using the 16 bits per pixel format.

destinationImage

Pointer to the output image/ROI.

yFirst

Flag indicating if the format is YUYVYUYV (TRUE) or UYVYUYVY (FALSE).

Remarks

In the YUV system, it has been established that sub-sampling the chroma components does not degrade the visual image quality. The 4:4:4 format uses three bytes of information by pixel. The 4:2:2 format is such that only the U and V chroma of the even pixels are kept and they are stored with the even and odd luma, as follows: Thus, only two bytes per pixel are required. Y[even] U[even] Y[odd] V[even]

EasyColor.Format422To444

Converts a YUV 4:2:2 image to a YUV 4:4:4 image using interpolation.

Namespace: Euresys.Open_eVision_2_11

[C#]

void Format422To444(
   Euresys.Open_eVision_2_11.EROIBW16 sourceImage,
   Euresys.Open_eVision_2_11.EROIC24 destinationImage,
   bool yFirst
)

Parameters

sourceImage

Pointer to the input image/ROI, stored using the 16 bits per pixel format.

destinationImage

Pointer to the output image/ROI.

yFirst

Flag indicating if the format is YUYVYUYV (TRUE) or UYVYUYVY (FALSE).

Remarks

In the YUV system, it has been established that sub-sampling the chroma components does not degrade the visual image quality. The 4:4:4 format uses three bytes of information by pixel. The 4:2:2 format is such that only the U and V chroma of the even pixels are kept and they are stored with the even and odd luma, as follows: Thus, only two bytes per pixel are required. Y[even] U[even] Y[odd] V[even]