Saving History (UNCLASSIFIED)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Saving History (UNCLASSIFIED)

O'Melia, Mike J AMRDEC/Torch
Classification:  UNCLASSIFIED
Caveats: NONE

Saving History (UNCLASSIFIED)

Classification:  UNCLASSIFIED
Caveats: NONE

I use the Import Raw Image capability all of the time.  As a result, I
have to remember lots of formats.  Is there a plugin that will save
successful formats... sort of like a history file for the settings in
the Import Raw dialogue?

Mike

Classification:  UNCLASSIFIED
Caveats: NONE
Reply | Threaded
Open this post in threaded view
|

Re: Saving History (UNCLASSIFIED)

O'Melia, Mike J AMRDEC/Torch
Classification:  UNCLASSIFIED
Caveats: NONE

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?

Mike

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
O'Melia, Mike J AMRDEC/Torch
Sent: Friday, June 05, 2009 9:13 AM
To: [hidden email]
Subject: Saving History (UNCLASSIFIED)

Classification:  UNCLASSIFIED
Caveats: NONE

Saving History (UNCLASSIFIED)

Classification:  UNCLASSIFIED
Caveats: NONE

I use the Import Raw Image capability all of the time.  As a result, I
have to remember lots of formats.  Is there a plugin that will save
successful formats... sort of like a history file for the settings in
the Import Raw dialogue?

Mike

Classification:  UNCLASSIFIED
Caveats: NONE
Classification:  UNCLASSIFIED
Caveats: NONE
Reply | Threaded
Open this post in threaded view
|

Re: Saving History (UNCLASSIFIED)

Wayne Rasband
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Saving History (UNCLASSIFIED)

O'Melia, Mike J AMRDEC/Torch
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