Class SubbandShrink<I extends 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 ImageGray<I>> extends 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 Details

  • Constructor Details

  • Method Details

    • computeThreshold

      protected abstract Number computeThreshold(I subband)
      Compute the threshold for the specified subband.
      Parameters:
      subband - Subband whose threshold is being computed.
    • 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.