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

Class GeneralizedImageOps



  • public class GeneralizedImageOps
    extends java.lang.Object

    Operations that return information about the specific image. Useful when writing highly abstracted code which is independent of the input image.

    • Constructor Detail

      • GeneralizedImageOps

        public GeneralizedImageOps()
    • Method Detail

      • convert

        public static <T extends ImageGray> T convert(ImageGray<?> src,
                                                      T dst,
                                                      java.lang.Class<T> typeDst)
        Converts an image from one type to another type. Creates a new image instance if an output is not provided.
        Parameters:
        src - Input image. Not modified.
        dst - Converted output image. If null a new one will be declared. Modified.
        typeDst - The type of output image.
        Returns:
        Converted image.
      • isFloatingPoint

        public static boolean isFloatingPoint(java.lang.Class<?> imgType)
      • get

        public static double get(ImageGray img,
                                 int x,
                                 int y)
      • get

        public static double get(ImageBase img,
                                 int x,
                                 int y,
                                 int band)
      • get

        public static double get(ImageInterleaved img,
                                 int x,
                                 int y,
                                 int band)
      • createSingleBand

        public static <T extends ImageGray> T createSingleBand(ImageDataType type,
                                                               int width,
                                                               int height)
      • createImage

        public static <T extends ImageBase> T createImage(java.lang.Class<T> type,
                                                          int width,
                                                          int height,
                                                          int numBands)
      • createSingleBand

        public static <T extends ImageGray> T createSingleBand(java.lang.Class<T> type,
                                                               int width,
                                                               int height)
      • createInterleaved

        public static <T extends ImageInterleaved> T createInterleaved(ImageDataType type,
                                                                       int width,
                                                                       int height,
                                                                       int numBands)
      • createInterleaved

        public static <T extends ImageInterleaved> T createInterleaved(java.lang.Class<T> type,
                                                                       int width,
                                                                       int height,
                                                                       int numBands)
      • set

        public static void set(ImageGray img,
                               int x,
                               int y,
                               double value)
      • setM

        public static void setM(ImageBase img,
                                int x,
                                int y,
                                double... value)
      • setB

        public static void setB(ImageBase img,
                                int x,
                                int y,
                                int band,
                                double value)
      • getNumBits

        public static <T extends ImageGray> int getNumBits(java.lang.Class<T> type)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.