get_texture_inspection_model_imageT_get_texture_inspection_model_imageGetTextureInspectionModelImageGetTextureInspectionModelImageget_texture_inspection_model_image (算子)

名称

get_texture_inspection_model_imageT_get_texture_inspection_model_imageGetTextureInspectionModelImageGetTextureInspectionModelImageget_texture_inspection_model_image — 获取纹理检查模型中包含的训练图像。

签名

get_texture_inspection_model_image( : ModelImages : TextureInspectionModel : )

Herror T_get_texture_inspection_model_image(Hobject* ModelImages, const Htuple TextureInspectionModel)

void GetTextureInspectionModelImage(HObject* ModelImages, 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 modelImages, HTuple textureInspectionModel)

void HImage.GetTextureInspectionModelImage(HTextureInspectionModel textureInspectionModel)

HImage HTextureInspectionModel.GetTextureInspectionModelImage()

static HImage HTextureInspectionResult.GetTextureInspectionModelImage(HTextureInspectionModel textureInspectionModel)

def get_texture_inspection_model_image(texture_inspection_model: HHandle) -> HObject

描述

算子 get_texture_inspection_model_imageget_texture_inspection_model_imageGetTextureInspectionModelImageGetTextureInspectionModelImageGetTextureInspectionModelImageget_texture_inspection_model_image returns all training images contained in a texture inspection model TextureInspectionModelTextureInspectionModelTextureInspectionModelTextureInspectionModeltextureInspectionModeltexture_inspection_model that were added by add_texture_inspection_model_imageadd_texture_inspection_model_imageAddTextureInspectionModelImageAddTextureInspectionModelImageAddTextureInspectionModelImageadd_texture_inspection_model_image

有关纹理检查概念的说明,请参阅 检查 / 纹理检查 一章的引言。

执行信息

参数

ModelImagesModelImagesModelImagesModelImagesmodelImagesmodel_images (输出对象)  (multichannel-)image-array objectHImageHObjectHImageHobject * (byte / uint2)

Training images contained in the texture inspection model.

TextureInspectionModelTextureInspectionModelTextureInspectionModelTextureInspectionModeltextureInspectionModeltexture_inspection_model (输入控制)  texture_inspection_model HTextureInspectionModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

纹理检查模型的句柄。

示例(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)

结果

算子 get_texture_inspection_model_imageget_texture_inspection_model_imageGetTextureInspectionModelImageGetTextureInspectionModelImageGetTextureInspectionModelImageget_texture_inspection_model_image 在给定参数有效且在可接受范围内时返回值 2 ( H_MSG_TRUE )。 否则,将抛出异常。

可能的前趋

create_texture_inspection_modelcreate_texture_inspection_modelCreateTextureInspectionModelCreateTextureInspectionModelCreateTextureInspectionModelcreate_texture_inspection_model, set_texture_inspection_model_paramset_texture_inspection_model_paramSetTextureInspectionModelParamSetTextureInspectionModelParamSetTextureInspectionModelParamset_texture_inspection_model_param, get_texture_inspection_model_paramget_texture_inspection_model_paramGetTextureInspectionModelParamGetTextureInspectionModelParamGetTextureInspectionModelParamget_texture_inspection_model_param, add_texture_inspection_model_imageadd_texture_inspection_model_imageAddTextureInspectionModelImageAddTextureInspectionModelImageAddTextureInspectionModelImageadd_texture_inspection_model_image

可能的后继

train_texture_inspection_modeltrain_texture_inspection_modelTrainTextureInspectionModelTrainTextureInspectionModelTrainTextureInspectionModeltrain_texture_inspection_model, clear_texture_inspection_modelclear_texture_inspection_modelClearTextureInspectionModelClearTextureInspectionModelClearTextureInspectionModelclear_texture_inspection_model, remove_texture_inspection_model_imageremove_texture_inspection_model_imageRemoveTextureInspectionModelImageRemoveTextureInspectionModelImageRemoveTextureInspectionModelImageremove_texture_inspection_model_image

模块

匹配