07-01-2013 03:49 PM
I am trying to replicate a gray processing function call "black flood". This is found in Leica image analysis software. The documentation reads, "Fills in black detail without affecting the boundaries. This is done by closing by the selected number of cycles and then performing a gray-level reconstruction.”
Any ideas how to pull this off in IMAQ Vision?
Thanks!
07-02-2013 04:37 PM
Hello Steverino,
Are you applying this processing to a grayscale image? It sounds like the function is applying some morphological steps on the image. Our Vision Development Module includes binary morphology, however this "black flood" sounds like a higher level function that probably includes multiple image processing steps. Would it be possible to see some example images so that we can make better suggestions?
07-07-2013 01:57 PM
IMAQ has Gray level reconstruction.
It seems to me like you want to implement the Matlab function imfill.
You don't have to do closing if you don't want to. This logic will work even without the closing. Closing will remove the raged edges.
What you need to do is to inverse the image so the black holes will be bright.
Then you use the image reconstruction to fill up the holes.
Then inverse the image back.
Thanks - Amit,