Operating system: Windows 7 Enterprise 64-bit (6.1, Build 7601)
Slicer version: version 4.10.2 revision 28257 built 2019-05-22
I am using the MultiVolumeExporer to extract a time intensity curve of a DCE MRI scan. To do this, I made a segmentation of the tumor and created a chart of the signal intensity over time.
There are actually 2 features that I would like.
- to access the raw extracted data values (i.e. the mean signal intensity over time)
- to save the chart that was created as an SVG such that I can use it in full resolution.
- the raw values are stored in a node that I am not able to access.
- I am not able to save the chart other than saving it a snapshot.
I found the following topic on exporting plots from slicer Exporting plots from Slicer
Using the information there, combined with the information provided in this commit: https://github.com/Slicer/Slicer/commit/13dc03cb1ffbd1599a6ffa4823254155263c5db8
I tried to save the chart in the following manner:
e = vtk.vtkGL2PSExporter()
lm = slicer.app.layoutManager()
When I do this I get the following error message:
“TypeError: SetRenderWindow argument 1: method requires a VTK object”
I understand from this that the plotView apparently isn’t a VTK object. However I have no clue about how to change this or why it did seem to work in the above mentioned topic on chart exporting.
Also I tried to use the saveAsSVG function that war implemented in the above mentioned commit, however it does not seem to be available in slicer 4.10.2. I tried to use the slicer nightly build instead, however the MultiVolumeExplorer in the nightly doesn’t work as expected and doesn’t provide a chart.
Can you help me out here?