Name
read_cam_parT_read_cam_parReadCamParReadCamPar — Read internal camera parameters from a file.
read_cam_parread_cam_parReadCamParReadCamParReadCamPar reads the internal camera parameters
CameraParamCameraParamCameraParamCameraParamcameraParam from a file with name CamParFileCamParFileCamParFileCamParFilecamParFile. The
file must have been written by write_cam_parwrite_cam_parWriteCamParWriteCamParWriteCamPar.
The default HALCON file extension for the camera parameters is
'dat'.
The number of values in CameraParamCameraParamCameraParamCameraParamcameraParam depends on the
specified camera type. See the description of
set_calib_data_cam_paramset_calib_data_cam_paramSetCalibDataCamParamSetCalibDataCamParamSetCalibDataCamParam for a list of values and
calibrate_camerascalibrate_camerasCalibrateCamerasCalibrateCamerasCalibrateCameras for details on camera types and camera
parameters.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
File name of internal camera parameters.
Default value:
'campar.dat'
"campar.dat"
"campar.dat"
"campar.dat"
"campar.dat"
List of values: 'campar.dat'"campar.dat""campar.dat""campar.dat""campar.dat", 'campar.final'"campar.final""campar.final""campar.final""campar.final", 'campar.initial'"campar.initial""campar.initial""campar.initial""campar.initial"
File extension: .dat
Internal camera parameters.
* Create sample camera parameters and write them to file.
gen_cam_par_area_scan_division (0.01, -731, 5.2e-006, 5.2e-006, \
654, 519, 1280, 1024, CameraParamTmp)
write_cam_par (CameraParamTmp, 'campar_tmp.dat')
* Read internal camera parameters.
read_cam_par('campar_tmp.dat', CameraParam)
* Create sample camera parameters and write them to file.
gen_cam_par_area_scan_division (0.01, -731, 5.2e-006, 5.2e-006, \
654, 519, 1280, 1024, CameraParamTmp)
write_cam_par (CameraParamTmp, 'campar_tmp.dat')
* Read internal camera parameters.
read_cam_par('campar_tmp.dat', CameraParam)
* Create sample camera parameters and write them to file.
gen_cam_par_area_scan_division (0.01, -731, 5.2e-006, 5.2e-006, \
654, 519, 1280, 1024, CameraParamTmp)
write_cam_par (CameraParamTmp, 'campar_tmp.dat')
* Read internal camera parameters.
read_cam_par('campar_tmp.dat', CameraParam)
* Create sample camera parameters and write them to file.
gen_cam_par_area_scan_division (0.01, -731, 5.2e-006, 5.2e-006, \
654, 519, 1280, 1024, CameraParamTmp)
write_cam_par (CameraParamTmp, 'campar_tmp.dat')
* Read internal camera parameters.
read_cam_par('campar_tmp.dat', CameraParam)
* Create sample camera parameters and write them to file.
gen_cam_par_area_scan_division (0.01, -731, 5.2e-006, 5.2e-006, \
654, 519, 1280, 1024, CameraParamTmp)
write_cam_par (CameraParamTmp, 'campar_tmp.dat')
* Read internal camera parameters.
read_cam_par('campar_tmp.dat', CameraParam)
read_cam_parread_cam_parReadCamParReadCamParReadCamPar returns 2 (H_MSG_TRUE) if all parameter values are
correct and the file has been read successfully. If necessary an
exception is raised.
find_marks_and_posefind_marks_and_poseFindMarksAndPoseFindMarksAndPoseFindMarksAndPose,
sim_caltabsim_caltabSimCaltabSimCaltabSimCaltab,
gen_caltabgen_caltabGenCaltabGenCaltabGenCaltab,
disp_caltabdisp_caltabDispCaltabDispCaltabDispCaltab,
camera_calibrationcamera_calibrationCameraCalibrationCameraCalibrationCameraCalibration
find_caltabfind_caltabFindCaltabFindCaltabFindCaltab,
find_marks_and_posefind_marks_and_poseFindMarksAndPoseFindMarksAndPoseFindMarksAndPose,
camera_calibrationcamera_calibrationCameraCalibrationCameraCalibrationCameraCalibration,
disp_caltabdisp_caltabDispCaltabDispCaltabDispCaltab,
sim_caltabsim_caltabSimCaltabSimCaltabSimCaltab,
write_cam_parwrite_cam_parWriteCamParWriteCamParWriteCamPar,
write_posewrite_poseWritePoseWritePoseWritePose,
read_poseread_poseReadPoseReadPoseReadPose,
project_3d_pointproject_3d_pointProject3dPointProject3dPointProject3dPoint,
get_line_of_sightget_line_of_sightGetLineOfSightGetLineOfSightGetLineOfSight
Foundation