Class SelectSparseErrorWithChecksWta_F32
java.lang.Object
boofcv.alg.disparity.block.SelectSparseStandardWta<float[]>
boofcv.alg.disparity.block.select.SelectSparseErrorWithChecksWta_F32
- All Implemented Interfaces:
DisparitySparseSelect<float[]>
- Direct Known Subclasses:
SelectSparseErrorSubpixel.F32
Implementation of SelectSparseStandardWta for score arrays of type F32.
DO NOT MODIFY. Generated by GenerateSelectSparseStandardWta.
-
Field Summary
FieldsFields inherited from class boofcv.alg.disparity.block.SelectSparseStandardWta
disparity, maxError, tolRightToLeft -
Constructor Summary
ConstructorsConstructorDescriptionSelectSparseErrorWithChecksWta_F32(int maxError, double texture, int tolRightToLeft) -
Method Summary
Modifier and TypeMethodDescriptionbooleanselect(DisparitySparseRectifiedScoreBM<float[], ?> scorer, int x, int y) Examines disparity scores and looks for the best correspondence.protected voidsetTexture(double texture) Sets the texture threshold.Methods inherited from class boofcv.alg.disparity.block.SelectSparseStandardWta
getDisparity, setValidateRtoL
-
Field Details
-
textureThreshold
protected float textureThreshold
-
-
Constructor Details
-
SelectSparseErrorWithChecksWta_F32
public SelectSparseErrorWithChecksWta_F32(int maxError, double texture, int tolRightToLeft)
-
-
Method Details
-
setTexture
protected void setTexture(double texture) Description copied from class:SelectSparseStandardWtaSets the texture threshold.- Specified by:
setTexturein classSelectSparseStandardWta<float[]>- Parameters:
texture- Texture threshold.
-
select
Description copied from interface:DisparitySparseSelectExamines 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
-