Batch processing macro

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

Batch processing macro

Pang, Zhengyu (GE Global Research)
Dear folks,

I am quite new to ImageJ macro. I have a folder containing many images
(40-60). I need to perform some tasks (such as scaling down image size),
and then save them as another file( I prefer to add a character "s" to
the original file name). Could anyone help me to do this? Or let me know
some good references. The Macro Language at the official website is too
simple.

Thanks,

Zhengyu



> g Global Research Center
>
> ______________________________________________________________________
>
>           Zhengyu Pang, Ph.D.
                        Bioanalytics and Protein Science Laboratory
                        Biosciences Global Technology Organization
> One Research Circle, K1 5B34
> Niskayuna, NY12309
> * [hidden email]
> *(518) 387-4015
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Batch processing macro

Justin McGrath
I think the macro reference
(http://rsb.info.nih.gov/ij/developer/macro/functions.html) along with
the examples (http://rsb.info.nih.gov/ij/macros/) provide the
information needed to do this.  However, I wouldn't use ImageJ for
something like that.  If you just want to resize and rename images,
use IrfanView (http://www.irfanview.com/).  It's far more convenient,
runs on Windows, on Linux with Wine.  I don't know if it works on Mac.

Justin

On 10/11/07, Pang, Zhengyu (GE, Research) <[hidden email]> wrote:

> Dear folks,
>
> I am quite new to ImageJ macro. I have a folder containing many images
> (40-60). I need to perform some tasks (such as scaling down image size),
> and then save them as another file( I prefer to add a character "s" to
> the original file name). Could anyone help me to do this? Or let me know
> some good references. The Macro Language at the official website is too
> simple.
>
> Thanks,
>
> Zhengyu
>
>
>
> >               g Global Research Center
> >
> > ______________________________________________________________________
> >
> >           Zhengyu Pang, Ph.D.
>                         Bioanalytics and Protein Science Laboratory
>                         Biosciences Global Technology Organization
> >               One Research Circle, K1 5B34
> >               Niskayuna, NY12309
> >               * [hidden email]
> >               *(518) 387-4015
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Batch processing macro

lechristophe
In reply to this post by Pang, Zhengyu (GE Global Research)
Dear Zhengyu,

Maybe you can use the "Multiple Image Processor" plugin available here :

http://ciar.rcm.upr.edu/projects/imageprocessor/multiples

It can batch resize and execute simple recorded macros (record what you
do on an image with the macro recorder) on every images in a folder. I
have not tested it but it seems to do what you want.


Christophe



Pang, Zhengyu (GE, Research) a écrit :

> Dear folks,
>
> I am quite new to ImageJ macro. I have a folder containing many images
> (40-60). I need to perform some tasks (such as scaling down image size),
> and then save them as another file( I prefer to add a character "s" to
> the original file name). Could anyone help me to do this? Or let me know
> some good references. The Macro Language at the official website is too
> simple.
>
> Thanks,
>
> Zhengyu
>
>
>
>> g Global Research Center
>>
>> ______________________________________________________________________
>>
>>           Zhengyu Pang, Ph.D.
> Bioanalytics and Protein Science Laboratory
> Biosciences Global Technology Organization
>> One Research Circle, K1 5B34
>> Niskayuna, NY12309
>> * [hidden email]
>> *(518) 387-4015
>>
>>
>