convert series of tiff to raw data

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

convert series of tiff to raw data

Wei Shen-2
Dear all,

Do you know how to convert a series of tiff images to raw data file
using imageJ or other software?
3x

Wei
Reply | Threaded
Open this post in threaded view
|

Re: convert series of tiff to raw data

Wayne Rasband
> Dear all,
>
> Do you know how to convert a series of tiff images to raw data file
> using imageJ or other software?
> 3x
>
> Wei

You can do this using the Process>Batch>Convert command, available in  
ImageJ 1.43e or later.

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

automatic cell counter

hemangi
Hi all,
 
Could someone please inform me on where to find the "automatic nuclear counter" plugin.
I have found the "manual counter" and it works fine, but I really need the automatic counter. I tried to download it, but the counter does not show up in the plugins folder.
 
I would appreciate any pointers!
 
Thanks,
Hemangi.

--- On Fri, 9/4/09, Wayne Rasband <[hidden email]> wrote:


From: Wayne Rasband <[hidden email]>
Subject: Re: convert series of tiff to raw data
To: [hidden email]
Date: Friday, September 4, 2009, 10:16 PM


> Dear all,
>
> Do you know how to convert a series of tiff images to raw data file
> using imageJ or other software?
> 3x
>
> Wei

You can do this using the Process>Batch>Convert command, available in 
ImageJ 1.43e or later.

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

Re: convert series of tiff to raw data

Aviva Vaknin
In reply to this post by Wayne Rasband
Hi Wayne!

is it also possible to get at the meta data / header info in the tiff images

at the same time ?

thanks,
aviva

On Sat, Sep 5, 2009 at 8:16 AM, Wayne Rasband <[hidden email]> wrote:

>   Dear all,
>>
>> Do you know how to convert a series of tiff images to raw data file
>> using imageJ or other software?
>> 3x
>>
>> Wei
>>
>
> You can do this using the Process>Batch>Convert command, available in
> ImageJ 1.43e or later.
>
> -wayne
>
Reply | Threaded
Open this post in threaded view
|

Re: convert series of tiff to raw data

Wayne Rasband
> is it also possible to get at the meta data / header info in the  
> tiff images at the same time?

You can use the Process>Batch>Macro command in v1.43g to convert a  
folder of images to another format and get information about the  
images at the same time. Paste this macro

    path = File.directory+File.name;
    date = File.dateLastModified(path);
    size = File.length(path);
    print(i+", "+getTitle+", "+date+", "+size);

into the Process>Batch>Macro dialog box and information about the  
images will be displayed as they are converted. You will need to be  
running the 1.43g daily build. You can upgrade by using the  
Help>Update ImageJ command and selecting "daily build" from the drop  
down menu.

-wayne


> thanks,
> aviva
>
> On Sat, Sep 5, 2009 at 8:16 AM, Wayne Rasband <[hidden email]> wrote:
>
>>  Dear all,
>>>
>>> Do you know how to convert a series of tiff images to raw data file
>>> using imageJ or other software?
>>> 3x
>>>
>>> Wei
>>>
>>
>> You can do this using the Process>Batch>Convert command, available in
>> ImageJ 1.43e or later.
>>
>> -wayne
>>
Reply | Threaded
Open this post in threaded view
|

Re: convert series of tiff to raw data

Aviva Vaknin
hmm, thanks Wayne, that's pretty cool.


in this case however i think i misled you when i said it was a date -
i have a time stamp in a header string field
with file creation time at nano second resolution - is there a way
of getting at that?

thanks again,
aviva

On Sun, Sep 6, 2009 at 5:15 AM, Wayne Rasband <[hidden email]> wrote:

>  is it also possible to get at the meta data / header info in the tiff
>> images at the same time?
>>
>
> You can use the Process>Batch>Macro command in v1.43g to convert a folder
> of images to another format and get information about the images at the same
> time. Paste this macro
>
>   path = File.directory+File.name;
>   date = File.dateLastModified(path);
>   size = File.length(path);
>   print(i+", "+getTitle+", "+date+", "+size);
>
> into the Process>Batch>Macro dialog box and information about the images
> will be displayed as they are converted. You will need to be running the
> 1.43g daily build. You can upgrade by using the Help>Update ImageJ command
> and selecting "daily build" from the drop down menu.
>
> -wayne
>
>
>
> thanks,
>> aviva
>>
>> On Sat, Sep 5, 2009 at 8:16 AM, Wayne Rasband <[hidden email]> wrote:
>>
>>  Dear all,
>>>
>>>>
>>>> Do you know how to convert a series of tiff images to raw data file
>>>> using imageJ or other software?
>>>> 3x
>>>>
>>>> Wei
>>>>
>>>>
>>> You can do this using the Process>Batch>Convert command, available in
>>> ImageJ 1.43e or later.
>>>
>>> -wayne
>>>
>>>
Reply | Threaded
Open this post in threaded view
|

Re: convert series of tiff to raw data

Gluender-3
Aviva,

maybe it's time to start learning a bit about IJ-macro coding.
You may have a look at the manual "Built-in Macro Functions"

<http://rsb.info.nih.gov/ij/developer/macro/functions.html>

You may especially be interested in the call:

getMetadata("Info");

>hmm, thanks Wayne, that's pretty cool.
>
>in this case however i think i misled you when i said it was a date -
>i have a time stamp in a header string field
>with file creation time at nano second resolution - is there a way
>of getting at that?
>
>thanks again,
>aviva
>
>On Sun, Sep 6, 2009 at 5:15 AM, Wayne Rasband <[hidden email]> wrote:
>
>>   is it also possible to get at the meta data / header info in the tiff
>>>  images at the same time?
>>>
>>
>  > You can use the Process>Batch>Macro command in v1.43g to convert a folder
>>  of images to another format and get information about the images at the same
>>  time. Paste this macro
>>
>>    path = File.directory+File.name;
>>    date = File.dateLastModified(path);
>>    size = File.length(path);
>>    print(i+", "+getTitle+", "+date+", "+size);
>>
>>  into the Process>Batch>Macro dialog box and information about the images
>>  will be displayed as they are converted. You will need to be running the
>>  1.43g daily build. You can upgrade by using the Help>Update ImageJ command
>>  and selecting "daily build" from the drop down menu.
>>
>>  -wayne
>>
>>
>>
>>  thanks,
>  >> aviva
>>>
>>>  On Sat, Sep 5, 2009 at 8:16 AM, Wayne Rasband <[hidden email]> wrote:
>>>
>>>   Dear all,
>>>>
>>>>>
>>>>>  Do you know how to convert a series of tiff images to raw data file
>>>>>  using imageJ or other software?
>>>>>  3x
>>>>>
>>>>>  Wei
>>>>>
>>>>>
>>>>  You can do this using the Process>Batch>Convert command, available in
>>>>  ImageJ 1.43e or later.
>>>>
>  >>> -wayne

With Wayne's great "Process>Batch>Macro" command you may now modify
the above Wayne's macro code to read:

path=File.directory+File.name;
date=File.dateLastModified(path);
size=File.length(path);
mdat=getMetadata("Info");
print(i+", "+getTitle+", "+date+", "+size+", "+ mdat);

which should do the trick. (At least it does so for me.)

HTH
--

                   Herbie

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