SCI Seg3D Mailing List

Text archives Help


[Seg3D] Re: [Seg3D2 bug] Reading spacing from Matlab files


Chronological Thread 
  • From: Ramón Casero Cañas <rcasero@gmail.com>
  • To: seg3d@sci.utah.edu
  • Subject: [Seg3D] Re: [Seg3D2 bug] Reading spacing from Matlab files
  • Date: Thu, 09 Feb 2012 11:36:04 +0000

On 20/01/12 21:48, Ayla Khan wrote:
Hi Ramon,

I was able to reproduce the bug and I've opened a bug report. Thank
you for reporting this bug.

Ayla

On Jan 17, 2012, at 1:49 PM, Ramón Casero Cañas wrote:


Hi all,

If I load in Seg3D2 an image in .mat format created with Seg3D,
then the spacing and offset are lost and become [1, 1, 1] and [0,
0, 0], respectively.


Hi all,

I saw in the last trunk update that the loss of "axis" information in the Matlab importer has been fixed. That's great, thanks!

The Matlab exporter seems to still have this problem, though. The exporter creates a scirunnrrd struct like this:

>> scirunnrrd
ans =

    data: [2048x2048x17 uint8]
    axis: []

Note that the axis field is empty. I looked at the code in src/Application/LayerIO/MatlabLayerExporter.cc, and it seems that the code is there to create the different fields, and populate them, but for some reason is not saved to the Matlab file.

Best regards,

Ramon.

--
Dr. Ramón Casero Cañas

Computational Biology
Department of Computer Science
University of Oxford
Wolfson Building, Parks Rd
Oxford OX1 3QD

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


  • [Seg3D] Re: [Seg3D2 bug] Reading spacing from Matlab files, Ramón Casero Cañas, 02/09/2012

Archive powered by MHonArc 2.6.16.

Top of page