src/main/java/com/xceptance/neodymium/visual/ai/util/Helper.java
/***
     * Load all Images from the given folder path. Use an image filter for only allowed images and only images. Images
     * must end with one of the allowed endings {@link Constants#EXTENSIONS}. Takes also a width and height for scaling
     * {@link Helper#imageToBufferedImageScaled(Image, int, int, int)}
     * 
     * @param path
     *            String full path name to the folder
     * @param height
     *            int value for scaling
     * @param width
     *            int value for scaling
     * @return ArrayList all found BufferedImages in the folder
     */
Load all Images from the given folder path. Use an image filter for only allowed images and only images. Images
must end with one of the allowed endings  Constants#EXTENSIONS. Takes also a width and height for scaling
Helper#imageToBufferedImageScaled(Image, int, int, int)

@param path
String full path name to the folder
@param height
int value for scaling
@param width
int value for scaling
@return ArrayList all found BufferedImages in the folder
Load all Images from the given folder path . Use an image filter for only allowed images and only images . Images must end with one of the allowed endings Constants#EXTENSIONS . Takes also a width and height for scaling Helper#imageToBufferedImageScaled ( Image int int int ) @param path String full path name to the folder @param height int value for scaling @param width int value for scaling @return ArrayList all found BufferedImages in the folder
public static ArrayList<BufferedImage> loadAllImagesScaled_BufferedImage(String path, int height, int width)
    {
        ArrayList<BufferedImage> pictureList = new ArrayList<>();
        File[] list = scanFolder(path);
        if (list != null)
        {
            for (File element : list)
            {
                BufferedImage tempimage = loadImage(path + File.separator + element.getName());
                pictureList.add(imageToBufferedImageScaled(tempimage, BufferedImage.TYPE_INT_RGB, height, width));
            }
        }
        return pictureList;
    }
public static ArrayList < BufferedImage > loadAllImagesScaled_BufferedImage ( String path , int height , int width ) { ArrayList < BufferedImage > pictureList = new ArrayList < > ( ) ; File [ ] list = scanFolder ( path ) ; if ( list != null ) { for ( File element : list ) { BufferedImage tempimage = loadImage ( path + File . separator + element . getName ( ) ) ; pictureList . add ( imageToBufferedImageScaled ( tempimage , BufferedImage . TYPE_INT_RGB , height , width ) ) ; } } return pictureList ; }
Load all Images from the given folder path.
Load all Images from the given folder path .