ITcVnColorModel

Interface to train and classify an image color.

Inheritance Hierarchy

ITcUnknown
    ITcVnMlModel
        ITcVnColorModel

ITcVnColorModel 1: Methods

Name

Origin

Description

TcAddRef

ITcUnknown

Increments the reference counter.

TcQueryInterface

ITcUnknown

Get a reference to an implemented interface.

TcRelease

ITcUnknown

Decrements the reference counter.

GetTypeGuid

ITcVnMlModel

Gets the GUID of the model.

GetTypeName

ITcVnMlModel

Gets the model type name as a string.

TrainImageColor

ITcVnColorModel

Train the color of the provided image.

ClassifyImageColor

ITcVnColorModel

Compute the similarity of each image pixel to the trained reference color.

Further information

The interface ITcVnColorModel is for describing a color area. The model can be created or adjusted with the function F_VN_TrainImageColor and compared with the colors of an image using the function F_VN_ReferenceColorSimilarity_ITcVnColorModel.

System Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT V3.1.4024.54 or later

PC or CX (x64) with PL50, e.g. Intel 4-core Atom CPU

Tc3_Vision