How to open 2D planar image .bim format

1 Ansicht (letzte 30 Tage)
mohd akmal masud
mohd akmal masud am 30 Jun. 2023
Beantwortet: Aditya Singh am 4 Jul. 2023
Dear all,
I have the file as attached, the format is .bim (as attached)
Actually this is 2D planar image.
Anyone can help me to open it in Matlab?
The image supposed to be as below:

Akzeptierte Antwort

Aditya Singh
Aditya Singh am 4 Jul. 2023
Hi,
To my understanding, you want to open a .bim format file in MATLAB.
It explains that doing
fid = fopen('result1.bim', 'r', 'ieee-le');
data = fread(fid, inf, '*float');
fclose(fid);
data = reshape(data,128,128);
imagesc(data)
would achive the same. Please refer to the comment for more detail explanantion.
Hope it helps!

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2023a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by