get_stereo_model_paramT_get_stereo_model_paramGetStereoModelParamGetStereoModelParam (Operator)

Name

get_stereo_model_paramT_get_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)

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

HTuple HStereoModel::GetStereoModelParam(const wchar_t* GenParamName) const   (Nur Windows)

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_paramGetStereoModelParamGetStereoModelParamGetStereoModelParam kann verwendet werden, um diverse Parameter des Stereomodells StereoModelIDStereoModelIDStereoModelIDStereoModelIDstereoModelID abzufragen. Der Name des gewünschten Parameters wird mit GenParamNameGenParamNameGenParamNameGenParamNamegenParamName übergeben und der entsprechende Parameterwert wird im GenParamValueGenParamValueGenParamValueGenParamValuegenParamValue 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" können alle Parameter, die mit set_stereo_model_paramset_stereo_model_paramSetStereoModelParamSetStereoModelParamSetStereoModelParam gesetzt werden durch einen Aufruf von get_stereo_model_paramget_stereo_model_paramGetStereoModelParamGetStereoModelParamGetStereoModelParam abgefragt werden - siehe set_stereo_model_paramset_stereo_model_paramSetStereoModelParamSetStereoModelParamSetStereoModelParam 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_paramSetStereoModelParamSetStereoModelParamSetStereoModelParam geändert, aber von get_stereo_model_paramget_stereo_model_paramGetStereoModelParamGetStereoModelParamGetStereoModelParam abgefragt werden:

Generische Parameter

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

Typ des Stereomodells (zur Zeit entweder 'surface_pairwise'"surface_pairwise""surface_pairwise""surface_pairwise""surface_pairwise", 'surface_fusion'"surface_fusion""surface_fusion""surface_fusion""surface_fusion" oder '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":

Handle zu einer Kopie des dem Stereomodell zugeordneten Kamerasetupmodells. Änderungen in der Kopie ändern das Kamerasetupmodell im Stereomodell nicht.

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

Parameter zur Oberflächenrekonstruktion

'min_disparity'"min_disparity""min_disparity""min_disparity""min_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_paramSetStereoModelParamSetStereoModelParamSetStereoModelParam) berechnet und werden danach als die Parameter MinDisparity bzw. MaxDisparity in dem internen Aufruf von binocular_disparitybinocular_disparityBinocularDisparityBinocularDisparityBinocularDisparity bzw. binocular_disparity_msbinocular_disparity_msBinocularDisparityMsBinocularDisparityMsBinocularDisparityMs zu dem entsprechenden Bildpaar verwendet. Die Indizes der Bildpaare können mit get_stereo_model_image_pairsget_stereo_model_image_pairsGetStereoModelImagePairsGetStereoModelImagePairsGetStereoModelImagePairs abgefragt werden. Es ist zu beachten, dass diese Information nur dann abfragbar ist, wenn der 'persistence'"persistence""persistence""persistence""persistence"-Modus des Modells eingeschaltet ist (siehe reconstruct_surface_stereoreconstruct_surface_stereoReconstructSurfaceStereoReconstructSurfaceStereoReconstructSurfaceStereo). 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" oder 'min_disparity'"min_disparity""min_disparity""min_disparity""min_disparity", immer einzeln mit get_stereo_model_paramget_stereo_model_paramGetStereoModelParamGetStereoModelParamGetStereoModelParam abgefragt werden.

Ausführungsinformationen

Parameter

StereoModelIDStereoModelIDStereoModelIDStereoModelIDstereoModelID (input_control)  stereo_model HStereoModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle des Stereomodells.

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

Namen der Modellparameter.

Werteliste: '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_width'"binocular_mask_width""binocular_mask_width""binocular_mask_width""binocular_mask_width", '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_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_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_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_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_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_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_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_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_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_texture_thresh'"binocular_texture_thresh""binocular_texture_thresh""binocular_texture_thresh""binocular_texture_thresh", '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", 'color'"color""color""color""color", 'color_invisible'"color_invisible""color_invisible""color_invisible""color_invisible", 'disparity_method'"disparity_method""disparity_method""disparity_method""disparity_method", 'max_disparity'"max_disparity""max_disparity""max_disparity""max_disparity", 'min_disparity'"min_disparity""min_disparity""min_disparity""min_disparity", 'min_thickness'"min_thickness""min_thickness""min_thickness""min_thickness", 'persistence'"persistence""persistence""persistence""persistence", 'point_meshing'"point_meshing""point_meshing""point_meshing""point_meshing", '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_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_method'"rectif_method""rectif_method""rectif_method""rectif_method", 'rectif_sub_sampling'"rectif_sub_sampling""rectif_sub_sampling""rectif_sub_sampling""rectif_sub_sampling", 'resolution'"resolution""resolution""resolution""resolution", 'smoothing'"smoothing""smoothing""smoothing""smoothing", '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", 'type'"type""type""type""type"

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

Werte der Modellparameter.

Vorgänger

create_stereo_modelcreate_stereo_modelCreateStereoModelCreateStereoModelCreateStereoModel, set_stereo_model_paramset_stereo_model_paramSetStereoModelParamSetStereoModelParamSetStereoModelParam

Nachfolger

reconstruct_surface_stereoreconstruct_surface_stereoReconstructSurfaceStereoReconstructSurfaceStereoReconstructSurfaceStereo, reconstruct_points_stereoreconstruct_points_stereoReconstructPointsStereoReconstructPointsStereoReconstructPointsStereo

Siehe auch

set_stereo_model_paramset_stereo_model_paramSetStereoModelParamSetStereoModelParamSetStereoModelParam

Modul

3D Metrology