Operators |
get_texture_inspection_model_image — Get the training images contained in a texture inspection model.
get_texture_inspection_model_image( : ImageOut : TextureInspectionModel : )
The operator get_texture_inspection_model_image returns all training images contained in a texture inspection model TextureInspectionModel that were added by add_texture_inspection_model_image.
For an explanation of the concept of the texture inspection see the introduction of chapter Inspection / Texture Inspection.
Training images contained in the texture inspection model.
Handle of the texture inspection model.
* Create texture inspection model create_texture_inspection_model ('basic', TextureInspectionModel) * Make this short example fast: set_texture_inspection_model_param (TextureInspectionModel, \ 'gmm_em_max_iter', 1) * Read and add training images read_image (TrainImage, 'carpet/carpet_01') add_texture_inspection_model_image (TrainImage, TextureInspectionModel, \ Indices) * Get added training images get_texture_inspection_model_image (TrainImageOut, TextureInspectionModel)
The operator get_texture_inspection_model_image returns the value 2 (H_MSG_TRUE) if the given parameters are valid and within acceptable range. Otherwise, an exception will be raised.
create_texture_inspection_model, set_texture_inspection_model_param, get_texture_inspection_model_param, add_texture_inspection_model_image
train_texture_inspection_model, clear_texture_inspection_model, remove_texture_inspection_model_image
Matching
Operators |