ETcVnColorSpaceTransform

Offers color space transformations.

Syntax

Definition:

TYPE ETcVnColorSpaceTransform :
(
    TCVN_CST_BGR_TO_BGRA                   := 0,
    TCVN_CST_RGB_TO_RGBA                   := 0,
    TCVN_CST_BGRA_TO_BGR                   := 1,
    TCVN_CST_RGBA_TO_RGB                   := 1,
    TCVN_CST_BGR_TO_RGBA                   := 2,
    TCVN_CST_RGB_TO_BGRA                   := 2,
    TCVN_CST_BGRA_TO_RGB                   := 3,
    TCVN_CST_RGBA_TO_BGR                   := 3,
    TCVN_CST_BGR_TO_RGB                    := 4,
    TCVN_CST_RGB_TO_BGR                    := 4,
    TCVN_CST_BGRA_TO_RGBA                  := 5,
    TCVN_CST_RGBA_TO_BGRA                  := 5,
    TCVN_CST_BGR_TO_GRAY                   := 6,
    TCVN_CST_RGB_TO_GRAY                   := 7,
    TCVN_CST_GRAY_TO_BGR                   := 8,
    TCVN_CST_GRAY_TO_RGB                   := 8,
    TCVN_CST_GRAY_TO_BGRA                  := 9,
    TCVN_CST_GRAY_TO_RGBA                  := 9,
    TCVN_CST_BGRA_TO_GRAY                  := 10,
    TCVN_CST_RGBA_TO_GRAY                  := 11,
    TCVN_CST_RGB_TO_BGR_565                := 12,
    TCVN_CST_BGR_TO_BGR_565                := 13,
    TCVN_CST_BGR_565_TO_RGB                := 14,
    TCVN_CST_BGR_565_TO_BGR                := 15,
    TCVN_CST_RGBA_TO_BGR_565               := 16,
    TCVN_CST_BGRA_TO_BGR_565               := 17,
    TCVN_CST_BGR_565_TO_RGBA               := 18,
    TCVN_CST_BGR_565_TO_BGRA               := 19,
    TCVN_CST_GRAY_TO_BGR_565               := 20,
    TCVN_CST_BGR_565_TO_GRAY               := 21,
    TCVN_CST_RGB_TO_BGR_555                := 22,
    TCVN_CST_BGR_TO_BGR_555                := 23,
    TCVN_CST_BGR_555_TO_RGB                := 24,
    TCVN_CST_BGR_555_TO_BGR                := 25,
    TCVN_CST_RGBA_TO_BGR_555               := 26,
    TCVN_CST_BGRA_TO_BGR_555               := 27,
    TCVN_CST_BGR_555_TO_RGBA               := 28,
    TCVN_CST_BGR_555_TO_BGRA               := 29,
    TCVN_CST_GRAY_TO_BGR_555               := 30,
    TCVN_CST_BGR_555_TO_GRAY               := 31,
    TCVN_CST_BGR_TO_XYZ                    := 32,
    TCVN_CST_RGB_TO_XYZ                    := 33,
    TCVN_CST_XYZ_TO_BGR                    := 34,
    TCVN_CST_XYZ_TO_RGB                    := 35,
    TCVN_CST_BGR_TO_YCRCB                  := 36,
    TCVN_CST_RGB_TO_YCRCB                  := 37,
    TCVN_CST_YCRCB_TO_BGR                  := 38,
    TCVN_CST_YCRCB_TO_RGB                  := 39,
    TCVN_CST_BGR_TO_HSV                    := 40,
    TCVN_CST_RGB_TO_HSV                    := 41,
    TCVN_CST_BGR_TO_LAB                    := 44,
    TCVN_CST_RGB_TO_LAB                    := 45,
    TCVN_CST_BAYER_RG_TO_BGR               := 46,
    TCVN_CST_BAYER_BG_TO_RGB               := 46,
    TCVN_CST_BAYER_GR_TO_BGR               := 47,
    TCVN_CST_BAYER_GB_TO_RGB               := 47,
    TCVN_CST_BAYER_BG_TO_BGR               := 48,
    TCVN_CST_BAYER_RG_TO_RGB               := 48,
    TCVN_CST_BAYER_GB_TO_BGR               := 49,
    TCVN_CST_BAYER_GR_TO_RGB               := 49,
    TCVN_CST_BGR_TO_LUV                    := 50,
    TCVN_CST_RGB_TO_LUV                    := 51,
    TCVN_CST_BGR_TO_HLS                    := 52,
    TCVN_CST_RGB_TO_HLS                    := 53,
    TCVN_CST_HSV_TO_BGR                    := 54,
    TCVN_CST_HSV_TO_RGB                    := 55,
    TCVN_CST_LAB_TO_BGR                    := 56,
    TCVN_CST_LAB_TO_RGB                    := 57,
    TCVN_CST_LUV_TO_BGR                    := 58,
    TCVN_CST_LUV_TO_RGB                    := 59,
    TCVN_CST_HLS_TO_BGR                    := 60,
    TCVN_CST_HLS_TO_RGB                    := 61,
    TCVN_CST_BAYER_RG_TO_BGR_VNG           := 62,
    TCVN_CST_BAYER_GR_TO_BGR_VNG           := 63,
    TCVN_CST_BAYER_BG_TO_BGR_VNG           := 64,
    TCVN_CST_BAYER_GB_TO_BGR_VNG           := 65,
    TCVN_CST_BAYER_RG_TO_RGB_VNG           := 64,
    TCVN_CST_BAYER_GR_TO_RGB_VNG           := 65,
    TCVN_CST_BAYER_BG_TO_RGB_VNG           := 62,
    TCVN_CST_BAYER_GB_TO_RGB_VNG           := 63,
    TCVN_CST_BGR_TO_HSV_FULL               := 66,
    TCVN_CST_RGB_TO_HSV_FULL               := 67,
    TCVN_CST_BGR_TO_HLS_FULL               := 68,
    TCVN_CST_RGB_TO_HLS_FULL               := 69,
    TCVN_CST_HSV_TO_BGR_FULL               := 70,
    TCVN_CST_HSV_TO_RGB_FULL               := 71,
    TCVN_CST_HLS_TO_BGR_FULL               := 72,
    TCVN_CST_HLS_TO_RGB_FULL               := 73,
    TCVN_CST_LBGR_TO_LAB                   := 74,
    TCVN_CST_LRGB_TO_LAB                   := 75,
    TCVN_CST_LBGR_TO_LUV                   := 76,
    TCVN_CST_LRGB_TO_LUV                   := 77,
    TCVN_CST_LAB_TO_LBGR                   := 78,
    TCVN_CST_LAB_TO_LRGB                   := 79,
    TCVN_CST_LUV_TO_LBGR                   := 80,
    TCVN_CST_LUV_TO_LRGB                   := 81,
    TCVN_CST_BGR_TO_YUV                    := 82,
    TCVN_CST_RGB_TO_YUV                    := 83,
    TCVN_CST_YUV_TO_BGR                    := 84,
    TCVN_CST_YUV_TO_RGB                    := 85,
    TCVN_CST_BAYER_RG_TO_GRAY              := 86,
    TCVN_CST_BAYER_GR_TO_GRAY              := 87,
    TCVN_CST_BAYER_BG_TO_GRAY              := 88,
    TCVN_CST_BAYER_GB_TO_GRAY              := 89,
    TCVN_CST_YUV_420_NV12_TO_RGB           := 90,
    TCVN_CST_YUV_420_NV12_TO_BGR           := 91,
    TCVN_CST_YUV_420_NV21_TO_RGB           := 92,
    TCVN_CST_YUV_420_NV21_TO_BGR           := 93,
    TCVN_CST_YUV_420_SP_TO_RGB             := 92,
    TCVN_CST_YUV_420_SP_TO_BGR             := 93,
    TCVN_CST_YUV_420_NV12_TO_RGBA          := 94,
    TCVN_CST_YUV_420_NV12_TO_BGRA          := 95,
    TCVN_CST_YUV_420_NV21_TO_RGBA          := 96,
    TCVN_CST_YUV_420_NV21_TO_BGRA          := 97,
    TCVN_CST_YUV_420_SP_TO_RGBA            := 96,
    TCVN_CST_YUV_420_SP_TO_BGRA            := 97,
    TCVN_CST_YUV_420_YV12_TO_RGB           := 98,
    TCVN_CST_YUV_420_YV12_TO_BGR           := 99,
    TCVN_CST_YUV_420_IYUV_TO_RGB           := 100,
    TCVN_CST_YUV_420_IYUV_TO_BGR           := 101,
    TCVN_CST_YUV_420_I420_TO_RGB           := 100,
    TCVN_CST_YUV_420_I420_TO_BGR           := 101,
    TCVN_CST_YUV_420_P_TO_RGB              := 98,
    TCVN_CST_YUV_420_P_TO_BGR              := 99,
    TCVN_CST_YUV_420_YV12_TO_RGBA          := 102,
    TCVN_CST_YUV_420_YV12_TO_BGRA          := 103,
    TCVN_CST_YUV_420_IYUV_TO_RGBA          := 104,
    TCVN_CST_YUV_420_IYUV_TO_BGRA          := 105,
    TCVN_CST_YUV_420_I420_TO_RGBA          := 104,
    TCVN_CST_YUV_420_I420_TO_BGRA          := 105,
    TCVN_CST_YUV_420_P_TO_RGBA             := 102,
    TCVN_CST_YUV_420_P_TO_BGRA             := 103,
    TCVN_CST_YUV_420_TO_GRAY               := 106,
    TCVN_CST_YUV_420_NV21_TO_GRAY          := 106,
    TCVN_CST_YUV_420_NV12_TO_GRAY          := 106,
    TCVN_CST_YUV_420_YV12_TO_GRAY          := 106,
    TCVN_CST_YUV_420_IYUV_TO_GRAY          := 106,
    TCVN_CST_YUV_420_I420_TO_GRAY          := 106,
    TCVN_CST_YUV_420_SP_TO_GRAY            := 106,
    TCVN_CST_YUV_420_P_TO_GRAY             := 106,
    TCVN_CST_YUV_422_UYVY_TO_RGB           := 107,
    TCVN_CST_YUV_422_UYVY_TO_BGR           := 108,
    TCVN_CST_YUV_422_Y422_TO_RGB           := 107,
    TCVN_CST_YUV_422_Y422_TO_BGR           := 108,
    TCVN_CST_YUV_422_UYNV_TO_RGB           := 107,
    TCVN_CST_YUV_422_UYNV_TO_BGR           := 108,
    TCVN_CST_YUV_422_UYVY_TO_RGBA          := 111,
    TCVN_CST_YUV_422_UYVY_TO_BGRA          := 112,
    TCVN_CST_YUV_422_Y422_TO_RGBA          := 111,
    TCVN_CST_YUV_422_Y422_TO_BGRA          := 112,
    TCVN_CST_YUV_422_UYNV_TO_RGBA          := 111,
    TCVN_CST_YUV_422_UYNV_TO_BGRA          := 112,
    TCVN_CST_YUV_422_YUY2_TO_RGB           := 115,
    TCVN_CST_YUV_422_YUY2_TO_BGR           := 116,
    TCVN_CST_YUV_422_YVYU_TO_RGB           := 117,
    TCVN_CST_YUV_422_YVYU_TO_BGR           := 118,
    TCVN_CST_YUV_422_YUYV_TO_RGB           := 115,
    TCVN_CST_YUV_422_YUYV_TO_BGR           := 116,
    TCVN_CST_YUV_422_YUNV_TO_RGB           := 115,
    TCVN_CST_YUV_422_YUNV_TO_BGR           := 116,
    TCVN_CST_YUV_422_YUY2_TO_RGBA          := 119,
    TCVN_CST_YUV_422_YUY2_TO_BGRA          := 120,
    TCVN_CST_YUV_422_YVYU_TO_RGBA          := 121,
    TCVN_CST_YUV_422_YVYU_TO_BGRA          := 122,
    TCVN_CST_YUV_422_YUYV_TO_RGBA          := 119,
    TCVN_CST_YUV_422_YUYV_TO_BGRA          := 120,
    TCVN_CST_YUV_422_YUNV_TO_RGBA          := 119,
    TCVN_CST_YUV_422_YUNV_TO_BGRA          := 120,
    TCVN_CST_YUV_422_UYVY_TO_GRAY          := 123,
    TCVN_CST_YUV_422_YUY2_TO_GRAY          := 124,
    TCVN_CST_YUV_422_Y422_TO_GRAY          := 123,
    TCVN_CST_YUV_422_UYNV_TO_GRAY          := 123,
    TCVN_CST_YUV_422_YVYU_TO_GRAY          := 124,
    TCVN_CST_YUV_422_YUYV_TO_GRAY          := 124,
    TCVN_CST_YUV_422_YUNV_TO_GRAY          := 124,
    TCVN_CST_RGBA_TO_PREMULTIPLICATED_RGBA := 125,
    TCVN_CST_PREMULTIPLICATED_RGBA_TO_RGBA := 126,
    TCVN_CST_RGB_TO_YUV_420_I420           := 127,
    TCVN_CST_BGR_TO_YUV_420_I420           := 128,
    TCVN_CST_RGB_TO_YUV_420_IYUV           := 127,
    TCVN_CST_BGR_TO_YUV_420_IYUV           := 128,
    TCVN_CST_RGBA_TO_YUV_420_I420          := 129,
    TCVN_CST_BGRA_TO_YUV_420_I420          := 130,
    TCVN_CST_RGBA_TO_YUV_420_IYUV          := 129,
    TCVN_CST_BGRA_TO_YUV_420_IYUV          := 130,
    TCVN_CST_RGB_TO_YUV_420_YV12           := 131,
    TCVN_CST_BGR_TO_YUV_420_YV12           := 132,
    TCVN_CST_RGBA_TO_YUV_420_YV12          := 133,
    TCVN_CST_BGRA_TO_YUV_420_YV12          := 134,
    TCVN_CST_BAYER_RG_TO_BGR_EA            := 135,
    TCVN_CST_BAYER_GR_TO_BGR_EA            := 136,
    TCVN_CST_BAYER_BG_TO_BGR_EA            := 137,
    TCVN_CST_BAYER_GB_TO_BGR_EA            := 138,
    TCVN_CST_BAYER_RG_TO_RGB_EA            := 137,
    TCVN_CST_BAYER_GR_TO_RGB_EA            := 138,
    TCVN_CST_BAYER_BG_TO_RGB_EA            := 135,
    TCVN_CST_BAYER_GB_TO_RGB_EA            := 136,
    TCVN_CST_BAYER_RG_TO_BGRA              := 139,
    TCVN_CST_BAYER_GR_TO_BGRA              := 140,
    TCVN_CST_BAYER_BG_TO_BGRA              := 141,
    TCVN_CST_BAYER_GB_TO_BGRA              := 142,
    TCVN_CST_BAYER_RG_TO_RGBA              := 141,
    TCVN_CST_BAYER_GR_TO_RGBA              := 142,
    TCVN_CST_BAYER_BG_TO_RGBA              := 139,
    TCVN_CST_BAYER_GB_TO_RGBA              := 140,
    TCVN_CST_MAX                           := 143
)DINT;
END_TYPE

Values

Name

Description

TCVN_CST_BGR_TO_BGRA

Transform the color space from BGR to BGRA.

TCVN_CST_RGB_TO_RGBA

Transform the color space from RGB to RGBA.

TCVN_CST_BGRA_TO_BGR

Transform the color space from BGRA to BGR.

TCVN_CST_RGBA_TO_RGB

Transform the color space from RGBA to RGB.

TCVN_CST_BGR_TO_RGBA

Transform the color space from BGR to RGBA.

TCVN_CST_RGB_TO_BGRA

Transform the color space from RGB to BGRA.

TCVN_CST_BGRA_TO_RGB

Transform the color space from BGRA to RGB.

TCVN_CST_RGBA_TO_BGR

Transform the color space from RGBA to BGR.

TCVN_CST_BGR_TO_RGB

Transform the color space from BGR to RGB.

TCVN_CST_RGB_TO_BGR

Transform the color space from RGB to BGR.

TCVN_CST_BGRA_TO_RGBA

Transform the color space from BGRA to RGBA.

TCVN_CST_RGBA_TO_BGRA

Transform the color space from RGBA to BGRA.

TCVN_CST_BGR_TO_GRAY

Transform the color space from BGR to Gray.

TCVN_CST_RGB_TO_GRAY

Transform the color space from RGB to Gray.

TCVN_CST_GRAY_TO_BGR

Transform the color space from Gray to BGR.

TCVN_CST_GRAY_TO_RGB

Transform the color space from Gray to RGB.

TCVN_CST_GRAY_TO_BGRA

Transform the color space from Gray to BGRA.

TCVN_CST_GRAY_TO_RGBA

Transform the color space from Gray to RGBA.

TCVN_CST_BGRA_TO_GRAY

Transform the color space from BGRA to Gray.

TCVN_CST_RGBA_TO_GRAY

Transform the color space from RGBA to Gray.

TCVN_CST_RGB_TO_BGR_565

Transform the color space from RGB(24 bit 888) to BGR(16 bit 565).

TCVN_CST_BGR_TO_BGR_565

Transform the color space from BGR(24 bit 888) to BGR(16 bit 565).

TCVN_CST_BGR_565_TO_RGB

Transform the color space from BGR(16 bit 565) to RGB(24 bit 888).

TCVN_CST_BGR_565_TO_BGR

Transform the color space from BGR(16 bit 565) to BGR(24 bit 888).

TCVN_CST_RGBA_TO_BGR_565

Transform the color space from RGBA(32 bit 8888) to BGR(16 bit 565).

TCVN_CST_BGRA_TO_BGR_565

Transform the color space from BGRA(32 bit 8888) to BGR(16 bit 565).

TCVN_CST_BGR_565_TO_RGBA

Transform the color space from BGR(16 bit 565) to RGBA(32 bit 8888).

TCVN_CST_BGR_565_TO_BGRA

Transform the color space from BGR(16 bit 565) to BGRA(32 bit 8888).

TCVN_CST_GRAY_TO_BGR_565

Transform the color space from Gray to BGR(16 bit 565).

TCVN_CST_BGR_565_TO_GRAY

Transform the color space from BGR(16 bit 565) to Gray.

TCVN_CST_RGB_TO_BGR_555

Transform the color space from RGB(24 bit 888) to BGR(16 bit 555).

TCVN_CST_BGR_TO_BGR_555

Transform the color space from BGR(24 bit 888) to BGR(16 bit 555).

TCVN_CST_BGR_555_TO_RGB

Transform the color space from BGR(16 bit 555) to RGB(24 bit 888).

TCVN_CST_BGR_555_TO_BGR

Transform the color space from BGR(16 bit 555) to BGR(24 bit 888).

TCVN_CST_RGBA_TO_BGR_555

Transform the color space from RGBA(32 bit 8888) to BGR(16 bit 555).

TCVN_CST_BGRA_TO_BGR_555

Transform the color space from BGRA(32 bit 8888) to BGR(16 bit 555).

TCVN_CST_BGR_555_TO_RGBA

Transform the color space from BGR(16 bit 555) to RGBA(32 bit 8888).

TCVN_CST_BGR_555_TO_BGRA

Transform the color space from BGR(16 bit 555) to BGRA(32 bit 8888).

TCVN_CST_GRAY_TO_BGR_555

Transform the color space from Gray to BGR(16 bit 555).

TCVN_CST_BGR_555_TO_GRAY

Transform the color space from BGR(16 bit 555) to Gray.

TCVN_CST_BGR_TO_XYZ

Transform the color space from BGR to CIE XYZ (scaled to the full value range of the image).

TCVN_CST_RGB_TO_XYZ

Transform the color space from RGB to CIE XYZ (scaled to the full value range of the image).

TCVN_CST_XYZ_TO_BGR

Transform the color space from CIE XYZ (scaled to the full value range of the image) to BGR.

TCVN_CST_XYZ_TO_RGB

Transform the color space from CIE XYZ (scaled to the full value range of the image) to RGB.

TCVN_CST_BGR_TO_YCRCB

Transform the color space from BGR to YCrCb (scaled to the full value range of the image).

TCVN_CST_RGB_TO_YCRCB

Transform the color space from RGB to YCrCb (scaled to the full value range of the image).

TCVN_CST_YCRCB_TO_BGR

Transform the color space from YCrCb (scaled to the full value range of the image) to BGR.

TCVN_CST_YCRCB_TO_RGB

Transform the color space from YCrCb (scaled to the full value range of the image) to RGB.

TCVN_CST_BGR_TO_HSV

Transform the color space from BGR to HSV (for images of type USINT, H is scaled to a range from 0 to 180 and S,V from 0 to 255).

TCVN_CST_RGB_TO_HSV

Transform the color space from RGB to HSV (for images of type USINT, H is scaled to a range from 0 to 180 and S,V from 0 to 255).

TCVN_CST_BGR_TO_LAB

Transform the color space from BGR to CIE L*a*b* (for images of type USINT, all channels are scaled to a range from 0 to 255).

TCVN_CST_RGB_TO_LAB

Transform the color space from RGB to CIE L*a*b* (for images of type USINT, all channels are scaled to a range from 0 to 255).

TCVN_CST_BAYER_RG_TO_BGR

Transform the color space from BayerRG to BGR.

TCVN_CST_BAYER_BG_TO_RGB

Transform the color space from BayerBG to RGB.

TCVN_CST_BAYER_GR_TO_BGR

Transform the color space from BayerGR to BGR.

TCVN_CST_BAYER_GB_TO_RGB

Transform the color space from BayerGB to RGB.

TCVN_CST_BAYER_BG_TO_BGR

Transform the color space from BayerBG to BGR.

TCVN_CST_BAYER_RG_TO_RGB

Transform the color space from BayerRG to RGB.

TCVN_CST_BAYER_GB_TO_BGR

Transform the color space from BayerGB to BGR.

TCVN_CST_BAYER_GR_TO_RGB

Transform the color space from BayerGR to RGB.

TCVN_CST_BGR_TO_LUV

Transform the color space from BGR to CIE L*u*v* (for images of type USINT, all channels are scaled to a range from 0 to 255).

TCVN_CST_RGB_TO_LUV

Transform the color space from RGB to CIE L*u*v* (for images of type USINT, all channels are scaled to a range from 0 to 255).

TCVN_CST_BGR_TO_HLS

Transform the color space from BGR to HLS (for images of type USINT, H is scaled to a range from 0 to 180 and L,S from 0 to 255).

TCVN_CST_RGB_TO_HLS

Transform the color space from RGB to HLS (for images of type USINT, H is scaled to a range from 0 to 180 and L,S from 0 to 255).

TCVN_CST_HSV_TO_BGR

Transform the color space from HSV (for images of type USINT, H is scaled to a range from 0 to 180 and S,V from 0 to 255) to BGR.

TCVN_CST_HSV_TO_RGB

Transform the color space from HSV (for images of type USINT, H is scaled to a range from 0 to 180 and S,V from 0 to 255) to RGB.

TCVN_CST_LAB_TO_BGR

Transform the color space from CIE L*a*b* (for images of type USINT, all channels are scaled to a range from 0 to 255) to BGR.

TCVN_CST_LAB_TO_RGB

Transform the color space from CIE L*a*b* (for images of type USINT, all channels are scaled to a range from 0 to 255) to RGB.

TCVN_CST_LUV_TO_BGR

Transform the color space from CIE L*u*v* (for images of type USINT, all channels are scaled to a range from 0 to 255) to BGR.

TCVN_CST_LUV_TO_RGB

Transform the color space from CIE L*u*v* (for images of type USINT, all channels are scaled to a range from 0 to 255) to RGB.

TCVN_CST_HLS_TO_BGR

Transform the color space from HLS (for images of type USINT, H is scaled to a range from 0 to 180 and L,S from 0 to 255) to BGR.

TCVN_CST_HLS_TO_RGB

Transform the color space from HLS (for images of type USINT, H is scaled to a range from 0 to 180 and L,S from 0 to 255) to RGB.

TCVN_CST_BAYER_RG_TO_BGR_VNG

Transform the color space from BayerRG to BGR, using Variable Number of Gradients.

TCVN_CST_BAYER_GR_TO_BGR_VNG

Transform the color space from BayerGR to BGR, using Variable Number of Gradients.

TCVN_CST_BAYER_BG_TO_BGR_VNG

Transform the color space from BayerBG to BGR, using Variable Number of Gradients.

TCVN_CST_BAYER_GB_TO_BGR_VNG

Transform the color space from BayerGB to BGR, using Variable Number of Gradients.

TCVN_CST_BAYER_RG_TO_RGB_VNG

Transform the color space from BayerRG to RGB, using Variable Number of Gradients.

TCVN_CST_BAYER_GR_TO_RGB_VNG

Transform the color space from BayerGR to RGB, using Variable Number of Gradients.

TCVN_CST_BAYER_BG_TO_RGB_VNG

Transform the color space from BayerBG to RGB, using Variable Number of Gradients.

TCVN_CST_BAYER_GB_TO_RGB_VNG

Transform the color space from BayerGB to RGB, using Variable Number of Gradients.

TCVN_CST_BGR_TO_HSV_FULL

Transform the color space from BGR to HSV (for images of type USINT, all channels are scaled to a range from 0 to 255).

TCVN_CST_RGB_TO_HSV_FULL

Transform the color space from RGB to HSV (for images of type USINT, all channels are scaled to a range from 0 to 255).

TCVN_CST_BGR_TO_HLS_FULL

Transform the color space from BGR to HLS (for images of type USINT, all channels are scaled to a range from 0 to 255).

TCVN_CST_RGB_TO_HLS_FULL

Transform the color space from RGB to HLS (for images of type USINT, all channels are scaled to a range from 0 to 255).

TCVN_CST_HSV_TO_BGR_FULL

Transform the color space from HSV (for images of type USINT, all channels are scaled to a range from 0 to 255) to BGR.

TCVN_CST_HSV_TO_RGB_FULL

Transform the color space from HSV (for images of type USINT, all channels are scaled to a range from 0 to 255) to RGB.

TCVN_CST_HLS_TO_BGR_FULL

Transform the color space from HLS (for images of type USINT, all channels are scaled to a range from 0 to 255) to BGR.

TCVN_CST_HLS_TO_RGB_FULL

Transform the color space from HLS (for images of type USINT, all channels are scaled to a range from 0 to 255) to RGB.

TCVN_CST_LBGR_TO_LAB

Transform the color space from LBGR to CIE L*a*b* (for images of type USINT, all channels are scaled to a range from 0 to 255).

TCVN_CST_LRGB_TO_LAB

Transform the color space from LRGB to CIE L*a*b* (for images of type USINT, all channels are scaled to a range from 0 to 255).

TCVN_CST_LBGR_TO_LUV

Transform the color space from LBGR to CIE L*u*v* (for images of type USINT, all channels are scaled to a range from 0 to 255).

TCVN_CST_LRGB_TO_LUV

Transform the color space from LRGB to CIE L*u*v* (for images of type USINT, all channels are scaled to a range from 0 to 255).

TCVN_CST_LAB_TO_LBGR

Transform the color space from CIE L*a*b* (for images of type USINT, all channels are scaled to a range from 0 to 255) to LBGR.

TCVN_CST_LAB_TO_LRGB

Transform the color space from CIE L*a*b* (for images of type USINT, all channels are scaled to a range from 0 to 255) to LRGB.

TCVN_CST_LUV_TO_LBGR

Transform the color space from CIE L*u*v* (for images of type USINT, all channels are scaled to a range from 0 to 255) to LBGR.

TCVN_CST_LUV_TO_LRGB

Transform the color space from CIE L*u*v* (for images of type USINT, all channels are scaled to a range from 0 to 255) to LRGB.

TCVN_CST_BGR_TO_YUV

Transform the color space from BGR to YUV (scaled to the full value range of the image).

TCVN_CST_RGB_TO_YUV

Transform the color space from RGB to YUV (scaled to the full value range of the image).

TCVN_CST_YUV_TO_BGR

Transform the color space from YUV (scaled to the full value range of the image) to BGR.

TCVN_CST_YUV_TO_RGB

Transform the color space from YUV (scaled to the full value range of the image) to RGB.

TCVN_CST_BAYER_RG_TO_GRAY

Transform the color space from BayerRG to Gray.

TCVN_CST_BAYER_GR_TO_GRAY

Transform the color space from BayerGR to Gray.

TCVN_CST_BAYER_BG_TO_GRAY

Transform the color space from BayerBG to Gray.

TCVN_CST_BAYER_GB_TO_GRAY

Transform the color space from BayerGB to Gray.

TCVN_CST_YUV_420_NV12_TO_RGB

Transform the color space from YUV420 NV12 to RGB.

TCVN_CST_YUV_420_NV12_TO_BGR

Transform the color space from YUV420 NV12 to BGR.

TCVN_CST_YUV_420_NV21_TO_RGB

Transform the color space from YUV420 NV21 (SP) to RGB.

TCVN_CST_YUV_420_NV21_TO_BGR

Transform the color space from YUV420 NV21 (SP) to BGR.

TCVN_CST_YUV_420_SP_TO_RGB

Transform the color space from YUV420 NV21 (SP) to RGB.

TCVN_CST_YUV_420_SP_TO_BGR

Transform the color space from YUV420 NV21 (SP) to BGR.

TCVN_CST_YUV_420_NV12_TO_RGBA

Transform the color space from YUV420 NV12 to RGBA.

TCVN_CST_YUV_420_NV12_TO_BGRA

Transform the color space from YUV420 NV12 to BGRA.

TCVN_CST_YUV_420_NV21_TO_RGBA

Transform the color space from YUV420 NV21 (SP) to RGBA.

TCVN_CST_YUV_420_NV21_TO_BGRA

Transform the color space from YUV420 NV21 (SP) to BGRA.

TCVN_CST_YUV_420_SP_TO_RGBA

Transform the color space from YUV420 NV21 (SP) to RGBA.

TCVN_CST_YUV_420_SP_TO_BGRA

Transform the color space from YUV420 NV21 (SP) to BGRA.

TCVN_CST_YUV_420_YV12_TO_RGB

Transform the color space from YUV420 YV12 (P) to RGB.

TCVN_CST_YUV_420_YV12_TO_BGR

Transform the color space from YUV420 YV12 (P) to BGR.

TCVN_CST_YUV_420_IYUV_TO_RGB

Transform the color space from YUV420 IYUV (I420) to RGB.

TCVN_CST_YUV_420_IYUV_TO_BGR

Transform the color space from YUV420 IYUV (I420) to BGR.

TCVN_CST_YUV_420_I420_TO_RGB

Transform the color space from YUV420 IYUV (I420) to RGB.

TCVN_CST_YUV_420_I420_TO_BGR

Transform the color space from YUV420 IYUV (I420) to BGR.

TCVN_CST_YUV_420_P_TO_RGB

Transform the color space from YUV420 YV12 (P) to RGB.

TCVN_CST_YUV_420_P_TO_BGR

Transform the color space from YUV420 YV12 (P) to BGR.

TCVN_CST_YUV_420_YV12_TO_RGBA

Transform the color space from YUV420 YV12 (P) to RGBA.

TCVN_CST_YUV_420_YV12_TO_BGRA

Transform the color space from YUV420 YV12 (P) to BGRA.

TCVN_CST_YUV_420_IYUV_TO_RGBA

Transform the color space from YUV420 IYUV (I420) to RGBA.

TCVN_CST_YUV_420_IYUV_TO_BGRA

Transform the color space from YUV420 IYUV (I420) to BGRA.

TCVN_CST_YUV_420_I420_TO_RGBA

Transform the color space from YUV420 IYUV (I420) to RGBA.

TCVN_CST_YUV_420_I420_TO_BGRA

Transform the color space from YUV420 IYUV (I420) to BGRA.

TCVN_CST_YUV_420_P_TO_RGBA

Transform the color space from YUV420 YV12 (P) to RGBA.

TCVN_CST_YUV_420_P_TO_BGRA

Transform the color space from YUV420 YV12 (P) to BGRA.

TCVN_CST_YUV_420_TO_GRAY

Transform the color space from YUV420 to Gray.

TCVN_CST_YUV_420_NV21_TO_GRAY

Transform the color space from YUV420 to Gray.

TCVN_CST_YUV_420_NV12_TO_GRAY

Transform the color space from YUV420 to Gray.

TCVN_CST_YUV_420_YV12_TO_GRAY

Transform the color space from YUV420 to Gray.

TCVN_CST_YUV_420_IYUV_TO_GRAY

Transform the color space from YUV420 to Gray.

TCVN_CST_YUV_420_I420_TO_GRAY

Transform the color space from YUV420 to Gray.

TCVN_CST_YUV_420_SP_TO_GRAY

Transform the color space from YUV420 to Gray.

TCVN_CST_YUV_420_P_TO_GRAY

Transform the color space from YUV420 to Gray.

TCVN_CST_YUV_422_UYVY_TO_RGB

Transform the color space from YUV422 UYVY (Y422, UYNV) to RGB.

TCVN_CST_YUV_422_UYVY_TO_BGR

Transform the color space from YUV422 UYVY (Y422, UYNV) to BGR.

TCVN_CST_YUV_422_Y422_TO_RGB

Transform the color space from YUV422 UYVY (Y422, UYNV) to RGB.

TCVN_CST_YUV_422_Y422_TO_BGR

Transform the color space from YUV422 UYVY (Y422, UYNV) to BGR.

TCVN_CST_YUV_422_UYNV_TO_RGB

Transform the color space from YUV422 UYVY (Y422, UYNV) to RGB.

TCVN_CST_YUV_422_UYNV_TO_BGR

Transform the color space from YUV422 UYVY (Y422, UYNV) to BGR.

TCVN_CST_YUV_422_UYVY_TO_RGBA

Transform the color space from YUV422 UYVY (Y422, UYNV) to RGBA.

TCVN_CST_YUV_422_UYVY_TO_BGRA

Transform the color space from YUV422 UYVY (Y422, UYNV) to BGRA.

TCVN_CST_YUV_422_Y422_TO_RGBA

Transform the color space from YUV422 UYVY (Y422, UYNV) to RGB.

TCVN_CST_YUV_422_Y422_TO_BGRA

Transform the color space from YUV422 UYVY (Y422, UYNV) to BGRA.

TCVN_CST_YUV_422_UYNV_TO_RGBA

Transform the color space from YUV422 UYVY (Y422, UYNV) to RGB.

TCVN_CST_YUV_422_UYNV_TO_BGRA

Transform the color space from YUV422 UYVY (Y422, UYNV) to BGRA.

TCVN_CST_YUV_422_YUY2_TO_RGB

Transform the color space from YUV422 YUYV (YUY2, YUNV) to RGB.

TCVN_CST_YUV_422_YUY2_TO_BGR

Transform the color space from YUV422 YUYV (YUY2, YUNV) to BGR.

TCVN_CST_YUV_422_YVYU_TO_RGB

Transform the color space from YUV422 YVYU to RGB.

TCVN_CST_YUV_422_YVYU_TO_BGR

Transform the color space from YUV422 YVYU to BGR.

TCVN_CST_YUV_422_YUYV_TO_RGB

Transform the color space from YUV422 YUYV (YUY2, YUNV) to RGB.

TCVN_CST_YUV_422_YUYV_TO_BGR

Transform the color space from YUV422 YUYV (YUY2, YUNV) to BGR.

TCVN_CST_YUV_422_YUNV_TO_RGB

Transform the color space from YUV422 YUYV (YUY2, YUNV) to RGB.

TCVN_CST_YUV_422_YUNV_TO_BGR

Transform the color space from YUV422 YUYV (YUY2, YUNV) to BGR.

TCVN_CST_YUV_422_YUY2_TO_RGBA

Transform the color space from YUV422 YUYV (YUY2, YUNV) to RGBA.

TCVN_CST_YUV_422_YUY2_TO_BGRA

Transform the color space from YUV422 YUYV (YUY2, YUNV) to BGRA.

TCVN_CST_YUV_422_YVYU_TO_RGBA

Transform the color space from YUV422 YVYU to RGBA.

TCVN_CST_YUV_422_YVYU_TO_BGRA

Transform the color space from YUV422 YVYU to BGRA.

TCVN_CST_YUV_422_YUYV_TO_RGBA

Transform the color space from YUV422 YUYV (YUY2, YUNV) to RGBA.

TCVN_CST_YUV_422_YUYV_TO_BGRA

Transform the color space from YUV422 YUYV (YUY2, YUNV) to BGRA.

TCVN_CST_YUV_422_YUNV_TO_RGBA

Transform the color space from YUV422 YUYV (YUY2, YUNV) to RGBA.

TCVN_CST_YUV_422_YUNV_TO_BGRA

Transform the color space from YUV422 YUYV (YUY2, YUNV) to BGRA.

TCVN_CST_YUV_422_UYVY_TO_GRAY

Transform the color space from YUV422 UYVY (Y422, UYNV) to Gray.

TCVN_CST_YUV_422_YUY2_TO_GRAY

Transform the color space from YUV422 YUYV (YUY2, YUNV) to Gray.

TCVN_CST_YUV_422_Y422_TO_GRAY

Transform the color space from YUV422 UYVY (Y422, UYNV) to Gray.

TCVN_CST_YUV_422_UYNV_TO_GRAY

Transform the color space from YUV422 UYVY (Y422, UYNV) to Gray.

TCVN_CST_YUV_422_YVYU_TO_GRAY

Transform the color space from YUV422 YVYU to Gray.

TCVN_CST_YUV_422_YUYV_TO_GRAY

Transform the color space from YUV422 YUYV (YUY2, YUNV) to Gray.

TCVN_CST_YUV_422_YUNV_TO_GRAY

Transform the color space from YUV422 YUYV (YUY2, YUNV) to Gray.

TCVN_CST_RGBA_TO_PREMULTIPLICATED_RGBA

Transform the color space from RGBA to premultiplicated RGBA.

TCVN_CST_PREMULTIPLICATED_RGBA_TO_RGBA

Transform the color space from premultiplicated RGBA to RGBA.

TCVN_CST_RGB_TO_YUV_420_I420

Transform the color space from RGB to YUV420 IYUV (I420).

TCVN_CST_BGR_TO_YUV_420_I420

Transform the color space from BGR to YUV420 IYUV (I420).

TCVN_CST_RGB_TO_YUV_420_IYUV

Transform the color space from RGB to YUV420 IYUV (I420).

TCVN_CST_BGR_TO_YUV_420_IYUV

Transform the color space from BGR to YUV420 IYUV (I420).

TCVN_CST_RGBA_TO_YUV_420_I420

Transform the color space from RGBA to YUV420 IYUV (I420).

TCVN_CST_BGRA_TO_YUV_420_I420

Transform the color space from BGRA to YUV420 IYUV (I420).

TCVN_CST_RGBA_TO_YUV_420_IYUV

Transform the color space from RGBA to YUV420 IYUV (I420).

TCVN_CST_BGRA_TO_YUV_420_IYUV

Transform the color space from BGRA to YUV420 IYUV (I420).

TCVN_CST_RGB_TO_YUV_420_YV12

Transform the color space from RGB to YUV420 YV12 (P).

TCVN_CST_BGR_TO_YUV_420_YV12

Transform the color space from BGR to YUV420 YV12 (P).

TCVN_CST_RGBA_TO_YUV_420_YV12

Transform the color space from RGBA to YUV420 YV12 (P).

TCVN_CST_BGRA_TO_YUV_420_YV12

Transform the color space from BGRA to YUV420 YV12 (P).

TCVN_CST_BAYER_RG_TO_BGR_EA

Transform the color space from BayerRG to BGR, using an Edge Aware algorithm.

TCVN_CST_BAYER_GR_TO_BGR_EA

Transform the color space from BayerGR to BGR, using an Edge Aware algorithm.

TCVN_CST_BAYER_BG_TO_BGR_EA

Transform the color space from BayerBG to BGR, using an Edge Aware algorithm.

TCVN_CST_BAYER_GB_TO_BGR_EA

Transform the color space from BayerGB to BGR, using an Edge Aware algorithm.

TCVN_CST_BAYER_RG_TO_RGB_EA

Transform the color space from BayerRG to RGB, using an Edge Aware algorithm.

TCVN_CST_BAYER_GR_TO_RGB_EA

Transform the color space from BayerGR to RGB, using an Edge Aware algorithm.

TCVN_CST_BAYER_BG_TO_RGB_EA

Transform the color space from BayerBG to RGB, using an Edge Aware algorithm.

TCVN_CST_BAYER_GB_TO_RGB_EA

Transform the color space from BayerGB to RGB, using an Edge Aware algorithm.

TCVN_CST_BAYER_RG_TO_BGRA

Transform the color space from BayerRG to BGRA.

TCVN_CST_BAYER_GR_TO_BGRA

Transform the color space from BayerGR to BGRA.

TCVN_CST_BAYER_BG_TO_BGRA

Transform the color space from BayerBG to BGRA.

TCVN_CST_BAYER_GB_TO_BGRA

Transform the color space from BayerGB to BGRA.

TCVN_CST_BAYER_RG_TO_RGBA

Transform the color space from BayerRG to RGBA.

TCVN_CST_BAYER_GR_TO_RGBA

Transform the color space from BayerGR to RGBA.

TCVN_CST_BAYER_BG_TO_RGBA

Transform the color space from BayerBG to RGBA.

TCVN_CST_BAYER_GB_TO_RGBA

Transform the color space from BayerGB to RGBA.

TCVN_CST_MAX

For internal use only, adapted when adding new values.

Related functions