3.88235

3.9 | 17 ratings Rate this file 17 Downloads (last 30 days) File Size: 2.42 KB File ID: #4052
image thumbnail

Binary Image Processing

by M M

 

09 Oct 2003 (Updated 09 Oct 2003)

Morphological operations on binary images.

| Watch this File

File Information
Description

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

Required Products Image Processing Toolbox
MATLAB release MATLAB 6.0 (R12)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (20)
09 Oct 2003 Mina Saleh  
12 Oct 2003 fady atef  
29 Oct 2003 Vick C

What is the point of this program? It just links to the bwmorph.m matlab file which does eveything.

17 Dec 2003 fatih talu  
12 Jul 2004 Sruinivas Kuch

VEry useful program for doing Normalized contrast

20 Apr 2005 Alfonso Bueno

This contribution is really useless. Why the author just didn't write: "Please type help bwmorph"?

29 Jan 2006 Farshad Amin

Very good

01 Apr 2006 minh quang nguyen

can you send me complete source code

28 Jul 2006 Helmut Renz  
02 Dec 2006 sabi s

hi

27 Jan 2007 Mohamed Ali CHERNI

Hello,
I encourage you for the work which you made and I encourage you still more to improve it. For my share, I thank you because your work was to me of a so invaluable help.

Thank you!

11 Jul 2007 Rajeswari Kumar  
20 Oct 2007 Sarvagya Dwivedi  
15 Nov 2007 Quan Tran

I can it, thank you

17 Apr 2008 Richard Geister

Just a wrapper around Image processing toolbox bwmorph. Adds no value.

25 Aug 2008 Toi Toi

dfsdfsdfs

12 Dec 2008 Michael Habib

Good work Mina,
You are so talented in programming. Good luck to you.

17 Feb 2009 Denis M Antony  
19 Dec 2009 chaogui xia  
13 Feb 2010 Nitin Kumar  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
morphology M M 22 Oct 2008 07:08:36
segmentation M M 22 Oct 2008 07:08:36
binary image Cristina McIntire 05 Feb 2009 15:01:17
morphological Cristina McIntire 05 Feb 2009 15:01:17
processing Cristina McIntire 05 Feb 2009 15:01:17
detection of vitritis using segmentation vidhya raghu 10 Feb 2009 12:40:34
binary image parul 30 Apr 2011 04:41:13

Contact us at files@mathworks.com