How can i convert the chest x-ray images from JSRT database into png format?

1 次查看(过去 30 天)
How can i convert the chest x-ray images from JSRT database into png format?
Link for the database: http://db.jsrt.or.jp/eng.php
  3 个评论
Rida Memon
Rida Memon 2020-1-27
fid = fopen('JPCLN001.img','r','b');
oneSlice = fread(fid, [2048 2048], '*uint16','b');
img = mat2gray(oneSlice, [0,4096]);
imshow(img);
fclose(fid);
I have this code for conversion. But i want to permenantly save this image. Is that possible?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Biomedical Imaging 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by