Package boofcv.abst.sfm
Class DepthSparse3D_to_PixelTo3D<T extends boofcv.struct.image.ImageGray<T>>
- java.lang.Object
-
- boofcv.abst.sfm.DepthSparse3D_to_PixelTo3D<T>
-
- All Implemented Interfaces:
ImagePixelTo3D
public class DepthSparse3D_to_PixelTo3D<T extends boofcv.struct.image.ImageGray<T>> extends java.lang.Object implements ImagePixelTo3D
Wrapper aroundDepthSparse3DforImagePixelTo3D.
-
-
Constructor Summary
Constructors Constructor Description DepthSparse3D_to_PixelTo3D(DepthSparse3D<T> alg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetW()Found w-coordinate of point in camera coordinate system.doublegetX()Found x-coordinate of point in camera coordinate system.doublegetY()Found y-coordinate of point in camera coordinate system.doublegetZ()Found z-coordinate of point in camera coordinate system.booleanprocess(double x, double y)Estimate the location of the pixel in 3D camera coordinates.
-
-
-
Constructor Detail
-
DepthSparse3D_to_PixelTo3D
public DepthSparse3D_to_PixelTo3D(DepthSparse3D<T> alg)
-
-
Method Detail
-
process
public boolean process(double x, double y)Description copied from interface:ImagePixelTo3DEstimate the location of the pixel in 3D camera coordinates.- Specified by:
processin 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:ImagePixelTo3DFound x-coordinate of point in camera coordinate system.- Specified by:
getXin interfaceImagePixelTo3D- Returns:
- x-coordinate
-
getY
public double getY()
Description copied from interface:ImagePixelTo3DFound y-coordinate of point in camera coordinate system.- Specified by:
getYin interfaceImagePixelTo3D- Returns:
- y-coordinate
-
getZ
public double getZ()
Description copied from interface:ImagePixelTo3DFound z-coordinate of point in camera coordinate system.- Specified by:
getZin interfaceImagePixelTo3D- Returns:
- z-coordinate
-
getW
public double getW()
Description copied from interface:ImagePixelTo3DFound w-coordinate of point in camera coordinate system. If a point is at infinity then this value will be zero.- Specified by:
getWin interfaceImagePixelTo3D- Returns:
- w-coordinate
-
-