资源简介
用来手动标记正训练样本和负训练样本。
———————————————————
1.首先输入要标定的数据库目录、要存放正训练样本的目录、要存放负训练样本的目录
2.点击“开始”,程序自动依次显示数据库目录中的图片
3.点击“正例”或“反例”将会把当前图片复制到相应目录
4.可以在图片上点击拖动圈出一个区域,以截取圈出的区域作为样本
5.选中“约束选取比例”可以使得最终选取的样本有固定的大小
![](http://www.nz998.com/pic/65020.jpg)
代码片段和文件信息
function varargout = manual_label(varargin)
% MANUAL_LABEL M-file for manual_label.fig
% MANUAL_LABEL by itself creates a new MANUAL_LABEL or raises the existing
% singleton*.
%
% H = MANUAL_LABEL returns the handle to a new MANUAL_LABEL or the handle to
% the existing singleton*.
%
% MANUAL_LABEL(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in MANUAL_LABEL.M with the given input arguments.
%
% MANUAL_LABEL(‘Property‘‘Value‘...) creates a new MANUAL_LABEL or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before manual_label_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to manual_label_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE‘s Tools menu. Choose “GUI allows only one
% instance to run (singleton)“.
%
% See also: GUIDE GUIDATA GUIHANDLES
% Edit the above text to modify the response to help manual_label
% Last Modified by GUIDE v2.5 02-Jan-2012 10:02:08
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @manual_label_OpeningFcn ...
‘gui_OutputFcn‘ @manual_label_OutputFcn ...
‘gui_LayoutFcn‘ [] ...
‘gui_Callback‘ []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State varargin{:});
else
gui_mainfcn(gui_State varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before manual_label is made visible.
function manual_label_OpeningFcn(hobject eventdata handles varargin)
% This function has no output args see OutputFcn.
% hobject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to manual_label (see VARARGIN)
% Choose default command line output for manual_label
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes manual_label wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = manual_label_OutputFcn(hobject eventdata handles)
% varargout cell array for returning output args (see VARARGOUT);
% hobject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
function edit_datadir_Callback(hobject eventdata handles)
% hobject handle to edit_datadir (see GCBO)
% event
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-01-02 10:29 manual_label\
文件 8609 2012-01-02 10:09 manual_label\manual_label.fig
文件 19778 2012-01-02 10:20 manual_label\manual_label.m
文件 418 2012-01-02 10:36 manual_label\ReadMe.txt
- 上一篇:Simuli
nk单向感应电动机仿真模型 - 下一篇:RBF神经网络拟合函数的,附注释
相关资源
- 引导图像滤波器 Matlab实现
- MATLAB_dct
- matlab实现摄像机标定
- 织物密度测量MATLAB实现
- 坐标转换/坐标标定(matlab优化方法实
- 单机器人的多任务路径规划GUI
- MATLAB GUI设计学习手记第3版源代码BY罗
- MATLAB GUI设计学习手记 第3版 源代码
- glove中文词向量
- matlab数字水印dwtGUI+psnr+mse
- 基于matlabGUI的小车倒立摆pid控制
- matlab模板匹配车牌识别
- 基于MATLAB人民币识别系统.zip
- 小车倒立摆系统的控制及GUI动画演示
- MATLAB身份证号码识别系统GUI论文.zip
- 基于MATLAB GUI的多功能计算器
- MATLAB交通标志识别[GUI界面,论文].z
- MATLAB车牌[GUI,语音播报,论文,详细
- MATLAB数字表盘识别[GUI界面,界面丰富
- Faster-RCNN+ZF制作自己的数据集和训练模
- 无碳小车一等奖作品
- MATLAB霍夫曼变换的表盘刻度识别系统
- MATLAB水果分级[GUI界面,面积,直径,
- MATLAB人脸识别考勤系统摄像头,记录
- MATLAB多方法车牌识别系统bp+模板+GUI
- PCA算法实现人脸识别基于matlab GUI界面
- MATLAB App Designer 教程.pdf
- 数字图像课程设计MATLAB实现简单找茬
- cfnet训练所需的 imdb_video
- Matlab GUI详尽介绍英文
评论
共有 条评论