Upload
aloove66
View
409
Download
5
Tags:
Embed Size (px)
DESCRIPTION
min filter matlab code
Citation preview
8/26/2014 MIN FILTER - MATLAB CODE | IMAGE PROCESSING
http://angeljohnsy.blogspot.com/2013/04/min-filter-matlab-code.html 1/5
Email address... Submit
HOME TABLE OF CONTENTS ABOUT ME CONTACT ME PAID PROJECTS
Gear Box Manufacturerwww4.nord.com/
High Quality Gear Box Manufacturer. Pioneer Since 1965. Enquire Now!
Lets Learn together... Happy Reading
" Two roads diverged in a wood, and I,
I took the one less traveled by,
And that has made all the difference "-Robert Frost
IMAGE PROCESSING
Lee filterLets realize a Lee filter using MATLAB for despeckling of an image. Since its a patch based processing, thecomputation cost will be...
More
Tile Memory GameTile Memory game - Win the game by matching equivalent tiles. Initially, there will be a 2 by 2 matrix having 2 pairsof equivalent...
More
One Dimensional Low pass , High Pass and band pass filteringConsider a one dimensional signal in time domain. For instance, generate cosine waves of different amplitudes anddifferent frequencies and...
More
RecentPosts
MIN FILTER - MATLAB CODE
MIN FILTER
To find the darkest points in an image.
Finds the minimum value in the area encompassed by the filter.
Reduces the salt noise as a result of the min operation.
The 0th percentile filter is min filter.
The MIN Filtering is similar to MAX filter. Check MAX filter post to know how the formula is used tofilter the pepper noise.
MATLAB CODE:
%READ AN IMAGE
GRABYOURFREEGIFTTODAY
Support this blog by leaving
your valuable comments and a
like on Facebook Fan Page.
THANKS FOR READING
LIKE"IMAGEPROCESSING"
ADDME
8/26/2014 MIN FILTER - MATLAB CODE | IMAGE PROCESSING
http://angeljohnsy.blogspot.com/2013/04/min-filter-matlab-code.html 2/5
A = imread('board.tif');
A = rgb2gray(A(1:300,1:300,:));
figure,imshow(A),title('ORIGINAL IMAGE');
%PREALLOCATE THE OUTPUT MATRIX
B=zeros(size(A));
%PAD THE MATRIX A WITH ZEROS
modifyA=padarray(A,[1 1]);
x=[1:3]';
y=[1:3]';
for i= 1:size(modifyA,1)-2
for j=1:size(modifyA,2)-2
%VECTORIZED METHOD
window=reshape(modifyA(i+x-1,j+y-1),[],1);
%FIND THE MINIMUM VALUE IN THE SELECTED WINDOW
B(i,j)=min(window);
end
end
%CONVERT THE OUTPUT MATRIX TO 0-255 RANGE IMAGE TYPE
B=uint8(B);
figure,imshow(B),title('IMAGE AFTER MIN FILTERING');
IMAGE PROCESSING
+ 176
Follow
Image Processing
2,474 people like Image Processing.
Facebook social plugin
Like
ItsTotallyRandom
Subscribe in a reader
SubscribeNow:
YOUAREHERE
8/26/2014 MIN FILTER - MATLAB CODE | IMAGE PROCESSING
http://angeljohnsy.blogspot.com/2013/04/min-filter-matlab-code.html 3/5
Like "IMAGE PROCESSING" page
Labels: Removing Image noise
Your Reactions: Useful (2) Interesting (1) Not bad (0) :-( (0)
How to create
Video from still
image
Image Illusion Lossless
Predictive coding -
MATLAB CODE
You might also like:
Linkwithin
0 comments:
Enjoyed Reading? Share Your Views
Live Traffic Feed
Real-time view Menu
A visitor from Ethiopia viewed"Matlab code: Histogram
equalization without using histeq
function | IMAGE
PROCESSING" 2 mins agoA visitor from Trichy, Tamil Nadu
viewed "MATLAB CODE:Local
Histogram equalization | IMAGE
PROCESSING" 3 mins agoA visitor from Trichy, Tamil Nadu
viewed "MATLAB CODE:LocalHistogram equalization | IMAGE
PROCESSING" 3 mins agoA visitor from India viewed
"FACE DETECTION -
MATLAB CODE | IMAGE
PROCESSING" 5 mins agoA visitor from India viewed"FACE DETECTION -
MATLAB CODE | IMAGEPROCESSING" 7 mins agoA visitor from Gainesville, Florida
viewed "RGB Image to Grayscale
Image without using rgb2gray
function | IMAGE
PROCESSING" 8 mins agoA visitor from Perth, Western
Australia viewed "RGB Image toGrayscale Image without using
rgb2gray function | IMAGE
PROCESSING" 9 mins agoA visitor from Mumbai,
Maharashtra viewed "Sobel edgedetection | IMAGE
PROCESSING" 10 mins agoA visitor from United Kingdomviewed "Text On Sphere -
MATLAB CODE | IMAGE
PROCESSING" 11 mins agoA visitor from Coimbatore, TamilNadu viewed "MATLAB
PROGRAM : 2D MEDIAN
FILTERING FOR SALT AND
PEPPER NOISE WITHOUT
GUI Components inMATLAB RemovingImage noise ImageConversion Photoshopeffects in MATLAB Edgedetection MATLABBUILT_IN FUNCTIONSMorphological ImageProcessing Array functions inMATLAB Video Processing ObjectIdentification Optical illusionShapes Templates
TAGS
Files Histogram
equalization Image Compression
Image Arithmetic Image Geometry
Followers