Showing posts with label Octave. Show all posts
Showing posts with label Octave. Show all posts

Monday, June 09, 2008

Interference Mitigation



Vaishnavi worked on Median-based interference identification and removal. The basic idea is to treat the time-freq map of a given baseline as a 2-D array. See the above diagram for such an example, where the red arrow indicates one interference location.

We then take a small section of this 2-D array (say 32x32 matrix), where the 3rd axis is the intensity (or amplitude). We compute the median and standard deviation of the section (32x32 matrix). We then put some criterion of (median+7*sigma) for genuine data.

Amplitude > (median + 7*sigma) is treated as interference. This appears to identify interference quite reasonably. Check the following image, where black pixel indicates interference. Compare that with the top image, where most of the interference is identified.

There is some data loss due to over-correction. Even so, total data flagged is about 15%, which is quite good.

Friday, October 06, 2006

Images and Fourier Analysis

We want to teach students to understand the concept of Fourier spectrum and its usage in image processing using Octave. Though students know formulae, they have no physical understanding of Fourier domain and how to use coefficient to gain something useful from an image or signal. We have simple programs to clarify some fundamental ideas about Fourier domain.

I created programs for their use:
  1. Simple routines to create images with sinusoidal waves. They should understand the concept of 'spatial waves' and 'spatial frequencies'.

  2. Then students are asked to look at a simple circular step function in an image and its Fourier Transform (Sinc function plotted using SQRT). They are expected to vary the amplitude and size of the step function in the image and understand the correspondence with the Sinc function in the Fourier spectrum.

  3. Students are then given two Gaussians of different widths, with some separation. One can now use Fourier filters to smooth the image. As one throws away 'higher spatial frequencies', one would see some details lost. How much of smoothing leads to which details being lost?
  4. Finally, we use a textbook image to grasp the idea that different 'structures' in an image are nothing but grey-level variations of certain spatial sizes. These sizes correspond to 'spatial wavelengths'.