# SEEDS Superpixels Wrapper for OpenCV
This is a simple OpenCV wrapper for original SEEDS superpixels implementation. It uses the version 1.1 from [author's website](http://www.mvdblive.org/seeds/).
## Example
```c++
#include "seeds_opencv.h"
int main()
{
cv::Mat image = cv::imread("star.png", cv::IMREAD_COLOR);
cv::Mat labels;
int count;
seeds(image, 2, 2, 4, labels, count);
cv::Mat contour;
labelContourMask(labels, contour, false);
image.setTo(cv::Scalar(255, 255, 255), contour);
cv::imwrite("star_labels.png", image);
return 0;
}
```
[![Star](http://atilimcetin.com/SEEDS/star_small.png)](http://atilimcetin.com/SEEDS/star.png)
[![Star Labels](http://atilimcetin.com/SEEDS/star_labels_small.png)](http://atilimcetin.com/SEEDS/star_labels.png)
## License
Wrapper is MIT license. Please refer to [author's website](http://www.mvdblive.org/seeds/) for the license of original SEEDS superpixels implementation.
超像素分割方法,对于物体的边界具有较好的保留,如下图所示。可以辅助目标检测中制作Banchmark。.zip
版权申诉
111 浏览量
2023-12-24
09:42:05
上传
评论
收藏 1.07MB ZIP 举报
天天501
- 粉丝: 596
- 资源: 4666
最新资源
- 基于ATLAB + Psychtoolbox 心理学实验,情绪词汇效价判断
- 美赛数学建模算法-使用Matlab实现神经网络NeuralNetwork-包括BP+LVQ-国赛-题解.zip
- hb-mapper-makertbin.log
- dfcf_silence_upgrade_cfw_10.15.3_20240318163518_64.apk
- 美赛数学建模算法-使用Matlab实现多元分析MultivariteAnalysis-包括聚类分析+主成分分析-国赛-题解
- 构成学1.psd
- 美赛数学建模算法-使用Matlab实现线性规划LinearProgramming-国赛-题解.zip
- npp-7.2.2-Installer-语言修改器
- FY4B AGRI先进的静止轨道辐射成像仪波段响应函数
- 学习Demo影视推荐、音乐播放、地图
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈