Welcome to iraf.net Friday, May 17 2024 @ 10:10 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 adding small images to big images
   
dbrenner
 06/19/2009 02:56PM (Read 1724 times)  
++++-
Regular Member

Status: offline


Registered: 05/05/2006
Posts: 115
I want to add a small image, say 10 by 10 to various locations in a large image.
Can I do this? How?Thanks

 
Profile Email
 Quote
fitz
 06/19/2009 02:56PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Assuming you simply want to replace pixels, you can use image sections in both the input and output image with a simple IMCOPY, e.g.[code:1:5373bfda88]cl> imcopy dev$pix[301:400,301:400] foo.fits[101:200,101:200][/code:1:5373bfda88]You'll need to be sure to get the section right based in the image size.Otherwise, IMCOMBINE can also do this and can do more than simply replace the pixels.-Mike

 
Profile Email
 Quote
dbrenner
 06/19/2009 02:56PM  
++++-
Regular Member

Status: offline


Registered: 05/05/2006
Posts: 115
Thanks. I discover iminsert which works too.

 
Profile Email
 Quote
   
Content generated in: 0.09 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