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

Class GrayI16<T extends GrayI16>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable
    Direct Known Subclasses:
    GrayS16, GrayU16


    public abstract class GrayI16<T extends GrayI16>
    extends GrayI<T>

    Base class for images with 16-bit pixels.

    See Also:
    Serialized Form
    • Field Detail

      • data

        public short[] data
    • Method Detail

      • set

        public void set(int x,
                        int y,
                        int value)
        Sets the value of the specified pixel.
        Specified by:
        set in class GrayI<T extends GrayI16>
        Parameters:
        x - pixel coordinate.
        y - pixel coordinate.
        value - The pixel's new value.
      • unsafe_set

        public void unsafe_set(int x,
                               int y,
                               int value)
        Sets the value of the specified pixel.
        Specified by:
        unsafe_set in class GrayI<T extends GrayI16>
        Parameters:
        x - pixel coordinate.
        y - pixel coordinate.
        value - The pixel's new value.
      • getData

        public short[] getData()
      • setData

        public void setData(short[] data)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.