Class LensCalibration


  • public class LensCalibration
    extends java.lang.Object
    Performs OpenCV based lens calibration based on the techniques described in: http://opencv-java-tutorials.readthedocs.org/en/latest/09-camera-calibration.html http://docs.opencv.org/2.4/doc/tutorials/calib3d/camera_calibration/camera_calibration.html https://github.com/Itseez/opencv/blob/master/samples/cpp/tutorial_code/calib3d/camera_calibration /camera_calibration.cpp FishEye model code is included but unfinished. This code cannot be finished until we are using OpenCV 3.
    • Method Detail

      • close

        public void close()
      • apply

        public org.opencv.core.Mat apply​(org.opencv.core.Mat mat)
      • calibrate

        public boolean calibrate()
      • getPatternFoundCount

        public int getPatternFoundCount()
      • isCalibrated

        public boolean isCalibrated()
      • getCameraMatrix

        public org.opencv.core.Mat getCameraMatrix()
      • getDistortionCoefficients

        public org.opencv.core.Mat getDistortionCoefficients()