Package edu.wpi.grip.core.util
Class ImageLoadingUtility
- java.lang.Object
-
- edu.wpi.grip.core.util.ImageLoadingUtility
-
public final class ImageLoadingUtility extends java.lang.ObjectA utility wrapper for loading images from the file system.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidloadImage(java.lang.String path, int flags, org.bytedeco.javacpp.opencv_core.Mat dst)Loads the image into the destination Matstatic voidloadImage(java.lang.String path, org.bytedeco.javacpp.opencv_core.Mat dst)
-
-
-
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.IOExceptionLoads the image into the destination Mat- Parameters:
path- The location on the file system where the image exists.flags- Flags to pass to imreadopencv_imgcodecs.imread(String, int)dst- The matrix to load the image into.- Throws:
java.io.IOException
-
-