Hello everyone,
I am trying to figure out why contour drawing for segmentations is slow
until I receive an unexplained vtkOpenGLTexture error. The error
complains "No scalar values found for texture input!". However, the
contour drawing becomes very responsive and smooth (as it should be)
after the error. Our application continues to function normally even
after the error.
My question is, what within MITK is happening on the side initially
(before the error) that is causing the slowdown in contour drawing? I
suppose the error causes some other process to not work, though I am not
sure what the process is since our application still seems to run fine
even after the error.
During the slowdown period I pause the debugger and it stops in some
lower level method call to ExtractImageFilter::Update() within
mitk::SegTool2D::GetAffectedImageSliceAs2DImage. Could the slowdown be
caused by many GetOutput(0)->Update() calls?
Within our application the vtkOpenGLTexture error happens with the
following steps:
* Close an existing open project.
* Open an image
* Press the "New segmentation" button in the Segmentation plugin
UI.
* The vtkOutputWindow opens displaying the error.
Please note that our application code is not performing any heavy
processing nor doing anything on a frame-by-frame basis. The issue has
to be within MITK as the slowdown occurs while interacting with a 2D
view.
It would be great if someone could tell me what is happening in the
backend when trying to draw a simple contour. Thanks in advance for any
information that can be provided on this issue.
Best regards,
Chris
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users