SCI Seg3D Mailing List

Text archives Help


[Seg3D] Re: 0.5 voxel offset for cursor position


Chronological Thread 
  • From: Ramón Casero Cañas <ramon.casero@comlab.ox.ac.uk>
  • To: "seg3d@sci.utah.edu" <seg3d@sci.utah.edu>
  • Subject: [Seg3D] Re: 0.5 voxel offset for cursor position
  • Date: Thu, 06 Jan 2011 21:00:37 +0000

On 17/12/10 21:16, Ramón Casero Cañas wrote:

Hi all,

Is painter_->pointer_pos_ giving the correct pointer coordinates?

Using the Spline Tool source code branch (because it allows to export
seed point coordinates to a CSV file), I have noticed that if the image
has, e.g.

nrrd.axis.min = [90, 162, 65]

nrrd.axis.max = [408, 396, 454]


But if you go to each of the 8 boundary slices of the image volume, the
corresponding seed coordinates will be

[90.5, 162.5, 65.5]

[408.5, 396.5, 454.5]

In this case, the voxel spacing in any direction is 1.0.


My mistake. This is because slices are placed on the voxel's centre.

Best regards,

Ramón.


--
Dr. Ramón Casero Cañas

Computational Biology
Computing Laboratory
University of Oxford
Wolfson Building, Parks Rd
Oxford OX1 3QD

tlf     +44 (0) 1865 283575
web     http://web.comlab.ox.ac.uk/people/Ramon.CaseroCanas
photos  http://www.flickr.com/photos/rcasero/


  • [Seg3D] Re: 0.5 voxel offset for cursor position, Ramón Casero Cañas, 01/06/2011

Archive powered by MHonArc 2.6.16.

Top of page