ABOUT THE RESULT WINDOW...

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

ABOUT THE RESULT WINDOW...

ashish ram
Hello everyone,
I want to know if i can open a previously stored result window in a new
program or not.I think its possible but dont know how.please somebody do
tell me how can it be done.

Thank You,
Ashish
Reply | Threaded
Open this post in threaded view
|

Re: ABOUT THE RESULT WINDOW...

lechristophe
Save the table as .txt or .xls (whatever your default is) and to
reopen it, File>Import>Results.
http://rsbweb.nih.gov/ij/docs/menus/file.html#import


Christophe

On Sat, Jul 4, 2009 at 7:56 AM, ashish ram<[hidden email]> wrote:
> Hello everyone,
> I want to know if i can open a previously stored result window in a new
> program or not.I think its possible but dont know how.please somebody do
> tell me how can it be done.
>
> Thank You,
> Ashish
>
Reply | Threaded
Open this post in threaded view
|

Re: ABOUT THE RESULT WINDOW...

ashish ram
Thank you  *Christophe Leterrier* for your reply.But i would like to tell u
that i wanted to open,read and use the data from the result table inside a
plugin.I am unable to find any way to open the .xls file from my plugin.if u
know any way to open it like just another image file please do tell me.
Reply | Threaded
Open this post in threaded view
|

Re: ABOUT THE RESULT WINDOW...

Gabriel Landini
On Saturday 04 July 2009, ashish ram wrote:
> Thank you  *Christophe Leterrier* for your reply.But i would like to tell u
> that i wanted to open,read and use the data from the result table inside a
> plugin.
> I am unable to find any way to open the .xls file from my plugin.if
> u know any way to open it like just another image file please do tell me.

Surely not as an image file...

I think the xls files are actually tab delimited text files, not excel files,
so you can either open as text files, or you need to have a look at the API
for the ResultsTable class and read/write the values directly from the
currently open results table:

http://rsb.info.nih.gov/ij/developer/api/ij/measure/ResultsTable.html

Cheers

G.
Reply | Threaded
Open this post in threaded view
|

Re: ABOUT THE RESULT WINDOW...

Eirinn Mackay
Yes, excel refuses to open the XLS files as they don't fit the format.  
I think the extension should be txt or csv.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Eirinn Mackay
Research Assistant
Bartlett Group L6
Queensland Brain Institute
Brisbane, Australia
07 334 66381




On 04/07/2009, at 9:57 PM, Gabriel Landini wrote:

> On Saturday 04 July 2009, ashish ram wrote:
>> Thank you  *Christophe Leterrier* for your reply.But i would like  
>> to tell u
>> that i wanted to open,read and use the data from the result table  
>> inside a
>> plugin.
>> I am unable to find any way to open the .xls file from my plugin.if
>> u know any way to open it like just another image file please do  
>> tell me.
>
> Surely not as an image file...
>
> I think the xls files are actually tab delimited text files, not  
> excel files,
> so you can either open as text files, or you need to have a look at  
> the API
> for the ResultsTable class and read/write the values directly from the
> currently open results table:
>
> http://rsb.info.nih.gov/ij/developer/api/ij/measure/ResultsTable.html
>
> Cheers
>
> G.
Reply | Threaded
Open this post in threaded view
|

Re: ABOUT THE RESULT WINDOW...

BenTupper
Hi,

On Jul 5, 2009, at 8:58 PM, Eirinn Mackay wrote:

> Yes, excel refuses to open the XLS files as they don't fit the  
> format. I think the extension should be txt or csv.

You can change the default extension of the output from the Results  
Table.  See the Edit > Options > Input/Output... menu.

Cheers,
Ben



> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> Eirinn Mackay
> Research Assistant
> Bartlett Group L6
> Queensland Brain Institute
> Brisbane, Australia
> 07 334 66381
>
>
>
>
> On 04/07/2009, at 9:57 PM, Gabriel Landini wrote:
>
>> On Saturday 04 July 2009, ashish ram wrote:
>>> Thank you  *Christophe Leterrier* for your reply.But i would like  
>>> to tell u
>>> that i wanted to open,read and use the data from the result table  
>>> inside a
>>> plugin.
>>> I am unable to find any way to open the .xls file from my plugin.if
>>> u know any way to open it like just another image file please do  
>>> tell me.
>>
>> Surely not as an image file...
>>
>> I think the xls files are actually tab delimited text files, not  
>> excel files,
>> so you can either open as text files, or you need to have a look at  
>> the API
>> for the ResultsTable class and read/write the values directly from  
>> the
>> currently open results table:
>>
>> http://rsb.info.nih.gov/ij/developer/api/ij/measure/ResultsTable.html
>>
>> Cheers
>>
>> G.

Ben Tupper
Reply | Threaded
Open this post in threaded view
|

Re: ABOUT THE RESULT WINDOW...

Eirinn Mackay
I just checked, and the .xls files actually do open correctly. I  
remember receiving an error message that was solved by renaming the  
file to .csv but I can't seem to reproduce it now. This is on Excel  
2008.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Eirinn Mackay
Research Assistant
Bartlett Group L6
Queensland Brain Institute
Brisbane, Australia
07 334 66381




On 06/07/2009, at 11:36 AM, Ben Tupper wrote:

> Hi,
>
> On Jul 5, 2009, at 8:58 PM, Eirinn Mackay wrote:
>
>> Yes, excel refuses to open the XLS files as they don't fit the  
>> format. I think the extension should be txt or csv.
>
> You can change the default extension of the output from the Results  
> Table.  See the Edit > Options > Input/Output... menu.
>
> Cheers,
> Ben
>
>
>
>> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>> Eirinn Mackay
>> Research Assistant
>> Bartlett Group L6
>> Queensland Brain Institute
>> Brisbane, Australia
>> 07 334 66381
>>
>>
>>
>>
>> On 04/07/2009, at 9:57 PM, Gabriel Landini wrote:
>>
>>> On Saturday 04 July 2009, ashish ram wrote:
>>>> Thank you  *Christophe Leterrier* for your reply.But i would like  
>>>> to tell u
>>>> that i wanted to open,read and use the data from the result table  
>>>> inside a
>>>> plugin.
>>>> I am unable to find any way to open the .xls file from my plugin.if
>>>> u know any way to open it like just another image file please do  
>>>> tell me.
>>>
>>> Surely not as an image file...
>>>
>>> I think the xls files are actually tab delimited text files, not  
>>> excel files,
>>> so you can either open as text files, or you need to have a look  
>>> at the API
>>> for the ResultsTable class and read/write the values directly from  
>>> the
>>> currently open results table:
>>>
>>> http://rsb.info.nih.gov/ij/developer/api/ij/measure/ 
>>> ResultsTable.html
>>>
>>> Cheers
>>>
>>> G.
>
> Ben Tupper
Reply | Threaded
Open this post in threaded view
|

Re: ABOUT THE RESULT WINDOW...

ashish ram
Thank you very much for ur help.Can u tell me any way to open a result
window in the program and use its data?
If u have any information regarding this please tell me about the syntax of
the program because it can be very much important for me.

Thank you,
Ashish