How to open 2D planar image .bim format

2 ビュー (過去 30 日間)
mohd akmal masud
mohd akmal masud 2023 年 6 月 30 日
回答済み: Aditya Singh 2023 年 7 月 4 日
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:

採用された回答

Aditya Singh
Aditya Singh 2023 年 7 月 4 日
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!

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by