Hi everybody,
A computational scientist working with biomedical images has given me a TIFF file encoding the densities of a volume of some 1000x1000x200 voxels from a biomedical sample. Alternatively, he has also given me the same data as CSV files, one file for each of the 200 slices, containing 0-255 integers in a comma-separated 2d array.
I can see the Geometry/File node can read the tags in the TIFF file and -one- slice, correctly converting the data to a density volume, but not the other slices present in the file, so the volume is only one voxel thick - the rest of the data seems inaccessible.
Meanwhile the Geometry/TableImport node expects one row per point (with an arbitrary number of column/attributes), while the files I have show 1000 density values per line and 1000 lines each - the 3D structure is implied by the position in the 2D array of values and lines and the file/slice.
So far I found only this post regarding TIFF layers:
https://www.sidefx.com/forum/topic/23879/?page=1#post-111188 [www.sidefx.com]
And for the CSV route I can write a python script that gets the CSV files I have and generates a CSV file in the format expected by the TableImport node.
Am I missing a more obvious approach?
Kind regards, Manu
Import Volume Data from a TIFF or CSV files
747 0 1-
- manu3d
- Member
- 39 posts
- Joined: 12月 2018
- オフライン
-
- Quick Links
