enter macro mode

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

enter macro mode

Wes Armour
Hi,

I am having problems running TomoJ from the command line on a linux
machine.

Currently I am using....

java -cp
ij.jar:plugins/TomoJ/TomoJ_2.0.jar:plugins/TomoJ/parallelcolt-0.9.4.jar
TomoJ_ -tiltaxis 90  -tilt 0 1.0 -SIRT 30 0.5 256 0 finalData.tif

All I get back is "enter macro mode"

Has anybody seen this error before?

Cheers,

Wes.



--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 
Reply | Threaded
Open this post in threaded view
|

Re: enter macro mode

Wes Armour
Hi,

Just for those that may run  into this problem in the future...

The problem seems to arise when I use the installed java version on
Linux i.e.

java -cp ij.jar:plugins/TomoJ/TomoJ_2.0.jar...

When I use the imagej java all is well (from within the ImageJ dir).....

./jre/bin/java -cp ij.jar:TomoJ_2.0.jar ..... TomoJ_ [ Nonormalisation
Settiltaxis 90.0 center 131.5 128.5 settiltanglesregular 0.0 1.0 sirt 30
0.5 256 1 ] finalData.tif
enter macro mode
set the center to (131.5, 128.5)
temporary files are saved processed/
...
iteration #1
number of cpu used 8
SIRT 2 : 99% remaining 707 ms total :1 min 24 s                  
dissimilarity average : 0.0034170610108535332
                minimum : 0.0 (image 90.0)


Also I have problems in teh above if I don't leave a space in the square
brackets...
[No.... ....1] is bad,
[ No.... ....1 ] seems fine.

I hope this helps someone in the future :-)


Cheers,

Wes.


On Thu, 2010-08-05 at 15:56 +0100, Wes wrote:

> Hi,
>
> I am having problems running TomoJ from the command line on a linux
> machine.
>
> Currently I am using....
>
> java -cp
> ij.jar:plugins/TomoJ/TomoJ_2.0.jar:plugins/TomoJ/parallelcolt-0.9.4.jar
> TomoJ_ -tiltaxis 90  -tilt 0 1.0 -SIRT 30 0.5 256 0 finalData.tif
>
> All I get back is "enter macro mode"
>
> Has anybody seen this error before?
>
> Cheers,
>
> Wes.
>
>
>


--
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 
Reply | Threaded
Open this post in threaded view
|

Re: enter macro mode

Gabriel Landini
On Friday 06 August 2010, you wrote:
> The problem seems to arise when I use
the installed java version on
> Linux i.e.
>
> java -cp
ij.jar:plugins/TomoJ/TomoJ_2.0.jar...
>
> When I use the imagej java all is
well (from within the ImageJ dir).....

Ah, yes for this to work you need to
give the full path to Java, in my setup this
is:

/usr/lib64/jvm/java-1.6.0/bin/java

and so you save having both Java
installs in the same machine.

Cheers
Gabriel