Read .avw files extraced from the Analyze Mayo Clinic software
19 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Joe S
2021 年 6 月 8 日
編集済み: Joe S
2021 年 6 月 8 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Data Import and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!