Or use the plugin OI_cut_RGBmerge
(
http://valelab.ucsf.edu/~nico/ijplugins/OI_cut_RGBmerge.html) which
will also work on stacks and give you a Red-Green overlay of the two
halfs.
Nico
On Jul 28, 2006, at 10:16 AM, Curtis Rueden wrote:
> Such tasks are exactly what macros are for. Using the Macro Recorder
> (Plugins -> Macros -> Record) together with the Built-in Macro
> Functions
> list (
http://rsb.info.nih.gov/ij/developer/macro/functions.html), I
> created
> the following macro that does what you ask:
>
> makeRectangle(0, 0, getWidth()/2, getHeight());
> run("Copy");
> run("Make Inverse");
> run("Crop");
> run("Internal Clipboard");
>
> -Curtis
>
> On 7/28/06, Ye Chen <
[hidden email]> wrote:
>>
>> Hello,
>>
>> Is there any function or plugin in ImageJ available to split one
>> image
>> into half from the middle? For example, if I have an image 512 by
>> 512, I
>> need to split this image from the middle to get another two new images
>> which should be 256 by 512?
>>
>> Thanks
>>
>
>
Vale Lab
HHMI / Dept. of Cellular and Molecular Pharmacology
University of California, San Francisco
Genentech Hall, Room N316
600 16th street
For mail:
San Francisco, CA 94143-2200
For deliveries:
San Francisco, CA 94158
email:
[hidden email]
phone: (415) 514-3927
fax: (415) 476-5233