火灾监测报警技术是预防火灾的重要手段。近年来, 火灾发生的频率高、覆盖范围广,给人民群众的生命财产 和社会经济造成了巨大损失,已成为一种普遍且损害巨大 的自然灾害。一旦引起火灾,火势将迅速蔓延,烟雾浓毒 性大,易造成人员伤亡,并且扑救火灾难度大,人员疏散 困难。因此,如何实现对火灾的实时有效监测已成为重点 研究的课题。 根据所探测物理量的不同,传统火灾探测器有感烟 式、感温式、感光式、和复合式等类型[1] ,请请通过腾讯koukou:134--170---3358,但是这些火灾 探测器对于大空间的室内场合和开阔的室外环境的火灾 报警,探测结果受到很大影响,尤其在可靠性方面存在明 显不足。本文研究了基于MATLAB的火灾监测方法,与传统 的火灾监测技术相比,突破了空间的限制,能迅速获得较 准确的火灾监测结果。

一、火焰特征分析

1.1 火焰特征

火焰的色彩特征在燃烧过程中比较明显,红色到黄色 范围内的色彩居多。火灾发生时,火焰区域与背景图像有 明显的视觉差异,火焰发光的现象在图像中的表现为火焰 的颜色偏红并且与周围的其它像素点相比亮度值明显偏 高,因此,在火灾的识别研究中通常利用火焰的颜色特征 进行判断。

1.2 RGB颜色模型

RGB颜色模型也称为加色法混色模型。根据三基色原 理,用基色光单位来表示光的量。在RGB颜色模型,任意色 光F都可以用R、G、B三色不同分量的相加混合而成,表 达式为F=r[R]+g[G]+b[B]。当三基色分量都为0时,F为 黑色光;当三基色分量都为1时,F为白色光。RGB颜色模型 几乎包括了人类视力所能感知的所有颜色。RGB颜色空间 可以用如图1所示的立方体来描述。F是这个立方体坐标中 的一点,代表任一颜色,调整三色系数r、g、b中的任一系 数值就会改变F的坐标值,从而改变其色值。

1.3 提取火焰图像特征及分析

对火焰模型特征提取时,通过收集的火焰模型是以 RGB模型在计算机中存储的,分析该模型非常有利于火 焰特征的提取。现对搜集到的18幅包含火焰的图像进行 分析,图像大约含像素点256.7万个,其中火焰像素点约 83.5万个。另有不包含火焰的图像8幅,图像大约包含像 素点117.8万个 。

二、算法描述

针对传统火灾监测系统对于大空间的室内场合和开阔的室外环境易失效的问题,提出了一种结合火灾火 焰特征和烟雾特征来进行判断的数字图像型火灾监测算法。火焰颜色特征是基于RGB颜色模型中的R、G、B三基色分 量和它们之间的关系来判断是否有火焰发生,烟雾模型特征是图像灰度化预处理后,基于HIS空间模型提取的,通过计 算像素点与基准像素点之间距离D的大小来判断是否有火灾发生。对提出的算法进行MATLAB仿真,并和传统的基于 五种算子的边缘检测算法提取火焰烟雾特征进行对比。实验结果表明,提出的火焰特征和烟雾特征提取算法具有优越 性,时效性更好,能够实现快速高效的监测,解决了大空间场所火灾检测的难题。算法的流程图,

% --- Executes on button press in pushbutton3.
function pushbutton3_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton3 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
axes(handles.axes1); %指定需要清空的坐标轴
cla reset;
box on;
set(handles.axes1,'xtick',[]);
set(handles.axes1,'ytick',[]);
axes(handles.axes2); %指定需要清空的坐标轴
cla reset;
box on; %在坐标轴四周加上边框
set(handles.axes2,'xtick',[]);
set(handles.axes2,'ytick',[]);
set(handles.edit1,'string','');
set(handles.edit2,'string','');
set(handles.edit3,'string','');
set(handles.edit4,'string','');
set(handles.edit5,'string','');
set(handles.radiobutton1,'value',0);
set(handles.radiobutton2,'value',0);
set(handles.edit5,"backgroundcolor",[0.94,0.94,0.94]);function edit1_Callback(hObject, eventdata, handles)
% hObject    handle to edit1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit1 as text
% str2double(get(hObject,'String')) returns contents of edit1 % --- Executes during object creation, after setting all properties.
function edit1_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles  empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');
endfunction edit2_Callback(hObject, eventdata, handles)
% hObject    handle to edit2 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit2 as text
% str2double(get(hObject,'String')) returns contents of edit2 % --- Executes during object creation, after setting all properties.
function edit2_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit2 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles  empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');
end% --- Executes on button press in radiobutton2.
function radiobutton2_Callback(hObject, eventdata, handles) % 视频
% hObject    handle to radiobutton2 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of radiobutton2
global vidObj;
filename = 'test.avi';
axes(handles.axes1);
vidObj = VideoReader(filename);
if hasFrame(vidObj)vidFrame = readFrame(vidObj);
end
axes(handles.axes1);
imshow(vidFrame);
msgbox('获取图像序列成功!', '提示信息');% --- Executes on button press in radiobutton1.
function radiobutton1_Callback(hObject, eventdata, handles) % 图片
% hObject    handle to radiobutton1 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of radiobutton1
global im;
axes(handles.axes1);
[filename,pathname]=uigetfile({'*.bmp;*.jpg;*.png;*.jpeg;*.tif'},
'选择一个图片');
str=[pathname filename];
% 判断文件是否为空,也可以不用这个操作!直接读入图片也可以的
% im = imread(str);
% imshow(im)
if isequal(filename,0)||isequal(pathname,0)warndlg('please select a picture first!','warning');return;
elseim=imread(str);imshow(im);
endfunction edit3_Callback(hObject, eventdata, handles)
% hObject    handle to edit3 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit3 as text
% str2double(get(hObject,'String')) returns contents of edit3 % --- Executes during object creation, after setting all properties.
function edit3_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit3 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handle empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');
endfunction edit4_Callback(hObject, eventdata, handles)
% hObject    handle to edit4 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit4 as text
% str2double(get(hObject,'String')) returns contents of edit4% --- Executes during object creation, after setting all properties.
function edit4_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit4 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'),get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');
endfunction edit5_Callback(hObject, eventdata, handles)
% hObject    handle to edit5 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of edit5 as text
% str2double(get(hObject,'String')) returns contents of edit5 % --- Executes during object creation, after setting all properties.
function edit5_CreateFcn(hObject, eventdata, handles)
% hObject    handle to edit5 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles  empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.
%       See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'),get(0,'defaultUicontrolBackgroundColor'))set(hObject,'BackgroundColor','white');
end


 参考文献

【1】 吕普铁,李金,吴利予等.火灾视频图像的边缘自动检测研 究[J].应用科学.2003.

【2】孙凯军.基于视频图像的火灾监测系统与实现[D].南京理 工大学,2010

MATLAB实验结果表明, 本文提出的火焰特征和烟雾特征提取算法具有优越性,时 效性更好,能够实现快速高效的监测。

现代建筑特性是楼层不时加高,这主要是从缓解农村用地紧张角度动身,同时还便于集中供电、供热、供气,便于汇合控制和管理。不管是普通型(比如民用室第)还是豪华型(比如初级宾馆)高层修建,都日益重视防火和安全技术普及应用。因为其楼层多、人员稠密,假设爆发火警,聚集艰难,扑救也困难,势必构成严酷人员伤亡和财产损失。为了包管高层建筑安全牢靠,必需想象出具有可靠性高、实时性的火灾预防办法。所以, 在火灾发生前,能够进行前期的烟雾检测,就可以预防火灾的发生。

基于MATLAB的烟雾火灾检测识别系统相关推荐

  1. 基于MATLAB人脸面部检测的口罩识别系统

    基于MATLAB人脸面部检测的口罩识别系统 课题意义 作为数字图像处理和计算机视觉领域的一个重要组成部分,利用摄像机对图像进行采集,从图像中检测人脸并进行口罩穿戴的识别的有着非常重要的研究意义和应用价 ...

  2. 基于MATLAB图像处理的硬币个数识别系统

    基于MATLAB图像处理的硬币个数识别系统 1.课题介绍 本设计为基于MATLAB的硬币图像识别统计装置,通过数码相机获取平铺无重叠堆积的硬币的图像,并通过Matlab工具处理后统计硬币的数目.通过控 ...

  3. 03系统多界面_基于MATLAB的多方法车牌识别系统[带GUI界面+万字技术文档+直播]

    一.课题介绍 随着汽车数量的增加,城市交通状况日益受到人们的重视,如何进行有效的交通管理更是成为了人们关注的焦点.智能交通系统通过车辆检测装置对过往的车辆实施检测,提取有关交通数据,达到监控.管理和指 ...

  4. matlab 图像模板匹配,基于MATLAB模板匹配的车牌识别系统

    一.课题名称[Q1321814823] 基于MATLAB模板匹配的车牌识别系统 二.课题背景 随着汽车数量的增加,城市交通状况日益受到人们的重视,如何进行有效的交通管理更是成为了人们关注的焦点.针对此 ...

  5. 基于MatLab的PCA降维人脸识别系统(超详细解说)

    (一)基于MatLab的PCA降维人脸识别系统 本次博客内容将详细介绍如何使用MatLab,进行PCA降维来识别人脸.内容参考张铮<精通MatLab数字图像处理与识别>.书中有些内容应该是 ...

  6. 基于深度学习的鸟类检测识别系统(含UI界面,Python代码)

    摘要:鸟类识别是深度学习和机器视觉领域的一个热门应用,本文详细介绍基于YOLOv5的鸟类检测识别系统,在介绍算法原理的同时,给出Python的实现代码以及PyQt的UI界面.在界面中可以选择各种鸟类图 ...

  7. 【火灾检测】基于matlab GUI森林火灾检测系统(带面板)【含Matlab源码 1921期】

    ⛄一.火灾检测简介 1 引言 目前森林火灾是破坏森林的最主要的灾害之一, 影响很大.森林是各种珍禽异兽的家园, 森林遭受火灾后, 会破坏野生动物赖以生存的环境.严重的森林火灾不仅能引起水土流失, 还会 ...

  8. 基于Matlab深度学习目标检测算法系统GUI,单目标、多目标检测

            深度学习是一种功能强大的机器学习方法,可用于训练稳健的目标检测器.目标检测有多种方法,包括 Faster R-CNN 和 you only look once (YOLO) v2!本文 ...

  9. 基于MATLAB的视频运动目标检测识别

    一.课题介绍 视频图像处理技术广泛用于工业.安全.医疗.管理等领域.运动目标的检测和跟踪是图像处理技术在视频序列图像处理方面的一个重要应用,在航天.交通.机器人视觉.视频监控.公共场所客流数据监测等场 ...

最新文章

  1. 【腾讯面试题】Docker
  2. 看动画轻松理解时间复杂度(一)
  3. 什么?你做的差异基因方法不合适?
  4. Linux PHY几个状态的跟踪
  5. 设计模式之十一:创建模式(Builder Pattern)
  6. 如何在福昕阅读器上将 pdf 文档背景色改为绿豆沙
  7. APP安全防护基本方法(混淆/签名验证/反调试)
  8. simhash与minhash
  9. webapi 状态返回 php,让WebAPI 返回JSON格式的数据实例教程
  10. 使用Chrome Frame插件解决IE浏览器兼容问题
  11. VMware+Ubuntu安装过程,含秘钥
  12. 激光SLAM:LOAM-Livox 算法研究(1) -- 功能包编译与验证
  13. Win10如何优化系统?电脑运行比较卡怎么优化?
  14. 基于WIZ811MJ的Arduino网络恒温器
  15. python 替换重复字符_python - 在Pandas中,如何将重复值替换为多个唯一字符串?_pandas_酷徒编程知识库...
  16. 惯性传感器实现全身姿态检测
  17. 4.5 路径MTU发现
  18. 10分钟pandas教程
  19. 抖音播放量突然被限流降权是什么原因
  20. STM32--程序加密

热门文章

  1. 纯HTML写国际象棋棋盘
  2. 宝塔Linux面板:SSH终端登入总是提示请输入password
  3. uniapp轻松集成极光推送自定义消息+通知 Android极光 IOS极光 两行代码集成极光SDK
  4. HTTP请求数据格式及响应数据格式
  5. 微信小程序 - 修改 button 边框和背景色
  6. 技术人的修炼之道:从业余到专业
  7. android设置背景色为全透明和半透明
  8. Django框架MVT模型工作流程
  9. 【2019.05】python 爬取拉钩数据(静态+动态)
  10. CF1293E Xenon‘s Attack on the Gangs