Login  Register

Re: saving personal preferences / options / settings for ImageJ?

Posted by Marco Moller on May 02, 2013; 4:48pm
URL: http://imagej.273.s1.nabble.com/saving-personal-preferences-options-settings-for-ImageJ-tp5002894p5002897.html

Thanks a lot Michael,
You have been right! My TIF images have ResolutionUnit = 3.
As I am not a programmer, I will see if I can get such StartupMacro
written by myself. Maybe I can find somebody to write it for me, but I
have no idea how much work this is...
All the best,
Marco.



-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of
Michael Schmid
Sent: Thursday, May 02, 2013 6:17 PM
To: [hidden email]
Subject: Re: saving personal preferences / options / settings for
ImageJ?

Hi Marco,

in Analyze>Set scale, the default unit for uncalibrated images is
'pixel'. If your images have a scale in 'cm', this is probably a
property of the TIFF images.

Enable Debug mode in Edit>Options>Misc and open an image. The log window
should tell you more:
If the ResolutionUnit is 3, this means 'cm', a value of 2 stands for
'inch'.

You can write a plugin (called by StartupMacros.txt) that implements the
ImageListener interface and checks the current unit on imageOpened.
Then, if the current scale is 'cm', adjust the resolution and unit.

See the sources of ij.plugin.EventListener, and the
ij.measure.Calibration classes.

Michael
________________________________________________________________
On May 2, 2013, at 17:51, Marco Moller wrote:

> Hello,
>
> How can I save my personal preferences / options / settings, so that
> each time I start the ImageJ (FIJI) program they are right away active

> instead of the ImageJ default values?
>
> In detail, I am working with electron microscopy TIF images where the
> Length Unit (used i.e. in the measure, results and scale bar
> functions) best is to be set to "nm" in the IMAGE>PROPERTIES...
> dialog, instead of using the ImageJ default "cm". So, I would like to
> preset, that "nm" is used as my personal default, preventing that I
> each time have to change this setting upon loading a new image to
ImageJ.
>
> Thanks,
>
> Marco

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

This e-mail is from CIC biomaGUNE. The e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised dissemination or copying of this e-mail or its attachments, and any use or disclosure of any information contained in them, is strictly prohibited and may be illegal. If you have received this e-mail in error, please notify or telephone + 34 943 00 53 00 and delete it from your system.

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html