Package boofcv.alg.denoise.wavelet
Class DenoiseSureShrink_F32
- java.lang.Object
-
- boofcv.alg.denoise.wavelet.SubbandShrink<boofcv.struct.image.GrayF32>
-
- boofcv.alg.denoise.wavelet.DenoiseSureShrink_F32
-
- All Implemented Interfaces:
DenoiseWavelet<boofcv.struct.image.GrayF32>
public class DenoiseSureShrink_F32 extends SubbandShrink<boofcv.struct.image.GrayF32>
SureShrink denoises wavelets using a threshold computed by minimizing Stein's Unbiased Risk Estimate (SURE). In practice a hybrid approach was found to work best where either the Stein threshold or the universal threshold proposed by VisuShrink is used.
This implementation computes a threshold for each subband.
D. Donoho, L. Johnstone, "Adapting to Unknown Smoothness via Wavelet Shrinkage" Journal of the American Statistical Association, Vol. 90, No. 432, December 1995, pp. 1200-1224
-
-
Field Summary
-
Fields inherited from class boofcv.alg.denoise.wavelet.SubbandShrink
rule
-
-
Constructor Summary
Constructors Constructor Description DenoiseSureShrink_F32()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.NumbercomputeThreshold(boofcv.struct.image.GrayF32 subband)Compute the threshold for the specified subband.voiddenoise(boofcv.struct.image.GrayF32 transform, int numLevels)Removes noise from the multi-level wavelet transform.-
Methods inherited from class boofcv.alg.denoise.wavelet.SubbandShrink
performShrinkage
-
-
-
-
Method Detail
-
computeThreshold
protected java.lang.Number computeThreshold(boofcv.struct.image.GrayF32 subband)
Description copied from class:SubbandShrinkCompute the threshold for the specified subband.- Specified by:
computeThresholdin classSubbandShrink<boofcv.struct.image.GrayF32>- Parameters:
subband- Subband whose threshold is being computed.- Returns:
-
denoise
public void denoise(boofcv.struct.image.GrayF32 transform, int numLevels)Description copied from interface:DenoiseWaveletRemoves noise from the multi-level wavelet transform.- Parameters:
transform- Transform of the original image.numLevels- NUmber of levels in the transform.
-
-