Class ShrinkThresholdSoft_I32

java.lang.Object
boofcv.alg.denoise.wavelet.ShrinkThresholdSoft_I32
All Implemented Interfaces:
ShrinkThresholdRule<GrayS32>

public class ShrinkThresholdSoft_I32
extends Object
implements ShrinkThresholdRule<GrayS32>

Soft rule for shrinking an image: T(x) = sgn(x)*max(|x|-T,0)

  • Constructor Details

    • ShrinkThresholdSoft_I32

      public ShrinkThresholdSoft_I32()
  • Method Details

    • process

      public void process​(GrayS32 image, Number threshold)
      Description copied from interface: ShrinkThresholdRule
      Applies 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:
      process in interface ShrinkThresholdRule<GrayS32>
      Parameters:
      image - Image which is to be thresholded. Is modified.
      threshold - Threshold used to modify the image.