基于 SNIC(简单非迭代聚类)的超像素聚类。针对每个输入频段,输出一个聚类 ID 频段以及每个聚类的平均值。如果未将“种子”图片作为输入提供,则输出将包含一个“种子”波段,其中包含生成的种子位置。请参阅:Achanta, Radhakrishna 和 Susstrunk, Sabine,“Superpixels and Polygons using Simple Non-Iterative Clustering”,CVPR,2017 年。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[[["Applies the Simple Non-Iterative Clustering (SNIC) algorithm to generate superpixels from an image."],["Outputs an image containing cluster IDs and per-cluster band averages."],["Algorithm parameters like `size` and `compactness` impact the resulting superpixel shapes and sizes and may require adjustments."],["If no seed locations are provided, the algorithm generates them based on a grid defined by the `size` parameter."],["Superpixel clustering is sensitive to pixel scale and zoom level during interactive visualization."]]],["SNIC clustering segments an image into superpixels, outputting cluster IDs and per-cluster averages for each input band. Key parameters include `size` (seed spacing), `compactness` (cluster shape), and `connectivity`. A user can provide `seeds` to define seed locations; otherwise, they are generated. The output `Image` includes cluster IDs, band averages, and optionally generated seed locations. Adjusting `size` and `compactness` is crucial for optimal results, which are also affected by pixel scale.\n"]]