[Insight-users] All zero output with ResampleImageFilter (ITK 3.4)
Víctor Rodrigo Córdoba
vrcordoba at gmail.com
Mon Dec 8 14:10:45 EST 2008
Hi.
The result of modReader->GetOutput()->Print( std::cout ) is:
Image <04C69D08>
RTTI typeinfo: class itk::Image<short,3>
Reference Count: 1
Modified Time: 9424
Debug: Off
Observers:
none
Source: <04C67588>
Source Output Index: 0
Release Data: Off
Data Released: False
Global Release Data: Off
PipelineMTime: 7802
UpdateMTime: 9425
LargestPossibleRegion:
Dimension: 3
Index: [0,0,0]
Size: [188,238,54]
BufferedRegion:
Dimension: 3
Index: [0,0,0]
Size: [188,238,54]
RequestedRegion:
Dimension: 3
Index: [0,0,0]
Size: [188,238,54]
Spacing: [1,1,1]
Origin: [-4.31602e+008,-4.31602e+008,-4.31602e+008]
Direction:
1 0 0
0 1 0
0 0 1
PixelContainer:
ImportImageContainer: <0633DF48>
RTTI typeinfo: class itk::ImportImageContainer<unsigned long,short>
Referenced Count: 1
Modified Time: 7857
Debug: Off
Observers:
none
Pointer: 0633DF78
Container manages memory: true
Size: 2416176
Capacity: 2416176
The result of contActivo->Print(std::out); is:
Image <05D57C38>
RTTI typeinfo: class itk::Image<double,3>
Reference Count: 2
Modified Time: 7768
Debug: Off
Observers:
none
Source: <04D36028>
Source Output Index: 0
Release Data: Off
Data Released: False
Global Release Data: Off
PipelineMTime: 7769
UpdateMTime: 7769
LargestPossibleRegion:
Dimension: 3
Index: [0,0,0]
Size: [101,156,27]
BufferedRegion:
Dimension: 3
Index: [0,0,0]
Size: [101,156,27]
RequestedRegion:
Dimension: 3
Index: [0,0,0]
Size: [101,156,27]
Spacing: [1,1,1]
Origin: [0,0,0]
Direction:
1 0 0
0 1 0
0 0 1
PixelContainer:
ImportImageContainer: <04D36178>
RTTI typeinfo: class itk::ImportImageContainer<unsigned long,double>
Referenced Count: 1
Modified Time: 7767
Debug: Off
Observers:
none
Pointer: 04D361A8
Container manages memory: true
Size: 425412
Capacity: 425412
The pixel of modReader is signed short.
The pixel of contActivo is double.
Thank you for your interest.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20081208/6c180ac3/attachment.htm>
More information about the Insight-users
mailing list