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

Interface GImageGray

    • Method Detail

      • getWidth

        int getWidth()
      • getHeight

        int getHeight()
      • isFloatingPoint

        boolean isFloatingPoint()
      • get

        java.lang.Number get(int x,
                             int y)
      • set

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

        double unsafe_getD(int x,
                           int y)
        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
      • unsafe_getF

        float unsafe_getF(int x,
                          int y)
      • set

        void set(int index,
                 float value)
        Sets pixel based on pixel value in data array
      • getF

        float getF(int index)
      • getImageType

        java.lang.Class getImageType()

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.