expand image size

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

expand image size

Lars Damgaard
Hi,

I want to expand my images with a black rectangle so that I can print the overlay (a timestamp) there where it does not interfere with my image.
The only solution I found so far is to create a new larger black image and then use imageCalculator("add...) to add the original image onto that. However, this solution does not give me any choice in the relative positions of the original and the black image, so the black area (that stays black because it has no corresponding pixels to add in the original image) is always positioned below the image.
Is there not a way to expand an image in a user-defined direction? Or a way to 'stitch' one (black) picture onto one of the sides of another image?

Thanks for any help, Lars

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: expand image size

Jerome Mutterer-3
Hi Lars,

You can use the Image>Adjust>Canvas Size... command.
Sincerely,
Jerome.


On 8 July 2014 16:45, Lars Damgaard <[hidden email]> wrote:

> Hi,
>
> I want to expand my images with a black rectangle so that I can print the
> overlay (a timestamp) there where it does not interfere with my image.
> The only solution I found so far is to create a new larger black image and
> then use imageCalculator("add...) to add the original image onto that.
> However, this solution does not give me any choice in the relative
> positions of the original and the black image, so the black area (that
> stays black because it has no corresponding pixels to add in the original
> image) is always positioned below the image.
> Is there not a way to expand an image in a user-defined direction? Or a
> way to 'stitch' one (black) picture onto one of the sides of another image?
>
> Thanks for any help, Lars
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>



--
Jerome Mutterer
CNRS - Institut de biologie moléculaire des plantes
 12, rue du Général Zimmer
67084 Strasbourg Cedex
T 0367155339
www.ibmp.cnrs.fr

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html