paulmthompson / WhiskerToolbox

GNU Lesser General Public License v2.1
1 stars 1 forks source link

Add Grabcut tool/widget #14

Closed nonrice closed 2 months ago

nonrice commented 2 months ago

Grabcut tool usage:

Go to the frame of interest, open Tongue Widget and press grabcut button

  1. Select region of interest with cursor
  2. Press iterate grabcut button
    • Iterate grabcut button should be pressed at any time to refine the generated mask
  3. Use brush after first grabcut iteration to touch up the grabcut
    • Brush Colors:
      • Definite background/foreground: GrabCut will unconditionally listen to this type of brush stroke
      • Probable background/foreground: GrabCut takes this type of brush stroke only as a suggestion
  4. Press Save & Exit to save to a new mask inside the data manager; subsequent masks are saved in the same mask.

At any time you may also press Exit/Reset to exit the app or reset the grabCut tool.

Other changes

CMakelists:

Image processing: