support segmented data directly from file (as stored by DICOM, for example)