|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.anji.imaging.ImageRandomizer
TODO - bicubic with JDK 1.5
Field Summary | |
static java.lang.String |
IMG_MATCH_COUNT_KEY
number of image files to place in match directory |
static java.lang.String |
IMG_MISMATCH_COUNT_KEY
number of image files to place in mismatch directory |
static java.lang.String |
IMG_RANDOMIZE_KEY
property to determine if images should be randomized |
Constructor Summary | |
ImageRandomizer()
|
Method Summary | |
void |
init(Properties props)
|
void |
transformFiles(java.io.File destMatchDIr,
java.io.File destMismatchDir)
clears destination dirs then populates them with new transformed images |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String IMG_RANDOMIZE_KEY
public static final java.lang.String IMG_MATCH_COUNT_KEY
public static final java.lang.String IMG_MISMATCH_COUNT_KEY
Constructor Detail |
public ImageRandomizer()
Method Detail |
public void init(Properties props) throws java.io.IOException
init
in interface Configurable
props
-
java.io.IOException
public void transformFiles(java.io.File destMatchDIr, java.io.File destMismatchDir) throws java.io.IOException
destMatchDIr
- directory to which transformed match image files are writtendestMismatchDir
- directory to which transformed mismatch image files are written
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |