How to create a reference image [message #89777] |
Wed, 03 December 2014 07:20  |
Nims
Messages: 8 Registered: February 2014
|
Junior Member |
|
|
Hi
I have the images of a galaxy in two wavelength bands e.g. A.fits and B.fits. A.fits is aligned to a reference image. I wish to align B.fits to the same reference image.
My problem is that I don't know how to create this reference image.
Could someone help please?
Thanks
|
|
|
Re: How to create a reference image [message #89791 is a reply to message #89777] |
Wed, 03 December 2014 12:07   |
rryan%stsci.edu
Messages: 16 Registered: October 2014
|
Junior Member |
|
|
On Wednesday, December 3, 2014 10:20:03 AM UTC-5, Nims wrote:
> Hi
>
> I have the images of a galaxy in two wavelength bands e.g. A.fits and B.fits. A.fits is aligned to a reference image. I wish to align B.fits to the same reference image.
>
> My problem is that I don't know how to create this reference image.
>
> Could someone help please?
>
> Thanks
Nims,
Ok, you're not going to like the answer. This question isn't an IDL one per se. Sure, you can use IDL to do this, but this question is so astronomy specific, you're better off asking other graduate students or postdocs at your university.
Look at hastrom.pro in the IDL user group. This will transform by bilinear interpolation an image to match the astrometry of another (I think it's bilinear. and if it is, then this is nearly the simplest and possibly worst depending on who you ask type of interpolation). This will mean you need to get the header correct. Again there are tools for that, but they are highly specific.
I'm unaware of any off-the-shelf IDL routines for you that are IDL. Again, because this isn't an IDL question, this is an astronomy one. Google the following things: astrometry.net, SWarp, or even look for tools associated with the telescope/instrument from where you got the images. I know if it's HST or Spitzer loads of tools already exist --- but are certainly not written in IDL.
Good luck,
Russell
|
|
|
|