|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Facemorph.haar.Feature
public class Feature
A set of rectangles
Constructor Summary | |
---|---|
Feature(java.util.ArrayList<Rect> rects,
boolean tilt)
Constructs a set of rectangles |
Method Summary | |
---|---|
void |
calcHidRects(double scale)
Calculate the hidden rectangles |
void |
flipHorizontal(int width)
Flip the set of rectangles horizontally |
Rect[] |
getHidRects()
Get the hidden rectangles |
Rect[] |
getRects()
Get the rectangles |
boolean |
getTilt()
Get the tilt |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Feature(java.util.ArrayList<Rect> rects, boolean tilt)
rects
- list of rectangles to usetilt
- tiltedMethod Detail |
---|
public void flipHorizontal(int width)
width
- the width of the windowpublic Rect[] getRects()
public Rect[] getHidRects()
public boolean getTilt()
public java.lang.String toString()
toString
in class java.lang.Object
public void calcHidRects(double scale)
scale
- the scale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |