Operator Reference

set_deep_counting_model_paramT_set_deep_counting_model_paramSetDeepCountingModelParamSetDeepCountingModelParamset_deep_counting_model_param (Operator)

set_deep_counting_model_paramT_set_deep_counting_model_paramSetDeepCountingModelParamSetDeepCountingModelParamset_deep_counting_model_param — Set selected parameters of the Deep Counting model.

Signature

set_deep_counting_model_param( : : DeepCountingHandle, GenParamName, GenParamValue : )

Herror T_set_deep_counting_model_param(const Htuple DeepCountingHandle, const Htuple GenParamName, const Htuple GenParamValue)

void SetDeepCountingModelParam(const HTuple& DeepCountingHandle, const HTuple& GenParamName, const HTuple& GenParamValue)

void HDlModelCounting::SetDeepCountingModelParam(const HTuple& GenParamName, const HTuple& GenParamValue) const

void HDlModelCounting::SetDeepCountingModelParam(const HString& GenParamName, double GenParamValue) const

void HDlModelCounting::SetDeepCountingModelParam(const char* GenParamName, double GenParamValue) const

void HDlModelCounting::SetDeepCountingModelParam(const wchar_t* GenParamName, double GenParamValue) const   ( Windows only)

static void HOperatorSet.SetDeepCountingModelParam(HTuple deepCountingHandle, HTuple genParamName, HTuple genParamValue)

void HDlModelCounting.SetDeepCountingModelParam(HTuple genParamName, HTuple genParamValue)

void HDlModelCounting.SetDeepCountingModelParam(string genParamName, double genParamValue)

def set_deep_counting_model_param(deep_counting_handle: HHandle, gen_param_name: MaybeSequence[str], gen_param_value: MaybeSequence[Union[float, int, str]]) -> None

Description

The operator set_deep_counting_model_paramset_deep_counting_model_paramSetDeepCountingModelParamSetDeepCountingModelParamset_deep_counting_model_param sets the selected parameters GenParamNameGenParamNameGenParamNamegenParamNamegen_param_name in the Deep Counting handle DeepCountingHandleDeepCountingHandleDeepCountingHandledeepCountingHandledeep_counting_handle to the values passed in GenParamValueGenParamValueGenParamValuegenParamValuegen_param_value.

The possible parameters are listed and described in get_deep_counting_model_paramget_deep_counting_model_paramGetDeepCountingModelParamGetDeepCountingModelParamget_deep_counting_model_param.

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

This operator modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters

DeepCountingHandleDeepCountingHandleDeepCountingHandledeepCountingHandledeep_counting_handle (input_control, state is modified)  deep_counting HDlModelCounting, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the Deep Counting model.

GenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (input_control)  attribute.name(-array) HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Parameter names.

Default: 'min_score' "min_score" "min_score" "min_score" "min_score"

List of values: 'angle_end'"angle_end""angle_end""angle_end""angle_end", 'angle_start'"angle_start""angle_start""angle_start""angle_start", 'angle_step'"angle_step""angle_step""angle_step""angle_step", 'backbone_model'"backbone_model""backbone_model""backbone_model""backbone_model", 'device'"device""device""device""device", 'max_overlap'"max_overlap""max_overlap""max_overlap""max_overlap", 'min_score'"min_score""min_score""min_score""min_score", 'scale_max'"scale_max""scale_max""scale_max""scale_max", 'scale_min'"scale_min""scale_min""scale_min""scale_min", 'scale_step'"scale_step""scale_step""scale_step""scale_step"

GenParamValueGenParamValueGenParamValuegenParamValuegen_param_value (input_control)  attribute.value(-array) HTupleMaybeSequence[Union[float, int, str]]HTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)

Parameter values.

Default: 0.5

Result

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

Possible Predecessors

create_deep_counting_modelcreate_deep_counting_modelCreateDeepCountingModelCreateDeepCountingModelcreate_deep_counting_model, get_deep_counting_model_paramget_deep_counting_model_paramGetDeepCountingModelParamGetDeepCountingModelParamget_deep_counting_model_param

Possible Successors

prepare_deep_counting_modelprepare_deep_counting_modelPrepareDeepCountingModelPrepareDeepCountingModelprepare_deep_counting_model, apply_deep_counting_modelapply_deep_counting_modelApplyDeepCountingModelApplyDeepCountingModelapply_deep_counting_model

See also

get_deep_counting_model_paramget_deep_counting_model_paramGetDeepCountingModelParamGetDeepCountingModelParamget_deep_counting_model_param

Module

Matching