ClassifyImageColor

ClassifyImageColor 1:

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

ClassifyImageColor 2: Inputs

Name

Type

Description

ipSrcImage

ITcVnImage

Source image.

pipDestImage

Pointer To ITcVnImage

Returns the color similarity.

fVariance

REAL

Allowed color variance.

fLuminanceWeight

REAL

Weight the impact of the luminance.

ClassifyImageColor 3: Return value

HRESULT