I have attached A PDF of code and two images in binary. They are from the same image that is the first attachment however the conversion to binary has created two very different binary images. The first image is from cluster 2 of the LaB segmented command and then I use the imfill command of this image.The second binary image had it's holes filled with the imfill command after a conversion to grayscale. I have over fifty of these images and some of the images require the first method while others do the second method. There are a few photos that work for both methods but when I compare the regionprops calculations for area, axislength, etc the results are very different. It is important to be consistent as I am looking for the difference in two different scenarios.
I would appreciate any guidance to fill the image so you can no longer see the barb and the yellow plume is converted to a continuous, binary image for further analysis.
I can also provide any additional information if that would help.
Thanks for the help.