Facemorph.haar
Class HaarStage

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Tree>
              extended by Facemorph.haar.HaarStage
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Tree>, java.util.Collection<Tree>, java.util.List<Tree>, java.util.RandomAccess

public class HaarStage
extends java.util.ArrayList<Tree>

Represents one stage of the haar classifier

See Also:
Serialized Form

Field Summary
static long serialVersionUID
          ID for serialisation
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
HaarStage(double threshold)
          Construct a HaarStage
 
Method Summary
 double getThreshold()
          Get the threshold
 void setThreshold(double thresh)
          Set the threshold
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Field Detail

serialVersionUID

public static final long serialVersionUID
ID for serialisation

See Also:
Constant Field Values
Constructor Detail

HaarStage

public HaarStage(double threshold)
Construct a HaarStage

Parameters:
threshold - the threshold to use
Method Detail

getThreshold

public double getThreshold()
Get the threshold

Returns:
the threshold

setThreshold

public void setThreshold(double thresh)
Set the threshold

Parameters:
thresh - the new threshold