Skip to content

Commit

Permalink
add some commentary
Browse files Browse the repository at this point in the history
  • Loading branch information
voreille committed Jan 24, 2024
1 parent 930216a commit 7d7db59
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions okapy/dicomconverter/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,15 @@ def __call__(self, input_folder, output_folder=None):


class NiftiConverter(BaseConverter):
"""
An instance of this class is used to convert a folder containing
DICOM files to NIfTI files. The DICOM files are first sorted by
a okapy.dicomconverter.dicom_walker.DicomWalker. The files are
then organized by StudyInstanceUID as instances of
okapy.dicomconverter.study.Study. Then, the Study instances are processed
one by one. This allow to use the same segmentation (as the form of a RTSTRUCT or a SEG)
on different modalities within the same study.
"""

def __init__(
self,
Expand Down

0 comments on commit 7d7db59

Please sign in to comment.