Posted by
O'Melia, Mike J AMRDEC/Torch on
Jun 05, 2009; 9:56pm
URL: http://imagej.273.s1.nabble.com/Saving-History-UNCLASSIFIED-tp3692252p3692255.html
Classification: UNCLASSIFIED
Caveats: NONE
Thanks!!
-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of
Wayne Rasband
Sent: Friday, June 05, 2009 4:01 PM
To:
[hidden email]
Subject: Re: Saving History (UNCLASSIFIED)
> Maybe my question was not clear (or perhaps interesting ;-))
>
> But I work a lot with images that have no headers. There are many
> header types and data types and sizes. So I have to remember this
> stuff
> or keep it written down. It would be nice to select from a drop down
> menu a successful format that I had found (for raw). Does ImageJ keep
> a
> "resource" file on the computer?
What you can do is create commands from one line macros generated by
the command recorder (Plugins>Macros>Record). As an example, this macro
run("Raw...", "open=/Users/wayne/t1-head.tif image=[16-bit Unsigned]
width=256 height=256 offset=1141 number=129 gap=0");
is generated when I use File>Import>Raw to open a tiff stack (the "T1
Head" sample image) saved by ImageJ. The macro will use a file open
dialog if you remove the "open=" keyword and value
run("Raw...", "image=[16-bit Unsigned] width=256 height=256
offset=1141 number=129 gap=0");
Save the macro as "Stack.ijm" in the ImageJ/plugins/Raw folder, run
Help>Update Menus, and you will now have a Plugins>Raw>Stack command
you can use to open files that have the same data type and size.
-wayne
Classification: UNCLASSIFIED
Caveats: NONE