[solved] how to cut images
Andrea Cardullo wrote on Apr 08, 2008
Hi, I have a little problem with a group of images:
I have several images (each per filter) of a field, and in some operation i cutted ONLY in 1 filter one of these images. Now I need to cut all the images in the other filters in the same position and with the same dimension of the image already cutted. Is there a task in IRAF that makes this cut automatically?
Thanks!
I have several images (each per filter) of a field, and in some operation i cutted ONLY in 1 filter one of these images. Now I need to cut all the images in the other filters in the same position and with the same dimension of the image already cutted. Is there a task in IRAF that makes this cut automatically?
Thanks!
Mike Fitzpatrick wrote on Apr 08, 2008
If the images all have a valid WCS, then have a look at the WREGISTER task as a way to register the images, e.g.
The image will be trimmed and aligned as needed. See also other tasks in the IMAGES.IMMATCH package if this doesn't do it.
Cheers,
-Mike
cl> wregister uncut.fits cut.fits newcut.fitsThe image will be trimmed and aligned as needed. See also other tasks in the IMAGES.IMMATCH package if this doesn't do it.
Cheers,
-Mike
Andrea Cardullo wrote on Apr 08, 2008
Perfect!!
Thank you very much!!
Thank you very much!!
psk wrote on Jul 09, 2018
Could I ask you what command you used to cut the image in the first place?
It's crazy how hard the most basic bits of information are to find.
Last post on Jul 09, 2018