PANDORE Version 6 GREYC-IMAGE

psuperpixelsegmentation



Oversegmentation of image into superpixels.



Synopsis

psuperpixelsegmentation compactness perturbation [-m mask] [reg_in|-] [im_in|-] [reg_out|-][im_out|-]

Description

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.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

See also

Segmentation, pseedplacement

C++ prototype

Errc PSuperPixelSegmentation2D( const Img2duc &im_in, const Reg2d &reg_in, Reg2d &reg_out, Img2duc &im_out, float compactness, int perturbation);

Author: Pierre Buyssens