Status | Assigned | Task | ||
---|---|---|---|---|
Resolved | None | T11549 Create the 2012 MITKDiffusion release | ||
Resolved | None | T11806 PlanarFigure Nodes created by MeasurementView are not added to Datastorage |
Event Timeline
To reproduce:
Load image
Draw planarfigure using measurement
Switch to pvanalysis
draw planarfigure using pvanalysis
switch to measurement
Draw planarfigure using measurement
The last one will not be visible in the datamanager.
For a start, measurements DetectTopMostVisibleImage() method will find two images on the second try.
Toggling the visibility of helper objects will yield the image Clusterprobs. Drawing planar figures using the measurement plugin, while having helper objects visible, the new images will be added to the datastorage as children of the Clusterprobs image.
This could probably be fixed by having DetectTopMostVisibleImage() check, whether said image is a helper node and not adding to those.
Personally, I would suggest to:
- Check if an image is selected a. if yes, add planarfigure to said image b. if no, search for the topmost non-helper node image, add planarfigure to that one
Added few lines to avoid selecting the image stored as helper node as parent for the measurement.
Also added a prefix to the PartialVolumeAnalysisView to distinguish the planar figures created there from the figures created by the measurement toolbox.