ClassifyImageColor
Compute the similarity of each image pixel to the trained reference color.
Syntax
Definition:
METHOD ClassifyImageColor : HRESULT
VAR_INPUT
ipSrcImage : ITcVnImage;
pipDestImage : Pointer To ITcVnImage;
fVariance : REAL;
fLuminanceWeight : REAL;
END_VAR
Inputs
|
Name |
Type |
Description |
|---|---|---|
|
ipSrcImage |
Source image. | |
|
pipDestImage |
Pointer To ITcVnImage |
Returns the color similarity. |
|
fVariance |
REAL |
Allowed color variance. |
|
fLuminanceWeight |
REAL |
Weight the impact of the luminance. |
Return value