Page MenuHomePhabricator

Image cropper image selection widget accepts bounding box
Closed, WontfixPublic

Description

After changes have been made to enable the auto selection mode (see D375) I realized that the image selection widget automatically selects a bounding box if the image has been removed from the data storage.

I propose to extend the node predicate for the imageSelectionWidget to only allow images, e.g.

m_Controls.imageSelectionWidget->SetNodePredicate(mitk::NodePredicateAnd::New(
    mitk::TNodePredicateDataType<mitk::Image>::New(),
    mitk::NodePredicateNot::New(mitk::NodePredicateProperty::New("helper object"))));

Event Timeline

kalali triaged this task as Normal priority.Aug 24 2020, 12:45 PM
kalali created this task.
kalali renamed this task from Image cropper image selection widgets accepts bounding box to Image cropper image selection widget accepts bounding box.Aug 24 2020, 1:21 PM
kislinsk added a project: Auto-closed.
kislinsk added a subscriber: kislinsk.

Hi there! 🙂

This task was auto-closed according to our Task Lifecycle Management.
Please follow this link for more information and don't forget that you are encouraged to reasonable re-open tasks to revive them. 🚑

Best wishes,
The MITK devs