Total members 11383 |It is currently Thu Nov 27, 2014 10:07 am Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R

All times are UTC [ DST ]



  Median filter to image
Wed Mar 09, 2011 10:44 pm 

Applying Median filter to image using MATLAB

Code:
%% read the image from the file system to Matrix I 
 I 
= imread('cameraman.tif'); 
   
  
%% create a new figure to show the image . 
   figure
(1);
  %% show the loaded image.
   imshow(I);
   
  
%% apply median filter using the internal matlab function medfilt2 . 
   Y
=medfilt2(I,[5 5]);

   figure(2);
   %% show image after applying the filter 
   imshow
(Y);

   %% write the new image to the file system .
   imwrite(Y,'newimage.gif','GIF');
 


_________________
Please recommend / share my post if you found it helpful.


Author:
Mastermind
User avatar Posts: 2694
Have thanks: 73 time
  Re: Median filter to image
Fri Mar 11, 2011 7:55 am 
Thank you for sharing some useful info!!..


Author:
Newbie
User avatar Posts: 3
Have thanks: 0 time
  Re: Median filter to image
Wed Aug 29, 2012 5:45 pm 
i have to create an innovative filter of my own .
hey please can someone tell me , HOW TO IMPROVE MEDIAN FILTERS .


Author:
Newbie
User avatar Posts: 1
Have thanks: 0 time
Post new topic Reply to topic  [ 3 posts ] 

  Related Posts  to : Median filter to image
 apply mean filter to image     -  
 applying wiener filter to image     -  
 apply sobel filter to image     -  
 Applying canny filter to image     -  
 apply prewitt filter to image     -  
 apply laplacian filter to image     -  
 apply robert filter to image     -  
 Image Custom Filter In Java     -  
 Image Noise Filter in Java     -  
 rank order filter effects on image     -  

All times are UTC [ DST ]



Topic Tags

Matlab Image






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team