How can I create dcm (or mesh) files from .vol and vgi files and .raw?

Hi, I’ve been given two files that contain the CT scans of two Neanderthal
The first one contains a .vgi and a .vol and the second a .raw
I need to create dicom files from the .vol files and .raw files that I can create mesh files (obj or stl) from. Or skip the dicome files part and go straight to mesh files.

I’ve downloaded and installed the slicermorph and Raw Image Guess extentions but can’t seem to get any useable data out.

For the .vol data - I load it in using the Raw Image Guess module - tried to enter in the size of the xyz dimentions from the .vgi file but the sliders dont go up that high, and I tried a tutorial online (https://youtu.be/ajpOQEAyWkA?si=BoqaenOgTG2fNF8f) but im just getting lots of fuzziness!
This is the .vgi file:
{volume1}
[representation]
size = 1374 1401 2000
mirror = 0 0 0 0
resamplemode = not activated
datatype = unsigned integer
datarange = 0 65535
bitsperelement = 16
[file1]
RegionOfInterestStart = 0 0 0
RegionOfInterestEnd = 1373 1400 1999
FileFormat = raw
Size = 1374 1401 2000
Name = LB_BH1_01.vol
Datatype = float
datarange = -94.1933 394.005
BitsPerElement = 32
{volumeprimitive1}
[section1]
min = 0
max = 65535
offset = 0
name = section [0]

[geometry]
status = visible
relativeposition = 0 0 0
position = 10.5004 -38.0008 0
resolution = 0.1271 0.1271 0.1271
scale = 1 1 1
center = 687 700.5 1000
rotate = 1 0 0 0 1 0 0 0 1
unit = mm
[volume]
volume = volume1
[description]
text = LB_BH1__
[segment1]
status = activated
description = 0
opacityx = 0 12644 65535
redx = 0 65535
greenx = 0 65535
bluex = 0 65535
opacityvalue = 0 0 2
redvalue = 255 255
greenvalue = 255 255
bluevalue = 255 255
{default}
[version]
release = VGStudioMax 1.2.1 (build 352)
{scene}
[viewer]
perspective = activated
viewing angle = 30
position = 0 5849.72 0
oversampling = 1
up = 0 0 1
lookat = 0 0 0
resultsize = 256 256
[perspective]
status = activated
[light1]
diffuse = 0.333 0.333 0.333
status = activated
ambient = 0.333 0.333 0.333
[light2]
diffuse = 0.333 0.333 0.333
status = not activated
ambient = 0.333 0.333 0.333
[angle]
position = 0 0 0
status = not activated
right = 1 2 0
left = -1 2 0
[resolution]
resolution = 0.1271
unit = mm
displayunit = mm
[rendering]
background = 0 0 0 255
intensity = 0.333
colormode = activated
quickmode = activated
algorithm = scatterhq
{camera1}
[viewer]
perspective = activated
viewingangle = 30
position = 0 5849.72 0
oversampling = 1
up = 0 0 1
lookat = 0 0 0
resultsize = 256 256
[perspective]
status = activated
[rendering]
colormode = activated
quickmode = activated
algorithm = scatterhq

For the .raw file I have a txt file that comes with it… and it says only:
Stitched_RI_H-neanderthal_Gibraltar-1_EM3811_raw_
1558x1722x2870
16 bits unsigned
(uncheck Little-endian byte order)

Again I tried importing this with Raw Image Guess, but no luck!

Any help would be greatly appreciated!
Thanks in advance

Please give GEVolImport module in SlicerMorph extension a try. That should be able to import your dataset.

Thank you @muratmaga. I dont have a pcr file though - only a .vol and .vgi
Is there a way a .vgi can be turned into a .pcr?
Thank you

I don’t think so, but you can ask the imaging lab to give you that file. I think it is a standard output from GE scanners.

Or you can try and fiddle with RawImageGuess with those parameters.
X Y Z should be 1374, 1401 and 2000
and data type should be unsigned integer (unsigned 16 bit).

Thanks @muratmaga. Unfortunately those were the only files available from the Natural History Museum London. They wont be scanning the skull again any time soon.
I tried RawImageGuess, but the XYZ can’t go beyond 1200 - so I can’t enter in 1374, 1401 and 2000.
Is there another program that can access .vol files and turn them into dcm?

Also any suggestions on the .raw files? Again I tried RawImageGuess but the XYZ dimensions are too big for for module.

Thanks for your help

@lassoan can you fix that limitation? Perhaps, provide a freehand entry for the size as opposed to a slider with upper bound?

@CatherineBone .pcr file is generated during the scan. So unless they deleted their data they should have it.

As an alternative, keep the XYZ dimensions as large as you can, set the spacing 0.1271 for all three, and then click Generate NRRD Image Header button. This will save a text file (NHRD), which you can open and then edit the XYZ dimensions correctly. You can then save it, and simply drag this file into slicer. Make sure that saved file (NHRD) sits in the same folder as the VOL file. If the settings are correct, then it should load fine.

Using sliders is important to allow going through a range of values quickly. You can edit the range in the Advanced section:

1 Like

Good to know. I didn’t notice the Advanced section.

1 Like