Package boofcv.alg.sfm
Class DepthSparse3D.F32
- Enclosing class:
- DepthSparse3D<T extends ImageGray<T>>
Implementation for
GrayF32
.-
Nested Class Summary
Nested classes/interfaces inherited from class boofcv.alg.sfm.DepthSparse3D
DepthSparse3D.F32, DepthSparse3D.I<T extends GrayI<T>>
-
Field Summary
Fields inherited from class boofcv.alg.sfm.DepthSparse3D
depthImage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected double
lookupDepth
(int depthX, int depthY) Internal function which looks up the pixel's depth.Methods inherited from class boofcv.alg.sfm.DepthSparse3D
configure, getWorldPt, process, setDepthImage
-
Constructor Details
-
F32
public F32(double depthScale)
-
-
Method Details
-
lookupDepth
protected double lookupDepth(int depthX, int depthY) Description copied from class:DepthSparse3D
Internal function which looks up the pixel's depth. Depth is defined as the value of the z-coordinate which is pointing out of the camera. If there is no depth measurement at this location return 0.- Specified by:
lookupDepth
in classDepthSparse3D<GrayF32>
- Parameters:
depthX
- x-coordinate of pixel in depth cameradepthY
- y-coordinate of pixel in depth camera- Returns:
- depth at the specified coordinate
-