loop in an image sequence/jimi reader/Java.lang illegal state operation

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

loop in an image sequence/jimi reader/Java.lang illegal state operation

paul_rostand
Hello Imagej users,
 
as beginner i am writing a macro which is supposed to open some picture, and according to the numbers of maxima will sort and rename some of them.The pictures are 8 bits pitures in PNG formats. I did the  iterations in the picture name during the opening and the closing action.
 
when I tried the command
 File<<open....
 
I got the error message plugin reader not found
after looking in the forum I knew about the plugin jimi reader and jimi writer. after dowloading and installing the plugins when I tried the command
 
run ("Jimi Reader", "open.....
 
I got the error message
 
<<Java.lang illegal state operation
 
can someone helps??
thanks in advance
regards
 
Paul Rostand
 
 
Reply | Threaded
Open this post in threaded view
|

Re: loop in an image sequence/jimi reader/Java.lang illegal state operation

Gluender-4
Paul,

I'm not perfectly sure about what doesn't work for you, but did you
try recording
        File > Open
as a test-macro?

If you open, while recording, one of the desired files, its full path
will be recorded as an argument of the open-routine. Is this path
identical to the one you are using in your original macro?

If yes, you should not encounter the described problem.

In any case there is no need for any special plug-ins to open PNG-files in IJ!


>Hello Imagej users,
>
>as beginner i am writing a macro which is supposed to open some picture, and
>according to the numbers of maxima will sort and rename some of them.The
>pictures are 8 bits pitures in PNG formats. I did the  iterations in
>the picture
>name during the opening and the closing action.
>
>when I tried the command
>  File<<open....
>
>I got the error message plugin reader not found
>after looking in the forum I knew about the plugin jimi reader and
>jimi writer.
>after dowloading and installing the plugins when I tried the command
>
>
>run ("Jimi Reader", "open.....
>
>I got the error message
>
><<Java.lang illegal state operation
>
>can someone helps??
>thanks in advance
>regards
>
>Paul Rostand
>
>--
>View this message in context:
>http://imagej.588099.n2.nabble.com/loop-in-an-image-sequence-jimi-reader-Java-lang-illegal-state-operation-tp6313584p6313584.html
>Sent from the ImageJ mailing list archive at Nabble.com.


HTH
                   Herbie

          ------------------------
          <http://www.gluender.de>