Commit graph

10 commits

Author SHA1 Message Date
Jehan
c804865ddd app: new "tools-paint-select-pixel-size-set" action.
Also ensure that the outline circle is redrawn while changing the
outline size.
2022-08-17 14:20:18 +02:00
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
4d0ba4392b Paint Select tool: add a dedicated function to check tool requirements 2021-01-10 13:04:31 +01:00
Jehan
b1abc5b6a6 app: improve Paint Select Tool description.
Based on other tools wording, as well as the algorithm description. In
any case, it looks a bit better than the previous description (with a
typo even).
2020-12-22 23:13:45 +01:00
Thomas Manni
6a169e289f Paint Select tool: add a temporary option to show painted scribbles
For debugging purpose, will be removed on the final tool.
2020-12-04 18:56:28 +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
9e391bc3b6 app: Paint Select tool, reflect changes applied to the gegl operation...
...related to fluctuations removal.
2020-11-24 19:02:30 +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