Help me to open .bin file
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
mohd akmal masud
am 23 Okt. 2024
Kommentiert: mohd akmal masud
am 23 Okt. 2024
Dear Everyone,
Anyone can help me to open the .bin file as attached.
I cannot open it.
Please help me.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 23 Okt. 2024
No, we cannot help.
The ".bin" file extension is used by arbitrary file formats, with no standardization. You need additional information about the details of how this particular file is stored.
Is there also a ".hdr" file with the .bin file?
3 Kommentare
Walter Roberson
am 23 Okt. 2024
fid = fopen('model1_128_atn_1.bin');
Nslices = 128;
data = zeros(128,128,Nslices);
for K = 1 : Nslices
data(:,:,K) = fread(fid, [128 128], '*float32');
end
fclose(fid);
data = rescale(data);
volshow(data)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu National Instruments Frame Grabbers finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!