public class ShrinkThresholdSoft_I32 extends java.lang.Object implements ShrinkThresholdRule<GrayS32>
Soft rule for shrinking an image: T(x) = sgn(x)*max(|x|-T,0)
| Constructor and Description |
|---|
ShrinkThresholdSoft_I32() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(GrayS32 image,
java.lang.Number threshold)
Applies shrinkage to entire image.
|
public void process(GrayS32 image, java.lang.Number threshold)
ShrinkThresholdRuleprocess in interface ShrinkThresholdRule<GrayS32>image - Image which is to be thresholded. Is modified.threshold - Threshold used to modify the image.