Save .vtk data as Meta Image File (.mhd) returns empty .zraw fle
When attempting to save the .vtk
data in .mhd format, the .mhd file contains header information but the .zraw
file is completely empty. The process applied for this issue was:
Attempt 1
- Open a
*.vtk
file - click Apply - Apply the filter ResampleToImage - click Apply (make sure the input field is the selected variable of interest)
File>>Save Data>>Meta Image file (*.mhd)
- Check contents... they are empty :(
Attempt 2
- Same as Attempt but add a Calculator filter between the resample step and save data step.
- Check contents... they are empty :(
ParaView Versions Tested:
- Linux 5.6.0 and 5.9
- Windows 5.8.0
Any insight on if this is something which can be fixed or worked around would be greatly appreciated.
test.mhd
contents
ObjectType = Image
NDims = 3
BinaryData = True
BinaryDataByteOrderMSB = False
CompressedData = True
TransformMatrix = 1 0 0 0 1 0 0 0 1
Offset = -1000 -1000 -1000
CenterOfRotation = 0 0 0
ElementSpacing = 20.202020645141602 20.202020645141602 20.202020645141602
DimSize = 100 100 100
AnatomicalOrientation = ???
ElementType = MET_DOUBLE
ElementDataFile = test.zraw
Edited by Scott G