Re: ROIManager Sort function issue
Posted by
Rasband, Wayne (NIH/NIMH) [E] on
Dec 26, 2015; 12:43am
URL: http://imagej.273.s1.nabble.com/ROIManager-Sort-function-issue-tp5015282p5015288.html
> On Dec 24, 2015, at 9:50 AM, Sho Fujisawa <
[hidden email]> wrote:
>
> I have a bunch of ROIs (some from Analyze Particles, others hand drawn), and I need to sort them by y position. But the sort button on the ROIManager is flawed.
>
> It sorts them fine from 0001 to 0999. Then it jumps to 10000 and again sorts fine, but then goes back to 2000.
>
> It's clearly sorting by the very first number of the y-coordinate, but I need it sorted by the actual position. I have tall images and and y-coordianates go over 9999.
The ROI Manager in the latest ImageJ daily build (1.50f31) uses 5 digits for y-coordinates if the image height is greater than 9999 pixels, which should prevent sorting problems like the ones you are having.
-wayne
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html