Search in sources :

Example 1 with GaussianBlur

use of ij.plugin.filter.GaussianBlur in project GDSC-SMLM by aherbert.

the class ImageBackground method applyBlur.

private ImageProcessor applyBlur(ImageProcessor median) {
    ImageProcessor blur = median;
    if (sigma > 0) {
        blur = median.duplicate();
        GaussianBlur gb = new GaussianBlur();
        gb.blurGaussian(blur, sigma, sigma, 0.0002);
    }
    return blur;
}
Also used : ImageProcessor(ij.process.ImageProcessor) GaussianBlur(ij.plugin.filter.GaussianBlur)

Aggregations

GaussianBlur (ij.plugin.filter.GaussianBlur)1 ImageProcessor (ij.process.ImageProcessor)1