public abstract class SelectSparseStandardWta<ArrayType> extends java.lang.Object implements DisparitySparseSelect<ArrayType>
Selects the disparity the smallest error and optionally applies several different types of validation to remove false
positives. The two validations it can apply are maxError and texture based.
See SelectRectStandard
for more details on validation checks.
Modifier and Type | Field and Description |
---|---|
protected double |
disparity |
protected int |
maxError |
Constructor and Description |
---|
SelectSparseStandardWta(int maxError,
double texture) |
Modifier and Type | Method and Description |
---|---|
double |
getDisparity()
Returns the found disparity
|
protected abstract void |
setTexture(double texture)
Sets the texture threshold.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
select
public SelectSparseStandardWta(int maxError, double texture)
maxError
- Maximum allowed error. See comments above.texture
- Texture threshold. See comments above.protected abstract void setTexture(double texture)
texture
- Texture threshold.public double getDisparity()
DisparitySparseSelect
getDisparity
in interface DisparitySparseSelect<ArrayType>
Copyright © 2011-2012 Peter Abeles