Nil Goyette
2017-04-05 15:09:37 UTC
Hi all,
I have this error: "Prohibited image access: the requested image part is
already in use and cannot be requested recursively!" and I'm not sure
what it means. It's caused by the AccessByItk_n in
mitkCorrectorAlgorithm.cpp in GenerateData().
I did modify the [old] segmentation plugin so I'm probably to blame
here. I replaced all mitk::LabelSetImage usages with mitk::Image because
the plugin can do nothing with them anyway. Everything still works as it
should except the +/- Correction button.
I tried reducing the number of smart pointers pointing to
m_WorkingImage but GenerateData() itself makes it go up by one so I
don't see how I could make it stay at 1 in my own code. Any ideas what I
can do to fix this?
Nil
I have this error: "Prohibited image access: the requested image part is
already in use and cannot be requested recursively!" and I'm not sure
what it means. It's caused by the AccessByItk_n in
mitkCorrectorAlgorithm.cpp in GenerateData().
I did modify the [old] segmentation plugin so I'm probably to blame
here. I replaced all mitk::LabelSetImage usages with mitk::Image because
the plugin can do nothing with them anyway. Everything still works as it
should except the +/- Correction button.
I tried reducing the number of smart pointers pointing to
m_WorkingImage but GenerateData() itself makes it go up by one so I
don't see how I could make it stay at 1 in my own code. Any ideas what I
can do to fix this?
Nil