View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008333ITKpublic2008-12-29 09:422009-01-28 11:02
ReporterBradley Lowekamp 
Assigned ToBradley Lowekamp 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0008333: MetaImageIO does not read correctly stream with non-uniform image spacing
DescriptionIf MetaImageIO is configured for streaming, it will produce blank regions as output if the image spacing is non-uniform. The MetaIO library will produce an error similar to:

MetaImage: M_ReadElementsROI: data not read completely
   ideal = 131072 : actual = 0

Additional InformationThis can be reproduced by changing itkMetaImageStreamingWriterIOTest2 to:

ADD_TEST(itkMetaImageStreamingWriterIOTest2 ${IO_TESTS}
  --compare ${ITK_DATA_ROOT}/Baseline/IO/mri3D.mhd
            ${ITK_TEST_OUTPUT_DIR}/mri3DWriteStreamed.mha
  itkMetaImageStreamingWriterIOTest
            ${ITK_DATA_ROOT}/Input/mri3D.mhd
            ${ITK_TEST_OUTPUT_DIR}/mri3DWriteStreamed.mha)

TagsNo tags attached.
Resolution Date
Sprint
Sprint Status
Attached Files

 Relationships
related to 0008323closedBradley Lowekamp An Implementation of streaming for ImageFileWriter with collaboration from ImageIOBase 

  Notes
(0014449)
Bradley Lowekamp (developer)
2008-12-29 13:10

itkMetaImageStreamingWriterIOTest2 references /nfs/mead/Users/blowek1/src/Insight/Testing/Data/Input/mri3D.mhd which references dicom files. This is the most likely cause of this test not producing the correct output
(0014542)
Bradley Lowekamp (developer)
2009-01-13 09:51

I incorrectly diagnosed this problem. The errors were also caused by incorrectly streaming/pasting when an file already exists. In addition to the above cause too.
(0014695)
Bradley Lowekamp (developer)
2009-01-28 11:02

wrong description of problem

 Issue History
Date Modified Username Field Change
2008-12-29 09:42 Bradley Lowekamp New Issue
2008-12-29 13:10 Bradley Lowekamp Note Added: 0014449
2009-01-13 09:51 Bradley Lowekamp Note Added: 0014542
2009-01-13 10:38 Bradley Lowekamp Relationship added related to 0008323
2009-01-13 10:39 Bradley Lowekamp Status new => assigned
2009-01-13 10:39 Bradley Lowekamp Assigned To => Bradley Lowekamp
2009-01-28 11:02 Bradley Lowekamp Note Added: 0014695
2009-01-28 11:02 Bradley Lowekamp Status assigned => closed
2009-01-28 11:02 Bradley Lowekamp Resolution open => unable to reproduce


Copyright © 2000 - 2018 MantisBT Team