ClassifyImageColor
Compute the similarity of each image pixel to the trained reference color.
Syntax
Definition:
HRESULT ClassifyImageColor(
ITcVnImage* ipSrcImage,
ITcVnImage** pipDestImage,
float fVariance,
float fLuminanceWeight
)
Parameters
Name |
Type |
Description |
---|---|---|
ipSrcImage |
Source image. | |
pipDestImage |
Returns the color similarity. | |
fVariance |
float |
Allowed color variance. |
fLuminanceWeight |
float |
Weight the impact of the luminance. |