Superpixel Segmentation with the Simple Non-Iterative Clustering Algorithm
Overview
Implements the Simple Non-Iterative Clustering algorithm for superpixel segmentation of multi-band images, as introduced by Achanta and Susstrunk (2017) doi:10.1109/CVPR.2017.520. Supports both standard image arrays and geospatial raster objects, with a design that can be extended to other spatial data frameworks. The algorithm groups adjacent pixels into compact, coherent regions based on spectral similarity and spatial proximity. A high-performance implementation supports images with arbitrary spectral bands.
- Added a
NEWS.mdfile to track changes to the package. - Added
terra_is_working()and guards around CRS-dependent examples, tests, and vignettes so that CRAN checks no longer fail whenterracannot access PROJ data (notably on Windowsoldrel). - Fixed minor issues in vignettes and improve figures' legend format.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 16 (8 internal)
- Examples that run
- 100%6 run in a plain check (6 of them under a condition)
- Exported functions with examples
- 75%
- Documented parameters
- 75%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 88%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Releases over time
Issues over time
PRs over time
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/rolfsimoes/snic on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2025-12-13 · The repository has a site deploy workflow
pkgdown site last built 2025-12-13, before release 0.6.1 (2025-12-14)
Show all practicesHide 1 practice
Dependencies
Installing snic adds no packages beyond those that come with R.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.6.1Latest
- 0.6.02025-12-03
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2025-12-03
- Total releases
- 2 / 1 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 5.7 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("snic")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.