Background substraction on color image

Hello,
I just have a simple question. I would like to do a background substraction on a color image before I run the module unmixcolor. I have not found yet how to perform this operation? I used to do it on ImageJ with “substract background”. However if I use the module runImageJ, the software asks for a grayscale image.
Thanks,
Hugues

Hi Hugues,

To do this, you would need to use ColorToGray to split the image channels into the individual color components, and then perform background subtraction on each channel (using CorrectIlluminationCalculate/Apply or EnhanceOrSupressFeatures). After the correction, use GrayToColor to combine the corrected channels back into a color image, and then use UnmixColors.

Regards,
-Mark

Thanks a lot.