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

Class ImageType<T extends ImageBase>

  • All Implemented Interfaces:
    java.io.Serializable


    public class ImageType<T extends ImageBase>
    extends java.lang.Object
    implements java.io.Serializable
    Specifies the type of image data structure.
    See Also:
    Serialized Form
    • Method Detail

      • single

        public static <I extends ImageGray> ImageType<I> single(java.lang.Class<I> imageType)
      • createImage

        public T createImage(int width,
                             int height)
        Creates a new image.
        Parameters:
        width - Number of columns in the image.
        height - Number of rows in the image.
        Returns:
        New instance of the image.
      • createArray

        public T[] createArray(int length)
        Creates an array of the specified iamge type
        Parameters:
        length - Number of elements in the array
        Returns:
        array of image type
      • getNumBands

        public int getNumBands()
      • getImageClass

        public java.lang.Class getImageClass()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.