资源简介
用matlab实现RGB、HSI、YCbCr之间的转换以及人脸检测,适合初学者,经测试能用,有同matlab自带函数的对比效果图,并且附带测试图片,有详细代码。
代码片段和文件信息
function varargout = DIPproject2(varargin)
% DIPPROJECT2 MATLAB code for DIPproject2.fig
% DIPPROJECT2 by itself creates a new DIPPROJECT2 or raises the existing
% singleton*.
%
% H = DIPPROJECT2 returns the handle to a new DIPPROJECT2 or the handle to
% the existing singleton*.
%
% DIPPROJECT2(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in DIPPROJECT2.M with the given input arguments.
%
% DIPPROJECT2(‘Property‘‘Value‘...) creates a new DIPPROJECT2 or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before DIPproject2_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to DIPproject2_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 DIPproject2
% Last Modified by GUIDE v2.5 30-Apr-2012 10:03:49
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @DIPproject2_OpeningFcn ...
‘gui_OutputFcn‘ @DIPproject2_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 DIPproject2 is made visible.
function DIPproject2_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 DIPproject2 (see VARARGIN)
% Choose default command line output for DIPproject2
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes DIPproject2 wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = DIPproject2_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;
% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hobject eventdata handles)
% hobject handle to pu
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4393 2012-05-29 14:25 RGB、HSI、YCbCr之间的转换以及人脸检测\DIPproject2.fig
文件 8322 2012-05-29 16:04 RGB、HSI、YCbCr之间的转换以及人脸检测\DIPproject2.m
文件 80000 2012-04-30 12:27 RGB、HSI、YCbCr之间的转换以及人脸检测\test.jpg
目录 0 2012-06-10 18:45 RGB、HSI、YCbCr之间的转换以及人脸检测
----------- --------- ---------- ----- ----
92715 4
相关资源
- Matrix completion & Tensor completion经典算法
- matlab圈出照片中人脸和五官的位置
- matlab之循环卷积自写
- 用MATLAB实现遗传算法程序
- MATLAB实现卷积码编译码
- 基于matlab的蚁群算法和仿真结果图
- matlab实现ASK调制解调
- 云模型的matlab程序
- PSCAD与MATLAB的在线连接仿真
- 雷达回波仿真 matlab源程序
- matlab求已知数据点的拉格朗日插值多
- 遗传算法优化的BP神经网络 - MATLAB源码
- 机器人 编队 蜂拥 matlab 仿真
- MATLAB读取整个文件夹或多个文件夹内
- 基于MATLAB的BP神经网络的臭氧总量预测
- Matlab-Wifi仿真
- m序列发生器
- 802.11a OFDM matlab
- 三边定位算法
- 基于MATLAB的AM仿真
- 应用matlab仿真改进A算法在三维地形上
- 协作通信三种协作方式AF DF CC的matla
- 差分进化自适应的参数优化、模式识
- Saber资料\\Saber资料\\Saber-MATLAB Integra
- 板壳单元matlab有限元程序
- ssim的MATLAB算法程序
- 麻雀搜索算SSA优化SVM_matlab.rar
- MATLAB在电力系统优化计算中的应用
- 巴特沃斯滤波器matlab程序
- 扩展卡尔曼滤波器的matlab代码
评论
共有 条评论