PANDORE Version 6 | GREYC-IMAGE |
This operator computes an over-segmentation of the input image im_in. The initial seeds are taken from the region map rg_in. Seeds are regions of size 1. The algorithm is based on region growing clustering using the Eikonal equation. The resulted image im_out stores the geodesic distance map.
A spatial constraint term can be used to enforce compactness of the superpixels.
Note: for color image, results are better in the lab color space.
Returns SUCCESS or FAILURE.
./pseedplacement 10 10 0 examples/tangram.pan rgin.pan ./psuperpixelsegmentation 0 1 rgin.pan examples/tangram.pan rgout.pan geodesic-map.pan pboundary 8 rgout.pan cont.pan psuperimposition 3 cont.pan examples/tangram.pan result.pan
Author: Pierre Buyssens