Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #12569 (closed)

Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

BUG: ND2 files - x,y position of the different multi points returned in the wrong order

Reported by: bramalingam Owned by: mlinkert
Priority: minor Milestone: 5.1.1
Component: Bio-Formats Version: 5.0.4
Keywords: ND2Reader, our-fault Cc: enno.oldewurtel@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: n.a.

Description

QA 9529,

nd2 with 80 multipoints, 2 time-points and 3 channels.
When trying to retrieve the x,y position of the different multipoints, the locations are returned in the wrong order and some are missing.
Depending on how many time-points other nd2 had, the return pattern of locations seemed to differ. For only one time-point the correct locations are returned in the right order with bioformats version 5.0.4

Script used for checking,

clear all;close all;

r = bfGetReader('/Volumes/ome/apache_repo/9529/PositionInfo_z1_c3_t2_multipoints80.nd2');
metadata = r.getMetadataStore();
zSection =0;

for channel = 0:2

for time = 0:1

figure;
planeIndex = loci.formats.FormatTools?.getIndex(r, zSection, channel, time);

% planeIndex=0;

for positionIndex=1:80

xPosition(positionIndex) = double(metadata.getPlanePositionX(positionIndex-1, planeIndex));
yPosition(positionIndex) = double(metadata.getPlanePositionY(positionIndex-1, planeIndex));
disp(positionIndex)
hold on;


if time>0

plot(xPosition,yPosition,'r*-');

else

plot(xPosition,yPosition,'b*-');

end


end
title(num2str(channel)?)

end

end

Change History (5)

comment:1 Changed 10 years ago by mlinkert

  • Owner changed from mlinert to mlinkert

comment:2 Changed 10 years ago by mlinkert

  • Keywords ND2Reader our-fault added

comment:3 Changed 9 years ago by mlinkert

  • Milestone changed from Unscheduled to 5.1.1

Moving to 5.1.1 for triage.

comment:4 Changed 9 years ago by mlinkert

  • Resolution set to fixed
  • Status changed from new to closed

comment:5 Changed 9 years ago by Melissa Linkert <melissa@…>

  • Remaining Time set to 0

(In [fa3a13bc8785bf07e9cf9d2837dcd00ebc30fe94/bioformats.git] on branch develop) ND2: fix indexing of plane positions

Fixes #12569.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.66867 sec.)

We're Hiring!