Read .avw files extraced from the Analyze Mayo Clinic software
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dear all,
I would be grateful for any ideas on the following point. I am interested to read .avw files, which is the new file (image) format for files exported from the Analyze Mayo Clinic software. Previously, this was possible via the analyze75read command in Matlab, but this command can only read .img or .hdr (image) files, which are the previous files that could be exported from Analyze. I don't seem to find anything for .avw (image) files.
Any recommendations would be much appreciated it.
George
0 commentaires
Réponses (1)
Joe S
le 8 Juin 2021
Modifié(e) : Joe S
le 8 Juin 2021
I haven't been able to sit down and write code for this, but believe the first 4096 bytes of the AVW files are the header. Here's where I'd go with this.
avwName = 'filename.awv';
fid = fopen(avwName,'r');
avwHdr = fread(fid,'*char'); %character array
avwHdr = avwHdr'; % make a bit prettier
avwHdrCell = strsplit(avwHdr,'\n'); %make cell array of parameters
fclose(fid);
From here you can extract out width, height, slices, bitdepth for reading in the binary data at the end of the header portion. This might get you started, if I take the time to write something out more complete, I'll post it in the community.
0 commentaires
Voir également
Catégories
En savoir plus sur Data Import and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!