Load .raw microCT data with .vgi metadata

Hello,

I am trying to load .raw data, that are paired with rich .vgi metadata. I’m aware of the RawImageGuess module, But is there not a way to directly use the .vgi file in conjunction with a .raw file?
For the sake of completion, I have the following files :

  • .raw
  • .raw.xmp
  • .nhdr
  • .vgi

I tried using the RawImageGuess extension on the .raw files manually inputing the metadata I found in the .nhdr and the .vgi but I didn’t find any signal, maybe because I don’t have information about the header size.

Any advice as to the best way to load this microCT data?
Thank you very much.

It is possible to develop a module to do that. We already one example in SlicerMorph called GEVolImport

You can take a look at it, and modify it to work for your cases.

However, you will have to reverse engineer the vgi format and decide what fields to read and what to ignore. Also if VGStudio changes the format of the file, you have to keep updating the module.

So it is often simpler to look at the data extends and the type from the vgi file, and then use the RawImageGuess to directly enter those values to import the file. But if you are willing to try developing a module, we can guide you…

Thank you,
I will ask the lab for more detail about the data format and work from there