|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectutil.wavelet.SimpleSignal
util.wavelet.Signal
util.wavelet.Scale
public class Scale
A wavelet scale containing wavelet coefficients.
| Field Summary | |
|---|---|
static boolean |
POSITIVE
If true only positive features are detected. |
protected int[] |
structureLookupTable
A lookup table for efficiently accessing the Structure at a given index, if -1 then no structure |
List<Structure> |
structures
Structures in this level. |
| Constructor Summary | |
|---|---|
Scale(SimpleSignal signal,
int scaleNumber)
Construct using an array of wavelet coefficients and an array of noise values encoded as an instance of signal. |
|
| Method Summary | |
|---|---|
void |
add(SimpleSignal signal,
int index)
If this scale contains Structures which belong to a given WObject then add those wavelet coefficients to a given signal and return results in that signal. |
int |
getScaleNumber()
Get the scale number. |
Structure |
getStructure(int position)
Get the Structure at the given pixel position or null if none exists there. |
List<Structure> |
getStructures()
Get the Structures. |
float |
getValue(int position,
int wObjectIndex)
Get the wavelet coefficient value at the given position and for the given WObject, zero otherwise. |
| Methods inherited from class util.wavelet.Signal |
|---|
getNoise, getNoise, getNoiseMultiplier, isAboveNoise, isBelowNoise, setNoise, setNoise |
| Methods inherited from class util.wavelet.SimpleSignal |
|---|
add, add, convolve, estimateNumberOfScales, getBoundaryCondition, getChirp, getDirac, getGaussianDeviate, getGaussianNoise, getScalingFunction, getSubset, getValue, getWavelet, multiply, multiply, multiply, multiply, setBoundaryCondition, setValue, size, square, square, subtract, subtract |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int[] structureLookupTable
public List<Structure> structures
public static final boolean POSITIVE
| Constructor Detail |
|---|
public Scale(SimpleSignal signal,
int scaleNumber)
signal - a SimpleSignal| Method Detail |
|---|
public Structure getStructure(int position)
Structure at the given pixel position or null if none exists there.
position - pixel position
Structure at the given position or null if none exists therepublic List<Structure> getStructures()
public float getValue(int position,
int wObjectIndex)
WObject, zero otherwise.
Precondition : 0 ≥ index ≤ size().
position - must be within the wavelet coefficients of this ScalewObjectIndex - WObject index
public void add(SimpleSignal signal,
int index)
signal - the signal to be added to this scaleindex - the object index topublic int getScaleNumber()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||