Class SelectErrorWithChecks_F32.DispU8
java.lang.Object
boofcv.alg.disparity.block.SelectDisparityWithChecksWta<float[],DI>
boofcv.alg.disparity.block.select.SelectErrorWithChecks_F32<GrayU8>
boofcv.alg.disparity.block.select.SelectErrorWithChecks_F32.DispU8
- All Implemented Interfaces:
DisparitySelect<float[],
,GrayU8> Compare_F32
- Enclosing class:
- SelectErrorWithChecks_F32<DI extends ImageGray<DI>>
Implementation for disparity images of type GrayU8
-
Nested Class Summary
Nested classes/interfaces inherited from class boofcv.alg.disparity.block.select.SelectErrorWithChecks_F32
SelectErrorWithChecks_F32.DispU8
Nested classes/interfaces inherited from class boofcv.alg.disparity.block.SelectDisparityWithChecksWta
SelectDisparityWithChecksWta.SaveScore
-
Field Summary
Fields inherited from class boofcv.alg.disparity.block.select.SelectErrorWithChecks_F32
textureThreshold
Fields inherited from class boofcv.alg.disparity.block.SelectDisparityWithChecksWta
DISCRETIZER, disparityMax, disparityMin, disparityRange, disparityType, funcSaveScore, imageDisparity, imageScore, invalidDisparity, localRange, maxError, radiusX, regionWidth, rightToLeftTolerance
-
Constructor Summary
ConstructorDescriptionDispU8
(int maxError, int rightToLeftTolerance, double texture) DispU8
(SelectErrorWithChecks_F32.DispU8 original) -
Method Summary
Modifier and TypeMethodDescriptionDisparitySelect<float[],
GrayU8> Creates a copy with separate working space.protected void
setDisparity
(int index, int value, float score) Sets the output to the specified disparity value.protected void
setDisparityInvalid
(int index) Methods inherited from class boofcv.alg.disparity.block.select.SelectErrorWithChecks_F32
compare, configure, process, setTexture
Methods inherited from class boofcv.alg.disparity.block.SelectDisparityWithChecksWta
disparityMaxAtColumnL2R, getDisparityType, setLocalDisparityMax
-
Constructor Details
-
DispU8
public DispU8(int maxError, int rightToLeftTolerance, double texture) -
DispU8
-
-
Method Details
-
concurrentCopy
Description copied from interface:DisparitySelect
Creates a copy with separate working space. Used for concurrency. Data structures which are threadsafe can be shared -
setDisparity
protected void setDisparity(int index, int value, float score) Description copied from class:SelectDisparityWithChecksWta
Sets the output to the specified disparity value.- Specified by:
setDisparity
in classSelectDisparityWithChecksWta<float[],
GrayU8> - Parameters:
index
- Image pixel that is being setvalue
- disparity valuescore
- Score of the best disparity value
-
setDisparityInvalid
protected void setDisparityInvalid(int index) - Specified by:
setDisparityInvalid
in classSelectDisparityWithChecksWta<float[],
GrayU8>
-