public class WrapDisparitySparseSadRect<ArrayData,T extends boofcv.struct.image.ImageGray> extends java.lang.Object implements StereoDisparitySparse<T>
| Constructor and Description |
|---|
WrapDisparitySparseSadRect(DisparitySparseScoreSadRect<ArrayData,T> computeScore,
DisparitySparseSelect<ArrayData> select) |
| Modifier and Type | Method and Description |
|---|---|
int |
getBorderX()
Border around the image's x-axis which is not processed.
|
int |
getBorderY()
Border around the image's y-axis which is not processed.
|
double |
getDisparity()
The found disparity at the selected point
|
java.lang.Class<T> |
getInputType()
Type of input images it can process
|
int |
getMaxDisparity()
The maximum disparity which will be checked for.
|
int |
getMinDisparity()
The minimum disparity which will be checked for.
|
boolean |
process(int x,
int y)
Calculates the disparity at the specified point.
|
void |
setImages(T imageLeft,
T imageRight)
Sets the input images that are to be processed.
|
public WrapDisparitySparseSadRect(DisparitySparseScoreSadRect<ArrayData,T> computeScore, DisparitySparseSelect<ArrayData> select)
public void setImages(T imageLeft, T imageRight)
StereoDisparitySparsesetImages in interface StereoDisparitySparse<T extends boofcv.struct.image.ImageGray>imageLeft - Input left rectified image.imageRight - Input right rectified image.public double getDisparity()
StereoDisparitySparsegetDisparity in interface StereoDisparitySparse<T extends boofcv.struct.image.ImageGray>public boolean process(int x,
int y)
StereoDisparitySparseprocess in interface StereoDisparitySparse<T extends boofcv.struct.image.ImageGray>x - center of region x-axisy - center of region y-axispublic int getBorderX()
StereoDisparitySparsegetBorderX in interface StereoDisparitySparse<T extends boofcv.struct.image.ImageGray>public int getBorderY()
StereoDisparitySparsegetBorderY in interface StereoDisparitySparse<T extends boofcv.struct.image.ImageGray>public int getMinDisparity()
StereoDisparitySparsegetMinDisparity in interface StereoDisparitySparse<T extends boofcv.struct.image.ImageGray>public int getMaxDisparity()
StereoDisparitySparsegetMaxDisparity in interface StereoDisparitySparse<T extends boofcv.struct.image.ImageGray>public java.lang.Class<T> getInputType()
StereoDisparitySparsegetInputType in interface StereoDisparitySparse<T extends boofcv.struct.image.ImageGray>