features.filterBanks
Class FilterBank

java.lang.Object
  extended by features.filterBanks.FilterBank
Direct Known Subclasses:
Canny, Gabor, GaussianDerivative, Hessian, Stereo, Variance

public abstract class FilterBank
extends java.lang.Object


Field Summary
static int OPPONENCIES
           
 
Constructor Summary
FilterBank(float[] scales)
          Michael should also work with grayscale images, how do we do that?
FilterBank(float[] scales, int[] channels)
           
 
Method Summary
abstract  int getNumber()
          Return the number of filters in this filter bank.
abstract  java.lang.String name(int filternumber, java.lang.String preString)
          Get the feature name for filternumber.
static float[] scaleSet(int n)
          Return a set of n good scales for scale space.
static float[] thetaSet(int n)
          Return a set of good filter orientations (thetas) for filters of order.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPPONENCIES

public static final int OPPONENCIES
See Also:
Constant Field Values
Constructor Detail

FilterBank

public FilterBank(float[] scales)
Michael should also work with grayscale images, how do we do that?

Parameters:
scales - float[]

FilterBank

public FilterBank(float[] scales,
                  int[] channels)
Method Detail

getNumber

public abstract int getNumber()
Return the number of filters in this filter bank.


name

public abstract java.lang.String name(int filternumber,
                                      java.lang.String preString)
Get the feature name for filternumber.


thetaSet

public static float[] thetaSet(int n)
Return a set of good filter orientations (thetas) for filters of order. n 0 = 0 (trivial) n 1 = 0, 90 degrees n 2 = 0, 60, 120 degrees, etc...


scaleSet

public static float[] scaleSet(int n)
Return a set of n good scales for scale space. 1,2,4,8,16...

Returns:
a float[] with increasing scales.