Page MenuHomePhabricator

ImageWriteAccessor should ignore ReadAccessors with IgnoreLock option
Closed, ResolvedPublic

Description

mitk::ImageWriteAccessor throws an exception now if a write lock is required but there are either readers or writers to the same image.

mitk::ImageReadAccessor has an IgnoreLock option. The write accessor should allow writing to the images if the read accessors have the IgnoreLock option set.

Patch based on 2014.03.0 follows.

Event Timeline

I put the patch upon the same pull request to avoid conflicts.

https://github.com/MITK/MITK/pull/71

It contains third commit as well that allows to set the IgnoreLock policy to the ImageToItk filter.