dcmjs icon indicating copy to clipboard operation
dcmjs copied to clipboard

Inconsistencies in referenced instances

Open fedorov opened this issue 8 years ago • 4 comments
trafficstars

There is an inconsistency between the instances referenced here

image

and in the per-frame derivation image sequence

image

fedorov avatar Jul 06 '17 16:07 fedorov

Can you describe which example you used? (is this from SR or SEG example).

pieper avatar Jul 06 '17 21:07 pieper

SEG. I didn't check if SR has the same problem (it will need to handle references in a similar way).

fedorov avatar Jul 06 '17 22:07 fedorov

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.

pieper avatar Jul 06 '17 23:07 pieper

For reference here is the code in question:

https://github.com/pieper/dcmjs/blob/master/src/derivations.js#L239-L257

pieper avatar Jul 06 '17 23:07 pieper