clear_shape_model ( : : ModelID : )

Free the memory of a shape model.

The operator clear_shape_model frees the memory of a shape model that was created by create_shape_model or create_scaled_shape_model. After calling clear_shape_model, the model can no longer be used. The handle ModelID becomes invalid.


Parameters

ModelID (input_control)
shape_model -> integer
Handle of the model.


Result

If the handle of the model is valid, the operator clear_shape_model returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.


Parallelization Information

clear_shape_model is processed completely exclusively without parallelization.


Possible Predecessors

create_shape_model, create_scaled_shape_model, read_shape_model, write_shape_model


See also

clear_all_shape_models


Module

Matching



Copyright © 1996-2008 MVTec Software GmbH