Class SelectSparseErrorSubpixel.S32
java.lang.Object
boofcv.alg.disparity.block.SelectSparseStandardWta<int[]>
boofcv.alg.disparity.block.select.SelectSparseErrorWithChecksWta_S32
boofcv.alg.disparity.block.select.SelectSparseErrorSubpixel.S32
- All Implemented Interfaces:
DisparitySparseSelect<int[]>
- Enclosing class:
- SelectSparseErrorSubpixel
-
Field Summary
Fields inherited from class boofcv.alg.disparity.block.select.SelectSparseErrorWithChecksWta_S32
discretizer, textureThreshold
Fields inherited from class boofcv.alg.disparity.block.SelectSparseStandardWta
disparity, maxError, tolRightToLeft
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
select
(DisparitySparseRectifiedScoreBM<int[], ?> scorer, int x, int y) Examines disparity scores and looks for the best correspondence.Methods inherited from class boofcv.alg.disparity.block.select.SelectSparseErrorWithChecksWta_S32
setTexture
Methods inherited from class boofcv.alg.disparity.block.SelectSparseStandardWta
getDisparity, setValidateRtoL
-
Constructor Details
-
S32
public S32(int maxError, double texture, int tolRightToLeft, boolean squaredError)
-
-
Method Details
-
select
Description copied from interface:DisparitySparseSelect
Examines disparity scores and looks for the best correspondence. If no correspondence can be found then false is returned.- Specified by:
select
in interfaceDisparitySparseSelect<int[]>
- Overrides:
select
in classSelectSparseErrorWithChecksWta_S32
- Parameters:
scorer
- Computes the disparity scorex
- Pixel coordinate x-axisy
- Pixel coordinate y-axis- Returns:
- true if a valid correspondence was found
-