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
what is the full design for 16 logic microoperations

The one line diagram of a simple three phase power system is shown in figure below. Each generator is represented by an emf behind the transient reactance. All impedances are expre

Sketch the Fermi-Dirac distribution function, F(E), alongside the energy band diagram for an n-type semiconductor, indicating the position of the Fermi level, EF, and the donor lev

Shunt DC motor In this arrangement, the armature and field coils are connected in parallel (the motor is called 'shunt connected').     Analysis With refere

Draw the state diagram for the state machine described by Table 7.5 in the text. Note, the table shows the transition to the next state S* from the current state S for the next set

Q. Explain Power semiconductor-controlled drives? Power electronics deals with the applications of solid-state electronics for the control and conversion of electric power. Con

Q. Determine the equivalent capacitance at terminals A-B for the circuit configurations shown in Figure.

advantages of superposition theorem

Q. For a 6-bit weighted-resistor D/A converter, if R is the resistor connected to the MSB, find the other resistor values needed, and calculate the maximum analog output voltage, t

Q. Explain about Transistor Amplifiers? Amplifiers are circuits that produce an output signal which is larger than, but proportional to, an input signal. The input and output s