Problem with ROI names in Results table label: new bug?

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

Problem with ROI names in Results table label: new bug?

lechristophe
Hi,

There seems to be a newly appeared bug in the transfer of ROI names to the
Results Table labels. I have macros that use ROIs stored in the ROI manager
with appended characters at the end of their names (to make something like
a label/category system). For example a ROI on a stack would be called
[0047-0066-0060] in the ROI manager, and after processing it would be
called [0047-0066-0060-10-1-1]. When measuring such a ROI, the label in the
Results Table is usually [Image Name:ROI name:slice label].

However with the latest version of IJ, when I measure such a ROI, the label
in the Results Table has the ROI name truncated, i.e. appears as
[0047-0066-0060-10...] instead of [0047-0066-0060-10-1-1] for the ROI name
part.

If you want to reproduce, you can open the bat cochlea volume example
stack, create a ROI on any slice, store it in the ROI manager (name
[ZZZZ-XXXX-YYYY]) then rename this ROI into [ZZZZ-XXXX-YYYY-10-1-1] using
the ROI manager, and measure it with the Labels option on: the ROI name
will appear as [ZZZZ-XXXX-YYYY-10...] in the Results label.

This is unfortunate, as downstream of this, one of my other macros
processes the Results table based on the detection of the appended numbers
in the ROI names. Is it possible to fix this, if it is an unintended
behavior?

Thanks for your help,

Christophe

--
Christophe Leterrier
Researcher
Axonal Domains Architecture Team
CRN2M CNRS UMR 7286
Aix Marseille University, France

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: Problem with ROI names in Results table label: new bug?

Rasband, Wayne (NIH/NIMH) [E]
On Oct 28, 2013, at 11:55 AM, Christophe Leterrier wrote:

> Hi,
>
> There seems to be a newly appeared bug in the transfer of ROI names to the
> Results Table labels. I have macros that use ROIs stored in the ROI manager
> with appended characters at the end of their names (to make something like
> a label/category system). For example a ROI on a stack would be called
> [0047-0066-0060] in the ROI manager, and after processing it would be
> called [0047-0066-0060-10-1-1]. When measuring such a ROI, the label in the
> Results Table is usually [Image Name:ROI name:slice label].
>
> However with the latest version of IJ, when I measure such a ROI, the label
> in the Results Table has the ROI name truncated, i.e. appears as
> [0047-0066-0060-10...] instead of [0047-0066-0060-10-1-1] for the ROI name
> part.
>
> If you want to reproduce, you can open the bat cochlea volume example
> stack, create a ROI on any slice, store it in the ROI manager (name
> [ZZZZ-XXXX-YYYY]) then rename this ROI into [ZZZZ-XXXX-YYYY-10-1-1] using
> the ROI manager, and measure it with the Labels option on: the ROI name
> will appear as [ZZZZ-XXXX-YYYY-10...] in the Results label.
>
> This is unfortunate, as downstream of this, one of my other macros
> processes the Results table based on the detection of the appended numbers
> in the ROI names. Is it possible to fix this, if it is an unintended
> behavior?

This v1.48a regression is fixed in the latest ImageJ daily build (1.48f4).

-wayne

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html