Welcome to iraf.net Thursday, May 09 2024 @ 03:10 AM GMT
Francesca |
08/16/2010 11:28AM (Read 2721 times)
|
|
|
Status: offline
Registered: 06/01/2010
Posts: 15
|
Hi!I can't find the way of summing up two images of different sizes in [x,y] and with one of the two images shifted by a [Dx,Dy] offset.
Let's say, for instance, that img1 is 1000 X 1000 pixels, and img2 is 100 X 100 pixels large; I need to sum img2 to img1 at a [500,500] pixels position.
I can't figure out how to do this any suggestion?thanks!
francesca
|
|
|
|
fitz |
08/16/2010 11:28AM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
See the IMCOMBINE task help page, specifically the discussion of the 'offsets' parameter. If that doesn't help, please post more details.
|
|
|
|
Francesca |
08/16/2010 11:28AM
|
|
|
Status: offline
Registered: 06/01/2010
Posts: 15
|
Thanks,I managed to do this with the IMCOMBINE task, using the option
offsets=fileoffs.txtwhere fileoffs.txt is a file with number of lines equal to the number of images,
and with the Dx,Dy offsets in the first and second columns respectively(in the case of my example it would be0 0
500 500)francesca
|
|
|
|
| |
|