boofcv.alg.feature.associate
Class StereoConsistencyCheck
- java.lang.Object
-
- boofcv.alg.feature.associate.StereoConsistencyCheck
-
- Direct Known Subclasses:
- AssociateStereo2D
public class StereoConsistencyCheck extends java.lang.ObjectChecks to see if two observations from a left to right stereo camera are consistent. Observations are converted to rectified coordinates. They are then checked to see if their y-axis are the same to within tolerance and that the left x-coordinate is larger than the right x-coordinate, to within tolerance.
-
-
Constructor Summary
Constructors Constructor and Description StereoConsistencyCheck(double toleranceX, double toleranceY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleancheckPixel(Point2D_F64 left, Point2D_F64 right)Checks to see if the observations from the left and right camera are consistent.booleancheckRectified(Point2D_F64 left, Point2D_F64 right)Checks to see if the observations from the left and right camera are consistent.voidsetCalibration(StereoParameters param)
-
-
-
Constructor Detail
-
StereoConsistencyCheck
public StereoConsistencyCheck(double toleranceX, double toleranceY)
-
-
Method Detail
-
setCalibration
public void setCalibration(StereoParameters param)
-
checkPixel
public boolean checkPixel(Point2D_F64 left, Point2D_F64 right)
Checks to see if the observations from the left and right camera are consistent. Observations are assumed to be in the original image pixel coordinates.- Parameters:
left- Left camera observation in original pixelsright- Right camera observation in original pixels- Returns:
- true for consistent
-
checkRectified
public boolean checkRectified(Point2D_F64 left, Point2D_F64 right)
Checks to see if the observations from the left and right camera are consistent. Observations are assumed to be in the rectified image pixel coordinates.- Parameters:
left- Left camera observation in rectified pixelsright- Right camera observation in rectified pixels- Returns:
- true for consistent
-
-
DataMelt 3.0 © DataMelt by jWork.ORG