I can read the img file with the “raw” reader. It is a bit fiddly because I have to first poke around the header to find out the dimensions and the data type. So I’m wondering if anyone has a plug-in or something to read this format?
mwestphal
(Mathieu Westphal (Kitware))
May 11, 2021, 3:36pm
2
ParaView 5.9.0 has a .hdr file reader.
Thank you. Is it perhaps called something else? I don’t see it on the list:
mwestphal
(Mathieu Westphal (Kitware))
May 11, 2021, 3:57pm
4
It should be automatically picked. Please share your file.
s.hdr (348 Bytes) s.img (73.4 KB)
Thanks!
mwestphal
(Mathieu Westphal (Kitware))
May 11, 2021, 4:08pm
6
Your hdr file is not compatible with our reader.
http://paulbourke.net/dataformats/pic/
RGBE or Radiance HDR is an image format invented by Gregory Ward Larson for the Radiance rendering system. It stores pixels as one byte each for RGB (red, green, and blue) values with a one byte shared exponent. Thus it stores four bytes per pixel.
RGBE allows pixels to have the dynamic range and precision of floating-point values in a relatively compact data structure (32bits per pixel) - often when images are generated from light simulations, the range of per-pixel color intensity values are m...
I see. As stated above, the format is “Analyze 7.5”. Apparently readers for NIfTI images might be able to handle it…
mwestphal
(Mathieu Westphal (Kitware))
May 11, 2021, 4:13pm
8
Indeed, I should have read more carefully.
Is it possible to write a Paraview reader in Python?
There is a bit about reading raw data from xdmf files. I hve to admit I don’t understand the example Reading a time varying Raw file into Paraview . What is supposed to happen? The xml file is read, no error. But when is the raw file read?
mwestphal
(Mathieu Westphal (Kitware))
May 12, 2021, 11:47am
11
Splendid! Thank you very much for the link.
BTW: the section heading is wrong: it is a 3d image, not 2d.