Command line

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

Command line

Phase GmbH
Dear List,

we found that opening of image files by command line fails when there are blanks in the path indicating the location of the image file to be opened. Under Windows, the user path is commonly containing blanks so opening of files by command line is usually not possible.

Is there any work around?

Regards

Christian Kreutzfeldt
Reply | Threaded
Open this post in threaded view
|

Re: Command line

Wayne Rasband
> we found that opening of image files by command line fails when there
> are blanks in the path indicating the location of the image file to be
> opened. Under Windows, the user path is commonly containing blanks so
> opening of files by command line is usually not possible.

Use quotes. Here is an example that opens two images:

    cd "C:\Program Files\ImageJ\"
    ImageJ "C:\Image Files\img1.jpg" "C:\Image Files\img2.jpg"

You have to first change to the ImageJ directory or the "ImageJ"
command will not work and you need to be running ImageJ 1.35g or later
to avoid launching another copy of ImageJ if ImageJ is already running.

-wayne
Reply | Threaded
Open this post in threaded view
|

Import -> Text Image...

H. Gluender
Dear experts,

when importing text images I encounter a strange behaviour at least
with MacOS 9.1 and ImageJ 1.35h.

-----------------------------------------
For example:

Tab-delimited Text:

1.000000 0.000000
1.000000 0.000000
0.000000 1.000000
0.000000 1.000000


After import to ImageJ  as "TextImage":

List of "Profile" of first column:

0 1.000000000
1 1.000000000
2 0.000000000
3 0.000000000

List of "Profile" of second column:

0 0.001000000
1 0.001000000
2 0.999000013
3 0.999000013

-----------------------------------------

The first column is represented correctly, the second suffers from
severe lack of grey-value resolution. (32-bit float should be
accurate to about 7 digits.)

Any idea what I'm doing wrong or how to circumvent this problem?

Best
--


                   Herbie

          ------------------------

          <http://www.gluender.de>