Facemorph.haar
Class Face

java.lang.Object
  extended by Facemorph.haar.Face

public class Face
extends java.lang.Object

Essentially a square with a certain scale and location


Field Summary
static double eps
          Tolerence for grouping
 double scale
          The scale of the picture in the summed area table as a function of the filter size.
static int width
          Width
 int xOffset
          The x offset of the picture in the summed area table.
 int yOffset
          The y offset of the picture in the summed area table.
 
Constructor Summary
Face(int xOffset, int yOffset, double scale)
          Constructs a new pointer to the picture where a face is.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 double getScale()
          Returns the scale of the picture in the summed area table as a function of the filter size.
 int getXOffset()
          Returns the x offset of the picture in the summed area table.
 int getYOffset()
          Returns the y offset of the picture in the summed area table.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

xOffset

public int xOffset
The x offset of the picture in the summed area table.


yOffset

public int yOffset
The y offset of the picture in the summed area table.


scale

public double scale
The scale of the picture in the summed area table as a function of the filter size.


eps

public static double eps
Tolerence for grouping


width

public static int width
Width

Constructor Detail

Face

public Face(int xOffset,
            int yOffset,
            double scale)
Constructs a new pointer to the picture where a face is.

Parameters:
xOffset - The x offset of the picture in the summed area table.
yOffset - The y offset of the picture in the summed area table.
scale - The scale of the picture in the summed area table as a function of the filter size.
Method Detail

getXOffset

public int getXOffset()
Returns the x offset of the picture in the summed area table.

Returns:
The x offset of the picture in the summed area table.

getYOffset

public int getYOffset()
Returns the y offset of the picture in the summed area table.

Returns:
The y offset of the picture in the summed area table.

getScale

public double getScale()
Returns the scale of the picture in the summed area table as a function of the filter size.

Returns:
The scale of the picture in the summed area table as a function of the filter size.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object