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