Posted by
Cammer, Michael on
Jan 14, 2013; 9:29pm
URL: http://imagej.273.s1.nabble.com/split-image-tp5001409p5001412.html
There are a lot of ways to do this.
Look at the command Image > Stacks > Tools > Montage To Stack...
Or for more flexibility, macros like this can be written.
macro "split horizontally" {
original = getImageID;
title = getTitle;
height = getHeight;
width = getWidth;
halfWidth = width / 2;
makeRectangle(0, 0, halfWidth, height);
run("Duplicate...", "title=left_"+title+" duplicate");
selectImage(original);
makeRectangle(halfWidth+1, 0, halfWidth, height);
run("Crop");
rename("right_"+title);
}
________________________________________________________
Michael Cammer, Assistant Research Scientist
Skirball Institute of Biomolecular Medicine
Lab: (212) 263-3208 Cell: (914) 309-3270
-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of Lenka Polaskova
Sent: Monday, January 14, 2013 3:57 PM
To:
[hidden email]
Subject: split image
Hello, please is there any possibility how to split one image into several independent parts (i.e. to halfs, quaters) ? Thank for answer
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html