Class ShrinkThresholdHard_I32

  • All Implemented Interfaces:
    ShrinkThresholdRule<boofcv.struct.image.GrayS32>

    public class ShrinkThresholdHard_I32
    extends java.lang.Object
    implements ShrinkThresholdRule<boofcv.struct.image.GrayS32>

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

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void process​(boofcv.struct.image.GrayS32 image, java.lang.Number threshold)
      Applies shrinkage to entire image.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShrinkThresholdHard_I32

        public ShrinkThresholdHard_I32()
    • Method Detail

      • process

        public void process​(boofcv.struct.image.GrayS32 image,
                            java.lang.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<boofcv.struct.image.GrayS32>
        Parameters:
        image - Image which is to be thresholded. Is modified.
        threshold - Threshold used to modify the image.