get_stereo_model_paramT_get_stereo_model_paramGetStereoModelParamGetStereoModelParamget_stereo_model_param (Operator)
Name
get_stereo_model_paramT_get_stereo_model_paramGetStereoModelParamGetStereoModelParamget_stereo_model_param — Stereomodellparameter abfragen
Signatur
Beschreibung
Der Operator get_stereo_model_paramget_stereo_model_paramGetStereoModelParamGetStereoModelParamGetStereoModelParamget_stereo_model_param kann verwendet werden,
um diverse Parameter des Stereomodells StereoModelIDStereoModelIDStereoModelIDStereoModelIDstereoModelIDstereo_model_id abzufragen.
Der Name des gewünschten Parameters wird mit GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name übergeben und
der entsprechende Parameterwert wird im GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value 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_paramSetStereoModelParamSetStereoModelParamSetStereoModelParamset_stereo_model_param gesetzt werden
durch einen Aufruf von get_stereo_model_paramget_stereo_model_paramGetStereoModelParamGetStereoModelParamGetStereoModelParamget_stereo_model_param abgefragt
werden - siehe set_stereo_model_paramset_stereo_model_paramSetStereoModelParamSetStereoModelParamSetStereoModelParamset_stereo_model_param 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_paramSetStereoModelParamSetStereoModelParamSetStereoModelParamset_stereo_model_param
geändert, aber von get_stereo_model_paramget_stereo_model_paramGetStereoModelParamGetStereoModelParamGetStereoModelParamget_stereo_model_param 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.
- 'from_cam_param_rect N'"from_cam_param_rect N""from_cam_param_rect N""from_cam_param_rect N""from_cam_param_rect N""from_cam_param_rect N", 'to_cam_param_rect N'"to_cam_param_rect N""to_cam_param_rect N""to_cam_param_rect N""to_cam_param_rect N""to_cam_param_rect N":
Kameraparameter der rektifizierten from- und to-Kameras
des Kamerapaares N. Siehe set_stereo_model_image_pairsset_stereo_model_image_pairsSetStereoModelImagePairsSetStereoModelImagePairsSetStereoModelImagePairsset_stereo_model_image_pairs für weitere
Informationen zu den Kamerapaaren.
- 'from_cam_pose_rect N'"from_cam_pose_rect N""from_cam_pose_rect N""from_cam_pose_rect N""from_cam_pose_rect N""from_cam_pose_rect N", 'to_cam_pose_rect N'"to_cam_pose_rect N""to_cam_pose_rect N""to_cam_pose_rect N""to_cam_pose_rect N""to_cam_pose_rect N":
Punkttransformation von den rektifizierten from- und to-Kameras
des Kamerapaares N zur jeweiligen unrektifizierten Kamera.
Siehe set_stereo_model_image_pairsset_stereo_model_image_pairsSetStereoModelImagePairsSetStereoModelImagePairsSetStereoModelImagePairsset_stereo_model_image_pairs für weitere
Informationen zu den Kamerapaaren.
- 'rel_pose_rect N'"rel_pose_rect N""rel_pose_rect N""rel_pose_rect N""rel_pose_rect N""rel_pose_rect N":
Punkttransformation von der rektifizierten to-Kamera zur rektifizierten
from-Kamera des Kamerapaares N.
Siehe set_stereo_model_image_pairsset_stereo_model_image_pairsSetStereoModelImagePairsSetStereoModelImagePairsSetStereoModelImagePairsset_stereo_model_image_pairs für weitere
Informationen zu den Kamerapaaren.
Die Parameter 'type'"type""type""type""type""type" und 'camera_setup_model'"camera_setup_model""camera_setup_model""camera_setup_model""camera_setup_model""camera_setup_model" werden
während des Erstellens des Modells von create_stereo_modelcreate_stereo_modelCreateStereoModelCreateStereoModelCreateStereoModelcreate_stereo_model gesetzt. Für
die Parameter 'from_cam_param_rect N'"from_cam_param_rect N""from_cam_param_rect N""from_cam_param_rect N""from_cam_param_rect N""from_cam_param_rect N", 'to_cam_param_rect N'"to_cam_param_rect N""to_cam_param_rect N""to_cam_param_rect N""to_cam_param_rect N""to_cam_param_rect N",
'from_cam_pose_rect N'"from_cam_pose_rect N""from_cam_pose_rect N""from_cam_pose_rect N""from_cam_pose_rect N""from_cam_pose_rect N", 'to_cam_pose_rect N'"to_cam_pose_rect N""to_cam_pose_rect N""to_cam_pose_rect N""to_cam_pose_rect N""to_cam_pose_rect N" und
'rel_pose_rect N'"rel_pose_rect N""rel_pose_rect N""rel_pose_rect N""rel_pose_rect N""rel_pose_rect N" ist zu beachten, dass sie erst nach dem
Setzen der Bildpaare (siehe set_stereo_model_image_pairsset_stereo_model_image_pairsSetStereoModelImagePairsSetStereoModelImagePairsSetStereoModelImagePairsset_stereo_model_image_pairs) verfügbar sind.
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",
'min_disparity'"min_disparity""min_disparity""min_disparity""min_disparity""min_disparity" oder 'max_disparity'"max_disparity""max_disparity""max_disparity""max_disparity""max_disparity" immer einzeln mit
get_stereo_model_paramget_stereo_model_paramGetStereoModelParamGetStereoModelParamGetStereoModelParamget_stereo_model_param abgefragt werden.
Ausführungsinformationen
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Parameter
StereoModelIDStereoModelIDStereoModelIDStereoModelIDstereoModelIDstereo_model_id (input_control) stereo_model → HStereoModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle des Stereomodells.
GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (input_control) attribute.name(-array) → HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (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", 'from_cam_param_rect'"from_cam_param_rect""from_cam_param_rect""from_cam_param_rect""from_cam_param_rect""from_cam_param_rect", 'from_cam_pose_rect'"from_cam_pose_rect""from_cam_pose_rect""from_cam_pose_rect""from_cam_pose_rect""from_cam_pose_rect", '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", 'rel_pose_rect'"rel_pose_rect""rel_pose_rect""rel_pose_rect""rel_pose_rect""rel_pose_rect", '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", 'to_cam_param_rect'"to_cam_param_rect""to_cam_param_rect""to_cam_param_rect""to_cam_param_rect""to_cam_param_rect", 'to_cam_pose_rect'"to_cam_pose_rect""to_cam_pose_rect""to_cam_pose_rect""to_cam_pose_rect""to_cam_pose_rect", 'type'"type""type""type""type""type"
GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value (output_control) attribute.value-array → HTupleSequence[Union[float, int, str]]HTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)
Werte der Modellparameter.
Vorgänger
create_stereo_modelcreate_stereo_modelCreateStereoModelCreateStereoModelCreateStereoModelcreate_stereo_model,
set_stereo_model_paramset_stereo_model_paramSetStereoModelParamSetStereoModelParamSetStereoModelParamset_stereo_model_param
Nachfolger
reconstruct_surface_stereoreconstruct_surface_stereoReconstructSurfaceStereoReconstructSurfaceStereoReconstructSurfaceStereoreconstruct_surface_stereo,
reconstruct_points_stereoreconstruct_points_stereoReconstructPointsStereoReconstructPointsStereoReconstructPointsStereoreconstruct_points_stereo
Siehe auch
set_stereo_model_paramset_stereo_model_paramSetStereoModelParamSetStereoModelParamSetStereoModelParamset_stereo_model_param
Modul
3D Metrology