[Castor-users] Error about Attenuation Map
tmerlin
Thibaut.Merlin at univ-brest.fr
Mon May 23 20:21:06 CEST 2022
Hi Xinjie,
Yes indeed this is the same issue. Interfile header can come in several
format and CASToR can't open the one you provided. I couldn't open it
with a text editor either.
If you didn't do that already, one quick work-around could be to create
an interfile header for your binary file from one compatible header. I
attached one to this mail, you just have to change the name of data file
as well as voxel dimensions/size. The /'total number of images/' key
must correspond to the number of axial slices (as/matrix size [3]/), 211
in your case.
Hope this helps,
Thibaut
On 29/04/2022 17:56, Xinjie Cao wrote:
> Dear all,
>
> I generated an attenuation map and wanted to apply it to my
> reconstruction. But when I apply it in /Castor-recon/, the error
> popped up as follows,
> =======================
> Error: some mandatory keys not initialized. Cannot read the interfile
> image!
> Error when trying to read path to image data
> Error when trying to read matrix size (image dimensions) : x= 0, y= 0,
> z= 1
> =======================
>
> I searched the CASToR archive, and found the following thread,
> https://lists.castor-project.org/pipermail/castor-users/Week-of-Mon-20210426/000529.html.
>
> However, it looks like the issue hasn't been solved yet. I generated
> the original */.nii/* file in Matlab and converted it to analyze
> format using XMedcon. I have attached the header file and image file
> to this email, any response will be highly appreciated!
>
> Best,
> Xinjie
> IQTest.hdr
> <https://drive.google.com/file/d/1l0QZXPGKw7HtGrHyr30XeTtfRF9kXAEc/view?usp=drive_web>
> IQTest.img
> <https://drive.google.com/file/d/1L2Q01W3WZWn8SZG1KWoH3vud00GHJUvq/view?usp=drive_web>
>
> _______________________________________________
> Castor-users mailing list
> Castor-users at lists.castor-project.org
> https://lists.castor-project.org/mailman/listinfo/castor-users
>
> To look for something in the mailing-list archives, use the search box at:
> https://castor-project.org/mailing-list
--
Thibaut MERLIN -- PhD
Docteur en Imagerie Médicale au Laboratoire de Traitement de l'Information Medicale (LaTIM - INSERM UMR 1101)
Institut Brestois de recherche en Bio-Santé (IBRBS)
12 Avenue Foch, 29200 Brest, FRANCE
Tel: 06.75.12.24.90
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.castor-project.org/pipermail/castor-users/attachments/20220523/7ff1656c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mumap_sebal.hdr
Type: image/x-hdr
Size: 784 bytes
Desc: not available
URL: <http://lists.castor-project.org/pipermail/castor-users/attachments/20220523/7ff1656c/attachment.bin>
More information about the Castor-users
mailing list