public interface StereoDisparitySparse<Image extends boofcv.struct.image.ImageGray>
Computes the disparity between two rectified images at specified points only.
NOTE: Unlike for dense images, the returned disparity is the actual disparity. No need to add minDisparity to the returned value.
StereoDisparity| 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<Image> |
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(Image imageLeft,
Image imageRight)
Sets the input images that are to be processed.
|
void setImages(Image imageLeft, Image imageRight)
imageLeft - Input left rectified image.imageRight - Input right rectified image.boolean process(int x,
int y)
x - center of region x-axisy - center of region y-axisdouble getDisparity()
int getBorderX()
int getBorderY()
int getMinDisparity()
int getMaxDisparity()
java.lang.Class<Image> getInputType()