Page MenuHomePhabricator

[image statistics] compute statistics even when closed planar figure is partially out of the image geometry bounds
Closed, DuplicatePublic

Description

How to reproduce:

  • load an image
  • draw a planar circle and activate the Statistics view --> the histogram widget shows the expected bar chart
  • drag the planar circle and move it so that a part of the circle is out of the bounding box of the image --> the statistics view shows a notification that the figure is partially out of bounds

Feature Request:

  • I would expect that the Statistics View still draws a histogram bar chart but considering only the intersection region of the figure and the bounding box.

Event Timeline

The circle planar figure is the only figure that can be moved so that a part is outside of the bounding box. The interaction prevents only the 'active points' ( the middlepoint and the point for varying the radius ) to be placed outside of the bbox.

Another possible solution:

  • for interaction with the circle planar figure check the distance of the circle boundary to the image bounding box and reduce the radius in case the middle point is moved toward an image boundary and the distance is less then the current radius.

This bug could not be fixed within the 2013-06 release and has medium severity. Setting target milestone to unspecified.

This bug could not be fixed within the release 2013-06. Setting its target milestone to unspecified

Updating target milestone to upcoming release

hentsch renamed this task from The statistics switches to 'line profile' mode if a closed planar figure is partially out of the image geometry bounds to [image statistics] compute statistics even when closed planar figure is partially out of the image geometry bounds.Jan 18 2019, 11:29 AM
hentsch lowered the priority of this task from Low to Wishlist.
hentsch updated the task description. (Show Details)

At least the statistics table should not show the old values but instead show maybe no values and display a warning for wrong placed mask.

hentsch closed this task as a duplicate of Restricted Maniphest Task.May 24 2019, 11:41 AM