PANDORE Version 6 GREYC-IMAGE

pseedplacement



Placement of seeds on a regular grid.



Synopsis

pseedplacement dx dy dz [-m mask] [im_in|-] [reg_out|-]

Description

The operator creates a region maps of the same size as the input image im_in with the seeds (region of size 1) placed on regular grid.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Place seed every 10 pixels on the grid then build the superpixels around the seeds:

./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

See also

Segmentation, psuperpixelsegmentation

C++ prototype

Errc PSeedPlacement2D( Reg2d &rgd, int dx, int dy );

Author: Pierre Buyssens