adding small images to big images
douglas brenner wrote on Jun 19, 2009
I want to add a small image, say 10 by 10 to various locations in a large image.
Can I do this? How?
Thanks
Can I do this? How?
Thanks
Mike Fitzpatrick wrote on Jun 19, 2009
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.
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
cl> imcopy dev$pix[301:400,301:400] foo.fits[101:200,101:200]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
douglas brenner wrote on Jun 19, 2009
Thanks. I discover iminsert which works too.
Last post on Jun 19, 2009