|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Facemorph.psm.SteerablePyramid
public class SteerablePyramid
Implementation of Steerable pyramid
Constructor Summary | |
---|---|
SteerablePyramid()
|
Method Summary | |
---|---|
void |
buildPyramid(FloatImage fimg,
java.util.ArrayList<Filter> filters,
Filter lowpassFilter,
int maxLev)
Build a pyramid from and image |
FloatImage |
getLinearCombination(float[] weights,
int level)
Get a linear combination of different subbands in the same level |
FloatImage |
getLowpass()
Get the lowpass component |
SteerablePyramid |
getReweightedPyramid(java.util.ArrayList<float[]> weights)
Get a pyramid formed as a weighted linear combination of subbands |
FloatImage |
getSubband(int i)
Get subband i |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SteerablePyramid()
Method Detail |
---|
public void buildPyramid(FloatImage fimg, java.util.ArrayList<Filter> filters, Filter lowpassFilter, int maxLev)
fimg
- the imagefilters
- the set of filters to use a each scalelowpassFilter
- the low pass filter to start a new pyramid levelmaxLev
- the maximum levels to buildpublic FloatImage getLinearCombination(float[] weights, int level) throws java.lang.RuntimeException
weights
- the weight for each subbandlevel
- the level to work at
java.lang.RuntimeException
public SteerablePyramid getReweightedPyramid(java.util.ArrayList<float[]> weights)
weights
- the weights
public FloatImage getSubband(int i)
i
- the index
public FloatImage getLowpass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |