KlassenKlassenKlassenKlassen | | | | Operatoren

get_stereo_model_paramT_get_stereo_model_paramGetStereoModelParamget_stereo_model_paramGetStereoModelParamGetStereoModelParam (Operator)

Name

get_stereo_model_paramT_get_stereo_model_paramGetStereoModelParamget_stereo_model_paramGetStereoModelParamGetStereoModelParam — Stereomodellparameter abfragen

Signatur

get_stereo_model_param( : : StereoModelID, GenParamName : GenParamValue)

Herror T_get_stereo_model_param(const Htuple StereoModelID, const Htuple GenParamName, Htuple* GenParamValue)

Herror get_stereo_model_param(const HTuple& StereoModelID, const HTuple& GenParamName, HTuple* GenParamValue)

HTuple HStereoModel::GetStereoModelParam(const HTuple& GenParamName) const

void GetStereoModelParam(const HTuple& StereoModelID, const HTuple& GenParamName, HTuple* GenParamValue)

HTuple HStereoModel::GetStereoModelParam(const HTuple& GenParamName) const

HTuple HStereoModel::GetStereoModelParam(const HString& GenParamName) const

HTuple HStereoModel::GetStereoModelParam(const char* GenParamName) const

void HOperatorSetX.GetStereoModelParam(
[in] VARIANT StereoModelID, [in] VARIANT GenParamName, [out] VARIANT* GenParamValue)

VARIANT HStereoModelX.GetStereoModelParam([in] VARIANT GenParamName)

static void HOperatorSet.GetStereoModelParam(HTuple stereoModelID, HTuple genParamName, out HTuple genParamValue)

HTuple HStereoModel.GetStereoModelParam(HTuple genParamName)

HTuple HStereoModel.GetStereoModelParam(string genParamName)

Beschreibung

Der Operator get_stereo_model_paramget_stereo_model_paramGetStereoModelParamget_stereo_model_paramGetStereoModelParamGetStereoModelParam kann verwendet werden, um diverse Parameter des Stereomodells StereoModelIDStereoModelIDStereoModelIDStereoModelIDStereoModelIDstereoModelID abzufragen. Der Name des gewünschten Parameters wird mit GenParamNameGenParamNameGenParamNameGenParamNameGenParamNamegenParamName übergeben und der entsprechende Parameterwert wird im GenParamValueGenParamValueGenParamValueGenParamValueGenParamValuegenParamValue zurückgegeben. Zwei Typen von Parametern werden unterschieden: generische Stereoparameter bzw. spezifische Parameter für die Oberflächenrekonstruktion. Es ist zu beachten, dass es keine spezifischen Parameter für die 3D-Punktrekonstruktion gibt.

Bis auf den Parameter 'binocular_mg_default_parameters'"binocular_mg_default_parameters""binocular_mg_default_parameters""binocular_mg_default_parameters""binocular_mg_default_parameters""binocular_mg_default_parameters" können alle Parameter, die mit set_stereo_model_paramset_stereo_model_paramSetStereoModelParamset_stereo_model_paramSetStereoModelParamSetStereoModelParam gesetzt werden durch einen Aufruf von get_stereo_model_paramget_stereo_model_paramGetStereoModelParamget_stereo_model_paramGetStereoModelParamGetStereoModelParam abgefragt werden - siehe set_stereo_model_paramset_stereo_model_paramSetStereoModelParamset_stereo_model_paramSetStereoModelParamSetStereoModelParam für weitere Beschreibung einzelner Parameter. Die folgenden Parameter werden dagegen von anderen Operatoren gesetzt und können nicht mit set_stereo_model_paramset_stereo_model_paramSetStereoModelParamset_stereo_model_paramSetStereoModelParamSetStereoModelParam geändert, aber von get_stereo_model_paramget_stereo_model_paramGetStereoModelParamget_stereo_model_paramGetStereoModelParamGetStereoModelParam abgefragt werden:

Generische Parameter

'type'"type""type""type""type""type":

Typ des Stereomodells (zur Zeit entweder 'surface_pairwise'"surface_pairwise""surface_pairwise""surface_pairwise""surface_pairwise""surface_pairwise", 'surface_fusion'"surface_fusion""surface_fusion""surface_fusion""surface_fusion""surface_fusion" oder 'points_3d'"points_3d""points_3d""points_3d""points_3d""points_3d").

'camera_setup_model'"camera_setup_model""camera_setup_model""camera_setup_model""camera_setup_model""camera_setup_model":

Handle zu einer Kopie des dem Stereomodell zugeordneten Kamerasetupmodells. Änderungen in der Kopie ändern das Kamerasetupmodell im Stereomodell nicht. Nachdem diese Kopie nicht mehr gebraucht wird, muss der von ihr angelegten Speicher mit clear_camera_setup_modelclear_camera_setup_modelClearCameraSetupModelclear_camera_setup_modelClearCameraSetupModelClearCameraSetupModel wieder freigegeben werden.

Diese Parameter werden während Erstellens des Modells von create_stereo_modelcreate_stereo_modelCreateStereoModelcreate_stereo_modelCreateStereoModelCreateStereoModel gesetzt.

Parameter zur Oberflächenrekonstruktion

'min_disparity'"min_disparity""min_disparity""min_disparity""min_disparity""min_disparity",'max_disparity'"max_disparity""max_disparity""max_disparity""max_disparity""max_disparity":

Ein Tupel mit minimalen und maximalen Disparitätswerten für alle Bildpaare. Diese Werte werden intern aus dem kleinsten umschließenden Quader (siehe set_stereo_model_paramset_stereo_model_paramSetStereoModelParamset_stereo_model_paramSetStereoModelParamSetStereoModelParam) berechnet und werden danach als die Parameter MinDisparity bzw. MaxDisparity in dem internen Aufruf von binocular_disparitybinocular_disparityBinocularDisparitybinocular_disparityBinocularDisparityBinocularDisparity bzw. binocular_disparity_msbinocular_disparity_msBinocularDisparityMsbinocular_disparity_msBinocularDisparityMsBinocularDisparityMs zu dem entsprechenden Bildpaar verwendet. Die Indizes der Bildpaare können mit get_stereo_model_image_pairsget_stereo_model_image_pairsGetStereoModelImagePairsget_stereo_model_image_pairsGetStereoModelImagePairsGetStereoModelImagePairs abgefragt werden. Es ist zu beachten, dass diese Information nur dann abfragbar ist, wenn der 'persistence'"persistence""persistence""persistence""persistence""persistence"-Modus des Modells eingeschaltet ist (siehe reconstruct_surface_stereoreconstruct_surface_stereoReconstructSurfaceStereoreconstruct_surface_stereoReconstructSurfaceStereoReconstructSurfaceStereo). Darüber hinaus ist zu beachten, dass die Werte dieses Parameter tupelwertig sind und nicht zusammen mit den Werten anderer Parameter abgefragt werden können (siehe Paragraph "Bemerkung über tupelwertige Modellparameter").

Bemerkung über tupelwertige Modellparameter

Die meisten der Stereomodellparameter haben nur einen Wert, d.h. eine Liste (d.h. ein Tupel) kann als Parameternamen übergeben werden und eine Liste (auch Tupel) derselben Länge von Parameterwerten wird als Ausgabe zurückgegeben. Tupelwertige Parameter dagegen geben eine Liste von Werten für den einen Parameter zurück. Wenn so ein Parameter mit einwertigen Parametern zusammen abgefragt wird, kann nicht mehr unterschieden werden, welcher Wert zu welchem Parameternamen gehört. Deswegen müssen tupelwertige Parameter, wie z.B. 'bounding_box'"bounding_box""bounding_box""bounding_box""bounding_box""bounding_box" oder 'min_disparity'"min_disparity""min_disparity""min_disparity""min_disparity""min_disparity", immer einzeln mit get_stereo_model_paramget_stereo_model_paramGetStereoModelParamget_stereo_model_paramGetStereoModelParamGetStereoModelParam abgefragt werden.

Parallelisierung

Parameter

StereoModelIDStereoModelIDStereoModelIDStereoModelIDStereoModelIDstereoModelID (input_control)  stereo_model HStereoModel, HTupleHTupleHStereoModel, HTupleHStereoModelX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle des Stereomodells.

GenParamNameGenParamNameGenParamNameGenParamNameGenParamNamegenParamName (input_control)  attribute.name(-array) HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Namen der Modellparameter.

Werteliste: 'binocular_filter'"binocular_filter""binocular_filter""binocular_filter""binocular_filter""binocular_filter", 'binocular_mask_height'"binocular_mask_height""binocular_mask_height""binocular_mask_height""binocular_mask_height""binocular_mask_height", 'binocular_mask_width'"binocular_mask_width""binocular_mask_width""binocular_mask_width""binocular_mask_width""binocular_mask_width", 'binocular_method'"binocular_method""binocular_method""binocular_method""binocular_method""binocular_method", 'binocular_mg_cycle_type'"binocular_mg_cycle_type""binocular_mg_cycle_type""binocular_mg_cycle_type""binocular_mg_cycle_type""binocular_mg_cycle_type", 'binocular_mg_gradient_constancy'"binocular_mg_gradient_constancy""binocular_mg_gradient_constancy""binocular_mg_gradient_constancy""binocular_mg_gradient_constancy""binocular_mg_gradient_constancy", 'binocular_mg_gray_constancy'"binocular_mg_gray_constancy""binocular_mg_gray_constancy""binocular_mg_gray_constancy""binocular_mg_gray_constancy""binocular_mg_gray_constancy", 'binocular_mg_initial_guess'"binocular_mg_initial_guess""binocular_mg_initial_guess""binocular_mg_initial_guess""binocular_mg_initial_guess""binocular_mg_initial_guess", 'binocular_mg_initial_level'"binocular_mg_initial_level""binocular_mg_initial_level""binocular_mg_initial_level""binocular_mg_initial_level""binocular_mg_initial_level", 'binocular_mg_iterations'"binocular_mg_iterations""binocular_mg_iterations""binocular_mg_iterations""binocular_mg_iterations""binocular_mg_iterations", 'binocular_mg_post_relax'"binocular_mg_post_relax""binocular_mg_post_relax""binocular_mg_post_relax""binocular_mg_post_relax""binocular_mg_post_relax", 'binocular_mg_pre_relax'"binocular_mg_pre_relax""binocular_mg_pre_relax""binocular_mg_pre_relax""binocular_mg_pre_relax""binocular_mg_pre_relax", 'binocular_mg_pyramid_factor'"binocular_mg_pyramid_factor""binocular_mg_pyramid_factor""binocular_mg_pyramid_factor""binocular_mg_pyramid_factor""binocular_mg_pyramid_factor", 'binocular_mg_smoothness'"binocular_mg_smoothness""binocular_mg_smoothness""binocular_mg_smoothness""binocular_mg_smoothness""binocular_mg_smoothness", 'binocular_mg_solver'"binocular_mg_solver""binocular_mg_solver""binocular_mg_solver""binocular_mg_solver""binocular_mg_solver", 'binocular_ms_consistency_check'"binocular_ms_consistency_check""binocular_ms_consistency_check""binocular_ms_consistency_check""binocular_ms_consistency_check""binocular_ms_consistency_check", 'binocular_ms_edge_smoothing'"binocular_ms_edge_smoothing""binocular_ms_edge_smoothing""binocular_ms_edge_smoothing""binocular_ms_edge_smoothing""binocular_ms_edge_smoothing", 'binocular_ms_similarity_measure'"binocular_ms_similarity_measure""binocular_ms_similarity_measure""binocular_ms_similarity_measure""binocular_ms_similarity_measure""binocular_ms_similarity_measure", 'binocular_ms_sub_disparity'"binocular_ms_sub_disparity""binocular_ms_sub_disparity""binocular_ms_sub_disparity""binocular_ms_sub_disparity""binocular_ms_sub_disparity", 'binocular_ms_surface_smoothing'"binocular_ms_surface_smoothing""binocular_ms_surface_smoothing""binocular_ms_surface_smoothing""binocular_ms_surface_smoothing""binocular_ms_surface_smoothing", 'binocular_num_levels'"binocular_num_levels""binocular_num_levels""binocular_num_levels""binocular_num_levels""binocular_num_levels", 'binocular_score_thresh'"binocular_score_thresh""binocular_score_thresh""binocular_score_thresh""binocular_score_thresh""binocular_score_thresh", 'binocular_sub_disparity'"binocular_sub_disparity""binocular_sub_disparity""binocular_sub_disparity""binocular_sub_disparity""binocular_sub_disparity", 'binocular_texture_thresh'"binocular_texture_thresh""binocular_texture_thresh""binocular_texture_thresh""binocular_texture_thresh""binocular_texture_thresh", 'bounding_box'"bounding_box""bounding_box""bounding_box""bounding_box""bounding_box", 'camera_setup_model'"camera_setup_model""camera_setup_model""camera_setup_model""camera_setup_model""camera_setup_model", 'color'"color""color""color""color""color", 'color_invisible'"color_invisible""color_invisible""color_invisible""color_invisible""color_invisible", 'disparity_method'"disparity_method""disparity_method""disparity_method""disparity_method""disparity_method", 'max_disparity'"max_disparity""max_disparity""max_disparity""max_disparity""max_disparity", 'min_disparity'"min_disparity""min_disparity""min_disparity""min_disparity""min_disparity", 'min_thickness'"min_thickness""min_thickness""min_thickness""min_thickness""min_thickness", 'persistence'"persistence""persistence""persistence""persistence""persistence", 'point_meshing'"point_meshing""point_meshing""point_meshing""point_meshing""point_meshing", 'poisson_depth'"poisson_depth""poisson_depth""poisson_depth""poisson_depth""poisson_depth", 'poisson_samples_per_node'"poisson_samples_per_node""poisson_samples_per_node""poisson_samples_per_node""poisson_samples_per_node""poisson_samples_per_node", 'poisson_solver_divide'"poisson_solver_divide""poisson_solver_divide""poisson_solver_divide""poisson_solver_divide""poisson_solver_divide", 'rectif_interpolation'"rectif_interpolation""rectif_interpolation""rectif_interpolation""rectif_interpolation""rectif_interpolation", 'rectif_method'"rectif_method""rectif_method""rectif_method""rectif_method""rectif_method", 'rectif_sub_sampling'"rectif_sub_sampling""rectif_sub_sampling""rectif_sub_sampling""rectif_sub_sampling""rectif_sub_sampling", 'resolution'"resolution""resolution""resolution""resolution""resolution", 'smoothing'"smoothing""smoothing""smoothing""smoothing""smoothing", 'sub_sampling_step'"sub_sampling_step""sub_sampling_step""sub_sampling_step""sub_sampling_step""sub_sampling_step", 'surface_tolerance'"surface_tolerance""surface_tolerance""surface_tolerance""surface_tolerance""surface_tolerance", 'type'"type""type""type""type""type"

GenParamValueGenParamValueGenParamValueGenParamValueGenParamValuegenParamValue (output_control)  attribute.value-array HTupleHTupleHTupleVARIANTHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*) (double / Hlong / BSTR) (double / Hlong / char*)

Werte der Modellparameter.

Vorgänger

create_stereo_modelcreate_stereo_modelCreateStereoModelcreate_stereo_modelCreateStereoModelCreateStereoModel, set_stereo_model_paramset_stereo_model_paramSetStereoModelParamset_stereo_model_paramSetStereoModelParamSetStereoModelParam

Nachfolger

reconstruct_surface_stereoreconstruct_surface_stereoReconstructSurfaceStereoreconstruct_surface_stereoReconstructSurfaceStereoReconstructSurfaceStereo, reconstruct_points_stereoreconstruct_points_stereoReconstructPointsStereoreconstruct_points_stereoReconstructPointsStereoReconstructPointsStereo

Siehe auch

set_stereo_model_paramset_stereo_model_paramSetStereoModelParamset_stereo_model_paramSetStereoModelParamSetStereoModelParam

Modul

3D Metrology


KlassenKlassenKlassenKlassen | | | | Operatoren