Study

Edge Sharpening

Citra Filter Maksimum

clear all;

clc;

I = imread (‘bonemarr.tif’);

If = nlfilter (I, [3,3],’max(x(:))’);

subplot (2,2,1),, imshow (I)

title (‘citra input’)

subplot (2,2,2),, imshow (If)

title (‘citra filter maks’)

subplot (2,2,3),,imhist(I)

subplot (2,2,4),,imhist (If)

 

Citra Filter Minimum

clear all;

clc;

I = imread (‘bonemarr.tif’);

If = nlfilter (I, [3,3],’min(x(:))’);

subplot (2,2,1),, imshow (I)

title (‘citra input’)

subplot (2,2,2),, imshow (If)

title (‘citra filter maks’)

subplot (2,2,3),,imhist(I)

subplot (2,2,4),,imhist (If)

 

Citra Filter Median

clear all;

clc;

I = imread (‘bonemarr.tif’);

If = medfilt2(I);

subplot (2,2,1),, imshow (I)

title (‘citra input’)

subplot (2,2,2),, imshow (If)

title (‘citra filter maks’)

subplot (2,2,3),,imhist(I)

subplot (2,2,4),,imhist (If)

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