-
大小: 1.56MB文件类型: .7z金币: 1下载: 0 次发布日期: 2023-11-06
- 语言: Matlab
- 标签: matlab superpixel
资源简介
文件中包括代码,测试图片,以及代码使用的详细方法。
代码片段和文件信息
%======================================================================
% DBSCAN demo in TIP 2016
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % J. Shen X. Hao Z. Liang Y. Liu W. Wang and L. Shao
% % Real-time Superpixel Segmentation by DBSCAN Clustering Algorithm
% % IEEE Trans. on Image Processing 25(12):5933-5942 2016
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Copyright (C) 2016 Beijing Laboratory of Intelligent Information Technology
% Any further questions please send email to: shenjianbing@bit.edu.cn or shenjianbingcg@gmail.com
%======================================================================
%Input parameters are:
%[1] 8 bit images (color)
%[2] Number of required superpixels (optional default is 200)
%[3] post processing(1 is need0 is not)
%Ouputs are:
%[1] labels (in raster scan order)
%NOTES:
%[1] number of returned superpixels may be different from the input
%number of superpixels.
%[2] you should compile the cpp file using visual studio 2008 or later version
% -- mex DBscan_mex.cpp
%======================================================================
clear all;
close all;
currentFolder = pwd;
addpath(genpath(currentFolder))
addpath(‘code‘);
addpath(‘imgs‘);
name=‘van_assign‘;
im = imread([name‘.png‘]);
post=1;
img = uint8(im);
number_superpixels =900;
tic;
label = DBscan_mex(imgnumber_superpixelspost);
toc;
SuperpixelSave(labelimname);
DisplaySuperpixel(labelimname);
% end
相关资源
- 遥感数字图像处理内含Matlab)代码
- Matlab有限元分析与应用(电子书以及
- 最优化方法及其Matlab程序设计(可复
- Bursa_Wolf,布尔莎坐标转换matlab
- g.726 源代码 matlab
- MATLAB与机器学习
- 波束赋形——matlab程序
- 随机信号处理功率谱估计MATLAB程序及
- 支持向量机的matlab实现及相应Demo
- RGB 、YUV、YIQ 和 YCrCb颜色空间转换的
- 离散点云三维重建matlab程序
- 纹理图像分割Matlab源代码 PDF PPT
- libsvm - 支持多类别分类的svm工具箱m
- matlab实现三维点云三角化
- EMD HHT Matlab 信号分析,Google英文原版
- matlab GUI制作的播放器
- SIFT特征匹配 MATLAB 实现
- 图像分块BCS稀疏表示与重建
- K均值聚类算法,图像处理,GUI,mat
- MATLAB在卡尔曼滤波器中应用的理论与
- 智能控制及matlab仿真实验知道
- 经典SVM算法的MATLAB程序
- FASTICA盲源信号分离代码Matlab
-
simuli
nk和pspice的接口程序 - 《全面详解LTE:MATLAB建模、仿真与实
- KPCA matlab实现
- matlab实现视频动态物体检测与追踪
- 基于变分水平集的图像分割
- stk-matlab connectors 1.0.4
- Marine Systems Simulator(gnc)
评论
共有 条评论