|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Facemorph.AWN
public class AWN
Protoype (i.e. not working) Active Wavelet Network object detector
Field Summary | |
---|---|
float |
intensity
The intensity of something |
Constructor Summary | |
---|---|
AWN()
Creates a new instance of AWN |
Method Summary | |
---|---|
void |
addWavelet(Facemorph.Wavelet w)
Add the given wavelet to the set of wavelets |
FloatImage |
draw(int w,
int h)
Draws the wavelets to a FloatImage |
void |
fitToImage(FloatImage fimg)
Attempt to fit a wavelet network to an image |
void |
initialise(int count,
int width,
int height,
float inten)
Initialises the AWN with some random data |
static void |
main(java.lang.String[] args)
Main method for testing |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float intensity
Constructor Detail |
---|
public AWN()
Method Detail |
---|
public FloatImage draw(int w, int h)
w
- The width of the FloatImageh
- The height of the FloatImage
public void addWavelet(Facemorph.Wavelet w)
w
- The wavelet to addpublic void fitToImage(FloatImage fimg)
fimg
- The image to fit the AWN topublic void initialise(int count, int width, int height, float inten)
count
- The number of waveletswidth
- width of the image to fit them intoheight
- height of the image to fit them intointen
- the peak intensitypublic static void main(java.lang.String[] args)
args
- String args not currently used (hard coded tests)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |