eVision Python API
Loading...
Searching...
No Matches
eVision.EasyColor Class Reference

This class contains static properties and methods specific to the eVision.EasyColor library. More...

Static Public Member Functions

None PseudoColor (eVision.EROIBW8|None sourceImage, eVision.EROIC24|None destinationImage, eVision.EPseudoColorLookup|None lookup)
 Applies the mapping defined by the pseudo-color lookup table to transform a gray-level image into a color image.
None SetRgbStandard (eVision.ERgbStandard rgbStandard)
 RGB definition to be used when converting between RGB and other color systems.
eVision.ERgbStandard GetRgbStandard ()
 RGB definition to be used when converting between RGB and other color systems.
None SetSrcQuantization (eVision.EColorQuantization quantization)
 Quantization mode for input values.
eVision.EColorQuantization GetSrcQuantization ()
 Quantization mode for input values.
None SetDstQuantization (eVision.EColorQuantization quantization)
 Quantization mode for output values.
eVision.EColorQuantization GetDstQuantization ()
 Quantization mode for output values.
None Dequantize (eVision.EC24 colorIn, eVision.ERGB colorOut)
 Convert a quantized value to a unquantized value of a given color system.
None Dequantize (eVision.EC24 colorIn, eVision.EXYZ colorOut)
 Convert a quantized value to a unquantized value of a given color system.
None Dequantize (eVision.EC24 colorIn, eVision.EYUV colorOut)
 Convert a quantized value to a unquantized value of a given color system.
None Dequantize (eVision.EC24 colorIn, eVision.EYCbCr colorOut)
 Convert a quantized value to a unquantized value of a given color system.
None Dequantize (eVision.EC24 colorIn, eVision.EYIQ colorOut)
 Convert a quantized value to a unquantized value of a given color system.
None Dequantize (eVision.EC24 colorIn, eVision.ELSH colorOut)
 Convert a quantized value to a unquantized value of a given color system.
None Dequantize (eVision.EC24 colorIn, eVision.EVSH colorOut)
 Convert a quantized value to a unquantized value of a given color system.
None Dequantize (eVision.EC24 colorIn, eVision.EISH colorOut)
 Convert a quantized value to a unquantized value of a given color system.
None Dequantize (eVision.EC24 colorIn, eVision.EYSH colorOut)
 Convert a quantized value to a unquantized value of a given color system.
None Dequantize (eVision.EC24 colorIn, eVision.ELAB colorOut)
 Convert a quantized value to a unquantized value of a given color system.
None Dequantize (eVision.EC24 colorIn, eVision.ELCH colorOut)
 Convert a quantized value to a unquantized value of a given color system.
None Dequantize (eVision.EC24 colorIn, eVision.ELUV colorOut)
 Convert a quantized value to a unquantized value of a given color system.
None Quantize (eVision.ERGB colorIn, eVision.EC24 colorOut)
 Convert an unquantized color of a given color system to a quantized color.
None Quantize (eVision.EXYZ colorIn, eVision.EC24 colorOut)
 Convert an unquantized color of a given color system to a quantized color.
None Quantize (eVision.EYUV colorIn, eVision.EC24 colorOut)
 Convert an unquantized color of a given color system to a quantized color.
None Quantize (eVision.EYCbCr colorIn, eVision.EC24 colorOut)
 Convert an unquantized color of a given color system to a quantized color.
None Quantize (eVision.EYIQ colorIn, eVision.EC24 colorOut)
 Convert an unquantized color of a given color system to a quantized color.
None Quantize (eVision.ELSH colorIn, eVision.EC24 colorOut)
 Convert an unquantized color of a given color system to a quantized color.
None Quantize (eVision.EVSH colorIn, eVision.EC24 colorOut)
 Convert an unquantized color of a given color system to a quantized color.
None Quantize (eVision.EISH colorIn, eVision.EC24 colorOut)
 Convert an unquantized color of a given color system to a quantized color.
None Quantize (eVision.EYSH colorIn, eVision.EC24 colorOut)
 Convert an unquantized color of a given color system to a quantized color.
None Quantize (eVision.ELAB colorIn, eVision.EC24 colorOut)
 Convert an unquantized color of a given color system to a quantized color.
None Quantize (eVision.ELCH colorIn, eVision.EC24 colorOut)
 Convert an unquantized color of a given color system to a quantized color.
None Quantize (eVision.ELUV colorIn, eVision.EC24 colorOut)
 Convert an unquantized color of a given color system to a quantized color.
None RgbToXyz (eVision.ERGB colorIn, eVision.EXYZ colorOut)
 Convert a color from RGB to another system.
None RgbToXyz (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from RGB to another system.
None XyzToRgb (eVision.EXYZ colorIn, eVision.ERGB colorOut)
 Convert a color from any system to RGB.
None XyzToRgb (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from any system to RGB.
None RgbToYuv (eVision.ERGB colorIn, eVision.EYUV colorOut)
 Convert a color from RGB to another system.
None RgbToYuv (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from RGB to another system.
None YuvToRgb (eVision.EYUV colorIn, eVision.ERGB colorOut)
 Convert a color from any system to RGB.
None YuvToRgb (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from any system to RGB.
None RgbToYCbCr (eVision.ERGB colorIn, eVision.EYCbCr colorOut)
 Convert a color from RGB to another system.
None RgbToYCbCr (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from RGB to another system.
None YCbCrToRgb (eVision.EYCbCr colorIn, eVision.ERGB colorOut)
 Convert a color from any system to RGB.
None YCbCrToRgb (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from any system to RGB.
None RgbToYiq (eVision.ERGB colorIn, eVision.EYIQ colorOut)
 Convert a color from RGB to another system.
None RgbToYiq (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from RGB to another system.
None YiqToRgb (eVision.EYIQ colorIn, eVision.ERGB colorOut)
 Convert a color from any system to RGB.
None YiqToRgb (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from any system to RGB.
None RgbToLsh (eVision.ERGB colorIn, eVision.ELSH colorOut)
 Convert a color from RGB to another system.
None RgbToLsh (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from RGB to another system.
None LshToRgb (eVision.ELSH colorIn, eVision.ERGB colorOut)
 Convert a color from any system to RGB.
None LshToRgb (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from any system to RGB.
None RgbToVsh (eVision.ERGB colorIn, eVision.EVSH colorOut)
 Convert a color from RGB to another system.
None RgbToVsh (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from RGB to another system.
None VshToRgb (eVision.EVSH colorIn, eVision.ERGB colorOut)
 Convert a color from any system to RGB.
None VshToRgb (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from any system to RGB.
None RgbToIsh (eVision.ERGB colorIn, eVision.EISH colorOut)
 Convert a color from RGB to another system.
None RgbToIsh (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from RGB to another system.
None IshToRgb (eVision.EISH colorIn, eVision.ERGB colorOut)
 Convert a color from any system to RGB.
None IshToRgb (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from any system to RGB.
None RgbToYsh (eVision.ERGB colorIn, eVision.EYSH colorOut)
 Convert a color from RGB to another system.
None RgbToYsh (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from RGB to another system.
None YshToRgb (eVision.EYSH colorIn, eVision.ERGB colorOut)
 Convert a color from any system to RGB.
None YshToRgb (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from any system to RGB.
None RgbToLab (eVision.ERGB colorIn, eVision.ELAB colorOut)
 Convert a color from RGB to another system.
None RgbToLab (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from RGB to another system.
None LabToRgb (eVision.ELAB colorIn, eVision.ERGB colorOut)
 Convert a color from any system to RGB.
None LabToRgb (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from any system to RGB.
None RgbToLch (eVision.ERGB colorIn, eVision.ELCH colorOut)
 Convert a color from RGB to another system.
None RgbToLch (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from RGB to another system.
None LchToRgb (eVision.ELCH colorIn, eVision.ERGB colorOut)
 Convert a color from any system to RGB.
None LchToRgb (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from any system to RGB.
None RgbToLuv (eVision.ERGB colorIn, eVision.ELUV colorOut)
 Convert a color from RGB to another system.
None RgbToLuv (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from RGB to another system.
None LuvToRgb (eVision.ELUV colorIn, eVision.ERGB colorOut)
 Convert a color from any system to RGB.
None LuvToRgb (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from any system to RGB.
None RgbToReducedXyz (eVision.ERGB colorIn, eVision.EXYZ colorOut)
 Convert a color from one system to another.
None RgbToReducedXyz (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from one system to another.
None XyzToLab (eVision.EXYZ colorIn, eVision.ELAB colorOut)
 Convert a color from one system to another.
None XyzToLab (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from one system to another.
None LabToXyz (eVision.ELAB colorIn, eVision.EXYZ colorOut)
 Convert a color from one system to another.
None LabToXyz (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from one system to another.
None XyzToLuv (eVision.EXYZ colorIn, eVision.ELUV colorOut)
 Convert a color from one system to another.
None XyzToLuv (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from one system to another.
None LuvToXyz (eVision.ELUV colorIn, eVision.EXYZ colorOut)
 Convert a color from one system to another.
None LuvToXyz (eVision.EC24 colorIn, eVision.EC24 colorOut)
 Convert a color from one system to another.
None ConvertRGBImageToBGR (eVision.EROIC24 source, eVision.EROIC24 destination)
 Converts a RGB image to BGR by swapping 1st and 3rd channels.
None ConvertBGRImageToRGB (eVision.EROIC24 source, eVision.EROIC24 destination)
 Converts a BGR image to RGB by swapping 1st and 3rd channels.
None ConvertRGBAImageToBGRA (eVision.EROIC24A source, eVision.EROIC24A destination)
 Converts a RGBA image to BGRA by swapping 1st and 3rd channels.
None ConvertBGRAImageToRGBA (eVision.EROIC24A source, eVision.EROIC24A destination)
 Converts a BGRA image to RGBA by swapping 1st and 3rd channels.
None Compose (eVision.EROIBW8|None sourceImageOfColor0, eVision.EROIBW8|None sourceImageOfColor1, eVision.EROIBW8|None sourceImageOfColor2, eVision.EROIC24|None colorDestinationImage, eVision.EColorLookup|None lookup)
 Combines three gray-level images, considered as three color planes, into a color image.
None Compose (eVision.EROIBW8|None sourceImageOfColor0, eVision.EROIBW8|None sourceImageOfColor1, eVision.EROIBW8|None sourceImageOfColor2, eVision.EROIC24|None colorDestinationImage)
 Combines three gray-level images, considered as three color planes, into a color image.
None Compose (eVision.EROIBW16|None sourceImageOfColor0, eVision.EROIBW16|None sourceImageOfColor1, eVision.EROIBW16|None sourceImageOfColor2, eVision.EROIC48|None colorDestinationImage)
 Combines three gray-level images, considered as three color planes, into a color image.
None Decompose (eVision.EROIC24|None colorSourceImage, eVision.EROIBW8|None destinationImageOfColor0, eVision.EROIBW8|None destinationImageOfColor1, eVision.EROIBW8|None destinationImageOfColor2, eVision.EColorLookup|None lookup)
 Extracts the three color planes, considered as gray-level images, from a color image.
None Decompose (eVision.EROIC24|None colorSourceImage, eVision.EROIBW8|None destinationImageOfColor0, eVision.EROIBW8|None destinationImageOfColor1, eVision.EROIBW8|None destinationImageOfColor2)
 Extracts the three color planes, considered as gray-level images, from a color image.
None Decompose (eVision.EROIC48|None colorSourceImage, eVision.EROIBW16|None destinationImageOfColor0, eVision.EROIBW16|None destinationImageOfColor1, eVision.EROIBW16|None destinationImageOfColor2)
 Extracts the three color planes, considered as gray-level images, from a color image.
None GetComponent (eVision.EROIC24|None colorSourceImage, eVision.EROIBW8|None bWDestinationImage, int component, eVision.EColorLookup|None lookup)
 Extracts one color plane, considered as a gray-level image, from a color image.
None GetComponent (eVision.EROIC24|None colorSourceImage, eVision.EROIBW8|None bWDestinationImage, int component)
 Extracts one color plane, considered as a gray-level image, from a color image.
None GetComponent (eVision.EROIC48|None colorSourceImage, eVision.EROIBW16|None bWDestinationImage, int component)
 Extracts one color plane, considered as a gray-level image, from a color image.
None SetComponent (eVision.EROIBW8|None bWSourceImage, eVision.EROIC24|None colorDestinationImage, int component)
 Sets a color plane of a color image by using a gray-level image as component.
None SetComponent (eVision.EROIBW16|None bWSourceImage, eVision.EROIC48|None colorDestinationImage, int component)
 Sets a color plane of a color image by using a gray-level image as component.
None Transform (eVision.EROIC24|None sourceImage, eVision.EROIC24|None destinationImage, eVision.EColorLookup|None lookup)
 Applies a color transformation to a specified image.
None AlphaBlend (eVision.EROIC24 source, eVision.EROIC24 destination, float opacity)
 Draws an image over an other.
None AssignNearestClassCenter (eVision.EROIC24|None sourceImage, eVision.EROIC24|None destinationImage, eVision.EC24Vector|None classCenters)
 Assigns to every pixel of the source image the nearest class center and stores its value in the destination image.
None AssignNearestClass (eVision.EROIC24|None sourceImage, eVision.EROIBW8|None destinationImage, eVision.EC24Vector|None classCenters)
 Assigns to every pixel of the source image the nearest class index plus one and stores its value in the destination image.
None ImproveClassCenters (eVision.EROIC24|None sourceImage, eVision.EC24Vector|None classCenters)
 Redefines the class centers by computing the average color value of the pixels assigned to each class in the source image.
None ClassAverages (eVision.EROIC24|None sourceImage, eVision.EC24Vector|None classCenters, eVision.EColorVector|None averages)
 Computes the average source pixel colors for every class separately.
None ClassVariances (eVision.EROIC24|None sourceImage, eVision.EC24Vector|None classCenters, eVision.EColorVector|None averages, eVision.EColorVector|None variances)
 Computes the averages and variances of the image pixel colors for every class separately.
None Format422To444 (eVision.EROIBW16|None sourceImage, eVision.EROIC24|None destinationImage, bool yFirst)
 Converts a YUV 4:2:2 image to a YUV 4:4:4 image using interpolation.
None Format444To422 (eVision.EROIC24|None sourceImage, eVision.EROIBW16|None destinationImage, bool yFirst)
 Converts a YUV 4:4:4 image to a YUV 4:2:2 image using filtering.
None BayerToC24 (eVision.EROIBW8|None sourceImage, eVision.EROIC24|None destinationImage, bool evenCol, bool evenRow, bool interpolate, bool improved)
 Converts a Bayer pattern encoded image into a color image.
None BayerToC24 (eVision.EROIBW8|None sourceImage, eVision.EROIC24|None destinationImage, bool evenCol, bool evenRow, bool interpolate)
 Converts a Bayer pattern encoded image into a color image.
None BayerToC24 (eVision.EROIBW8|None sourceImage, eVision.EROIC24|None destinationImage, bool evenCol, bool evenRow)
 Converts a Bayer pattern encoded image into a color image.
None BayerToC24 (eVision.EROIBW8|None sourceImage, eVision.EROIC24|None destinationImage, bool evenCol)
 Converts a Bayer pattern encoded image into a color image.
None BayerToC24 (eVision.EROIBW8|None sourceImage, eVision.EROIC24|None destinationImage)
 Converts a Bayer pattern encoded image into a color image.
None BayerToC24 (eVision.EROIBW8|None sourceImage, eVision.EROIC24|None destinationImage, eVision.EBayerConfiguration bayerConfiguration, int mode)
 Converts a Bayer pattern encoded image into a color image.
None BayerToC24 (eVision.EROIBW8|None sourceImage, eVision.EROIC24|None destinationImage, eVision.EBayerConfiguration bayerConfiguration)
 Converts a Bayer pattern encoded image into a color image.
None C24ToBayer (eVision.EROIC24|None sourceImage, eVision.EROIBW8|None destinationImage, eVision.EBayerConfiguration bayerConfiguration)
 Converts a color image into a Bayer pattern encoded image.
None C24ToBayer (eVision.EROIC24|None sourceImage, eVision.EROIBW8|None destinationImage, bool evenCol, bool evenRow)
 Converts a color image into a Bayer pattern encoded image.
None C24ToBayer (eVision.EROIC24|None sourceImage, eVision.EROIBW8|None destinationImage, bool evenCol)
 Converts a color image into a Bayer pattern encoded image.
None C24ToBayer (eVision.EROIC24|None sourceImage, eVision.EROIBW8|None destinationImage)
 Converts a color image into a Bayer pattern encoded image.
None TransformBayer (eVision.EROIBW8|None sourceImage, eVision.EROIBW8|None destinationImage, eVision.EColorLookup|None lookup, eVision.EBayerConfiguration bayerConfiguration)
 Converts an image, using the transformation defined by a color lookup.
None TransformBayer (eVision.EROIBW8|None sourceImage, eVision.EROIBW8|None destinationImage, eVision.EColorLookup|None lookup, bool evenCol, bool evenRow)
 Converts an image, using the transformation defined by a color lookup.
None TransformBayer (eVision.EROIBW8|None sourceImage, eVision.EROIBW8|None destinationImage, eVision.EColorLookup|None lookup, bool evenCol)
 Converts an image, using the transformation defined by a color lookup.
None TransformBayer (eVision.EROIBW8|None sourceImage, eVision.EROIBW8|None destinationImage, eVision.EColorLookup|None lookup)
 Converts an image, using the transformation defined by a color lookup.
None RegisterPlanes (eVision.EROIC24|None sourceImage, eVision.EROIC24|None destinationImage, int rShiftX, int gShiftX, int bShiftX, int rShiftY, int gShiftY, int bShiftY)
 Sets a color plane of a color image by using a gray-level image as component.
None RegisterPlanes (eVision.EROIC24|None sourceImage, eVision.EROIC24|None destinationImage, int rShiftX, int gShiftX, int bShiftX, int rShiftY, int gShiftY)
 Sets a color plane of a color image by using a gray-level image as component.
None RegisterPlanes (eVision.EROIC24|None sourceImage, eVision.EROIC24|None destinationImage, int rShiftX, int gShiftX, int bShiftX, int rShiftY)
 Sets a color plane of a color image by using a gray-level image as component.
None RegisterPlanes (eVision.EROIC24|None sourceImage, eVision.EROIC24|None destinationImage, int rShiftX, int gShiftX, int bShiftX)
 Sets a color plane of a color image by using a gray-level image as component.
None RegisterPlanes (eVision.EROIC24|None sourceImage, eVision.EROIC24|None destinationImage, int rShiftX, int gShiftX)
 Sets a color plane of a color image by using a gray-level image as component.
None RegisterPlanes (eVision.EROIC24|None sourceImage, eVision.EROIC24|None destinationImage, int rShiftX)
 Sets a color plane of a color image by using a gray-level image as component.
None RegisterPlanes (eVision.EROIC24|None sourceImage, eVision.EROIC24|None destinationImage)
 Sets a color plane of a color image by using a gray-level image as component.
float GetNtscGamma ()
 NTSC gamma exponent.
float GetPalGamma ()
 PAL gamma exponent.
float GetSmpteGamma ()
 SMPTE gamma exponent.
float GetCompensateNtscGamma ()
 NTSC inverse gamma exponent.
float GetCompensatePalGamma ()
 PAL inverse gamma exponent.
float GetCompensateSmpteGamma ()
 NTSC inverse gamma exponent.
float GetCieAR ()
 CIE AR white illuminant.
float GetCieAG ()
 CIE AG white illuminant.
float GetCieAB ()
 CIE AB white illuminant.
float GetCieD50R ()
 CIE D50R white illuminant.
float GetCieD50G ()
 CIE D50G white illuminant.
float GetCieD50B ()
 CIE D50B white illuminant.
float GetCieD55R ()
 CIE D55R white illuminant.
float GetCieD55G ()
 CIE D55G white illuminant.
float GetCieD55B ()
 CIE D55B white illuminant.
float GetCieD65R ()
 CIE D65R white illuminant.
float GetCieD65G ()
 CIE D65G white illuminant.
float GetCieD65B ()
 CIE D65B white illuminant.
float GetCieFR ()
 CIE FR white illuminant.
float GetCieFG ()
 CIE FG white illuminant.
float GetCieFB ()
 CIE FB white illuminant.

Detailed Description

This class contains static properties and methods specific to the eVision.EasyColor library.

Remarks:

License(s): EasyColor

Member Function Documentation

◆ AlphaBlend()

None eVision.EasyColor.AlphaBlend ( eVision.EROIC24 source,
eVision.EROIC24 destination,
float opacity )
static

Draws an image over an other.

Parameters
sourceForeground image.
destinationBackground image.
opacityOpacity of the foreground image.

◆ AssignNearestClass()

None eVision.EasyColor.AssignNearestClass ( eVision.EROIC24 | None sourceImage,
eVision.EROIBW8 | None destinationImage,
eVision.EC24Vector | None classCenters )
static

Assigns to every pixel of the source image the nearest class index plus one and stores its value in the destination image.

Remarks:

This generates a labeled gray-level image for use with EasyObject (see eVision.EImageEncoder and eVision.Segmenters.ELabeledImageSegmenter).

Note
The class index plus one is stored instead of the class index because EasyObject will never code class 0 objects.

Color image segmentation allows you to decompose a color image in different regions by assigning a "class" (integer index) to every pixel. The nearest neighbor method is used, i.e. for each class a representative center is specified, and a given pixel is associated to the class with the closest center.

Color image segmentation can be used in conjunction with EasyObject to perform blob analysis on the segmented regions.

To use the color segmentation functions, the set of class centers must be specified as a vector of eVision.EC24 elements. In this sense, the method is termed supervised clustering. A good way to obtain these values is to compute the average color in an ROI.

Unsupervised clustering is also made available by implementing the so called K-means method that automatically improves an initial choice of class centers.

Parameters
sourceImagePointer to the source image/ROI.
destinationImagePointer to the destination gray-level image/ROI.
classCentersPointer to the vector of the class centers.

◆ AssignNearestClassCenter()

None eVision.EasyColor.AssignNearestClassCenter ( eVision.EROIC24 | None sourceImage,
eVision.EROIC24 | None destinationImage,
eVision.EC24Vector | None classCenters )
static

Assigns to every pixel of the source image the nearest class center and stores its value in the destination image.

Remarks:

This generates a labeled color image.

Color image segmentation allows you to decompose a color image in different regions by assigning a "class" (integer index) to every pixel. The nearest neighbor method is used, i.e. for each class a representative center is specified, and a given pixel is associated to the class with the closest center.

Color image segmentation can be used in conjunction with EasyObject to perform blob analysis on the segmented regions.

To use the color segmentation functions, the set of class centers must be specified as a vector of eVision.EC24 elements. In this sense, the method is termed supervised clustering. A good way to obtain these values is to compute the average color in an ROI.

Unsupervised clustering is also made available by implementing the so called K-means method that automatically improves an initial choice of class centers.

Parameters
sourceImagePointer to the source image/ROI.
destinationImagePointer to the destination image/ROI.
classCentersPointer to the vector of the class centers.

◆ BayerToC24() [1/7]

None eVision.EasyColor.BayerToC24 ( eVision.EROIBW8 | None sourceImage,
eVision.EROIC24 | None destinationImage )
static

Converts a Bayer pattern encoded image into a color image.

Prefer the function eVision.EasyColor.BayerToC24 with eVision.EBayerConfiguration and mode parameters.

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.

Parameters
sourceImagePointer to the Bayer pattern input image/ROI, stored using the 8 bits per pixel format.
destinationImagePointer to the color output image/ROI.

◆ BayerToC24() [2/7]

None eVision.EasyColor.BayerToC24 ( eVision.EROIBW8 | None sourceImage,
eVision.EROIC24 | None destinationImage,
bool evenCol )
static

Converts a Bayer pattern encoded image into a color image.

Prefer the function eVision.EasyColor.BayerToC24 with eVision.EBayerConfiguration and mode parameters.

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.

Parameters
sourceImagePointer to the Bayer pattern input image/ROI, stored using the 8 bits per pixel format.
destinationImagePointer to the color output image/ROI.
evenColtrue if the leftmost image column contains no blue pixels.

◆ BayerToC24() [3/7]

None eVision.EasyColor.BayerToC24 ( eVision.EROIBW8 | None sourceImage,
eVision.EROIC24 | None destinationImage,
bool evenCol,
bool evenRow )
static

Converts a Bayer pattern encoded image into a color image.

Prefer the function eVision.EasyColor.BayerToC24 with eVision.EBayerConfiguration and mode parameters.

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.

Parameters
sourceImagePointer to the Bayer pattern input image/ROI, stored using the 8 bits per pixel format.
destinationImagePointer to the color output image/ROI.
evenColtrue if the leftmost image column contains no blue pixels.
evenRowtrue if the topmost image row contains no red pixels.

◆ BayerToC24() [4/7]

None eVision.EasyColor.BayerToC24 ( eVision.EROIBW8 | None sourceImage,
eVision.EROIC24 | None destinationImage,
bool evenCol,
bool evenRow,
bool interpolate )
static

Converts a Bayer pattern encoded image into a color image.

Prefer the function eVision.EasyColor.BayerToC24 with eVision.EBayerConfiguration and mode parameters.

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.

Parameters
sourceImagePointer to the Bayer pattern input image/ROI, stored using the 8 bits per pixel format.
destinationImagePointer to the color output image/ROI.
evenColtrue if the leftmost image column contains no blue pixels.
evenRowtrue if the topmost image row contains no red pixels.
interpolateInterpolation mode to be used for pixel reconstruction. When false, the missing color components are merely copied from northern/western pixels; when true, they are computed by averaging from relevant neighbors. By default, interpolation is used.

◆ BayerToC24() [5/7]

None eVision.EasyColor.BayerToC24 ( eVision.EROIBW8 | None sourceImage,
eVision.EROIC24 | None destinationImage,
bool evenCol,
bool evenRow,
bool interpolate,
bool improved )
static

Converts a Bayer pattern encoded image into a color image.

Prefer the function eVision.EasyColor.BayerToC24 with eVision.EBayerConfiguration and mode parameters.

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.

Parameters
sourceImagePointer to the Bayer pattern input image/ROI, stored using the 8 bits per pixel format.
destinationImagePointer to the color output image/ROI.
evenColtrue if the leftmost image column contains no blue pixels.
evenRowtrue if the topmost image row contains no red pixels.
interpolateInterpolation mode to be used for pixel reconstruction. When false, the missing color components are merely copied from northern/western pixels; when true, they are computed by averaging from relevant neighbors. By default, interpolation is used.
improvedProvides 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.

◆ BayerToC24() [6/7]

None eVision.EasyColor.BayerToC24 ( eVision.EROIBW8 | None sourceImage,
eVision.EROIC24 | None destinationImage,
eVision.EBayerConfiguration bayerConfiguration )
static

Converts a Bayer pattern encoded image into a color image.

Parameters
sourceImagePointer to the Bayer pattern input image/ROI, stored using the 8 bits per pixel format.
destinationImagePointer to the color output image/ROI.
bayerConfigurationThe color configuration of the bayer image. The color configuration is defined by the component of the first 2 pixels of the image, see eVision.EBayerConfiguration.

◆ BayerToC24() [7/7]

None eVision.EasyColor.BayerToC24 ( eVision.EROIBW8 | None sourceImage,
eVision.EROIC24 | None destinationImage,
eVision.EBayerConfiguration bayerConfiguration,
int mode )
static

Converts a Bayer pattern encoded image into a color image.

Parameters
sourceImagePointer to the Bayer pattern input image/ROI, stored using the 8 bits per pixel format.
destinationImagePointer to the color output image/ROI.
bayerConfigurationThe color configuration of the bayer image. The color configuration is defined by the component of the first 2 pixels of the image, see eVision.EBayerConfiguration.
modeInterpolation mode to be used for RGB pixel reconstruction, from 0 to 4 (increasing quality).
  • mode 0: No interpolation (fastest)
  • mode 1: Linear interpolation on 3x3 kernel
  • mode 2: Advanced interpolation on 3x3 kernel
  • mode 3: Interpolation on 5x5 kernel
  • mode 4: Interpolation on 9x9 kernel (slowest)
  • mode 5: Linear interpolation on 2x2 kernel

By default, interpolation mode 1 is used.

◆ C24ToBayer() [1/4]

None eVision.EasyColor.C24ToBayer ( eVision.EROIC24 | None sourceImage,
eVision.EROIBW8 | None destinationImage )
static

Converts a color image into a Bayer pattern encoded image.

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.

Deprecated

Use the overload taking an eVision.EBayerConfiguration instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

Parameters
sourceImagePointer to the color input image/ROI.
destinationImagePointer to the Bayer pattern output image/ROI, stored using the 8 bits per pixel format.

◆ C24ToBayer() [2/4]

None eVision.EasyColor.C24ToBayer ( eVision.EROIC24 | None sourceImage,
eVision.EROIBW8 | None destinationImage,
bool evenCol )
static

Converts a color image into a Bayer pattern encoded image.

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.

Deprecated

Use the overload taking an eVision.EBayerConfiguration instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

Parameters
sourceImagePointer to the color input image/ROI.
destinationImagePointer to the Bayer pattern output image/ROI, stored using the 8 bits per pixel format.
evenColtrue if the leftmost destination image column can't contain blue pixels.

◆ C24ToBayer() [3/4]

None eVision.EasyColor.C24ToBayer ( eVision.EROIC24 | None sourceImage,
eVision.EROIBW8 | None destinationImage,
bool evenCol,
bool evenRow )
static

Converts a color image into a Bayer pattern encoded image.

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.

Deprecated

Use the overload taking an eVision.EBayerConfiguration instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

Parameters
sourceImagePointer to the color input image/ROI.
destinationImagePointer to the Bayer pattern output image/ROI, stored using the 8 bits per pixel format.
evenColtrue if the leftmost destination image column can't contain blue pixels.
evenRowtrue if the topmost destination image row can't contain red pixels.

◆ C24ToBayer() [4/4]

None eVision.EasyColor.C24ToBayer ( eVision.EROIC24 | None sourceImage,
eVision.EROIBW8 | None destinationImage,
eVision.EBayerConfiguration bayerConfiguration )
static

Converts a color image into a Bayer pattern encoded image.

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.

Parameters
sourceImagePointer to the color input image/ROI.
destinationImagePointer to the Bayer pattern output image/ROI, stored using the 8 bits per pixel format.
bayerConfigurationThe color configuration of the bayer image. The color configuration is defined by the component of the first 2 pixels of the image, see eVision.EBayerConfiguration.

◆ ClassAverages()

None eVision.EasyColor.ClassAverages ( eVision.EROIC24 | None sourceImage,
eVision.EC24Vector | None classCenters,
eVision.EColorVector | None averages )
static

Computes the average source pixel colors for every class separately.

Remarks:

This allows measuring the actual average color of the segmented regions.

Color image segmentation allows you to decompose a color image in different regions by assigning a "class" (integer index) to every pixel. The nearest neighbor method is used, i.e. for each class a representative center is specified, and a given pixel is associated to the class with the closest center.

Color image segmentation can be used in conjunction with EasyObject to perform blob analysis on the segmented regions.

To the color segmentation functions, the set of class centers must be specified as a vector of eVision.EC24 elements. In this sense, the method is termed supervised clustering. A good way to obtain these values is to compute the average color in an ROI.

Unsupervised clustering is also made available by implementing the so called K-means method that automatically improves an initial choice of class centers.

Parameters
sourceImagePointer to the source image/ROI.
classCentersPointer to the vector of the class centers.
averagesPointer to the vector of the average color values.

◆ ClassVariances()

None eVision.EasyColor.ClassVariances ( eVision.EROIC24 | None sourceImage,
eVision.EC24Vector | None classCenters,
eVision.EColorVector | None averages,
eVision.EColorVector | None variances )
static

Computes the averages and variances of the image pixel colors for every class separately.

Remarks:

This allows quantifying the homogeneity of the segmented regions.

Color image segmentation allows you to decompose a color image in different regions by assigning a "class" (integer index) to every pixel. The nearest neighbor method is used, i.e. for each class a representative center is specified, and a given pixel is associated to the class with the closest center.

Color image segmentation can be used in conjunction with EasyObject to perform blob analysis on the segmented regions.

To the color segmentation functions, the set of class centers must be specified as a vector of eVision.EC24 elements. In this sense, the method is termed supervised clustering. A good way to obtain these values is to compute the average color in an ROI.

Unsupervised clustering is also made available by implementing the so called K-means method that automatically improves an initial choice of class centers.

Parameters
sourceImagePointer to the source image/ROI.
classCentersPointer to the vector of the class centers.
averagesPointer to the vector of the average color values.
variancesPointer to the vector of the variance color values.

◆ Compose() [1/3]

None eVision.EasyColor.Compose ( eVision.EROIBW16 | None sourceImageOfColor0,
eVision.EROIBW16 | None sourceImageOfColor1,
eVision.EROIBW16 | None sourceImageOfColor2,
eVision.EROIC48 | None colorDestinationImage )
static

Combines three gray-level images, considered as three color planes, into a color image.

Remarks:

If a color lookup is used, the resulting image undergoes the corresponding color transform. This way, it is possible to build an RGB image from the color planes of another system, or conversely.

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
sourceImageOfColor0Pointers to the three input gray-level component images/ROIs.
sourceImageOfColor1Pointers to the three input gray-level component images/ROIs.
sourceImageOfColor2Pointers to the three input gray-level component images/ROIs.
colorDestinationImagePointer to the output color image/ROI.

◆ Compose() [2/3]

None eVision.EasyColor.Compose ( eVision.EROIBW8 | None sourceImageOfColor0,
eVision.EROIBW8 | None sourceImageOfColor1,
eVision.EROIBW8 | None sourceImageOfColor2,
eVision.EROIC24 | None colorDestinationImage )
static

Combines three gray-level images, considered as three color planes, into a color image.

Remarks:

If a color lookup is used, the resulting image undergoes the corresponding color transform. This way, it is possible to build an RGB image from the color planes of another system, or conversely.

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
sourceImageOfColor0Pointers to the three input gray-level component images/ROIs.
sourceImageOfColor1Pointers to the three input gray-level component images/ROIs.
sourceImageOfColor2Pointers to the three input gray-level component images/ROIs.
colorDestinationImagePointer to the output color image/ROI.

◆ Compose() [3/3]

None eVision.EasyColor.Compose ( eVision.EROIBW8 | None sourceImageOfColor0,
eVision.EROIBW8 | None sourceImageOfColor1,
eVision.EROIBW8 | None sourceImageOfColor2,
eVision.EROIC24 | None colorDestinationImage,
eVision.EColorLookup | None lookup )
static

Combines three gray-level images, considered as three color planes, into a color image.

Remarks:

If a color lookup is used, the resulting image undergoes the corresponding color transform. This way, it is possible to build an RGB image from the color planes of another system, or conversely.

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
sourceImageOfColor0Pointers to the three input gray-level component images/ROIs.
sourceImageOfColor1Pointers to the three input gray-level component images/ROIs.
sourceImageOfColor2Pointers to the three input gray-level component images/ROIs.
colorDestinationImagePointer to the output color image/ROI.
lookupPointer to the color lookup table, or NULL.

◆ ConvertBGRAImageToRGBA()

None eVision.EasyColor.ConvertBGRAImageToRGBA ( eVision.EROIC24A source,
eVision.EROIC24A destination )
static

Converts a BGRA image to RGBA by swapping 1st and 3rd channels.

Remarks:

By default, eVision uses eVision.EROIC24A in BGRA format. This method is provided for conversion to/from other libraries.

See also eVision.EasyColor.ConvertRGBAImageToBGRA.

License(s): BasicTypes

Parameters
sourceThe source roi.
destinationThe destination roi. Can be the same as source and must have the same size if that's not the case.

◆ ConvertBGRImageToRGB()

None eVision.EasyColor.ConvertBGRImageToRGB ( eVision.EROIC24 source,
eVision.EROIC24 destination )
static

Converts a BGR image to RGB by swapping 1st and 3rd channels.

Remarks:

By default, eVision uses eVision.EROIC24 in BGR format. This method is provided for conversion to/from other libraries.

See also eVision.EasyColor.ConvertRGBImageToBGR.

License(s): BasicTypes

Parameters
sourceThe source roi.
destinationThe destination roi. Can be the same as source and must have the same size if that's not the case.

◆ ConvertRGBAImageToBGRA()

None eVision.EasyColor.ConvertRGBAImageToBGRA ( eVision.EROIC24A source,
eVision.EROIC24A destination )
static

Converts a RGBA image to BGRA by swapping 1st and 3rd channels.

Remarks:

By default, eVision uses eVision.EROIC24A in BGRA format. This method is provided for conversion to/from other libraries.

See also eVision.EasyColor.ConvertBGRAImageToRGBA.

License(s): BasicTypes

Parameters
sourceThe source roi.
destinationThe destination roi. Can be the same as source and must have the same size if that's not the case.

◆ ConvertRGBImageToBGR()

None eVision.EasyColor.ConvertRGBImageToBGR ( eVision.EROIC24 source,
eVision.EROIC24 destination )
static

Converts a RGB image to BGR by swapping 1st and 3rd channels.

Remarks:

By default, eVision uses eVision.EROIC24 in BGR format. This method is provided for conversion to/from other libraries.

See also eVision.EasyColor.ConvertBGRImageToRGB.

License(s): BasicTypes

Parameters
sourceThe source roi.
destinationThe destination roi. Can be the same as source and must have the same size if that's not the case.

◆ Decompose() [1/3]

None eVision.EasyColor.Decompose ( eVision.EROIC24 | None colorSourceImage,
eVision.EROIBW8 | None destinationImageOfColor0,
eVision.EROIBW8 | None destinationImageOfColor1,
eVision.EROIBW8 | None destinationImageOfColor2 )
static

Extracts the three color planes, considered as gray-level images, from a color image.

Remarks:

If a color lookup is used, the source image undergoes the corresponding color transform. This way, it is possible to get the RGB components from an image of another system, of conversely.

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
colorSourceImagePointer to the input color image/ROI.
destinationImageOfColor0Pointers to the three output gray level component images/ROIs.
destinationImageOfColor1Pointers to the three output gray level component images/ROIs.
destinationImageOfColor2Pointers to the three output gray level component images/ROIs.

◆ Decompose() [2/3]

None eVision.EasyColor.Decompose ( eVision.EROIC24 | None colorSourceImage,
eVision.EROIBW8 | None destinationImageOfColor0,
eVision.EROIBW8 | None destinationImageOfColor1,
eVision.EROIBW8 | None destinationImageOfColor2,
eVision.EColorLookup | None lookup )
static

Extracts the three color planes, considered as gray-level images, from a color image.

Remarks:

If a color lookup is used, the source image undergoes the corresponding color transform. This way, it is possible to get the RGB components from an image of another system, of conversely.

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
colorSourceImagePointer to the input color image/ROI.
destinationImageOfColor0Pointers to the three output gray level component images/ROIs.
destinationImageOfColor1Pointers to the three output gray level component images/ROIs.
destinationImageOfColor2Pointers to the three output gray level component images/ROIs.
lookupPointer to the color lookup table, or NULL.

◆ Decompose() [3/3]

None eVision.EasyColor.Decompose ( eVision.EROIC48 | None colorSourceImage,
eVision.EROIBW16 | None destinationImageOfColor0,
eVision.EROIBW16 | None destinationImageOfColor1,
eVision.EROIBW16 | None destinationImageOfColor2 )
static

Extracts the three color planes, considered as gray-level images, from a color image.

Remarks:

If a color lookup is used, the source image undergoes the corresponding color transform. This way, it is possible to get the RGB components from an image of another system, of conversely.

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
colorSourceImagePointer to the input color image/ROI.
destinationImageOfColor0Pointers to the three output gray level component images/ROIs.
destinationImageOfColor1Pointers to the three output gray level component images/ROIs.
destinationImageOfColor2Pointers to the three output gray level component images/ROIs.

◆ Dequantize() [1/12]

None eVision.EasyColor.Dequantize ( eVision.EC24 colorIn,
eVision.EISH colorOut )
static

Convert a quantized value to a unquantized value of a given color system.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it undoes the gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput quantized color.
colorOutOutput unquantized color, as defined by the corresponding structure.

◆ Dequantize() [2/12]

None eVision.EasyColor.Dequantize ( eVision.EC24 colorIn,
eVision.ELAB colorOut )
static

Convert a quantized value to a unquantized value of a given color system.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it undoes the gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput quantized color.
colorOutOutput unquantized color, as defined by the corresponding structure.

◆ Dequantize() [3/12]

None eVision.EasyColor.Dequantize ( eVision.EC24 colorIn,
eVision.ELCH colorOut )
static

Convert a quantized value to a unquantized value of a given color system.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it undoes the gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput quantized color.
colorOutOutput unquantized color, as defined by the corresponding structure.

◆ Dequantize() [4/12]

None eVision.EasyColor.Dequantize ( eVision.EC24 colorIn,
eVision.ELSH colorOut )
static

Convert a quantized value to a unquantized value of a given color system.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it undoes the gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput quantized color.
colorOutOutput unquantized color, as defined by the corresponding structure.

◆ Dequantize() [5/12]

None eVision.EasyColor.Dequantize ( eVision.EC24 colorIn,
eVision.ELUV colorOut )
static

Convert a quantized value to a unquantized value of a given color system.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it undoes the gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput quantized color.
colorOutOutput unquantized color, as defined by the corresponding structure.

◆ Dequantize() [6/12]

None eVision.EasyColor.Dequantize ( eVision.EC24 colorIn,
eVision.ERGB colorOut )
static

Convert a quantized value to a unquantized value of a given color system.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it undoes the gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput quantized color.
colorOutOutput unquantized color, as defined by the corresponding structure.

◆ Dequantize() [7/12]

None eVision.EasyColor.Dequantize ( eVision.EC24 colorIn,
eVision.EVSH colorOut )
static

Convert a quantized value to a unquantized value of a given color system.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it undoes the gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput quantized color.
colorOutOutput unquantized color, as defined by the corresponding structure.

◆ Dequantize() [8/12]

None eVision.EasyColor.Dequantize ( eVision.EC24 colorIn,
eVision.EXYZ colorOut )
static

Convert a quantized value to a unquantized value of a given color system.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it undoes the gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput quantized color.
colorOutOutput unquantized color, as defined by the corresponding structure.

◆ Dequantize() [9/12]

None eVision.EasyColor.Dequantize ( eVision.EC24 colorIn,
eVision.EYCbCr colorOut )
static

Convert a quantized value to a unquantized value of a given color system.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it undoes the gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput quantized color.
colorOutOutput unquantized color, as defined by the corresponding structure.

◆ Dequantize() [10/12]

None eVision.EasyColor.Dequantize ( eVision.EC24 colorIn,
eVision.EYIQ colorOut )
static

Convert a quantized value to a unquantized value of a given color system.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it undoes the gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput quantized color.
colorOutOutput unquantized color, as defined by the corresponding structure.

◆ Dequantize() [11/12]

None eVision.EasyColor.Dequantize ( eVision.EC24 colorIn,
eVision.EYSH colorOut )
static

Convert a quantized value to a unquantized value of a given color system.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it undoes the gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput quantized color.
colorOutOutput unquantized color, as defined by the corresponding structure.

◆ Dequantize() [12/12]

None eVision.EasyColor.Dequantize ( eVision.EC24 colorIn,
eVision.EYUV colorOut )
static

Convert a quantized value to a unquantized value of a given color system.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it undoes the gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput quantized color.
colorOutOutput unquantized color, as defined by the corresponding structure.

◆ Format422To444()

None eVision.EasyColor.Format422To444 ( eVision.EROIBW16 | None sourceImage,
eVision.EROIC24 | None destinationImage,
bool yFirst )
static

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

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]~

Parameters
sourceImagePointer to the input image/ROI, stored using the 16 bits per pixel format.
destinationImagePointer to the output image/ROI.
yFirstFlag indicating if the format is YUYVYUYV (true) or UYVYUYVY (false).

◆ Format444To422()

None eVision.EasyColor.Format444To422 ( eVision.EROIC24 | None sourceImage,
eVision.EROIBW16 | None destinationImage,
bool yFirst )
static

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

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]~

Parameters
sourceImagePointer to the input image/ROI.
destinationImagePointer to the output image/ROI, stored using the 16 bits per pixel format.
yFirstFlag indicating if the format is YUYVYUYV (true) or UYVYUYVY (false).

◆ GetCieAB()

float eVision.EasyColor.GetCieAB ( )
static

CIE AB white illuminant.

◆ GetCieAG()

float eVision.EasyColor.GetCieAG ( )
static

CIE AG white illuminant.

◆ GetCieAR()

float eVision.EasyColor.GetCieAR ( )
static

CIE AR white illuminant.

◆ GetCieD50B()

float eVision.EasyColor.GetCieD50B ( )
static

CIE D50B white illuminant.

◆ GetCieD50G()

float eVision.EasyColor.GetCieD50G ( )
static

CIE D50G white illuminant.

◆ GetCieD50R()

float eVision.EasyColor.GetCieD50R ( )
static

CIE D50R white illuminant.

◆ GetCieD55B()

float eVision.EasyColor.GetCieD55B ( )
static

CIE D55B white illuminant.

◆ GetCieD55G()

float eVision.EasyColor.GetCieD55G ( )
static

CIE D55G white illuminant.

◆ GetCieD55R()

float eVision.EasyColor.GetCieD55R ( )
static

CIE D55R white illuminant.

◆ GetCieD65B()

float eVision.EasyColor.GetCieD65B ( )
static

CIE D65B white illuminant.

◆ GetCieD65G()

float eVision.EasyColor.GetCieD65G ( )
static

CIE D65G white illuminant.

◆ GetCieD65R()

float eVision.EasyColor.GetCieD65R ( )
static

CIE D65R white illuminant.

◆ GetCieFB()

float eVision.EasyColor.GetCieFB ( )
static

CIE FB white illuminant.

◆ GetCieFG()

float eVision.EasyColor.GetCieFG ( )
static

CIE FG white illuminant.

◆ GetCieFR()

float eVision.EasyColor.GetCieFR ( )
static

CIE FR white illuminant.

◆ GetCompensateNtscGamma()

float eVision.EasyColor.GetCompensateNtscGamma ( )
static

NTSC inverse gamma exponent.

◆ GetCompensatePalGamma()

float eVision.EasyColor.GetCompensatePalGamma ( )
static

PAL inverse gamma exponent.

◆ GetCompensateSmpteGamma()

float eVision.EasyColor.GetCompensateSmpteGamma ( )
static

NTSC inverse gamma exponent.

◆ GetComponent() [1/3]

None eVision.EasyColor.GetComponent ( eVision.EROIC24 | None colorSourceImage,
eVision.EROIBW8 | None bWDestinationImage,
int component )
static

Extracts one color plane, considered as a gray-level image, from a color image.

Parameters
colorSourceImagePointer to the input color image/ROI.
bWDestinationImagePointers to the output gray-level component image/ROI.
componentColor component index (0, 1, or 2).

◆ GetComponent() [2/3]

None eVision.EasyColor.GetComponent ( eVision.EROIC24 | None colorSourceImage,
eVision.EROIBW8 | None bWDestinationImage,
int component,
eVision.EColorLookup | None lookup )
static

Extracts one color plane, considered as a gray-level image, from a color image.

Parameters
colorSourceImagePointer to the input color image/ROI.
bWDestinationImagePointers to the output gray-level component image/ROI.
componentColor component index (0, 1, or 2).
lookupPointer to the color lookup table, or NULL.

◆ GetComponent() [3/3]

None eVision.EasyColor.GetComponent ( eVision.EROIC48 | None colorSourceImage,
eVision.EROIBW16 | None bWDestinationImage,
int component )
static

Extracts one color plane, considered as a gray-level image, from a color image.

Parameters
colorSourceImagePointer to the input color image/ROI.
bWDestinationImagePointers to the output gray-level component image/ROI.
componentColor component index (0, 1, or 2).

◆ GetDstQuantization()

eVision.EColorQuantization eVision.EasyColor.GetDstQuantization ( )
static

Quantization mode for output values.

Remarks:

These settings remain permanent and influence the relevant quantized and unquantized color conversions (during lookup table initialization or image color transformation). Quantization modes are set for the current thread.

◆ GetNtscGamma()

float eVision.EasyColor.GetNtscGamma ( )
static

NTSC gamma exponent.

◆ GetPalGamma()

float eVision.EasyColor.GetPalGamma ( )
static

PAL gamma exponent.

◆ GetRgbStandard()

eVision.ERgbStandard eVision.EasyColor.GetRgbStandard ( )
static

RGB definition to be used when converting between RGB and other color systems.

Remarks:

Some variant of the color systems can be used. The eVision.EasyColor.SetSrcQuantization and eVision.EasyColor.SetDstQuantization functions are used to activate them.

These settings remain permanent and influence the relevant quantized and unquantized color conversions (during lookup table initialization or image color transformation). RgbStandard is set for the current thread.

◆ GetSmpteGamma()

float eVision.EasyColor.GetSmpteGamma ( )
static

SMPTE gamma exponent.

◆ GetSrcQuantization()

eVision.EColorQuantization eVision.EasyColor.GetSrcQuantization ( )
static

Quantization mode for input values.

Remarks:

These settings remain permanent and influence the relevant quantized and unquantized color conversions (during lookup table initialization or image color transformation). Quantization modes are set for the current thread.

◆ ImproveClassCenters()

None eVision.EasyColor.ImproveClassCenters ( eVision.EROIC24 | None sourceImage,
eVision.EC24Vector | None classCenters )
static

Redefines the class centers by computing the average color value of the pixels assigned to each class in the source image.

Remarks:

This implements a step of the K-means method for unsupervised clustering.

Color image segmentation allows you to decompose a color image in different regions by assigning a "class" (integer index) to every pixel. The nearest neighbor method is used, i.e. for each class a representative center is specified, and a given pixel is associated to the class with the closest center.

Color image segmentation can be used in conjunction with EasyObject to perform blob analysis on the segmented regions.

Parameters
sourceImagePointer to the source image/ROI.
classCentersPointer to the vector of the class centers.

◆ IshToRgb() [1/2]

None eVision.EasyColor.IshToRgb ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ IshToRgb() [2/2]

None eVision.EasyColor.IshToRgb ( eVision.EISH colorIn,
eVision.ERGB colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ LabToRgb() [1/2]

None eVision.EasyColor.LabToRgb ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ LabToRgb() [2/2]

None eVision.EasyColor.LabToRgb ( eVision.ELAB colorIn,
eVision.ERGB colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ LabToXyz() [1/2]

None eVision.EasyColor.LabToXyz ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from one system to another.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ LabToXyz() [2/2]

None eVision.EasyColor.LabToXyz ( eVision.ELAB colorIn,
eVision.EXYZ colorOut )
static

Convert a color from one system to another.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ LchToRgb() [1/2]

None eVision.EasyColor.LchToRgb ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ LchToRgb() [2/2]

None eVision.EasyColor.LchToRgb ( eVision.ELCH colorIn,
eVision.ERGB colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ LshToRgb() [1/2]

None eVision.EasyColor.LshToRgb ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ LshToRgb() [2/2]

None eVision.EasyColor.LshToRgb ( eVision.ELSH colorIn,
eVision.ERGB colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ LuvToRgb() [1/2]

None eVision.EasyColor.LuvToRgb ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ LuvToRgb() [2/2]

None eVision.EasyColor.LuvToRgb ( eVision.ELUV colorIn,
eVision.ERGB colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ LuvToXyz() [1/2]

None eVision.EasyColor.LuvToXyz ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from one system to another.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ LuvToXyz() [2/2]

None eVision.EasyColor.LuvToXyz ( eVision.ELUV colorIn,
eVision.EXYZ colorOut )
static

Convert a color from one system to another.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ PseudoColor()

None eVision.EasyColor.PseudoColor ( eVision.EROIBW8 | None sourceImage,
eVision.EROIC24 | None destinationImage,
eVision.EPseudoColorLookup | None lookup )
static

Applies the mapping defined by the pseudo-color lookup table to transform a gray-level image into a color image.

Remarks:

Pseudo-coloring is a convenient way to display gray-level images with enhanced contrast: a shade of colors is associated to the shade of gray-level values. A simple way to define the shade of colors is to specify a path in color space.

In order to use pseudo-coloring, a special lookup table is used: eVision.EPseudoColorLookup. It handles the mapping between the gray-level and color values.

Parameters
sourceImagePointer to the source gray-level image.
destinationImagePointer to the destination color image.
lookupPointer to the pseudo-color lookup table.

◆ Quantize() [1/12]

None eVision.EasyColor.Quantize ( eVision.EISH colorIn,
eVision.EC24 colorOut )
static

Convert an unquantized color of a given color system to a quantized color.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it applies gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput unquantized color, as defined by the corresponding structure.
colorOutOutput quantized color.

◆ Quantize() [2/12]

None eVision.EasyColor.Quantize ( eVision.ELAB colorIn,
eVision.EC24 colorOut )
static

Convert an unquantized color of a given color system to a quantized color.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it applies gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput unquantized color, as defined by the corresponding structure.
colorOutOutput quantized color.

◆ Quantize() [3/12]

None eVision.EasyColor.Quantize ( eVision.ELCH colorIn,
eVision.EC24 colorOut )
static

Convert an unquantized color of a given color system to a quantized color.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it applies gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput unquantized color, as defined by the corresponding structure.
colorOutOutput quantized color.

◆ Quantize() [4/12]

None eVision.EasyColor.Quantize ( eVision.ELSH colorIn,
eVision.EC24 colorOut )
static

Convert an unquantized color of a given color system to a quantized color.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it applies gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput unquantized color, as defined by the corresponding structure.
colorOutOutput quantized color.

◆ Quantize() [5/12]

None eVision.EasyColor.Quantize ( eVision.ELUV colorIn,
eVision.EC24 colorOut )
static

Convert an unquantized color of a given color system to a quantized color.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it applies gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput unquantized color, as defined by the corresponding structure.
colorOutOutput quantized color.

◆ Quantize() [6/12]

None eVision.EasyColor.Quantize ( eVision.ERGB colorIn,
eVision.EC24 colorOut )
static

Convert an unquantized color of a given color system to a quantized color.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it applies gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput unquantized color, as defined by the corresponding structure.
colorOutOutput quantized color.

◆ Quantize() [7/12]

None eVision.EasyColor.Quantize ( eVision.EVSH colorIn,
eVision.EC24 colorOut )
static

Convert an unquantized color of a given color system to a quantized color.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it applies gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput unquantized color, as defined by the corresponding structure.
colorOutOutput quantized color.

◆ Quantize() [8/12]

None eVision.EasyColor.Quantize ( eVision.EXYZ colorIn,
eVision.EC24 colorOut )
static

Convert an unquantized color of a given color system to a quantized color.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it applies gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput unquantized color, as defined by the corresponding structure.
colorOutOutput quantized color.

◆ Quantize() [9/12]

None eVision.EasyColor.Quantize ( eVision.EYCbCr colorIn,
eVision.EC24 colorOut )
static

Convert an unquantized color of a given color system to a quantized color.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it applies gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput unquantized color, as defined by the corresponding structure.
colorOutOutput quantized color.

◆ Quantize() [10/12]

None eVision.EasyColor.Quantize ( eVision.EYIQ colorIn,
eVision.EC24 colorOut )
static

Convert an unquantized color of a given color system to a quantized color.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it applies gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput unquantized color, as defined by the corresponding structure.
colorOutOutput quantized color.

◆ Quantize() [11/12]

None eVision.EasyColor.Quantize ( eVision.EYSH colorIn,
eVision.EC24 colorOut )
static

Convert an unquantized color of a given color system to a quantized color.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it applies gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput unquantized color, as defined by the corresponding structure.
colorOutOutput quantized color.

◆ Quantize() [12/12]

None eVision.EasyColor.Quantize ( eVision.EYUV colorIn,
eVision.EC24 colorOut )
static

Convert an unquantized color of a given color system to a quantized color.

Remarks:

Quantization is the process that transforms a continuous value, usually represented as a floating-point value in the [0..1] interval, into a discrete one, usually represented as an integer in the [0..255] interval. Dequantization is the reverse process. For RGB color system, it applies gamma-correction corresponding to the current eVision.ERgbStandard.

Parameters
colorInInput unquantized color, as defined by the corresponding structure.
colorOutOutput quantized color.

◆ RegisterPlanes() [1/7]

None eVision.EasyColor.RegisterPlanes ( eVision.EROIC24 | None sourceImage,
eVision.EROIC24 | None destinationImage )
static

Sets a color plane of a color image by using a gray-level image as component.

Remarks:

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
sourceImagePointers to the input image/ROI.
destinationImagePointer to the output image/ROI.

◆ RegisterPlanes() [2/7]

None eVision.EasyColor.RegisterPlanes ( eVision.EROIC24 | None sourceImage,
eVision.EROIC24 | None destinationImage,
int rShiftX )
static

Sets a color plane of a color image by using a gray-level image as component.

Remarks:

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
sourceImagePointers to the input image/ROI.
destinationImagePointer to the output image/ROI.
rShiftXHorizontal shifting of the first plane (the red one in case of an RGB image), expressed in pixels.

◆ RegisterPlanes() [3/7]

None eVision.EasyColor.RegisterPlanes ( eVision.EROIC24 | None sourceImage,
eVision.EROIC24 | None destinationImage,
int rShiftX,
int gShiftX )
static

Sets a color plane of a color image by using a gray-level image as component.

Remarks:

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
sourceImagePointers to the input image/ROI.
destinationImagePointer to the output image/ROI.
rShiftXHorizontal shifting of the first plane (the red one in case of an RGB image), expressed in pixels.
gShiftXHorizontal shifting of the second plane (the green one in case of an RGB image), expressed in pixels.

◆ RegisterPlanes() [4/7]

None eVision.EasyColor.RegisterPlanes ( eVision.EROIC24 | None sourceImage,
eVision.EROIC24 | None destinationImage,
int rShiftX,
int gShiftX,
int bShiftX )
static

Sets a color plane of a color image by using a gray-level image as component.

Remarks:

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
sourceImagePointers to the input image/ROI.
destinationImagePointer to the output image/ROI.
rShiftXHorizontal shifting of the first plane (the red one in case of an RGB image), expressed in pixels.
gShiftXHorizontal shifting of the second plane (the green one in case of an RGB image), expressed in pixels.
bShiftXHorizontal shifting of the third plane (the blue one in case of an RGB image), expressed in pixels.

◆ RegisterPlanes() [5/7]

None eVision.EasyColor.RegisterPlanes ( eVision.EROIC24 | None sourceImage,
eVision.EROIC24 | None destinationImage,
int rShiftX,
int gShiftX,
int bShiftX,
int rShiftY )
static

Sets a color plane of a color image by using a gray-level image as component.

Remarks:

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
sourceImagePointers to the input image/ROI.
destinationImagePointer to the output image/ROI.
rShiftXHorizontal shifting of the first plane (the red one in case of an RGB image), expressed in pixels.
gShiftXHorizontal shifting of the second plane (the green one in case of an RGB image), expressed in pixels.
bShiftXHorizontal shifting of the third plane (the blue one in case of an RGB image), expressed in pixels.
rShiftYVertical shifting of the first plane (the red one in case of an RGB image), expressed in pixels.

◆ RegisterPlanes() [6/7]

None eVision.EasyColor.RegisterPlanes ( eVision.EROIC24 | None sourceImage,
eVision.EROIC24 | None destinationImage,
int rShiftX,
int gShiftX,
int bShiftX,
int rShiftY,
int gShiftY )
static

Sets a color plane of a color image by using a gray-level image as component.

Remarks:

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
sourceImagePointers to the input image/ROI.
destinationImagePointer to the output image/ROI.
rShiftXHorizontal shifting of the first plane (the red one in case of an RGB image), expressed in pixels.
gShiftXHorizontal shifting of the second plane (the green one in case of an RGB image), expressed in pixels.
bShiftXHorizontal shifting of the third plane (the blue one in case of an RGB image), expressed in pixels.
rShiftYVertical shifting of the first plane (the red one in case of an RGB image), expressed in pixels.
gShiftYVertical shifting of the second plane (the green one in case of an RGB image), expressed in pixels.

◆ RegisterPlanes() [7/7]

None eVision.EasyColor.RegisterPlanes ( eVision.EROIC24 | None sourceImage,
eVision.EROIC24 | None destinationImage,
int rShiftX,
int gShiftX,
int bShiftX,
int rShiftY,
int gShiftY,
int bShiftY )
static

Sets a color plane of a color image by using a gray-level image as component.

Remarks:

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
sourceImagePointers to the input image/ROI.
destinationImagePointer to the output image/ROI.
rShiftXHorizontal shifting of the first plane (the red one in case of an RGB image), expressed in pixels.
gShiftXHorizontal shifting of the second plane (the green one in case of an RGB image), expressed in pixels.
bShiftXHorizontal shifting of the third plane (the blue one in case of an RGB image), expressed in pixels.
rShiftYVertical shifting of the first plane (the red one in case of an RGB image), expressed in pixels.
gShiftYVertical shifting of the second plane (the green one in case of an RGB image), expressed in pixels.
bShiftYVertical shifting of the third plane (the blue one in case of an RGB image), expressed in pixels.

◆ RgbToIsh() [1/2]

None eVision.EasyColor.RgbToIsh ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToIsh() [2/2]

None eVision.EasyColor.RgbToIsh ( eVision.ERGB colorIn,
eVision.EISH colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToLab() [1/2]

None eVision.EasyColor.RgbToLab ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToLab() [2/2]

None eVision.EasyColor.RgbToLab ( eVision.ERGB colorIn,
eVision.ELAB colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToLch() [1/2]

None eVision.EasyColor.RgbToLch ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToLch() [2/2]

None eVision.EasyColor.RgbToLch ( eVision.ERGB colorIn,
eVision.ELCH colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToLsh() [1/2]

None eVision.EasyColor.RgbToLsh ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToLsh() [2/2]

None eVision.EasyColor.RgbToLsh ( eVision.ERGB colorIn,
eVision.ELSH colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToLuv() [1/2]

None eVision.EasyColor.RgbToLuv ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToLuv() [2/2]

None eVision.EasyColor.RgbToLuv ( eVision.ERGB colorIn,
eVision.ELUV colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToReducedXyz() [1/2]

None eVision.EasyColor.RgbToReducedXyz ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from one system to another.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ RgbToReducedXyz() [2/2]

None eVision.EasyColor.RgbToReducedXyz ( eVision.ERGB colorIn,
eVision.EXYZ colorOut )
static

Convert a color from one system to another.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ RgbToVsh() [1/2]

None eVision.EasyColor.RgbToVsh ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToVsh() [2/2]

None eVision.EasyColor.RgbToVsh ( eVision.ERGB colorIn,
eVision.EVSH colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToXyz() [1/2]

None eVision.EasyColor.RgbToXyz ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToXyz() [2/2]

None eVision.EasyColor.RgbToXyz ( eVision.ERGB colorIn,
eVision.EXYZ colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToYCbCr() [1/2]

None eVision.EasyColor.RgbToYCbCr ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToYCbCr() [2/2]

None eVision.EasyColor.RgbToYCbCr ( eVision.ERGB colorIn,
eVision.EYCbCr colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToYiq() [1/2]

None eVision.EasyColor.RgbToYiq ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToYiq() [2/2]

None eVision.EasyColor.RgbToYiq ( eVision.ERGB colorIn,
eVision.EYIQ colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToYsh() [1/2]

None eVision.EasyColor.RgbToYsh ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToYsh() [2/2]

None eVision.EasyColor.RgbToYsh ( eVision.ERGB colorIn,
eVision.EYSH colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToYuv() [1/2]

None eVision.EasyColor.RgbToYuv ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ RgbToYuv() [2/2]

None eVision.EasyColor.RgbToYuv ( eVision.ERGB colorIn,
eVision.EYUV colorOut )
static

Convert a color from RGB to another system.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color, as defined by the corresponding structure.

◆ SetComponent() [1/2]

None eVision.EasyColor.SetComponent ( eVision.EROIBW16 | None bWSourceImage,
eVision.EROIC48 | None colorDestinationImage,
int component )
static

Sets a color plane of a color image by using a gray-level image as component.

Remarks:

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
bWSourceImagePointers to the input gray level component image/ROI.
colorDestinationImagePointer to the output color image/ROI.
componentColor component index (0, 1, or 2).

◆ SetComponent() [2/2]

None eVision.EasyColor.SetComponent ( eVision.EROIBW8 | None bWSourceImage,
eVision.EROIC24 | None colorDestinationImage,
int component )
static

Sets a color plane of a color image by using a gray-level image as component.

Remarks:

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
bWSourceImagePointers to the input gray level component image/ROI.
colorDestinationImagePointer to the output color image/ROI.
componentColor component index (0, 1, or 2).

◆ SetDstQuantization()

None eVision.EasyColor.SetDstQuantization ( eVision.EColorQuantization quantization)
static

Quantization mode for output values.

Remarks:

These settings remain permanent and influence the relevant quantized and unquantized color conversions (during lookup table initialization or image color transformation). Quantization modes are set for the current thread.

◆ SetRgbStandard()

None eVision.EasyColor.SetRgbStandard ( eVision.ERgbStandard rgbStandard)
static

RGB definition to be used when converting between RGB and other color systems.

Remarks:

Some variant of the color systems can be used. The eVision.EasyColor.SetSrcQuantization and eVision.EasyColor.SetDstQuantization functions are used to activate them.

These settings remain permanent and influence the relevant quantized and unquantized color conversions (during lookup table initialization or image color transformation). RgbStandard is set for the current thread.

◆ SetSrcQuantization()

None eVision.EasyColor.SetSrcQuantization ( eVision.EColorQuantization quantization)
static

Quantization mode for input values.

Remarks:

These settings remain permanent and influence the relevant quantized and unquantized color conversions (during lookup table initialization or image color transformation). Quantization modes are set for the current thread.

◆ Transform()

None eVision.EasyColor.Transform ( eVision.EROIC24 | None sourceImage,
eVision.EROIC24 | None destinationImage,
eVision.EColorLookup | None lookup )
static

Applies a color transformation to a specified image.

Remarks:

In the first case, the transformation is defined by a color lookup. See Initialization (eVision.EColorLookup). In the two other cases, the user defines a quantized or unquantized color transformation. No intermediate color lookup table is used.

A color image can be seen as a set of three color planes, each corresponding to a color component. The color planes are themselves continuous tone images. An eVision.EImageC24 contains three eVision.EImageBW8.

Parameters
sourceImagePointer to the source image/ROI.
destinationImagePointer to the destination image/ROI.
lookupPointer to the color lookup.

◆ TransformBayer() [1/4]

None eVision.EasyColor.TransformBayer ( eVision.EROIBW8 | None sourceImage,
eVision.EROIBW8 | None destinationImage,
eVision.EColorLookup | None lookup )
static

Converts an image, using the transformation defined by a color lookup.

Remarks:

By contrast with eVision.EasyColor.Transform, the transformation is applied directly to Bayer-encoded data. This allows efficient processing to take place before conversion to the C24 format.

Deprecated

Use the overload taking an eVision.EBayerConfiguration instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

Parameters
sourceImagePointer to the source image/ROI. This image must be encoded using the Bayer color pattern.
destinationImagePointer to the destination image/ROI. This image must be encoded using the Bayer color pattern.
lookupPointer to the color lookup table holding the color adjustment transform. The lookup table must be previously set up by eVision.EColorLookup.WhiteBalance method (no other transforms are supported).

◆ TransformBayer() [2/4]

None eVision.EasyColor.TransformBayer ( eVision.EROIBW8 | None sourceImage,
eVision.EROIBW8 | None destinationImage,
eVision.EColorLookup | None lookup,
bool evenCol )
static

Converts an image, using the transformation defined by a color lookup.

Remarks:

By contrast with eVision.EasyColor.Transform, the transformation is applied directly to Bayer-encoded data. This allows efficient processing to take place before conversion to the C24 format.

Deprecated

Use the overload taking an eVision.EBayerConfiguration instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

Parameters
sourceImagePointer to the source image/ROI. This image must be encoded using the Bayer color pattern.
destinationImagePointer to the destination image/ROI. This image must be encoded using the Bayer color pattern.
lookupPointer to the color lookup table holding the color adjustment transform. The lookup table must be previously set up by eVision.EColorLookup.WhiteBalance method (no other transforms are supported).
evenColtrue if the leftmost destination image column can't contain blue pixels.

◆ TransformBayer() [3/4]

None eVision.EasyColor.TransformBayer ( eVision.EROIBW8 | None sourceImage,
eVision.EROIBW8 | None destinationImage,
eVision.EColorLookup | None lookup,
bool evenCol,
bool evenRow )
static

Converts an image, using the transformation defined by a color lookup.

Remarks:

By contrast with eVision.EasyColor.Transform, the transformation is applied directly to Bayer-encoded data. This allows efficient processing to take place before conversion to the C24 format.

Deprecated

Use the overload taking an eVision.EBayerConfiguration instead.

Deprecated in version 23.12. Scheduled to be removed in version 27.6.

Parameters
sourceImagePointer to the source image/ROI. This image must be encoded using the Bayer color pattern.
destinationImagePointer to the destination image/ROI. This image must be encoded using the Bayer color pattern.
lookupPointer to the color lookup table holding the color adjustment transform. The lookup table must be previously set up by eVision.EColorLookup.WhiteBalance method (no other transforms are supported).
evenColtrue if the leftmost destination image column can't contain blue pixels.
evenRowtrue if the topmost destination image row can't contain red pixels.

◆ TransformBayer() [4/4]

None eVision.EasyColor.TransformBayer ( eVision.EROIBW8 | None sourceImage,
eVision.EROIBW8 | None destinationImage,
eVision.EColorLookup | None lookup,
eVision.EBayerConfiguration bayerConfiguration )
static

Converts an image, using the transformation defined by a color lookup.

Remarks:

By contrast with eVision.EasyColor.Transform, the transformation is applied directly to Bayer-encoded data. This allows efficient processing to take place before conversion to the C24 format.

Parameters
sourceImagePointer to the source image/ROI. This image must be encoded using the Bayer color pattern.
destinationImagePointer to the destination image/ROI. This image must be encoded using the Bayer color pattern.
lookupPointer to the color lookup table holding the color adjustment transform. The lookup table must be previously set up by eVision.EColorLookup.WhiteBalance method (no other transforms are supported).
bayerConfigurationThe color configuration of the bayer image. The color configuration is defined by the component of the first 2 pixels of the image, see eVision.EBayerConfiguration.

◆ VshToRgb() [1/2]

None eVision.EasyColor.VshToRgb ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ VshToRgb() [2/2]

None eVision.EasyColor.VshToRgb ( eVision.EVSH colorIn,
eVision.ERGB colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ XyzToLab() [1/2]

None eVision.EasyColor.XyzToLab ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from one system to another.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ XyzToLab() [2/2]

None eVision.EasyColor.XyzToLab ( eVision.EXYZ colorIn,
eVision.ELAB colorOut )
static

Convert a color from one system to another.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ XyzToLuv() [1/2]

None eVision.EasyColor.XyzToLuv ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from one system to another.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ XyzToLuv() [2/2]

None eVision.EasyColor.XyzToLuv ( eVision.EXYZ colorIn,
eVision.ELUV colorOut )
static

Convert a color from one system to another.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ XyzToRgb() [1/2]

None eVision.EasyColor.XyzToRgb ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ XyzToRgb() [2/2]

None eVision.EasyColor.XyzToRgb ( eVision.EXYZ colorIn,
eVision.ERGB colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ YCbCrToRgb() [1/2]

None eVision.EasyColor.YCbCrToRgb ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ YCbCrToRgb() [2/2]

None eVision.EasyColor.YCbCrToRgb ( eVision.EYCbCr colorIn,
eVision.ERGB colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ YiqToRgb() [1/2]

None eVision.EasyColor.YiqToRgb ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ YiqToRgb() [2/2]

None eVision.EasyColor.YiqToRgb ( eVision.EYIQ colorIn,
eVision.ERGB colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ YshToRgb() [1/2]

None eVision.EasyColor.YshToRgb ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ YshToRgb() [2/2]

None eVision.EasyColor.YshToRgb ( eVision.EYSH colorIn,
eVision.ERGB colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ YuvToRgb() [1/2]

None eVision.EasyColor.YuvToRgb ( eVision.EC24 colorIn,
eVision.EC24 colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.

◆ YuvToRgb() [2/2]

None eVision.EasyColor.YuvToRgb ( eVision.EYUV colorIn,
eVision.ERGB colorOut )
static

Convert a color from any system to RGB.

Remarks:

These functions transform the color components (of a pixel) expressed in some color system to the corresponding components in another system. These functions take into account the current eVision.ERgbStandard and the associated white point if necessary.

Parameters
colorInInput color.
colorOutOutput color.