ClassesClasses | | Operators

get_sample_identifier_paramT_get_sample_identifier_paramGetSampleIdentifierParamGetSampleIdentifierParam (Operator)

Name

get_sample_identifier_paramT_get_sample_identifier_paramGetSampleIdentifierParamGetSampleIdentifierParam — Get selected parameters of a sample identifier.

Signature

get_sample_identifier_param( : : SampleIdentifier, GenParamName : GenParamValue)

Herror T_get_sample_identifier_param(const Htuple SampleIdentifier, const Htuple GenParamName, Htuple* GenParamValue)

void GetSampleIdentifierParam(const HTuple& SampleIdentifier, const HTuple& GenParamName, HTuple* GenParamValue)

HTuple HSampleIdentifier::GetSampleIdentifierParam(const HString& GenParamName) const

HTuple HSampleIdentifier::GetSampleIdentifierParam(const char* GenParamName) const

static void HOperatorSet.GetSampleIdentifierParam(HTuple sampleIdentifier, HTuple genParamName, out HTuple genParamValue)

HTuple HSampleIdentifier.GetSampleIdentifierParam(string genParamName)

Description

The operator get_sample_identifier_paramget_sample_identifier_paramGetSampleIdentifierParamGetSampleIdentifierParamGetSampleIdentifierParam allows to query the values of the different parameters of the given SampleIdentifierSampleIdentifierSampleIdentifierSampleIdentifiersampleIdentifier.

For an explanation of the concept of sample-based identification see the introduction of chapter Identification / Sample-Based.

The values of the following parameters can be queried:

'add_color_info'"add_color_info""add_color_info""add_color_info""add_color_info":

Do the operators add_sample_identifier_preparation_dataadd_sample_identifier_preparation_dataAddSampleIdentifierPreparationDataAddSampleIdentifierPreparationDataAddSampleIdentifierPreparationData and add_sample_identifier_training_dataadd_sample_identifier_training_dataAddSampleIdentifierTrainingDataAddSampleIdentifierTrainingDataAddSampleIdentifierTrainingData add color information to the SampleIdentifierSampleIdentifierSampleIdentifierSampleIdentifiersampleIdentifier?

'add_texture_info'"add_texture_info""add_texture_info""add_texture_info""add_texture_info":

Do the operators add_sample_identifier_preparation_dataadd_sample_identifier_preparation_dataAddSampleIdentifierPreparationDataAddSampleIdentifierPreparationDataAddSampleIdentifierPreparationData and add_sample_identifier_training_dataadd_sample_identifier_training_dataAddSampleIdentifierTrainingDataAddSampleIdentifierTrainingDataAddSampleIdentifierTrainingData add texture information to the SampleIdentifierSampleIdentifierSampleIdentifierSampleIdentifiersampleIdentifier?

'use_color_info'"use_color_info""use_color_info""use_color_info""use_color_info":

Is the SampleIdentifierSampleIdentifierSampleIdentifierSampleIdentifiersampleIdentifier configured to use color information for the identification with apply_sample_identifierapply_sample_identifierApplySampleIdentifierApplySampleIdentifierApplySampleIdentifier?

'use_texture_info'"use_texture_info""use_texture_info""use_texture_info""use_texture_info":

Is the SampleIdentifierSampleIdentifierSampleIdentifierSampleIdentifiersampleIdentifier configured to use texture information for the identification apply_sample_identifierapply_sample_identifierApplySampleIdentifierApplySampleIdentifierApplySampleIdentifier?

'image_resize_method'"image_resize_method""image_resize_method""image_resize_method""image_resize_method":

The selected image resize method.

'image_resize_value'"image_resize_value""image_resize_value""image_resize_value""image_resize_value":

The current image resize value.

'rating_method'"rating_method""rating_method""rating_method""rating_method":

The selected rating method which is used by apply_sample_identifierapply_sample_identifierApplySampleIdentifierApplySampleIdentifierApplySampleIdentifier.

Execution Information

Parameters

SampleIdentifierSampleIdentifierSampleIdentifierSampleIdentifiersampleIdentifier (input_control)  sample_identifier HSampleIdentifier, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the sample identifier.

GenParamNameGenParamNameGenParamNameGenParamNamegenParamName (input_control)  attribute.name HTupleHTupleHtuple (string) (string) (HString) (char*)

Parameter name.

Default value: 'rating_method' "rating_method" "rating_method" "rating_method" "rating_method"

List of values: 'add_color_info'"add_color_info""add_color_info""add_color_info""add_color_info", 'add_texture_info'"add_texture_info""add_texture_info""add_texture_info""add_texture_info", 'image_resize_method'"image_resize_method""image_resize_method""image_resize_method""image_resize_method", 'image_resize_value'"image_resize_value""image_resize_value""image_resize_value""image_resize_value", 'rating_method'"rating_method""rating_method""rating_method""rating_method", 'use_color_info'"use_color_info""use_color_info""use_color_info""use_color_info", 'use_texture_info'"use_texture_info""use_texture_info""use_texture_info""use_texture_info"

GenParamValueGenParamValueGenParamValueGenParamValuegenParamValue (output_control)  attribute.value HTupleHTupleHtuple (real / string / integer) (double / string / int / long) (double / HString / Hlong) (double / char* / Hlong)

Parameter value.

Result

If the parameters are valid, the operator get_sample_identifier_paramget_sample_identifier_paramGetSampleIdentifierParamGetSampleIdentifierParamGetSampleIdentifierParam returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.

Possible Predecessors

create_sample_identifiercreate_sample_identifierCreateSampleIdentifierCreateSampleIdentifierCreateSampleIdentifier, set_sample_identifier_paramset_sample_identifier_paramSetSampleIdentifierParamSetSampleIdentifierParamSetSampleIdentifierParam

See also

add_sample_identifier_preparation_dataadd_sample_identifier_preparation_dataAddSampleIdentifierPreparationDataAddSampleIdentifierPreparationDataAddSampleIdentifierPreparationData, prepare_sample_identifierprepare_sample_identifierPrepareSampleIdentifierPrepareSampleIdentifierPrepareSampleIdentifier, add_sample_identifier_training_dataadd_sample_identifier_training_dataAddSampleIdentifierTrainingDataAddSampleIdentifierTrainingDataAddSampleIdentifierTrainingData, train_sample_identifiertrain_sample_identifierTrainSampleIdentifierTrainSampleIdentifierTrainSampleIdentifier, apply_sample_identifierapply_sample_identifierApplySampleIdentifierApplySampleIdentifierApplySampleIdentifier, get_sample_identifier_object_infoget_sample_identifier_object_infoGetSampleIdentifierObjectInfoGetSampleIdentifierObjectInfoGetSampleIdentifierObjectInfo, remove_sample_identifier_preparation_dataremove_sample_identifier_preparation_dataRemoveSampleIdentifierPreparationDataRemoveSampleIdentifierPreparationDataRemoveSampleIdentifierPreparationData, remove_sample_identifier_training_dataremove_sample_identifier_training_dataRemoveSampleIdentifierTrainingDataRemoveSampleIdentifierTrainingDataRemoveSampleIdentifierTrainingData, write_sample_identifierwrite_sample_identifierWriteSampleIdentifierWriteSampleIdentifierWriteSampleIdentifier, read_sample_identifierread_sample_identifierReadSampleIdentifierReadSampleIdentifierReadSampleIdentifier, serialize_sample_identifierserialize_sample_identifierSerializeSampleIdentifierSerializeSampleIdentifierSerializeSampleIdentifier, deserialize_sample_identifierdeserialize_sample_identifierDeserializeSampleIdentifierDeserializeSampleIdentifierDeserializeSampleIdentifier, clear_sample_identifierclear_sample_identifierClearSampleIdentifierClearSampleIdentifierClearSampleIdentifier, set_sample_identifier_object_infoset_sample_identifier_object_infoSetSampleIdentifierObjectInfoSetSampleIdentifierObjectInfoSetSampleIdentifierObjectInfo

Module

Matching


ClassesClasses | | Operators