Thanks a lot for your sharing. I had learned a lot from you post.
As you had mentioned in many post that GE may have private fileds in their DICOM ( dcm file ) , indeed!, I had followed your instruction to upload to GE’s 4D view v 10.5 ( per link in your Gitbub post ) , I successfully convert it to 3D Cart , and also set wavelet-compression to " none"
see the link below:
however I still fail to upload to Slicer v4.10 in which I had already included SlicerHeart extension
would you check the file for me and let me know if I had done anything wrong ?
the original dcm is in here:
thank you very much, it will certainly be great if you can guide me on how to load it to slicer successfully.
I remember answering this question somewhere (maybe in another topic or forum) but cannot find it. Anyway, I could load both images without any problems by installing latest Slicer Preview Release (4.11, rev 29009) and SlicerHeart extension, then importing and loading them in DICOM module.
A very good ITK based example: https://github.com/plooney/kretz.
If you use 4D images, the ‘number of frames’ could be obtained in tag (0xd400, 0x0001).
Thank you Andras for putting all the work into this! Exactly what I was looking for! One question, is the github link for GE’s API files ( https://github.com/GEUltrasound/GE_CVUS_Loader/releases/ ) still in working order? I get a 404 error message but is that due to the fact that GE hasnt accepted me into the Edison Developer Program yet? I havent heard back from GE and just getting a little anxious.
These images can be loaded without Image3dAPI (without joining GE’s developer program), just using SlicerHeart.
After you installed SlicerHeart extension and restarted the application, drag-and-drop the .vol files to the application window and click OK to load them.
@lassoan Thank you. I have a problem with this file. It is the right format to load into Slicer 3D? I can load this file into Slicer3D, but I don’t see a baby.
Can you please let me know how can I open kretz files using python. I tried the following command:
slicer.util.loadVolume(’/IMG_201_1.vol’)
It does not work.
I also tried to open it using the following script and I could not do that.
I got the following error:
E: DcmElement: Unknown Tag & Data (…) larger (…) than remaining bytes in file
Could not load “/IMG_201_1.vol”
Thank you in advance
If you are OK with duplicating some loading logic and you are sure that you will only get .vol files then you can copy-paste code from the DICOM ultrasound plugin:
If you just need to work with .vol files that do not embed the volume in a DICOM file then you can load it with a single line of code (set volFileOffset to 0):