Package boofcv.abst.sfm
Class DepthSparse3D_to_PixelTo3D<T extends ImageGray<T>>
java.lang.Object
boofcv.abst.sfm.DepthSparse3D_to_PixelTo3D<T>
- All Implemented Interfaces:
ImagePixelTo3D
public class DepthSparse3D_to_PixelTo3D<T extends ImageGray<T>>
extends Object
implements ImagePixelTo3D
Wrapper around
DepthSparse3D
for ImagePixelTo3D
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
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) Estimate the location of the pixel in 3D camera coordinates.
-
Constructor Details
-
DepthSparse3D_to_PixelTo3D
-
-
Method Details
-
process
public boolean process(double x, double y) Description copied from interface:ImagePixelTo3D
Estimate the location of the pixel in 3D camera coordinates.- Specified by:
process
in interfaceImagePixelTo3D
- Parameters:
x
- x-coordinate of the pixely
- y-coordinate of the pixel- Returns:
- true if a position could be estimated and false if not.
-
getX
public double getX()Description copied from interface:ImagePixelTo3D
Found x-coordinate of point in camera coordinate system.- Specified by:
getX
in interfaceImagePixelTo3D
- Returns:
- x-coordinate
-
getY
public double getY()Description copied from interface:ImagePixelTo3D
Found y-coordinate of point in camera coordinate system.- Specified by:
getY
in interfaceImagePixelTo3D
- Returns:
- y-coordinate
-
getZ
public double getZ()Description copied from interface:ImagePixelTo3D
Found z-coordinate of point in camera coordinate system.- Specified by:
getZ
in interfaceImagePixelTo3D
- Returns:
- z-coordinate
-
getW
public double getW()Description copied from interface:ImagePixelTo3D
Found w-coordinate of point in camera coordinate system. If a point is at infinity then this value will be zero.- Specified by:
getW
in interfaceImagePixelTo3D
- Returns:
- w-coordinate
-