imaqRelabelClassifierSample
Usage
int imaqRelabelClassifierSample(ClassifierSession* session, int index, const char* newClass);
Purpose
Relabels a sample in a classifier session and sets it to be in a different class.
Parameters
|
Name
|
Type
|
Description
|
|---|---|---|
| session | ClassifierSession* | The session containing the sample to relabel. |
| index | int | The index of the sample to relabel. |
| newClass | const char* | The new class of the sample. |
Return Value
| Type |
Description |
|---|---|
| int | On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError(). |