problems with IJ 1.39c

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

problems with IJ 1.39c

Michael Cammer
We are using ImageJ 1.39c on a PC with Java 1.6.

We are having two big problems.

1.  File->Open no longer recognizes BioRad Confocal .pic files.

2.  The command getResult("Mean", 1); returns an error even when we
can see the results window up on the screen with a result in it.

Any help would be appreciated.

Thank you.
____________________________________________________________________________
Michael Cammer   Analytical Imaging Facility   Albert Einstein Coll. of Med.
URL:  http://www.aecom.yu.edu/aif/ 
Reply | Threaded
Open this post in threaded view
|

Re: problems with IJ 1.39c

Michael Schmid
Hi Michael,

concerning your 2nd question:

> 2.  The command getResult("Mean", 1); returns an error even when
> we can see the results window up on the screen with a result in it.
>

According to the documentation, row rounting for getResult starts
with number 0, so the command will fail if you have only one row.

    getResult("Column", row)
    Returns a measurement from the ImageJ results table (...)
    The second argument specifies the row, where 0<=row<nResults.

Neverteless, row number 0 is labelled "1" because humans usually
don't start counting at 0.
Internally, almost everything in Java starts at 0 (days of the week,
months of the year, ...) because this is how arrays are addressed.
The only notable exception in ImageJ are slices of a stack
starting at 1 (and days of a month in Java).


Michael