Class SelectSparseErrorSubpixel.F32
java.lang.Object
boofcv.alg.disparity.block.SelectSparseStandardWta<float[]>
boofcv.alg.disparity.block.select.SelectSparseErrorWithChecksWta_F32
boofcv.alg.disparity.block.select.SelectSparseErrorSubpixel.F32
- All Implemented Interfaces:
DisparitySparseSelect<float[]>
- Enclosing class:
- SelectSparseErrorSubpixel
-
Field Summary
Fields inherited from class boofcv.alg.disparity.block.select.SelectSparseErrorWithChecksWta_F32
textureThreshold
Fields inherited from class boofcv.alg.disparity.block.SelectSparseStandardWta
disparity, maxError, tolRightToLeft
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
select
(DisparitySparseRectifiedScoreBM<float[], ?> scorer, int x, int y) Examines disparity scores and looks for the best correspondence.Methods inherited from class boofcv.alg.disparity.block.select.SelectSparseErrorWithChecksWta_F32
setTexture
Methods inherited from class boofcv.alg.disparity.block.SelectSparseStandardWta
getDisparity, setValidateRtoL
-
Constructor Details
-
F32
public F32(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<float[]>
- Overrides:
select
in classSelectSparseErrorWithChecksWta_F32
- Parameters:
scorer
- Computes the disparity scorex
- Pixel coordinate x-axisy
- Pixel coordinate y-axis- Returns:
- true if a valid correspondence was found
-