change_radial_distortion_pointsT_change_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_points (Operator)
Name
change_radial_distortion_pointsT_change_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_points — Verändern der Radialen Verzerrung von Pixelkoordinaten.
Signatur
def change_radial_distortion_points(row: Sequence[float], col: Sequence[float], cam_param_in: Sequence[Union[int, float, str]], cam_param_out: Sequence[Union[int, float, str]]) -> Tuple[Sequence[float], Sequence[float]]
Beschreibung
change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_points ändert die radiale
Verzeichnung der übergebenen Bildkoordinaten (RowRowRowRowrowrow,
ColColColColcolcol) entsprechend der internen Kameraparameter
CamParamInCamParamInCamParamInCamParamIncamParamIncam_param_in und CamParamOutCamParamOutCamParamOutCamParamOutcamParamOutcam_param_out. Jedes Eingabepixel
(RowRowRowRowrowrow, ColColColColcolcol) wird mit Hilfe von CamParamInCamParamInCamParamInCamParamIncamParamIncam_param_in in
die Bildebene transformiert und anschließend unter Verwendung von
CamParamOutCamParamOutCamParamOutCamParamOutcamParamOutcam_param_out in ein anderes Bild projiziert.
Beachten Sie, dass change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_points nicht mit
Zeilenkameras mit perspektivischen Objektiven funktioniert.
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
RowRowRowRowrowrow (input_control) real-array → HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Ursprüngliche Zeilen-Koordinate Pixelkoordinaten.
ColColColColcolcol (input_control) real-array → HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Ursprüngliche Spalten-Koordinate Pixelkoordinaten.
CamParamInCamParamInCamParamInCamParamIncamParamIncam_param_in (input_control) campar → HCamPar, HTupleSequence[Union[int, float, str]]HTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)
Die internen Kameraparameter der Kamera, mit der
die Eingabepixelkoordinaten erstellt wurden.
CamParamOutCamParamOutCamParamOutCamParamOutcamParamOutcam_param_out (input_control) campar → HCamPar, HTupleSequence[Union[int, float, str]]HTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)
Die internen Kameraparameter einer Kamera.
RowChangedRowChangedRowChangedRowChangedrowChangedrow_changed (output_control) real-array → HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Zeilenkoordinate der Pixelkoordinaten nach
Änderung der radialen Verzerrung.
ColChangedColChangedColChangedColChangedcolChangedcol_changed (output_control) real-array → HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)
Spaltenkoordinate der Pixelkoordinaten nach
Änderung der radialen Verzerrung.
Ergebnis
Sind die Parameterwerte korrekt, dann liefert
change_radial_distortion_pointschange_radial_distortion_pointsChangeRadialDistortionPointsChangeRadialDistortionPointsChangeRadialDistortionPointschange_radial_distortion_points den Wert 2 (H_MSG_TRUE).
Siehe auch
change_radial_distortion_cam_parchange_radial_distortion_cam_parChangeRadialDistortionCamParChangeRadialDistortionCamParChangeRadialDistortionCamParchange_radial_distortion_cam_par,
camera_calibrationcamera_calibrationCameraCalibrationCameraCalibrationCameraCalibrationcamera_calibration,
read_cam_parread_cam_parReadCamParReadCamParReadCamParread_cam_par,
change_radial_distortion_contours_xldchange_radial_distortion_contours_xldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXldChangeRadialDistortionContoursXldchange_radial_distortion_contours_xld,
change_radial_distortion_imagechange_radial_distortion_imageChangeRadialDistortionImageChangeRadialDistortionImageChangeRadialDistortionImagechange_radial_distortion_image
Modul
Calibration