Skip to content

get_texture_inspection_model_imageget_texture_inspection_model_imageGetTextureInspectionModelImageGetTextureInspectionModelImageget_texture_inspection_model_imageT_get_texture_inspection_model_image🔗

Short description🔗

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

Signature🔗

get_texture_inspection_model_image( out image ModelImages, texture_inspection_model TextureInspectionModel )get_texture_inspection_model_image( : ModelImages : TextureInspectionModel : )void GetTextureInspectionModelImage( HObject* ModelImages, const HTuple& TextureInspectionModel )static void HOperatorSet.GetTextureInspectionModelImage( out HObject modelImages, HTuple textureInspectionModel )def get_texture_inspection_model_image( texture_inspection_model: HHandle ) -> HObject

Herror T_get_texture_inspection_model_image( Hobject* ModelImages, const Htuple TextureInspectionModel )

void HImage::GetTextureInspectionModelImage( const HTextureInspectionModel& TextureInspectionModel )

HImage HTextureInspectionModel::GetTextureInspectionModelImage( ) const

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

void HImage.GetTextureInspectionModelImage( HTextureInspectionModel textureInspectionModel )

HImage HTextureInspectionModel.GetTextureInspectionModelImage( )

static HImage HTextureInspectionResult.GetTextureInspectionModelImage( HTextureInspectionModel textureInspectionModel )

Description🔗

The operator get_texture_inspection_model_imageGetTextureInspectionModelImage returns all training images contained in a texture inspection model TextureInspectionModeltextureInspectionModeltexture_inspection_model that were added by add_texture_inspection_model_imageAddTextureInspectionModelImage.

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

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Automatically parallelized on internal data level.

Parameters🔗

ModelImagesmodelImagesmodel_images (output_object) (multichannel-)image-array → object (byte / uint2)object (byte / uint2)HObject (byte / uint2)HImage (byte / uint2)HObject (byte / uint2)Hobject * (byte / uint2)

Training images contained in the texture inspection model.

TextureInspectionModeltextureInspectionModeltexture_inspection_model (input_control) texture_inspection_model → (handle)(handle)HTuple (HHandle)HTextureInspectionModel, HTuple (IntPtr)HHandleHtuple (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 (ModelImages, TextureInspectionModel, \
                                    Indices)
* Get added training images
get_texture_inspection_model_image (ModelImagesOut, TextureInspectionModel)

Result🔗

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

Combinations with other operators🔗

Combinations

Possible predecessors

create_texture_inspection_modelCreateTextureInspectionModel, set_texture_inspection_model_paramSetTextureInspectionModelParam, get_texture_inspection_model_paramGetTextureInspectionModelParam, add_texture_inspection_model_imageAddTextureInspectionModelImage

Possible successors

train_texture_inspection_modelTrainTextureInspectionModel, clear_texture_inspection_modelClearTextureInspectionModel, remove_texture_inspection_model_imageRemoveTextureInspectionModelImage

Module🔗

Matching