pytrip / pytripgui

Official platform-independent PyTRiP graphical user interface
https://pytrip.github.io/pytripgui/
GNU General Public License v3.0
11 stars 4 forks source link

Multiple contours of same ROI are displayed as a single contour #80

Open nbassler opened 7 years ago

nbassler commented 7 years ago

possibly a PyTRiP issue, concat() function

grzanka commented 7 years ago

Can you show some example ?

nbassler commented 7 years ago

If one has a donut shaped ROI, only the inner or the outer contour of the donut is shown.

screenshot_2017-03-06_14-03-26

In Dicom one can have two seperate rings, which make up the ROI for this silice.

TRiP does not like that, and needs to have the entire object as a single contour. So, concat() is supposed to connect the two rings with a very thin line along the radial direction (a tedious process which was done manually in the old Voxelplan times, slice by slice...).

However, what happens now is that, only the inner ring is shown, after concat().

screenshot_2017-03-06_14-03-38 (this should be GTV-HTV)

In case of CTV-HTV only the outer contour is shown.

Note, that concat should also work for two seperate contorus next to each other, i.e.

       O    O       should turn to         O----O