- java.lang.Object
-
- boofcv.abst.feature.disparity.WrapDisparitySadRect<T,D>
-
- All Implemented Interfaces:
- StereoDisparity<T,D>
public class WrapDisparitySadRect<T extends ImageGray,D extends ImageGray> extends java.lang.Object implements StereoDisparity<T,D>
-
-
Constructor Summary
Constructors Constructor and Description WrapDisparitySadRect(DisparityScoreRowFormat<T,D> alg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description DisparityScoreRowFormat<T,D>getAlg()intgetBorderX()Border around the image's x-axis which is not processed.intgetBorderY()Border around the image's y-axis which is not processed.DgetDisparity()Return the computed disparity image.java.lang.Class<D>getDisparityType()Type of disparity image it can write to.java.lang.Class<T>getInputType()Type of input images it can processintgetMaxDisparity()The maximum disparity which will be checked for.intgetMinDisparity()The minimum disparity which will be checked for.voidprocess(T imageLeft, T imageRight)Computes stereo disparity.
-
-
-
Constructor Detail
-
WrapDisparitySadRect
public WrapDisparitySadRect(DisparityScoreRowFormat<T,D> alg)
-
-
Method Detail
-
process
public void process(T imageLeft, T imageRight)
Description copied from interface:StereoDisparityComputes stereo disparity.
-
getDisparity
public D getDisparity()
Description copied from interface:StereoDisparityReturn the computed disparity image. See comments in class description on disparity image format.- Specified by:
getDisparityin interfaceStereoDisparity<T extends ImageGray,D extends ImageGray>- Returns:
- Output disparity from left to right image.
-
getBorderX
public int getBorderX()
Description copied from interface:StereoDisparityBorder around the image's x-axis which is not processed.- Specified by:
getBorderXin interfaceStereoDisparity<T extends ImageGray,D extends ImageGray>- Returns:
- border x-axis
-
getBorderY
public int getBorderY()
Description copied from interface:StereoDisparityBorder around the image's y-axis which is not processed.- Specified by:
getBorderYin interfaceStereoDisparity<T extends ImageGray,D extends ImageGray>- Returns:
- border y-axis
-
getMinDisparity
public int getMinDisparity()
Description copied from interface:StereoDisparityThe minimum disparity which will be checked for.- Specified by:
getMinDisparityin interfaceStereoDisparity<T extends ImageGray,D extends ImageGray>- Returns:
- Minimum disparity.
-
getMaxDisparity
public int getMaxDisparity()
Description copied from interface:StereoDisparityThe maximum disparity which will be checked for.- Specified by:
getMaxDisparityin interfaceStereoDisparity<T extends ImageGray,D extends ImageGray>- Returns:
- Maximum disparity.
-
getInputType
public java.lang.Class<T> getInputType()
Description copied from interface:StereoDisparityType of input images it can process- Specified by:
getInputTypein interfaceStereoDisparity<T extends ImageGray,D extends ImageGray>- Returns:
- Input image type
-
getDisparityType
public java.lang.Class<D> getDisparityType()
Description copied from interface:StereoDisparityType of disparity image it can write to.- Specified by:
getDisparityTypein interfaceStereoDisparity<T extends ImageGray,D extends ImageGray>- Returns:
- Output image type
-
getAlg
public DisparityScoreRowFormat<T,D> getAlg()
-
-
DataMelt 3.0 © DataMelt by jWork.ORG