Class CameraCalibration
java.lang.Object
edu.tufts.hrilab.vision.capture.calibration.swig.CameraCalibration
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
calibrateExtrSingleCameraStart
(int camIndex, int cornersX, int cornersY, double gridSize) boolean
calibrateIntrSingleCameraStart
(int camIndex, int cornersX, int cornersY, double gridSize) boolean
calibrateStereoCamerasStart
(int cornersX, int cornersY, double gridSize) boolean
calibrationSingleCamLoad
(int camIndex, String filename) boolean
calibrationSingleCamSave
(int camIndex, String filename) boolean
calibrationStereoLoad
(String filename) boolean
calibrationStereoSave
(String filename) void
void
delete()
getCameraParameters
(int camIndex) protected static long
getCPtr
(CameraCalibration obj) static CameraCalibration
static CameraCalibration
getInstance
(int pairIndex) static CameraCalibration
getNewInstance
(int pairIndex, int img1_width, int img1_height, int img2_width, int img2_height) getStereoParameters
(int camIndex) boolean
void
setCameraParameters
(int camIndex, SWIGTYPE_p_boost__shared_ptrT_CameraParameters_t arg1) void
setStereoParameters
(int camIndex, SWIGTYPE_p_boost__shared_ptrT_StereoCameraParameters_t arg1) boolean
boolean
takeSnapshots
(int numSnapshots) boolean
takeSnapshots
(int numSnapshots, int numAllowedFailures)
-
Field Details
-
swigCMemOwn
protected transient boolean swigCMemOwn
-
-
Constructor Details
-
CameraCalibration
protected CameraCalibration(long cPtr, boolean cMemoryOwn)
-
-
Method Details
-
getCPtr
-
delete
public void delete() -
getNewInstance
public static CameraCalibration getNewInstance(int pairIndex, int img1_width, int img1_height, int img2_width, int img2_height) -
getInstance
-
getInstance
-
getCameraParameters
-
getStereoParameters
public SWIGTYPE_p_boost__shared_ptrT_StereoCameraParameters_const_t getStereoParameters(int camIndex) -
calibrationSingleCamSave
-
calibrationSingleCamLoad
-
calibrateIntrSingleCameraStart
public boolean calibrateIntrSingleCameraStart(int camIndex, int cornersX, int cornersY, double gridSize) -
calibrateExtrSingleCameraStart
public boolean calibrateExtrSingleCameraStart(int camIndex, int cornersX, int cornersY, double gridSize) -
takeSnapshot
public boolean takeSnapshot() -
takeSnapshots
public boolean takeSnapshots(int numSnapshots, int numAllowedFailures) -
takeSnapshots
public boolean takeSnapshots(int numSnapshots) -
runCalibration
public boolean runCalibration() -
cancelCalibration
public void cancelCalibration() -
calibrateStereoCamerasStart
public boolean calibrateStereoCamerasStart(int cornersX, int cornersY, double gridSize) -
calibrationStereoSave
-
calibrationStereoLoad
-