I’m trying to correct the illumination on my images using the CorrectIllumination_calculate module. I’m using the background option of this module but I always get black borders on the bottom and at the right of the Illumination correction function. I tried different settings but the black borders are always there. I notice the black border size decrease if I decrease the block size (it’s now set to 60) but never disappear. I’m doing the correction on each image (the illumination pattern change between pictures…). I haven’t really play with the smoothing for now as I would like to correct this problem before.
Can somebody know how I could remove this ? Did I miss something ? I sent an image of a function I got (median_filter and artifacts to be smoothed at 100).