Page MenuHomePhabricator

Ultrasound Plugin behaves erratically when using bad cropping values
Closed, WontfixPublic

Description

When viewing a video stream via the Ultrasound plugin, the user is able to crop the image. If the croppping borders intersect (i.e. more pixels are cropped away than are available in the picture, an exception is caught and the user is advised to restart MITK.

This is a lot better than a crashing application obviously, but could be handled more gracefully.

Event Timeline

User maerz has pushed new remote branch:

bug-17401-UltrasoundPluginBehavesErraticallyWhenUsingBadCroppingValues

[7f9afd]: Merge branch 'bug-17401-UltrasoundPluginBehavesErraticallyWhenUsingBad

Merged commits:

2014-03-05 16:43:00 Keno Maerz [af1888]
Simplified control flow


2014-03-05 16:31:31 Keno Maerz [413c02]
Fixed resetting of Spinbox wheels


2014-03-05 15:54:09 Keno Maerz [92ac3d]
Added checks against illegal crop areas

The Widget is now aware of exceptions coming from the image source and reacts accordingly by resetting the values to the last known functioning ones.

Hoewever, if e.g. cropping.left == image width, MITK crashes still. The reason ist probably an insufficient check in the image source

kislinsk claimed this task.
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

kislinsk removed kislinsk as the assignee of this task.May 26 2020, 12:05 PM
kislinsk removed a subscriber: kislinsk.