public class StereoSparse3D<T extends boofcv.struct.image.ImageSingleBand> extends StereoProcessingBase<T> implements ImagePixelTo3D
baseline, cx, cy, fx, fy, imageLeftRect, imageRightRect, pointRect, rect1, rect2, rectK, rectR| Constructor and Description |
|---|
StereoSparse3D(boofcv.abst.feature.disparity.StereoDisparitySparse<T> disparity,
java.lang.Class<T> imageType)
Configures and declares internal data
|
| Modifier and Type | Method and Description |
|---|---|
double |
getW()
Found w-coordinate of point in camera coordinate system.
|
double |
getX()
Found x-coordinate of point in camera coordinate system.
|
double |
getY()
Found y-coordinate of point in camera coordinate system.
|
double |
getZ()
Found z-coordinate of point in camera coordinate system.
|
boolean |
process(double x,
double y)
Takes in pixel coordinates from the left camera in the original image coordinate system
|
void |
setCalibration(boofcv.struct.calib.StereoParameters stereoParam)
Specifies stereo parameters
|
void |
setImages(T leftImage,
T rightImage)
Sets the input images.
|
computeHomo3D, getImageLeftRect, getImageRightRect, getRect1, getRect2, getRectK, initializepublic void setCalibration(boofcv.struct.calib.StereoParameters stereoParam)
StereoProcessingBasesetCalibration in class StereoProcessingBase<T extends boofcv.struct.image.ImageSingleBand>stereoParam - stereo parameterspublic void setImages(T leftImage, T rightImage)
StereoProcessingBaseStereoProcessingBase.initialize() has been called.setImages in class StereoProcessingBase<T extends boofcv.struct.image.ImageSingleBand>leftImage - Left imagerightImage - Right imagepublic boolean process(double x,
double y)
process in interface ImagePixelTo3Dx - x-coordinate of the pixely - y-coordinate of the pixelpublic double getX()
ImagePixelTo3DgetX in interface ImagePixelTo3Dpublic double getY()
ImagePixelTo3DgetY in interface ImagePixelTo3Dpublic double getZ()
ImagePixelTo3DgetZ in interface ImagePixelTo3Dpublic double getW()
ImagePixelTo3DgetW in interface ImagePixelTo3D