module datainc.data_medical#

Short summary#

module ensae_projects.datainc.data_medical

Functions to handle data coming from Cancer Imaging Archive.

source on GitHub

Functions#

function

truncated documentation

_recurse_fill

convert_dcm2png

Converts all medical images in a folder from format dcm to png.

Documentation#

Functions to handle data coming from Cancer Imaging Archive.

source on GitHub

ensae_projects.datainc.data_medical._recurse_fill(obs, dataset, parent='')#
ensae_projects.datainc.data_medical.convert_dcm2png(folder, dest, fLOG=None)#

Converts all medical images in a folder from format dcm to png.

Parameters
  • folder – source folder

  • dest – destination folder

  • fLOG – logging function

Returns

pandas.DataFrame with many data

The function uses module pydicom.

source on GitHub