|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.neuroph.easyneurons.imgrec.ImagesLoader
public class ImagesLoader
| Constructor Summary | |
|---|---|
ImagesLoader()
|
|
| Method Summary | |
|---|---|
static java.util.Map<java.lang.String,org.neuroph.contrib.imgrec.FractionRgbData> |
getFractionRgbDataForDirectory(java.io.File imgDir,
java.awt.Dimension samplingResolution)
Loads images from the specified dir, scales to specified resolution and creates RGB data for each image Puts RGB data in a Map using filenames as keys, and rerurns that amp |
static java.awt.image.BufferedImage |
loadImage(java.io.File imgFile,
java.awt.Dimension samplingResolution)
Loads image from file into BufferedImage object and scales image to sampling resolution |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImagesLoader()
| Method Detail |
|---|
public static java.util.Map<java.lang.String,org.neuroph.contrib.imgrec.FractionRgbData> getFractionRgbDataForDirectory(java.io.File imgDir,
java.awt.Dimension samplingResolution)
throws java.io.IOException
imgDir - samplingResolution -
java.io.IOException
public static java.awt.image.BufferedImage loadImage(java.io.File imgFile,
java.awt.Dimension samplingResolution)
throws java.io.IOException
imgFile - samplingResolution -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||