Binary Image Processing
This program performs morphological operations on binary images
Sample Run:
>> binaryim
This program performs morphological operations on binary image
Entering the image for MATLAB...
Note that if You entered a gray scale or RGB image (not Binary),
It will be converted to Binary Image by Thresholding
Save the image or its copy in MATLAB working Directory
Enter the name of the image file (filename.ext) : cat.bmp
Click (1) to Perform Erosion
Click (2) to Perform Dilation
Click (3) to Perform Binary Opening
Click (4) to Perform Binary Closing
Click (5) to Subtract the Opening from the Input Image
Click (6) to Subtract the Input Image from its Closing
Click (7) to Remove isolated pixels (1's surrounded by 0's)
Click (8) to Fill isolated interior pixels (0's surrounded by 1's)
Click (9) to Leave only boundary pixels
Click (10) to Shrink objects to points
Click (11) to Make objects Thicker
Click (12) to Make objects Thinner
You select the Choice number : 9
Do you like to SAVE Result Image? (y/n) : y
You choose to SAVE the Result Image
Type the name of the new image file (filename.ext) : cat111.jpg
Saving ...
The new file is called cat111.jpg and it is saved in MATLAB working Directory