Using DICOM Files as Input for a 3D CNN

1 次查看(过去 30 天)
I am working on a project with tomosynthesis images of patients with breast cancer, in which I will use 3D CNNs. At the moment, I am selecting the slices where the cancer is visible, and my file format is DICOM. To use 3D CNNs, should I save the selected slices in a new single DICOM file, or should I save each slice in a separate file? What is the best format to use as input for my 3D CNN?
Additionally, to save the selected slices, which DICOM file metadata should I modify? I am modifying only the SOPInstanceUID and the PixelData.

回答(1 个)

aditi bagora
aditi bagora 2025-3-4
I would suggest to create a separate DICOM file with the selected images and then pass this 3D pixel data i.e. stack of images of selected slices as an input to the 3D CNN. In order to create a new file along with the pixeldata following metdata fields needs to be updated:
  • SeriesInstanceUID : Identifier for a new series
  • SOPInstanceUID: Within the series identifies the instance
  • InstanceNumber: Identifies the slice number in stack of slices.
However, if your goal is for the 3D CNN to learn how to classify slices based on the presence of cancer, it might be beneficial not to filter the data. Providing the entire series, including slices both with and without visible cancer, will enable the CNN to learn to distinguish between slices that contain cancer and those that do not. Otherwise, by only supplying positive samples, you limit the model's ability to differentiate.

类别

Help CenterFile Exchange 中查找有关 DICOM Format 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by