[GRASS-dev] new addon module: i.superpixels.slic - image segmentation using the SLIC segmentation method

Dear all,

Thanks to initial work by Rashad, extensively completed by Markus Metz,
we now have a new addon module which allows to segment images into
so-called superpixels, using the SLIC algorithm as proposed by Achanta
et al [1].

The module uses a spatially constrained kmeans algorithm to group
neighboring pixels into larger ensemble, the "superpixels". These
superpixels can be used as a specific form of segmentation by itself,
or they can be used as seed input to i.segment's region-growing
algorithm.

Thank you very much to the two authors for the great work !

Moritz

[1] http://ivrl.epfl.ch/research/superpixels

Congratulations to the authors of i.superpixels.slic to a great achievement! I’ve noticed lot of promising commits.

I’ve a suggestion to rename the one of the option called k. I think we were recently changing a lot of options in modules from a letter to a more descriptive name (num, number, pixels, num_pixels, …?).

k=integer
Number of super pixels
Default: 200

I’ve also added an example, so please review or add. (I suppose combination with i.segment can be included in another example.)

Vaclav

···

On Tue, Jan 31, 2017 at 1:19 PM, Moritz Lennert <mlennert@club.worldonline.be> wrote:

Dear all,

Thanks to initial work by Rashad, extensively completed by Markus Metz,
we now have a new addon module which allows to segment images into
so-called superpixels, using the SLIC algorithm as proposed by Achanta
et al [1].

The module uses a spatially constrained kmeans algorithm to group
neighboring pixels into larger ensemble, the “superpixels”. These
superpixels can be used as a specific form of segmentation by itself,
or they can be used as seed input to i.segment’s region-growing
algorithm.

Thank you very much to the two authors for the great work !

Moritz

[1] http://ivrl.epfl.ch/research/superpixels


grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

On 07/02/17 05:09, Vaclav Petras wrote:

Congratulations to the authors of i.superpixels.slic to a great
achievement! I've noticed lot of promising commits.

I've a suggestion to rename the one of the option called `k`. I think we
were recently changing a lot of options in modules from a letter to a
more descriptive name (num, number, pixels, num_pixels, ...?).

+1

I've also added an example, so please review or add.

Perfect, thanks a lot !

(I suppose
combination with i.segment can be included in another example.)

Yes.

Plus potentially an example with i.superpixels.slic + i.segment.stats + v.class.mlR.

I think it is also time to write a more extensive wiki page on OBIA in GRASS... :slight_smile:

Moritz

On 07/02/17 08:30, Moritz Lennert wrote:

On 07/02/17 05:09, Vaclav Petras wrote:

Congratulations to the authors of i.superpixels.slic to a great
achievement! I've noticed lot of promising commits.

I've a suggestion to rename the one of the option called `k`. I think we
were recently changing a lot of options in modules from a letter to a
more descriptive name (num, number, pixels, num_pixels, ...?).

+1

Done. I chose num_pixels.

Moritz