HomePhabricator
Diffusion MITK 57be9c209320

[Statistics] Filter planar figures in data selection by control point position

Description

[Statistics] Filter planar figures in data selection by control point position

Summary: So far, to check if a planar figure can be selected together with an image, only the tilt of the plane was considered. This could lead to unexpected behavior / crashes when a planar figure is not tilted, but extends to outside of the image (see T30258). I added a check to ensure all control points of the planar figure must lie inside the selected image geometry. Fixes T30258

Test Plan: See T30258. Load multiple images with different geometries and draw some planar figures (especially lines) on them / between them. Image / Planar Figure pairs should only be selectable in the Statistics view (via either selection method) if the figure is actually on that image.

Reviewers: O1 MITK Reviewer Group I, kislinsk, floca

Reviewed By: O1 MITK Reviewer Group I, kislinsk, floca

Subscribers: floca

Maniphest Tasks: T30258

Differential Revision: https://phabricator.mitk.org/D887

Details

Provenance
s434nAuthored on Nov 27 2023, 12:12 PM
s434nPushed on Nov 27 2023, 12:13 PM
Reviewer
O1: MITK Reviewer Group I
Differential Revision
Restricted Differential Revision
Parents
rMITK1a88d6306e34: add comment to mark temporary code
rMITK226bcc35c217: Merge branch 'feature/T30155-ROI' into develop
Branches
Unknown
Tags
Unknown
Tasks
T30258: [Statistics] Lines across different geometries can cause crash when analyzed with image