|
Image size mismatch
|
|
07-20-2010, 19:22
Post: #1
|
|||
|
|||
|
Image size mismatch
I'm trying to register three images so that they have a common pixel scale/wcs/pixel locations. I've already used scamp to match the wcs for the images, and now I'm trying to use swarp to resample them to the same pixels. I have two large images and one small image, and I'm trying to output a new image for each which covers all of the smallest image, with some extra buffer. Unfortunately swarp seems to be ignoring my specifications for the final image size. The larger images end up having exactly the center and image size I specify (1500x1500). However for the smaller image, swarp seems to refuse to output the larger image I specify, and is instead outputting an image that is only slightly larger than the original (1208, 1082). It seems like it doesn't want to let me put on more than a small buffer (a few pixels). It also ends up centering the image on something other than the center I have specified, because the center I have specified is not at the center of the smaller sub image swarp insists on outputting. I've got everything set to manual, so I have no idea why it is doing this. Here's my configuration file:
Code: # Default configuration file for SWarp 2.17.1-MPAny thoughts? |
|||
|
07-25-2010, 10:13
Post: #2
|
|||
|
|||
|
RE: Image size mismatch
Hello,
This happens because of the COMBINE set to N in your configuration file. During the initial resampling phase, SWarp tries to create output frames that are as small as possible; this makes it possible to stitch together many small exposures into a large output coadd without having the temporary files eating up huge amounts of disk space. In other words, the "filling" of empty areas is done during the combine stage, not during resampling. I would suggest running SWarp for each input image separately with COMBINE set to Y. - Emmanuel. |
|||
|
07-29-2010, 15:57
Post: #3
|
|||
|
|||
|
RE: Image size mismatch
Okay, thanks!
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)


Search
Member List
Calendar
Help




