Package boofcv.alg.denoise.wavelet
Class SubbandShrink<I extends boofcv.struct.image.ImageGray<I>>
- java.lang.Object
-
- boofcv.alg.denoise.wavelet.SubbandShrink<I>
-
- All Implemented Interfaces:
DenoiseWavelet<I>
- Direct Known Subclasses:
DenoiseBayesShrink_F32,DenoiseSureShrink_F32
public abstract class SubbandShrink<I extends boofcv.struct.image.ImageGray<I>> extends java.lang.Object implements DenoiseWavelet<I>
Performs an adaptive threshold based wavelet shrinkage across each of the wavelet subbands in each layer of the transformed image.
-
-
Field Summary
Fields Modifier and Type Field Description protected ShrinkThresholdRule<I>rule
-
Constructor Summary
Constructors Modifier Constructor Description protectedSubbandShrink(ShrinkThresholdRule<I> rule)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract java.lang.NumbercomputeThreshold(I subband)Compute the threshold for the specified subband.protected voidperformShrinkage(I transform, int numLevels)Performs wavelet shrinking using the specified rule and by computing a threshold for each subband.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface boofcv.alg.denoise.DenoiseWavelet
denoise
-
-
-
-
Field Detail
-
rule
protected ShrinkThresholdRule<I extends boofcv.struct.image.ImageGray<I>> rule
-
-
Constructor Detail
-
SubbandShrink
protected SubbandShrink(ShrinkThresholdRule<I> rule)
-
-
Method Detail
-
computeThreshold
protected abstract java.lang.Number computeThreshold(I subband)
Compute the threshold for the specified subband.- Parameters:
subband- Subband whose threshold is being computed.- Returns:
-
performShrinkage
protected void performShrinkage(I transform, int numLevels)
Performs wavelet shrinking using the specified rule and by computing a threshold for each subband.- Parameters:
transform- The image being transformed.numLevels- Number of levels in the transform.
-
-