Closed maurosilber closed 2 years ago
@maurosilber wrote:
I tried looking into the code, but could not found it.
If you are using Fiji, you can find the source code by typing "Subtract Background" into the search bar, then clicking the "Source" button in the right-hand pane. Here is the code:
Personally, I do not like the "Subtract Background" command; the algorithm seems to have weird artifacts to me. But I never dug into the code to find out why. I just use a workflow like this instead:
Please feel warmly welcome to improve the Image Intensity Processing page, and really any page, on the wiki—that's why it is a wiki. The original authors of those Scientific Imaging Tutorials pages are mostly long gone, so it's up to the community to improve them as ImageJ evolves.
In the docs, it says:
https://github.com/imagej/imagej.github.io/blob/7bfdac0328bb0f2b9c211562006ec764829bf011/_pages/imaging/image-intensity-processing.md#roi-background-correction
Why the mean plus 3 standard deviations? I would understand this decision for segmentation purposes, but not for image intensity processing, where the mean (or median) would be more appropriate. Is it still the default value? I tried looking into the code, but could not found it.