boofcv.alg.feature.disparity.impl
Class ImplDisparitySparseScoreSadRect_U8
- java.lang.Object
-
- boofcv.alg.feature.disparity.DisparitySparseScoreSadRect<int[],GrayU8>
-
- boofcv.alg.feature.disparity.impl.ImplDisparitySparseScoreSadRect_U8
-
public class ImplDisparitySparseScoreSadRect_U8 extends DisparitySparseScoreSadRect<int[],GrayU8>
Implementation of
DisparitySparseScoreSadRectthat processes images of typeGrayU8.DO NOT MODIFY. Generated by
GenerateDisparitySparseScoreSadRect.
-
-
Constructor Summary
Constructors Constructor and Description ImplDisparitySparseScoreSadRect_U8(int minDisparity, int maxDisparity, int radiusX, int radiusY)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Class<GrayU8>getImageType()int[]getScore()Array containing disparity score values at most recently processed point.booleanprocess(int x, int y)Compute disparity scores for the specified pixel.-
Methods inherited from class boofcv.alg.feature.disparity.DisparitySparseScoreSadRect
getLocalMaxDisparity, getMaxDisparity, getMinDisparity, getRadiusX, getRadiusY, setImages
-
-
-
-
Constructor Detail
-
ImplDisparitySparseScoreSadRect_U8
public ImplDisparitySparseScoreSadRect_U8(int minDisparity, int maxDisparity, int radiusX, int radiusY)
-
-
Method Detail
-
process
public boolean process(int x, int y)Description copied from class:DisparitySparseScoreSadRectCompute disparity scores for the specified pixel. Be sure that its not too close to the image border.- Specified by:
processin classDisparitySparseScoreSadRect<int[],GrayU8>- Parameters:
x- x-coordinate of pointy- y-coordinate of point.
-
getScore
public int[] getScore()
Description copied from class:DisparitySparseScoreSadRectArray containing disparity score values at most recently processed point. Array indices correspond to disparity. score[i] = score at disparity i. To know how many disparity values there are callDisparitySparseScoreSadRect.getLocalMaxDisparity()- Specified by:
getScorein classDisparitySparseScoreSadRect<int[],GrayU8>
-
getImageType
public java.lang.Class<GrayU8> getImageType()
- Specified by:
getImageTypein classDisparitySparseScoreSadRect<int[],GrayU8>
-
-
DataMelt 3.0 © DataMelt by jWork.ORG