Commit graph

5 commits

Author SHA1 Message Date
Thomas Manni
041104b5ec Paint Select tool: enable viewport-based local selection
The tool now takes care of the portion of the layer effectively displayed
on the screen. This allows faster expansion/shrink of the selection since
an area smaller than the whole layer is used.

It will also limit the impact of the incoming multilevels processing, which
tends to decrease the segmentation accuracy on thin structures, since users
often zoom-in to work on such thin details.
2021-01-18 18:43:39 +01:00
Thomas Manni
7d753c6f54 Paint Select tool: apply a threshold on the image mask before triggering...
...the automatic expansion to simplify mask handling in the gegl
paint-select operation.
2021-01-10 15:28:46 +01:00
Thomas Manni
69b03cf363 Paint Select tool: correctly handle drawable offsets 2020-12-04 11:57:21 +01:00
Thomas Manni
ff23b2c809 Paint Select tool: regroup image mask updates in one place
Also remove the temporary resulting buffer from the tool structure.
2020-12-04 10:09:35 +01:00
Thomas Manni
e1cdb9f54e app, icons: add Paint Select tool in the playground
A -quick done- first step towards the addition of a smart selection tool.
Require the gegl:paint-select workshop operation.
Still LOT of work to do (wip):
- fluctuations removal (GEGL side)
- multilevels pyramid approach + banded graphcut for instant result on large
   image (GEGL ? GIMP ?)
- Gaussian Mixtures for color models (GEGL side)
- drawable offsets (GIMP side)
- undo / redo (GIMP side)
- scribbles edition mode (GIMP side)
- dedicated icons
- ...
2020-11-24 12:10:40 +01:00