Working version of DicomProcessor class.