资源简介
用来手动标记正训练样本和负训练样本。
———————————————————
1.首先输入要标定的数据库目录、要存放正训练样本的目录、要存放负训练样本的目录
2.点击“开始”,程序自动依次显示数据库目录中的图片
3.点击“正例”或“反例”将会把当前图片复制到相应目录
4.可以在图片上点击拖动圈出一个区域,以截取圈出的区域作为样本
5.选中“约束选取比例”可以使得最终选取的样本有固定的大小
代码片段和文件信息
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神经网络拟合函数的,附注释
相关资源
- RBF神经网络拟合函数的,附注释
- 训练好用于车牌分割的神经网络
- 摄像头标定棋盘PDF
- Matlab GUI实现的指纹特征提取与编辑
- 惯导六位置法标定解算Matlab程序
- matlab实现神经网络的数字识别,有训
- 霍夫曼Huffman编码译码GUI界面设计.ra
- matlab简易画板GUI程序
- 基于matlab的gui显示动态卷积,圆周卷
- 基于MATLAB的窗函数法设计FIR数字滤波
- gui_mainfcn.m
- 基于MATLAB+GUI自由拖动点调试曲线
- 数字图像处理GUI界面设计
- 基于MATLAB的GUI设计,密码输入
- matlab gui UDP通信
- 机器人手眼标定Matlab程序高精度
- 基于MATLAB的目标定位
- 基于MATLAB GUI开发的TCP/IP通讯调试助手
- matlab语音处理 gui(快放,加噪,去噪
- matlab图像处理gui49054
- MATLAB GUI图像处理
- matlab车牌识别有gui
- 一个简单的matlab图形界面程序GUI
- 30个MATLAB—GUI案例源码
- matlab gui经典
- 控制系统设计实验软件开发
- 无线通信系统的GUI设计与仿真实现
- 神经网络的GUI可视化界面
- MATLAB的gui界面设计
- 自己写的蚁群算法实验带GUI matlab写的
评论
共有 条评论