Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdejong/GvmCpp
C++ impl of GVM clustering
https://github.com/mdejong/GvmCpp
Last synced: 16 days ago
JSON representation
C++ impl of GVM clustering
- Host: GitHub
- URL: https://github.com/mdejong/GvmCpp
- Owner: mdejong
- License: apache-2.0
- Created: 2015-08-18T18:44:15.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-03T20:44:55.000Z (almost 8 years ago)
- Last Synced: 2024-07-31T22:58:32.974Z (3 months ago)
- Language: C
- Size: 532 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
GvmCpp:
A C++ impl of GVM clusteringThis project is a C++ impl of GVM clustering:
http://www.tomgibara.com/clustering/fast-spatial/
The Xcode project file contains all the source needed to compile on Mac OSX with Xcode.
Open the project file in the xcode/ subdirectory to find 2 example command line programs:
PngClusterSort: Complete example that will read a PNG, dedup pixels, then cluster and sort
pixels based on clustering results.GvmCPP: minimal pixel clustering example program showing GVM API usage.
Pass a PNG image filename into the pngclustersort command line and then have a peek at the
cluster sorted results. GVM clustering is significantly faster than other O(n^2) clustering
approaches. GVM will process all pixels from Lenna.png in about a second. A very very large
4K image consisting of 4096x2160 takes about 10 seconds. The C++ impl is about 30% faster
than the Java version.