Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for cancelling/aborting the saving of DICOM image stacks (itk::GDCMImageIO::Write) #560
Using compression when writing a large stack of slices to DICOM can take a significant amount of time. To allow the end user of a ITK-based application to cancel saving a DICOM image stack there needs to be a way in the
Upstream GDCM feature request which must be done first:
For reference the itk::ImageIO class is derived from the LightProcessObject which as an AbortGenerateData method. Additionally, a basic ITK process object would call some "progress" reporting methods which would check if the abort flag for the process add been set.
So the way to add the "abort" feature, may be to add a "progress" feature.
Yes, that can work as long as the "progress" feature reaches all the way into the various GDCM codecs (e.g.