图像识别任务

MATLAB实现自动水表读数
Matlab数字仪表图像识别[GUI界面].zip
MATLAB识别指针式仪表的示数

有代码: MATLAB指针式仪表自动读数系统设计
指针式仪表的自动读数与识别

基于matlab的指针式仪表的识别与自动读数,下载2基于matlab的指针式仪表的识别与自动读数

%%
function varargout = untitled1(varargin)
%UNtitleD1 M-file for untitled1.fig
%      UNtitleD1 by itself creates a new UNtitleD1 or raises the existing
%      singleton*.
%
%      H = UNtitleD1 returns the handle to a new UNtitleD1 or the handle to
%      the existing singleton*.
%
%      UNtitleD1(‘Property‘‘Value‘...) creates a new UNtitleD1 using the
%      given property value pairs. Unrecognized properties are passed via
%      varargin to untitled1_OpeningFcn.  This calling syntax produces a
%      warning when there is an existing singleton*.
%
%      UNtitleD1(‘CALLBACK‘) and UNtitleD1(‘CALLBACK‘hobject...) call the
%      local function named CALLBACK in UNtitleD1.M with the given input
%      arguments.
%
%      *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 untitled1

% Last Modified by GUIDE v2.5 25-Dec-2011 16:44:40

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct(‘gui_Name‘       mfilename ...
                   ‘gui_Singleton‘  gui_Singleton ...
                   ‘gui_OpeningFcn‘ @untitled1_OpeningFcn ...
                   ‘gui_OutputFcn‘  @untitled1_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 untitled1 is made visible.
function untitled1_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   unrecognized PropertyName/PropertyValue pairs from the
%            command line (see VARARGIN)
clear global
global paizhao
global yulan
global xqzz
global yansetiqu
global mianjitiqu
global xingzhuangtiqu
global chonghe
global lingzhi
global string
global quedingzhongxin
global xihua
global xuanqu
xuanqu=0;
xihua=0;
quedingzhongxin=0;
string=‘‘;
lingzhi=0;
chonghe=0;
xingzhuangtiqu=0;
mianjitiqu=0;
yansetiqu=0;
xqzz=0;
yulan=0;
paizhao=0;
backgroundImage = importdata(‘beijing.jpg‘);
% 选择坐标系
axes(handles.axes3);
% 将图片添加到坐标系中,于是就成了背景了
image(backgroundImage);
% 将坐标系的坐标轴标签去掉
axis off
%full path name of the image file

smiley = importdata(‘beijing1.jpg‘);

smiley1 = importdata(‘beijing2.jpg‘);

%set the smiley image as the button background

set(handles.pushbutton19‘CDATA‘smiley);
set(handles.pushbutton20‘CDATA‘smiley1);
set(handles.pushbutton24‘CDATA‘smiley1);
% Choose default command line output for untitled
axes(handles.axes1);
cla reset
set(handles.axes1‘xTick‘[];
set(handles.axes1

论文

基于MATLAB的指针式仪表识别的仿真设计
本设计主要针对指针式仪表的数字化读数的研究,提高读取效率和读数的准确性。以MATLAB为载体对图像进行仿真处理,通过设备采集图片,对图像进行表盘定位、图像预处理、边缘检测、Hough变换等操作,识别出指针的位置,得出指针所在直线的斜率,并结合角度与量程的关系,通过GUI界面显示得出的示数。

基于图像的指针式仪表读数自动识别技术研究
指针式仪表有很多优点,因此在生产生活中有巨大的存量,而且每年都在增加.面对大量需要进行检定的指针仪表,采用人工读数的方式检定仪表读数不仅成本高效率低,而且读数精确度不尽理想.随着数字图像处理技术的日益成熟,将其应用到指针式仪表的自动识别系统中是一种有效的解决方法.目前已有很多这方面的研究,也有一些自动识别系统被设计出来.这些系统对硬件实现进行了深入研究,在识别算法上基本以指针直线提取为核心,在各种约束条件下能够取得较为精确的识别结果.但是指针式仪表的使用环境复杂,仪表的种类繁多,约束条件严重制约着指针式仪表自动识别系统的普及,并且很难保证识别系统在移植中保持高精度读数.本文深入研究了国内外已有的指针仪表自动识别系统,针对现有的自动识别系统存在的缺点和局限性,提出了基于图像处理的解决方案.本文的主要工作和创新点如下:(1)改进了图像预处理算法.图像预处理在不同领域有不同的设计,针对指针式仪表识别中存在的噪音,光照和阴影等问题,研究了一套适用于自动识别系统的图像预处理算法,提高了识别系统的抗干扰能力.(2)提出了表盘提取算法.纯表盘图像几乎是所有现存系统的识别起点,而实际获取的图像往往包含复杂背景.表盘提取算法首先检测出仪表图像的边缘,然后使用不同的算法对方形表盘和圆形表盘进行提取.对方形表盘
一种基于图像处理的指针式仪表读数自动识别方法[发明专利]

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值