{"id":19386203,"url":"https://github.com/davidstutz/vlfeat-slic-example","last_synced_at":"2025-04-23T22:32:24.814Z","repository":{"id":18745855,"uuid":"21957794","full_name":"davidstutz/vlfeat-slic-example","owner":"davidstutz","description":"Example of using VLFeat's SLIC implementation from C++.","archived":false,"fork":false,"pushed_at":"2016-08-21T17:33:33.000Z","size":978,"stargazers_count":10,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T21:51:18.525Z","etag":null,"topics":["computer-vision","image-processing","opencv","slic","superpixel-algorithm","superpixels","vlfeat"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidstutz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-07-17T21:12:24.000Z","updated_at":"2020-12-20T22:23:34.000Z","dependencies_parsed_at":"2022-09-11T21:43:24.858Z","dependency_job_id":null,"html_url":"https://github.com/davidstutz/vlfeat-slic-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidstutz%2Fvlfeat-slic-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidstutz%2Fvlfeat-slic-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidstutz%2Fvlfeat-slic-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidstutz%2Fvlfeat-slic-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidstutz","download_url":"https://codeload.github.com/davidstutz/vlfeat-slic-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250527261,"owners_count":21445338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computer-vision","image-processing","opencv","slic","superpixel-algorithm","superpixels","vlfeat"],"created_at":"2024-11-10T10:04:39.721Z","updated_at":"2025-04-23T22:32:19.797Z","avatar_url":"https://github.com/davidstutz.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Using VLFeat's SLIC from C++\n\n[![Build Status](https://travis-ci.org/davidstutz/vlfeat-slic-example.svg?branch=master)](https://travis-ci.org/davidstutz/vlfeat-slic-example)\n\nThis project is a simple example of how to use [VLFeat](http://www.vlfeat.org/)'s \"Simple Linear Iterative Clustering\" (SLIC) implementaiton from C++.\n\nThe algorithm is desribed in detail in [1].\n\n    [1] R. Achanta, A. Shaji, K. Smith, A. Lucchi, P. Fua, S. Süusstrunk.\n    SLIC Superpixels.\n    Technical report, EPFL, Lausanne, 2010.\n\nHave a look at my blog article ybout VLFeat's SLIC implementation: [http://davidstutz.de/running-vlfeats-slic-superpixels-using-cmake-c/](http://davidstutz.de/running-vlfeats-slic-superpixels-using-cmake-c/)\n\n## Requirements\n\n* Build essentials: `sudo apt-get install build-essential`\n* CMake: `sudo apt-get install cmake`\n* OpenCV: [http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html#linux-installation](http://docs.opencv.org/doc/tutorials/introduction/linux_install/linux_install.html#linux-installation)\n\n## Usage\n\n    $ git clone https://github.com/davidstutz/vlfeat-slic-example.git\n    $ cd vlfeat-slic-example\n    $ cmake .\n    $ make\n    [ 20%] Building C object CMakeFiles/vlfeat_slic.dir/lib_vlfeat/vl/host.c.o\n    [ 40%] Building C object CMakeFiles/vlfeat_slic.dir/lib_vlfeat/vl/random.c.o\n    [ 60%] Building C object CMakeFiles/vlfeat_slic.dir/lib_vlfeat/vl/generic.c.o\n    [ 80%] Building C object CMakeFiles/vlfeat_slic.dir/lib_vlfeat/vl/slic.c.o\n    Linking C static library libvlfeat_slic.a\n    [ 80%] Built target vlfeat_slic\n    Scanning dependencies of target vlfeat_slic_example\n    [100%] Building CXX object vlfeat_slic_cli/CMakeFiles/vlfeat_slic_example.dir/main.cpp.o\n    Linking CXX executable ../bin/vlfeat_slic_example\n    [100%] Built target vlfeat_slic_example\n    $ ./bin/vlfeat_slic_example\n    \nMake sure that `Lenna.png` is present in the root directory (or the directory from where you are running `vlfeat_slic_example`).\n\n## Result\n\n![Superpixel segmentation of `Lenna.png`.](Lenna_contours.png?raw=true \"Superpixel segmentation of `Lenna.png`.\")\n\n# License\n\nVLFeat is distributed under the BSD license, see [https://github.com/vlfeat/vlfeat](https://github.com/vlfeat/vlfeat).\n\nFor license details of `Lenna.png`, see [http://en.wikipedia.org/wiki/Lenna#mediaviewer/File:Lenna.png](http://en.wikipedia.org/wiki/Lenna#mediaviewer/File:Lenna.png).\n\nCopyright 2014 David Stutz\n\nThe application is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThe application is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nSee http://www.gnu.org/licenses/.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidstutz%2Fvlfeat-slic-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidstutz%2Fvlfeat-slic-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidstutz%2Fvlfeat-slic-example/lists"}