public class ShrinkThresholdSoft_I32 extends Object implements ShrinkThresholdRule<ImageSInt32>
Soft rule for shrinking an image: T(x) = sgn(x)*max(|x|-T,0)
| Constructor and Description |
|---|
ShrinkThresholdSoft_I32() |
public void process(ImageSInt32 image, Number threshold)
ShrinkThresholdRuleprocess in interface ShrinkThresholdRule<ImageSInt32>image - Image which is to be thresholded. Is modified.threshold - Threshold used to modify the image.Copyright © 2013. All Rights Reserved.