public interface ImagePixelTo3D
Generalized interface for sensors which allow pixels in an image to be converted into 3D world coordinates. 3D points are returned in homogeneous coordinates so that points at infinity can be handled. To convert points into 3D coordinates simply divide each number by 'w'.
Homogeneous to 3D coordinates:
3D: (x',y',z') = (x/w, y/w , z/w)
| 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)
Estimate the location of the pixel in 3D camera coordinates.
|
boolean process(double x,
double y)
x - x-coordinate of the pixely - y-coordinate of the pixeldouble getX()
double getY()
double getZ()
double getW()