Operator Reference

close_class_boxT_close_class_boxCloseClassBoxCloseClassBoxclose_class_box (Operator)

close_class_boxT_close_class_boxCloseClassBoxCloseClassBoxclose_class_box — Destroy the classifier.

Warning

close_class_boxclose_class_boxCloseClassBoxCloseClassBoxclose_class_box is obsolete and is only provided for reasons of backward compatibility. New applications should use the MLP, SVM, KNN or GMM operators instead. The operator will be removed with HALCON 25.11.

Signature

close_class_box( : : ClassifHandle : )

Herror T_close_class_box(const Htuple ClassifHandle)

void CloseClassBox(const HTuple& ClassifHandle)

void HClassBox::CloseClassBox() const

static void HOperatorSet.CloseClassBox(HTuple classifHandle)

void HClassBox.CloseClassBox()

def close_class_box(classif_handle: HHandle) -> None

Description

close_class_boxclose_class_boxCloseClassBoxCloseClassBoxclose_class_box deletes the classifier and frees the used memory space. All the trained data will be lost. For saving this trained data you should use write_class_boxwrite_class_boxWriteClassBoxWriteClassBoxwrite_class_box before.

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

This operator modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters

ClassifHandleClassifHandleClassifHandleclassifHandleclassif_handle (input_control, state is modified)  class_box HClassBox, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the classifier.

Result

close_class_boxclose_class_boxCloseClassBoxCloseClassBoxclose_class_box returns 2 ( H_MSG_TRUE) .

Possible Predecessors

create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxcreate_class_box, enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxenquire_class_box, learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxlearn_class_box, write_class_boxwrite_class_boxWriteClassBoxWriteClassBoxwrite_class_box

See also

create_class_boxcreate_class_boxCreateClassBoxCreateClassBoxcreate_class_box, enquire_class_boxenquire_class_boxEnquireClassBoxEnquireClassBoxenquire_class_box, learn_class_boxlearn_class_boxLearnClassBoxLearnClassBoxlearn_class_box

Module

Foundation