Class ImageLoader
- java.lang.Object
-
- edu.gsu.cs.dmlab.imageproc.imageparam.util.ImageLoader
-
public class ImageLoader extends Object
This class loads images from a local disk into aBufferedImage
. It is created only to mock the process of loading the input image, since in the main project we do not load images from a local machine.- Author:
- Azim Ahmadzadeh, Data Mining Lab, Georgia State University
-
-
Constructor Summary
Constructors Constructor Description ImageLoader(String imgDir)
-
-
-
Constructor Detail
-
ImageLoader
public ImageLoader(String imgDir) throws FileNotFoundException
- Parameters:
imgDir
- The directory of the input file.- Throws:
FileNotFoundException
- in case the directory doesn't exist.IOException
- in case of problem in loading the file.
-
-
Method Detail
-
getBImage
public BufferedImage getBImage()
-
-