boofcv.factory.geo
Class FactoryMultiViewRobust
- java.lang.Object
-
- boofcv.factory.geo.FactoryMultiViewRobust
-
public class FactoryMultiViewRobust extends java.lang.ObjectFactory for creating robust false-positive tolerant estimation algorithms in multi-view geometry. These algorithms tend to have a lot of boilerplate associated with them and the goal of this factory is to make their use much easier and less error prone.
-
-
Constructor Summary
Constructors Constructor and Description FactoryMultiViewRobust()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static LeastMedianOfSquares<Se3_F64,AssociatedPair>essentialLMedS(ConfigEssential essential, ConfigLMedS lmeds)static Ransac<Se3_F64,AssociatedPair>essentialRansac(ConfigEssential essential, ConfigRansac ransac)static LeastMedianOfSquares<Homography2D_F64,AssociatedPair>homographyLMedS(ConfigHomography homography, ConfigLMedS lmeds)Robust solution for estimatingHomography2D_F64withLMedS.static Ransac<Homography2D_F64,AssociatedPair>homographyRansac(ConfigHomography homography, ConfigRansac ransac)Robust solution for estimatingHomography2D_F64withRansac.static LeastMedianOfSquares<Se3_F64,Point2D3D>pnpLMedS(ConfigPnP pnp, ConfigLMedS lmeds)Robust solution to PnP problem usingLMedS.static Ransac<Se3_F64,Point2D3D>pnpRansac(ConfigPnP pnp, ConfigRansac ransac)Robust solution to PnP problem usingRansac.
-
-
-
Method Detail
-
pnpLMedS
public static LeastMedianOfSquares<Se3_F64,Point2D3D> pnpLMedS(ConfigPnP pnp, ConfigLMedS lmeds)
Robust solution to PnP problem usingLMedS. Input observations are in normalized image coordinates.- Error units is pixels squared.
See code for all the details.
- Parameters:
pnp- PnP parameters. Can't be null.lmeds- Parameters for LMedS. Can't be null.- Returns:
- Robust Se3_F64 estimator
-
pnpRansac
public static Ransac<Se3_F64,Point2D3D> pnpRansac(ConfigPnP pnp, ConfigRansac ransac)
Robust solution to PnP problem usingRansac. Input observations are in normalized image coordinates.See code for all the details.
- Parameters:
pnp- PnP parameters. Can't be null.ransac- Parameters for RANSAC. Can't be null.- Returns:
- Robust Se3_F64 estimator
-
essentialLMedS
public static LeastMedianOfSquares<Se3_F64,AssociatedPair> essentialLMedS(ConfigEssential essential, ConfigLMedS lmeds)
Robust solution for estimatingSe3_F64using epipolar geometry from two views withLMedS. Input observations are in normalized image coordinates.- Error units is pixels squared times two
See code for all the details.
- Parameters:
essential- Essential matrix estimation parameters. Can't be null.lmeds- Parameters for RANSAC. Can't be null.- Returns:
- Robust Se3_F64 estimator
-
essentialRansac
public static Ransac<Se3_F64,AssociatedPair> essentialRansac(ConfigEssential essential, ConfigRansac ransac)
Robust solution for estimatingSe3_F64using epipolar geometry from two views withRansac. Input observations are in normalized image coordinates.See code for all the details.
- Parameters:
essential- Essential matrix estimation parameters. Can't be null.ransac- Parameters for RANSAC. Can't be null.- Returns:
- Robust Se3_F64 estimator
-
homographyLMedS
public static LeastMedianOfSquares<Homography2D_F64,AssociatedPair> homographyLMedS(ConfigHomography homography, ConfigLMedS lmeds)
Robust solution for estimatingHomography2D_F64withLMedS. Input observations are in pixel coordinates.- Four point linear is used internally
- inlierThreshold is in pixels
See code for all the details.
- Parameters:
homography- Homography estimation parameters. If null default is used.lmeds- Parameters for LMedS. Can't be null.- Returns:
- Homography estimator
-
homographyRansac
public static Ransac<Homography2D_F64,AssociatedPair> homographyRansac(ConfigHomography homography, ConfigRansac ransac)
Robust solution for estimatingHomography2D_F64withRansac. Input observations are in pixel coordinates.- Four point linear is used internally
- inlierThreshold is in pixels
See code for all the details.
- Parameters:
homography- Homography estimation parameters. If null default is used.ransac- Parameters for RANSAC. Can't be null.- Returns:
- Homography estimator
-
-
DataMelt 3.0 © DataMelt by jWork.ORG