Package org.jvision.factory
Class SimpleCameraBuilder
java.lang.Object
org.jvision.factory.SimpleCameraBuilder
- All Implemented Interfaces:
CameraBuilder
An implementation of
camera builder that provides instances from the simple implementation.- Since:
- 1.0.0
- Version:
- "1.0.0" b202104211400L
- Author:
- Julien Seinturier - JOrigin - contact@jorigin.org - https://github.com/jorigin/jvision
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateLensDistortionBrown(double[] parameters)createLensDistortionBrown(double k1, double k2, double k3, double k4, double p1, double p2, double p3, double p4)createLensDistortionBrown(float[] parameters)createLensDistortionBrown(org.jeometry.math.Vector parameters)createLensDistortionMetashape(double[] coefficients)createLensDistortionMetashape(double k1, double k2, double k3, double k4, double p1, double p2)createLensDistortionMetashape(float[] coefficients)createLensDistortionMetashape(org.jeometry.math.Vector coefficients)createLensDistortionOpenCV(double[] coefficients)createLensDistortionOpenCV(double k1, double k2, double k3, double p1, double p2)createLensDistortionOpenCV(double k1, double k2, double k3, double k4, double k5, double k6, double p1, double p2)createLensDistortionOpenCV(double k1, double k2, double k3, double k4, double k5, double k6, double p1, double p2, double s1, double s2, double s3, double s4)createLensDistortionOpenCV(double k1, double k2, double k3, double k4, double k5, double k6, double p1, double p2, double s1, double s2, double s3, double s4, double tx, double ty)createLensDistortionOpenCV(float[] coefficients)createLensDistortionOpenCV(org.jeometry.math.Vector coefficients)
-
Constructor Details
-
SimpleCameraBuilder
public SimpleCameraBuilder()
-
-
Method Details
-
createLensDistortionBrown
- Specified by:
createLensDistortionBrownin interfaceCameraBuilder
-
createLensDistortionBrown
public LensDistortionBrown createLensDistortionBrown(double k1, double k2, double k3, double k4, double p1, double p2, double p3, double p4)- Specified by:
createLensDistortionBrownin interfaceCameraBuilder
-
createLensDistortionBrown
public LensDistortionBrown createLensDistortionBrown(org.jeometry.math.Vector parameters) throws IllegalArgumentException- Specified by:
createLensDistortionBrownin interfaceCameraBuilder- Throws:
IllegalArgumentException
-
createLensDistortionBrown
public LensDistortionBrown createLensDistortionBrown(float[] parameters) throws IllegalArgumentException- Specified by:
createLensDistortionBrownin interfaceCameraBuilder- Throws:
IllegalArgumentException
-
createLensDistortionBrown
public LensDistortionBrown createLensDistortionBrown(double[] parameters) throws IllegalArgumentException- Specified by:
createLensDistortionBrownin interfaceCameraBuilder- Throws:
IllegalArgumentException
-
createLensDistortionOpenCV
- Specified by:
createLensDistortionOpenCVin interfaceCameraBuilder
-
createLensDistortionOpenCV
public LensDistortionOpenCV createLensDistortionOpenCV(double k1, double k2, double k3, double k4, double k5, double k6, double p1, double p2, double s1, double s2, double s3, double s4, double tx, double ty)- Specified by:
createLensDistortionOpenCVin interfaceCameraBuilder
-
createLensDistortionOpenCV
public LensDistortionOpenCV createLensDistortionOpenCV(double k1, double k2, double k3, double k4, double k5, double k6, double p1, double p2, double s1, double s2, double s3, double s4)- Specified by:
createLensDistortionOpenCVin interfaceCameraBuilder
-
createLensDistortionOpenCV
public LensDistortionOpenCV createLensDistortionOpenCV(double k1, double k2, double k3, double k4, double k5, double k6, double p1, double p2)- Specified by:
createLensDistortionOpenCVin interfaceCameraBuilder
-
createLensDistortionOpenCV
public LensDistortionOpenCV createLensDistortionOpenCV(double k1, double k2, double k3, double p1, double p2)- Specified by:
createLensDistortionOpenCVin interfaceCameraBuilder
-
createLensDistortionOpenCV
public LensDistortionOpenCV createLensDistortionOpenCV(org.jeometry.math.Vector coefficients) throws IllegalArgumentException- Specified by:
createLensDistortionOpenCVin interfaceCameraBuilder- Throws:
IllegalArgumentException
-
createLensDistortionOpenCV
public LensDistortionOpenCV createLensDistortionOpenCV(float[] coefficients) throws IllegalArgumentException- Specified by:
createLensDistortionOpenCVin interfaceCameraBuilder- Throws:
IllegalArgumentException
-
createLensDistortionOpenCV
public LensDistortionOpenCV createLensDistortionOpenCV(double[] coefficients) throws IllegalArgumentException- Specified by:
createLensDistortionOpenCVin interfaceCameraBuilder- Throws:
IllegalArgumentException
-
createLensDistortionMetashape
- Specified by:
createLensDistortionMetashapein interfaceCameraBuilder
-
createLensDistortionMetashape
public LensDistortionMetashape createLensDistortionMetashape(double k1, double k2, double k3, double k4, double p1, double p2)- Specified by:
createLensDistortionMetashapein interfaceCameraBuilder
-
createLensDistortionMetashape
public LensDistortionMetashape createLensDistortionMetashape(org.jeometry.math.Vector coefficients) throws IllegalArgumentException- Specified by:
createLensDistortionMetashapein interfaceCameraBuilder- Throws:
IllegalArgumentException
-
createLensDistortionMetashape
public LensDistortionMetashape createLensDistortionMetashape(float[] coefficients) throws IllegalArgumentException- Specified by:
createLensDistortionMetashapein interfaceCameraBuilder- Throws:
IllegalArgumentException
-
createLensDistortionMetashape
public LensDistortionMetashape createLensDistortionMetashape(double[] coefficients) throws IllegalArgumentException- Specified by:
createLensDistortionMetashapein interfaceCameraBuilder- Throws:
IllegalArgumentException
-