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

Class InterleavedU16

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


    public class InterleavedU16
    extends InterleavedI16<InterleavedU16>

    An image where the primitive type is an unsigned short.

    See Also:
    Serialized Form
    • Constructor Detail

      • InterleavedU16

        public InterleavedU16(int width,
                              int height,
                              int numBands)
        Creates a new image with an arbitrary number of bands/colors.
        Parameters:
        width - number of columns in the image.
        height - number of rows in the image.
        numBands - number of bands/colors in the image.
      • InterleavedU16

        public InterleavedU16()
    • Method Detail

      • getBand

        public int getBand(int x,
                           int y,
                           int band)
        Returns the value of the specified band in the specified pixel.
        Specified by:
        getBand in class InterleavedInteger<InterleavedU16>
        Parameters:
        x - pixel coordinate.
        y - pixel coordinate.
        band - which color band in the pixel
        Returns:
        an intensity value.
      • _createNew

        public InterleavedU16 _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<InterleavedU16>
        Parameters:
        imgWidth - Width of the new image
        imgHeight - height of the new image
        Returns:
        new image

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.