Welcome to iraf.net Thursday, May 09 2024 @ 03:10 AM GMT


 Forum Index > Help Desk > IRAFNet
 Summing up images of different sizes with an offset
   
Francesca
 08/16/2010 11:28AM (Read 2721 times)  
++---
Junior

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 Frown any suggestion?thanks!
francesca

 
Profile Email
fitz
 08/16/2010 11:28AM  
AAAAA
Admin

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.

 
Profile Email
Francesca
 08/16/2010 11:28AM  
++---
Junior

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

 
Profile Email
   

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