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

ITcVnImage*

Source image.

pipDestImage

ITcVnImage**

Returns the color similarity.

fVariance

float

Allowed color variance.

fLuminanceWeight

float

Weight the impact of the luminance.

ClassifyImageColor 1: Return value

HRESULT