dcmjs
dcmjs copied to clipboard
Inconsistencies in referenced instances
There is an inconsistency between the instances referenced here

and in the per-frame derivation image sequence

Can you describe which example you used? (is this from SR or SEG example).
SEG. I didn't check if SR has the same problem (it will need to handle references in a similar way).
The reason for this is that the original MRImages are converted to a multiframe before the SEG or SR are created so the reference series are the original single frames but the derivation series is the multiframe. I'll have another look at the logic and decide which one makes the most sense to include in each place.
For reference here is the code in question:
https://github.com/pieper/dcmjs/blob/master/src/derivations.js#L239-L257