Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selction bounding box & shrink radius
#1
I have been trying for a couple of days to find the relationship between a selection bounding box and the radius which is used for shrink or grow selection.
My first thoughts were that the radius would be half the diagonal of the bounding box, but this appears not to be true.

In the Shrink/Grow/Feather LIVE PREVIEW GIMP by TinT he has used a binary search routine to find the shrink radius which reduces the selection size to zero in order to set the minimum value for the adjustment slider. However, this is very slow for large images.

I thought that there must be a mathematical formula for the shrink radius that would reduce the size of the smallest bounding box side to half of it's original value.

Help from our resident geniuses greatly appreciated!

david.
Reply


Messages In This Thread
Selction bounding box & shrink radius - by david - 12-14-2023, 02:25 PM

Forum Jump: