Class DepthSparse3D.F32

  • Enclosing class:
    DepthSparse3D<T extends boofcv.struct.image.ImageGray<T>>

    public static class DepthSparse3D.F32
    extends DepthSparse3D<boofcv.struct.image.GrayF32>
    Implementation for GrayF32.
    • Constructor Detail

      • F32

        public F32​(double depthScale)
    • Method Detail

      • 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 class DepthSparse3D<boofcv.struct.image.GrayF32>
        Parameters:
        depthX - x-coordinate of pixel in depth camera
        depthY - y-coordinate of pixel in depth camera
        Returns:
        depth at the specified coordinate