I have a program that exports an image of multiple cell nuclei with each nuclei enclosed by a red outline. I would like to import this image into Cell Profiler and then identify each of these nuclei as an object according to the red outlines.
Currently, I use EnhanceEdges to amplify the red outlines, ApplyThreshold to extract rough white outlines from that, EnhanceEdges again to make the outlines clearer, and then ApplyThreshold to create a binary image where the outlines of the nuclei are white and everything else is black. My question is, is there any way to make the regions enclosed by these outlines all white (fill them in), so that image may then be used as a binary mask in IdentifyPrimaryObjects?
Or, is there any better way to use the original red outlines to define objects? Any help is appreciated.