ClassesClasses | | Operators

get_texture_inspection_model_imageT_get_texture_inspection_model_imageGetTextureInspectionModelImageGetTextureInspectionModelImage (Operator)

Name

get_texture_inspection_model_imageT_get_texture_inspection_model_imageGetTextureInspectionModelImageGetTextureInspectionModelImage — Get the training images contained in a texture inspection model.

Signature

get_texture_inspection_model_image( : ImageOut : TextureInspectionModel : )

Herror T_get_texture_inspection_model_image(Hobject* ImageOut, const Htuple TextureInspectionModel)

void GetTextureInspectionModelImage(HObject* ImageOut, const HTuple& TextureInspectionModel)

void HImage::GetTextureInspectionModelImage(const HTextureInspectionModel& TextureInspectionModel)

HImage HTextureInspectionModel::GetTextureInspectionModelImage() const

static HImage HTextureInspectionResult::GetTextureInspectionModelImage(const HTextureInspectionModel& TextureInspectionModel)

static void HOperatorSet.GetTextureInspectionModelImage(out HObject imageOut, HTuple textureInspectionModel)

void HImage.GetTextureInspectionModelImage(HTextureInspectionModel textureInspectionModel)

HImage HTextureInspectionModel.GetTextureInspectionModelImage()

static HImage HTextureInspectionResult.GetTextureInspectionModelImage(HTextureInspectionModel textureInspectionModel)

Description

The operator get_texture_inspection_model_imageget_texture_inspection_model_imageGetTextureInspectionModelImageGetTextureInspectionModelImageGetTextureInspectionModelImage returns all training images contained in a texture inspection model TextureInspectionModelTextureInspectionModelTextureInspectionModelTextureInspectionModeltextureInspectionModel that were added by add_texture_inspection_model_imageadd_texture_inspection_model_imageAddTextureInspectionModelImageAddTextureInspectionModelImageAddTextureInspectionModelImage.

For an explanation of the concept of the texture inspection see the introduction of chapter Inspection / Texture Inspection.

Execution Information

Parameters

ImageOutImageOutImageOutImageOutimageOut (output_object)  singlechannelimage-array objectHImageHImageHobject * (byte / uint2)

Training images contained in the texture inspection model.

TextureInspectionModelTextureInspectionModelTextureInspectionModelTextureInspectionModeltextureInspectionModel (input_control)  texture_inspection_model HTextureInspectionModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the texture inspection model.

Example (HDevelop)

* 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)

Result

The operator get_texture_inspection_model_imageget_texture_inspection_model_imageGetTextureInspectionModelImageGetTextureInspectionModelImageGetTextureInspectionModelImage returns the value 2 (H_MSG_TRUE) if the given parameters are valid and within acceptable range. Otherwise, an exception will be raised.

Possible Predecessors

create_texture_inspection_modelcreate_texture_inspection_modelCreateTextureInspectionModelCreateTextureInspectionModelCreateTextureInspectionModel, set_texture_inspection_model_paramset_texture_inspection_model_paramSetTextureInspectionModelParamSetTextureInspectionModelParamSetTextureInspectionModelParam, get_texture_inspection_model_paramget_texture_inspection_model_paramGetTextureInspectionModelParamGetTextureInspectionModelParamGetTextureInspectionModelParam, add_texture_inspection_model_imageadd_texture_inspection_model_imageAddTextureInspectionModelImageAddTextureInspectionModelImageAddTextureInspectionModelImage

Possible Successors

train_texture_inspection_modeltrain_texture_inspection_modelTrainTextureInspectionModelTrainTextureInspectionModelTrainTextureInspectionModel, clear_texture_inspection_modelclear_texture_inspection_modelClearTextureInspectionModelClearTextureInspectionModelClearTextureInspectionModel, remove_texture_inspection_model_imageremove_texture_inspection_model_imageRemoveTextureInspectionModelImageRemoveTextureInspectionModelImageRemoveTextureInspectionModelImage

Module

Matching


ClassesClasses | | Operators