|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mebigfatguy.polycasso.Feedback
public class Feedback
an immutable class for processing a test image against target image for closeness.
Constructor Summary | |
---|---|
Feedback(java.awt.image.BufferedImage targetImage)
creates a feedback object with a given targetImage. |
Method Summary | |
---|---|
long |
calculateDelta(java.awt.image.BufferedImage testImage)
returns a score of how close the test image is to the target which is the square of the error to the target image |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Feedback(java.awt.image.BufferedImage targetImage)
targetImage
- the target image that will be the judge of test imagesMethod Detail |
---|
public long calculateDelta(java.awt.image.BufferedImage testImage)
testImage
- the image to score
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |