Documentation of 'boofcv.struct.image.GrayF64' Java class
GrayF64
boofcv.struct.image

Class GrayF64

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class GrayF64
    extends GrayF<GrayF64>

    Image with a pixel type of 64-bit float.

    See Also:
    Serialized Form
    • Field Detail

      • data

        public double[] data
    • Constructor Detail

      • GrayF64

        public GrayF64(int width,
                       int height)
        Creates a new gray scale (single band/color) image.
        Parameters:
        width - number of columns in the image.
        height - number of rows in the image.
      • GrayF64

        public GrayF64()
        Creates an image with no data declared and the width/height set to zero.
    • Method Detail

      • get

        public double get(int x,
                          int y)
        Returns the value of the specified pixel.
        Parameters:
        x - pixel coordinate.
        y - pixel coordinate.
        Returns:
        Pixel intensity value.
      • unsafe_get

        public double unsafe_get(int x,
                                 int y)
      • set

        public void set(int x,
                        int y,
                        double value)
        Sets the value of the specified pixel.
        Parameters:
        x - pixel coordinate.
        y - pixel coordinate.
        value - The pixel's new value.
      • unsafe_set

        public void unsafe_set(int x,
                               int y,
                               double value)
      • print

        public void print(java.lang.String format)
      • printInt

        public void printInt()
      • _createNew

        public GrayF64 _createNew(int imgWidth,
                                  int imgHeight)
        Description copied from class: ImageBase
        Returns a new image. If either width or height are set to -1 then none of the class parameters set. Otherwise a new image is created with the specified dimensions which has all other parameters the same as the original matrix.
        Specified by:
        _createNew in class ImageBase<GrayF64>
        Parameters:
        imgWidth - Width of the new image
        imgHeight - height of the new image
        Returns:
        new image
      • getData

        public double[] getData()
      • setData

        public void setData(double[] data)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.