Here are some test about image processing in c++
Two examples:
– Interactive segmention: Separate foreground and background by user strokes to get foregrounf and backfround samples.
Smooth blending: The algoritm search for smoothest seam to blend two images. (in the example is merged with itself to expand size)