Welcome to iraf.net Wednesday, April 24 2024 @ 05:07 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 creating a mosaic
   
jellyman
 01/18/2011 06:24PM (Read 5201 times)  
+----
Newbie

Status: offline


Registered: 11/27/2010
Posts: 9
Hello.This might be not a IRAF specific question, but I thought of asking anyway ( maybe it can be done through iraf ).I have many fits images, from the same patch of the sky, obtained with the same instrument. The astrometry has been done on them. I need to construct a mosaic out of them ( I just temporarily need to see the big picture ). I though of loading the images in ds9 as mosaic segment will do the trick but it this does not seem to work..I've tried with ds9 from the terminal, both
"ds9 -mosaic [wcs] *.fits"
and
"ds9 -smosaic [wcs] *.fits"Both do not seem to work, and I get different results ( don't really understand the difference between the two tasks ].So my question is, is there any quick & dirty way of creating a mosaic? It does not seem to be perfect, close enough will do. Which iraf tast should I explore for this?Thanks in advance!

 
Profile Email
 Quote
fitz
 01/18/2011 06:24PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
See the IMCOMBINE task (w/ parameter offsets=wcs) and help page.

 
Profile Email
 Quote
haha
 02/01/2015 09:29PM  
+++--
Chatty

Status: offline


Registered: 10/25/2013
Posts: 39
Quote by: fitz

See the IMCOMBINE task (w/ parameter offsets=wcs) and help page.




so ds9 is not able to display the images simutaneously in one frame, and we have to sew them up using imcombine first, right?

 
Profile Email
 Quote
fitz
 02/01/2015 09:38PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
DS9 is supposed to do this, and I know it has in the past. If the '-mosaic' and/or '-smosaic' flags aren't working, then try the options under the File load menu. If there are problems or bug reports you should contact SAO.

 
Profile Email
 Quote
haha
 02/02/2015 12:47AM  
+++--
Chatty

Status: offline


Registered: 10/25/2013
Posts: 39
Quote by: fitz

DS9 is supposed to do this, and I know it has in the past. If the '-mosaic' and/or '-smosaic' flags aren't working, then try the options under the File load menu. If there are problems or bug reports you should contact SAO.



I checked here
http://stsdas.stsci.edu/cgi-bin/gethelp.cgi?imcombine, but failed to sew images up.

Could you please show me how to write it?

 
Profile Email
 Quote
fitz
 02/06/2015 05:46PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The basic command is of the form

PHP Formatted Code
cl> imcombine im1,im2,im3,im4 combin.fits offset=wcs ........


where the WCS in each image will be used to align the images in the output. The result is a single 2-D image you can simply DISPLAY.

DS9 can (or is supposed to be able to) do the same thing using images from extensions of an MEF or multiple images using either the WCS or the CCD geometry keywords. Do your images actually have WCS and CCDSEC/DETSEC keywords in the headers? Is it a WCS that IRAF understands?

 
Profile Email
 Quote
   
Content generated in: 0.30 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login