hi everybody I used a prefabricate fuzzy code for threshold of a number of images. my main goal of using this code was obtaining a general Schematic of images,but when I used this code I reached to the conclusion that the result images are suitable for main purpose. you can see the following image bellow:
but in some cases the result is not fit to my purpose like to following image:
so I decided to put this code in a while loop to run repetitive , till I reach my desirable result like first image that I attached. by seeing the images that I attached I supposed that variance can be a good criteria for a desirable image. but after comparing the variance of the results of the 2 images that I attached, I found that variances are some how similar. I don't have enough information about image features. my question is that ,whether there is any feature that can help me to measure desirability of resulted images with that, and I can use that feature in while loop. I appreciated you if you can suggest me any idea.