boofcv.alg.denoise.wavelet
Class ShrinkThresholdSoft_F32
- java.lang.Object
-
- boofcv.alg.denoise.wavelet.ShrinkThresholdSoft_F32
-
- All Implemented Interfaces:
- ShrinkThresholdRule<GrayF32>
public class ShrinkThresholdSoft_F32 extends java.lang.Object implements ShrinkThresholdRule<GrayF32>
Soft rule for shrinking an image: T(x) = sgn(x)*max(|x|-T,0)
-
-
Constructor Summary
Constructors Constructor and Description ShrinkThresholdSoft_F32()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidprocess(GrayF32 image, java.lang.Number threshold)Applies shrinkage to entire image.
-
-
-
Method Detail
-
process
public void process(GrayF32 image, java.lang.Number threshold)
Description copied from interface:ShrinkThresholdRuleApplies shrinkage to entire image. If the rule should only be applied to part of the image then a sub-image should be passed in. If the threshold is an infinite number then all the coefficients are considered below the threshold.- Specified by:
processin interfaceShrinkThresholdRule<GrayF32>- Parameters:
image- Image which is to be thresholded. Is modified.threshold- Threshold used to modify the image.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG