Class SelectErrorWithChecks_S32.DispU8
java.lang.Object
boofcv.alg.disparity.block.SelectDisparityWithChecksWta<int[],DI>
boofcv.alg.disparity.block.select.SelectErrorWithChecks_S32<GrayU8>
boofcv.alg.disparity.block.select.SelectErrorWithChecks_S32.DispU8
- All Implemented Interfaces:
DisparitySelect<int[],
,GrayU8> Compare_S32
- Enclosing class:
- SelectErrorWithChecks_S32<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_S32
SelectErrorWithChecks_S32.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_S32
discretizer, 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_S32.DispU8 original) -
Method Summary
Modifier and TypeMethodDescriptionDisparitySelect<int[],
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_S32
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<int[],
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<int[],
GrayU8>
-