Hi Philip,
It should rotate the whole stack if you have a stack open;
E.g. run("Rotate... ", "angle=90 grid=1 interpolation=Bilinear stack").
I used the Macro Recorder to record this and it does work.
Kind regards,
Jacqui
Jacqueline Ross
Biomedical Imaging Microscopist
Biomedical Imaging Research Unit
School of Medical Sciences
Faculty of Medical & Health Sciences
The University of Auckland
Private Bag 92019
Auckland, NEW ZEALAND
Tel: 64 9 373 7599 Ext 87438
Fax: 64 9 373 7484
http://www.fmhs.auckland.ac.nz/sms/biru/-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of Philip Ershler
Sent: Saturday, 26 November 2011 1:08 p.m.
To:
[hidden email]
Subject: Rotate a stack in a macro
Hello,
Is there any way to use Rotate... in a macro or a plugin and rotate all images in the stack? The Rotate... process in a macro only rotates the first image. I guess I could step through the stack and rotate one image at a time, but is there any more intelligent way to do this?
Thanks, Phil
Philip R. Ershler Ph.D.
University of Utah
Cardiovascular Research and Training Institute
95 South 2000 East
Salt Lake City, UT 84112-5000
phone: (801) 230-8771
alt ph: (801) 587-9528
fax: (801) 581-3128
e-mail:
[hidden email]