Oliver Dick a écrit :
> Dear List,
>
> I think I have to clarify my needs from my former request on help with
> RGB-split + zoom factor.
> I want to have the by RGB-spilt newly generated images in separate
> windows. Each with a zoom factor of 25% and if that’s possible the
> different windows arranged side by side on the monitor. The montage of
> the 3 new pictures does not help me, because I need to draw ROIs in the
> 3 new images that afterwards can be used on the original image.
>
> Thanks in advance for your help and especially to all who have responded
> so quickly
>
> Oliver Dick
>
OK, got another try ?
macro "SplitRGB [F12]"{
rename("image");
//setTool(11);
size=getWidth()/4;
run("RGB Split");
selectWindow("image (red)");
run("Out");
run("Out");
run("Out");
run("Out");
setLocation(100, 100);
selectWindow("image (green)");
run("Out");
run("Out");
run("Out");
run("Out");
setLocation(100+size, 100);
selectWindow("image (blue)");
run("Out");
run("Out");
run("Out");
run("Out");
setLocation(100+2*size, 100);
}
regards
--
CHAMOT Christophe
---------------------------------------------------------------------
Plate-Forme de Recherche IFR117
"Imageries des Processus Dynamiques
en Biologie Cellulaire et Biologie du Développement "
Institut Jacques Monod, CNRS, Universités Paris 6 et 7
2, place Jussieu - Tour 43
75251 Paris cedex 05
Tel: 01 44 27 57 84
http://www.ijm.jussieu.fr/---------------------------------------------------------------------