Class PyramidDirectColorDepth.LayerTo3D

    • Field Summary

      Fields 
      Modifier and Type Field Description
      double scale  
    • Constructor Summary

      Constructors 
      Constructor Description
      LayerTo3D()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      void wrap​(ImagePixelTo3D orig)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • scale

        public double scale
    • Constructor Detail

      • LayerTo3D

        public LayerTo3D()
    • Method Detail

      • 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 interface ImagePixelTo3D
        Parameters:
        x - x-coordinate of the pixel
        y - 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 interface ImagePixelTo3D
        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 interface ImagePixelTo3D
        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 interface ImagePixelTo3D
        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 interface ImagePixelTo3D
        Returns:
        w-coordinate