资源简介
该代码为MATLAB代码类型,matlab(程序)分析了二维码编码技术,基于图像处理的解码技术,及其编码实现过程。针对解码识别过程,详细分析了基于图像处理的预处理方法,包括二维码灰度化处理、图像平滑和二值化过程,同时针对二维码实际情况,
代码片段和文件信息
function varargout = main(varargin)
% MAIN MATLAB code for main.fig
% MAIN by itself creates a new MAIN or raises the existing
% singleton*.
%
% H = MAIN returns the handle to a new MAIN or the handle to
% the existing singleton*.
%
% MAIN(‘CALLBACK‘hobjecteventDatahandles...) calls the local
% function named CALLBACK in MAIN.M with the given input arguments.
%
% MAIN(‘Property‘‘Value‘...) creates a new MAIN or raises the
% existing singleton*. Starting from the left property value pairs are
% applied to the GUI before main_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to main_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 main
% Last Modified by GUIDE v2.5 20-Apr-2014 14:55:44
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘ mfilename ...
‘gui_Singleton‘ gui_Singleton ...
‘gui_OpeningFcn‘ @main_OpeningFcn ...
‘gui_OutputFcn‘ @main_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 main is made visible.
function main_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 main (see VARARGIN)
% Choose default command line output for main
handles.output = hobject;
% Update handles structure
guidata(hobject handles);
% UIWAIT makes main wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = main_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) %%%%%%%%打开图像
global im;
[filenamepathname]=uigetfile({‘*.*‘;‘*.bmp‘;‘*.jpg‘;‘*.tif‘;‘*.jpg‘}‘选择图像‘);
if isequal(filename0)||isequal(pathname0)
errordlg(‘您还没有
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 66614 2014-04-26 19:37 QR_PRO\11.bmp
文件 242934 2014-04-20 10:00 QR_PRO\13.bmp
文件 11262 2014-04-16 15:02 QR_PRO\4.jpg
文件 156006 2014-04-20 09:53 QR_PRO\caise3.bmp
文件 53062 2014-04-20 11:25 QR_PRO\I_otsu.bmp
文件 91078 2014-04-27 09:31 QR_PRO\KL.bmp
文件 11157 2014-06-05 19:31 QR_PRO\main.asv
文件 4530 2014-04-20 14:55 QR_PRO\main.fig
文件 11166 2014-06-05 19:31 QR_PRO\main.m
文件 1007 2014-04-20 11:14 QR_PRO\otsut.m
文件 670 2014-06-05 19:20 QR_PRO\qrgen.m
文件 372550 2014-04-11 18:31 QR_PRO\zxing17.jar
文件 14542 2013-03-21 13:30 QR_PRO\zxing2.jar
文件 563 2014-06-05 19:19 QR_PRO\zxing_decode.m
文件 911 2014-06-05 19:17 QR_PRO\备注.txt
目录 0 2014-06-05 19:26 QR_PRO
----------- --------- ---------- ----- ----
1038052 16
- 上一篇:MATLAB稀疏表示算法
- 下一篇:hadamard方差计算
相关资源
- 基于matlab的灰度图像的多重分形谱
- 灰度图像算术编码压缩程序Matlab.zip
- 灰度图求边缘点
- 灰度图像经典二值化Matlab代码
- 基于直方图统计特性的灰度图像水印
- matlab开发-灰度图像的jpeg压缩
- 基于cnn的灰度图像边缘检测
- 基于matlab的DCT变换对灰度图像进行压
- 自适应平滑滤波matlab
- matlab实现灰度图的jpeg编码过程
- 图像分割灰度图 matlab
- MATLAB非线性灰度图像变换
- Harris角点检测拼接包含ransac灰度图像
- matlab实现灰度图像roberts算子边缘检测
- MATLAB代码,用于快速平滑滤波
- Matlab 把灰度图像变成彩色图片 Gray2
- 灰度图像 伪彩色处理 matlab
- 灰度图像彩色化 matlab
- 自己用matlab写的jpeg压缩,解压程序
- 基于logistic混沌序列的图像加密彩色图
- 灰度图象的jpeg压缩 matlab
- 灰度图像的二维Otsu自动阈值分割法
- matlab查看雷达波形堆积图
- Matlab实现灰度图像转换成RGB图像
- JAFFE 数据库是由10个人的7种正面表情
- 灰度图和彩色图都能用的双边滤波(
- 平滑滤波Matlab实现
- matlab按帧分割视频为jpg和灰度图
- matlab程序仿真信号SG平滑滤波
- EXsegment 提取糖尿病视网膜病变眼底图
评论
共有 条评论