Documentation of 'boofcv.core.image.GImageGrayDistorted' Java class
GImageGrayDistorted
boofcv.core.image

Class GImageGrayDistorted<T extends ImageGray>

    • Method Detail

      • get

        public java.lang.Number get(int x,
                                    int y)
        Specified by:
        get in interface GImageGray
      • set

        public void set(int x,
                        int y,
                        java.lang.Number num)
        Description copied from interface: GImageGray
        Set's pixel value using number. If native type of 'num' and image are the same then there is no loss in precision.
        Specified by:
        set in interface GImageGray
        Parameters:
        x - pixel coordinate x-value
        y - pixel coordinate y-value
        num - Value of the pixel
      • unsafe_getD

        public double unsafe_getD(int x,
                                  int y)
        Description copied from interface: GImageGray
        get which returns a double, has no bounds checking. Still slow, but faster than the super generic get. Also doesn't create memory on each get
        Specified by:
        unsafe_getD in interface GImageGray
      • unsafe_getF

        public float unsafe_getF(int x,
                                 int y)
        Specified by:
        unsafe_getF in interface GImageGray
      • set

        public void set(int index,
                        float value)
        Description copied from interface: GImageGray
        Sets pixel based on pixel value in data array
        Specified by:
        set in interface GImageGray
      • getF

        public float getF(int index)
        Specified by:
        getF in interface GImageGray

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.