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

1 visualización (últimos 30 días)
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 comentarios
Rida Memon
Rida Memon el 27 de En. de 2020
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?
Walter Roberson
Walter Roberson el 27 de En. de 2020
Editada: Walter Roberson el 27 de En. de 2020
im8 = im2uint8(img);
imwrite(im8, 'OutputFileName.png')

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Genomics and Next Generation Sequencing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by