Class SelectSparseErrorWithChecksWta_S32
java.lang.Object
boofcv.alg.disparity.block.SelectSparseStandardWta<int[]>
boofcv.alg.disparity.block.select.SelectSparseErrorWithChecksWta_S32
- All Implemented Interfaces:
DisparitySparseSelect<int[]>
- Direct Known Subclasses:
SelectSparseErrorSubpixel.S32
public class SelectSparseErrorWithChecksWta_S32 extends SelectSparseStandardWta<int[]>
Implementation of SelectSparseStandardWta
for score arrays of type S32.
DO NOT MODIFY. Generated by GenerateSelectSparseStandardWta.
-
Field Summary
Fields Modifier and Type Field Description protected static int
discretizer
protected int
textureThreshold
Fields inherited from class boofcv.alg.disparity.block.SelectSparseStandardWta
disparity, maxError, tolRightToLeft
-
Constructor Summary
Constructors Constructor Description SelectSparseErrorWithChecksWta_S32(int maxError, double texture, int tolRightToLeft)
-
Method Summary
Modifier and Type Method Description boolean
select(DisparitySparseRectifiedScoreBM<int[],?> scorer, int x, int y)
Examines disparity scores and looks for the best correspondence.protected void
setTexture(double texture)
Sets the texture threshold.Methods inherited from class boofcv.alg.disparity.block.SelectSparseStandardWta
getDisparity, setValidateRtoL
-
Field Details
-
textureThreshold
protected int textureThreshold -
discretizer
protected static final int discretizer- See Also:
- Constant Field Values
-
-
Constructor Details
-
SelectSparseErrorWithChecksWta_S32
public SelectSparseErrorWithChecksWta_S32(int maxError, double texture, int tolRightToLeft)
-
-
Method Details
-
setTexture
protected void setTexture(double texture)Description copied from class:SelectSparseStandardWta
Sets the texture threshold.- Specified by:
setTexture
in classSelectSparseStandardWta<int[]>
- Parameters:
texture
- Texture threshold.
-
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.- Parameters:
scorer
- Computes the disparity scorex
- Pixel coordinate x-axisy
- Pixel coordinate y-axis- Returns:
- true if a valid correspondence was found
-