Run this program with a small image of about 100x100 pixels its because though it works on image of any size but for large images the execution time is very high. So if you do not want to wait for a very long time use a small image.
minor bugs fixed
a wait bar has been added
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.