Class ShrinkThresholdHard_F32

java.lang.Object
boofcv.alg.denoise.wavelet.ShrinkThresholdHard_F32
All Implemented Interfaces:
ShrinkThresholdRule<GrayF32>

public class ShrinkThresholdHard_F32 extends Object implements ShrinkThresholdRule<GrayF32>

Hard rule for shrinking an image: T(x) = x*1(|x|>T)

  • Constructor Details

    • ShrinkThresholdHard_F32

      public ShrinkThresholdHard_F32()
  • Method Details

    • process

      public void process(GrayF32 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<GrayF32>
      Parameters:
      image - Image which is to be thresholded. Is modified.
      threshold - Threshold used to modify the image.