How to open 2D planar image .bim format

조회 수: 3 (최근 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 CenterFile Exchange에서 Introduction 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