3rd July

Today I tried to modify the same functions again. I added a option for user to enter threshold value manually if he/she wishes to. The user may optionally enter threshold value or the default value is set to 0.45.

I used separate function manmorph.m to use iopen and iclose operations of the toolbox.

function out = manmorph(image)
ip = iopen(image, ones(20,20)); %erosion then dilation
%out=image;
out = iclose(ip, ones(20,20));  %dilation then erosion
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s