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