01.11.2014 Views

Reference Manual HALCON/C

Reference Manual HALCON/C

Reference Manual HALCON/C

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4 CHAPTER 1. CLASSIFICATION<br />

See Also<br />

test sampset box, T learn class box, learn sampset box<br />

Tools<br />

Module<br />

T enquire reject class box ( Htuple ClassifHandle, Htuple FeatureList,<br />

Htuple *Class )<br />

Classify a tuple of attributes with rejection class.<br />

FeatureList is a tuple of any floating point- or integer numbers (attributes) which has to be assigned to a class<br />

with assistance of a previous trained (T learn class box) classificator. It is possible to specify attributes as<br />

unknown by indicating the symbol ’£’ instead of a number. If you specify n values, then all following values, i.e.<br />

the attributes n+1 until ’max’, are automatically supposed to be undefined.<br />

If the array of attributes cannot be assigned to a class, i.e. the array does not reside inside of one of the hyper<br />

boxes, then in contrary to T enquire class box not the next class is going to be returned, but the rejection<br />

class -1 as a result is going to be passed.<br />

See T learn class box for more details about the functionality of the classificator.<br />

You may call the procedures T learn class box and T enquire class box alternately, so that it is possible<br />

to classify already in the phase of learning. By this means you could see when a satisfying behavior had been<br />

reached.<br />

Parameter<br />

º ClassifHandle (input control) ...........................................class box Htuple . long<br />

Classificator’s handle number.<br />

º FeatureList (input control) ........................real-array Htuple . double / long / const char *<br />

Array of attributes which has to be classfied.<br />

Default Value : 1.0<br />

º Class (output control) .....................................................integer Htuple . long *<br />

Number of the class, to which the array of attributes had been assigned or -1 for the rejection class.<br />

Result<br />

T enquire reject class box returns H MSG TRUE.<br />

Parallelization Information<br />

T enquire reject class box is local and processed completely exclusively without parallelization.<br />

Possible Predecessor Functions<br />

create class box, T learn class box, set class box param<br />

Possible Successor Functions<br />

T learn class box, write class box, close class box<br />

T enquire class box<br />

Alternatives<br />

See Also<br />

test sampset box, T learn class box, learn sampset box<br />

Tools<br />

Module<br />

get class box param ( long ClassifHandle, const char *Flag,<br />

double *Value )<br />

Get information about the current parameter.<br />

get class box param gets the parameter of the classificator. The meaning of the parameter is explained in<br />

set class box param.<br />

Default values:<br />

’min samples for split’ = 80,<br />

<strong>HALCON</strong>/C <strong>Reference</strong> <strong>Manual</strong> / 2000-11-15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!