Class ImageLoadingUtility


  • public final class ImageLoadingUtility
    extends java.lang.Object
    A utility wrapper for loading images from the file system.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void loadImage​(java.lang.String path, int flags, org.bytedeco.javacpp.opencv_core.Mat dst)
      Loads the image into the destination Mat
      static void loadImage​(java.lang.String path, org.bytedeco.javacpp.opencv_core.Mat dst)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • loadImage

        public static void loadImage​(java.lang.String path,
                                     org.bytedeco.javacpp.opencv_core.Mat dst)
                              throws java.io.IOException
        Throws:
        java.io.IOException
      • loadImage

        public static void loadImage​(java.lang.String path,
                                     int flags,
                                     org.bytedeco.javacpp.opencv_core.Mat dst)
                              throws java.io.IOException
        Loads the image into the destination Mat
        Parameters:
        path - The location on the file system where the image exists.
        flags - Flags to pass to imread opencv_imgcodecs.imread(String, int)
        dst - The matrix to load the image into.
        Throws:
        java.io.IOException