필터 지우기
필터 지우기

how to open .bim image file

조회 수: 3 (최근 30일)
nuclear medicine
nuclear medicine 2022년 6월 9일
댓글: Ashish Uthama 2023년 3월 27일
want to read and comvert .bim image file to png
  댓글 수: 2
Ashish Uthama
Ashish Uthama 2023년 3월 27일
What is a '.bim' image?
Could you please add more information? e.g A link to the format specificationw would be ideal, if not - things like where you got thie file from (A site/A device?), what its expected to contain, and what other software can create/read this format might help net a helpful answer.
Ashish Uthama
Ashish Uthama 2023년 3월 27일

댓글을 달려면 로그인하십시오.

답변 (1개)

Chandrika
Chandrika 2022년 6월 13일
As per my understanding, you want to read and convert a blocked image into png file format.
In MATLAB, you can do this using the 'images.blocked.PNGBlocks' adapter. It creates a 'PNGBlocks' object which reads and writes 2-D blocked image data in the PNG format.
If 'bim' is your blocked image, first write it to files using 'images.blocked.PNGBlocks' as the adapter.
wa = images.blocked.PNGBlocks();
write(bim, "dirOfPNGs", "Adapter", wa);
Here, 'dirOfPNGs' corresponds to the folder of images created. Next, to create a blocked image file having Blockformat as 'png', refer to the following command:
bpng = blockedImage("dirOfPNGs");
disp(bpng.Adapter)
For a better understanding, please follow the documentation on PNGBlocks https://www.mathworks.com/help/images/ref/images.blocked.pngblocks.html
Hope it helps!
  댓글 수: 1
nuclear medicine
nuclear medicine 2023년 3월 23일
first how to read .bim format image in matlab
a=imread("result3.int")
Error using imread>get_format_info
Unable to determine the file format.
Error in imread (line 395)
fmt_s = get_format_info(fullname);
this is error i am getting

댓글을 달려면 로그인하십시오.

태그

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by