Filtering, Electrical Engineering


 (i) Write an m-file "mymedian.m" which will take an image and filter size and perform median filtering. Display input and output image. Use 

help median

function imm=mymedian(imn,msize)
[h w]=size(imn);
for i=msize+1:(h-msize)
  for j=msize+1:(w-msize)

What is the median value of an image?

Comment on the complexity (number of operations per pixel) of the algorithm. 

(ii) Write an m-file "mygaussian.m" which will take an image and filter size and perform Gaussian filtering. Display input and output image.

function img=mygaussian(imn,sigma)

img=?(iii) Perform median and Gaussian filtering on  face_g.png, face_m.png,statue_m.png.
What kind of noise the median filer is useful for?
What kind of noise the Gaussian filer is useful for?

Posted Date: 2/26/2013 12:19:42 AM | Location : United States

Related Discussions:- Filtering, Assignment Help, Ask Question on Filtering, Get Answer, Expert's Help, Filtering Discussions

Write discussion on Filtering
Your posts are moderated
Related Questions
Q. Define Resistance Strain Gauge? Mechanical and civil engineers routinely employ the dependence of resistance on the physical dimensions of a conductor to measure strain. A s

Q. A silicon BJT has an emitter current of 5m Aat 300 K when the BEJ is forward-biased by vBE = 0.7 V. Find the reverse saturation current of the BEJ. Neglecting ICBO, calculate iC


What is the main function of the slip ring

how does an RC 3 phase shift oscillator operates?

Voltage Tripler and Quadrupler: Voltage Tripler an extension of the half wave voltage across each diode is 2Vm as it is for the filter capacitor circuit. It should be obvious

Successive-approximation analog to digital converter This converter, shown in Figure, also contains a D/A converter, but the binary counter is replaced by a successive-approxim

Q. What will be the effects of an increase in real national income on the interest rate? Answer: An enhance in real national income will increase the interest rate. If

Q. Show the Complement Representation?   There are two types of complements for each number system. r's and (r-1)'s complement ex.             decimal