<< Chapter < Page Chapter >> Page >
The complete image processing technique.

Our first step was to process the images using the basic procedures used by astronomers in the taking of data. Each set of data images is accompanied by a set of“darks”and“flats”taken at the same time as the rest of teh data. A dark is a picture taken with the telescope closed (i.e. with the lens cap on) for the same length of time as the actual data images are exposed; it produces an“image”of current fluctuations in the CCD due to thermal variation. A flat is an image taken of a white, uniformly lit background, and shows any discrepencies in the CCD produced image, such as dead pixels or positional variations.

Raw data

A raw data image, showing errors from the telescope CCD as the lighter left side border.

Calibrated data

A calibrated data image. Note the removal of the white from the left border.

After we removed the darks and flats from our data images, we were ready to begin processing our calibrated images. For each image, we used the image model we had already made, with a few basic assumptions. First, we assumed an approximately Gaussian distribution for both the noise and the point spread function (PSF) h, which modeled the blurring of the image due to intervening effects, most notably atmospheric disturbance. Secondly, we assumed that the original images of the stars could be modeled as delta functions (point sources) before distortion. Next, we had to build our Weiner Filter G, such that:

Deconvolution with weiner filter g

Ĝ Ŷj Â

whereÂis the Fourier transform of our estimate of the original object,Ĝis our Weiner filter, andŶj is again the Fourier transform of our data image. The Weiner filter is:

Addition in a mathml module

Ĥ Sss |Ĥ| 2 Sss Snn Ĝ

with Sss being the power spectrum of the data image, Snn the power spectrum of the noise, andĤthe Fourier transform of a Gaussian distribution in two dimensions. However, since our stars are assumed to be point functions, Sss can be assumed as constant; also, we assumed a Gaussian distribution of our noise, so its power spectrum can be modeled by its varianceσn2. The Gaussian distribution in two dimensions is given by:

Addition in a mathml module

(1/(2*π*σ^2)) exp(-(u^2 + v^2)/(2σ^2)) h

Gaussian distribution

Gaussian distribution used for our filter.

where u and v give the position in two dimensions. As seen on the right, our data images take the upper left corner as the origin, so we had to place the center of our Gaussian function there as well as periodize it so we are actually filtering with the entire function across our image. Taking the Fourier transform and substituting in, we got our final Weiner filter. From there, it was a simple matter of multiplying by our data image’s Fourier transform and taking the inverse, two dimensional FFT to findāi, our estimation of the original object from just that one data image. As shown below, the Weiner filter does a good job at sharpening the stars in the image (look in particular at stars in the upper left of the cluster) while not amplifying the noise level. In fact, our measured noise variance remained unchanged through this process.

Processed image

A figure after the deconvolution process.

Repeating this process for each data image, we created several different estimations of the original object. So, the next major step was to combine these results to get our final best estimate of the object. We began this process by registering the different estimationsāi; to do this, we chose three stars on each image as guides. Then, we utilized the image transformation tools available in Matlab to linearly transform (translate/rotate) all three images so that our three guide stars matched up as closely as possible. This step ensured that the images matched up on top of each other for the final step in the process. As the last step in our image processing, we combined the data images using a simple weighted average. Each estimation image of our original object was weighted by the inverse of its original noiseσn2. The final product of this weighted average produced our best estimate of the actual Messier object 3.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Elec 301 projects fall 2006. OpenStax CNX. Sep 27, 2007 Download for free at http://cnx.org/content/col10462/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Elec 301 projects fall 2006' conversation and receive update notifications?

Ask