Go to the frame of interest, open Tongue Widget and press grabcut button
Select region of interest with cursor
Press iterate grabcut button
Iterate grabcut button should be pressed at any time to refine the generated mask
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
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:
add linker flags for opencv imgproc and highgui
Add grabcut_widget into include path and add all files under the directory as sources
Image processing:
Replace "insertProcess" name with "setProcess": More sensible naming I was intending to put in the previous PR, since map[x] = a will modify key x if it already exists.
Grabcut tool usage:
Go to the frame of interest, open Tongue Widget and press grabcut button
At any time you may also press Exit/Reset to exit the app or reset the grabCut tool.
Other changes
CMakelists:
Image processing:
map[x] = a
will modify keyx
if it already exists.