当前位置:网站首页>【图像检测】基于Itti模型实现图像显著性检测附matlab代码
【图像检测】基于Itti模型实现图像显著性检测附matlab代码
2022-06-26 06:43:00 【Matlab科研工作室】
1 简介
视觉显著性计算模型以心理学、神经科学、认知理论等领域的研究成果或假说为前提,建立数学模型来模拟人类视觉系统指引注意力分配和视觉认知的过程,通过模拟和仿真人类视觉感知机理,将存在待检测目标的人眼感兴趣区域视为图像中某些特征显著的像素点的集合,计算图像中这些显著点来检测感兴趣区域,从而可以快速而有效地处理视觉数据。在图像分割、目标检测、场景感知等许多图像处理任务中,图像中不同区域对视觉系统刺激程度不同引起的视觉显著性信息将系统资源优先集中于感兴趣区域进行计算分析,降低了处理过程的复杂性,为后续处理提供了极大的便利。
2 部分代码
function Nimg = Gscale(img,levels,gsize,sigma)% Function to generate a gaussian-pyramid for the given input image%% Input:% img: input image-matrix grayscale% levels: number of levels of the pyramid% gsize: size of the gaussian kernel 高斯核的大小 [w h] ([5 5] normally provides a smooth output)% sigma: sigma for gaussian kernel% Output:% Nimg: is a struct consisting of images from each level% : Nimg.img;% Usage:% im = imread('cameraman.tif');% Nimg = Gscale(im,3,[5 5],1.6);% i = 2; %select a level% figure; imshow(Nimg(i).img);%% Author: Pranam Janney Date: 24th July 2006 15:39% Email: [email protected]%% Revised Version 1.0.1 Date: 04th August 2006, 10:50%%guassian filter with a sigma=1.6 %高斯滤波g = fspecial('gaussian',gsize,sigma); %为高斯低通滤波,有两个参数,hsize表示模板尺寸,sigma为滤波器的标准值,单位为像素,%pyramidfor i = 1:levelsif i == 1im = imfilter(img,g,'conv');Nimg(i).img = im;else%perform guassian filteringim = imfilter(Nimg(i-1).img,g,'conv');%perform downsampling (horizontal)im1 = im(:,1:2:size(Nimg(i-1).img,2));%verticalim2 = im1(1:2:size(Nimg(i-1).img,1),:);%store it in a struct formatNimg(i).img = im2;endend%End
3 仿真结果


4 参考文献
[1]陆吉. 基于改进ITTI模型的SAR图像目标检测[J]. 测绘与空间地理信息, 2018, 41(11):5.
博主简介:擅长智能优化算法、神经网络预测、信号处理、元胞自动机、图像处理、路径规划、无人机等多种领域的Matlab仿真,相关matlab代码问题可私信交流。
部分理论引用网络文献,若有侵权联系博主删除。
边栏推荐
猜你喜欢

DS18B20 details

【golang】time相关

营销技巧:相比较讲产品的优点,更有效的是要向客户展示使用效果
[alluxio & Dachang] the original boss direct employment was applied in this way

STM32F1与STM32CubeIDE编程实例-热敏传感器驱动
![[digital signal processing] basic sequence (unit step sequence | relationship between unit step sequence and unit pulse sequence | rectangular sequence | relationship between rectangular sequence and](/img/0c/3aeb7f93576181bbc46d2d1a1aa0e7.jpg)
[digital signal processing] basic sequence (unit step sequence | relationship between unit step sequence and unit pulse sequence | rectangular sequence | relationship between rectangular sequence and

LabVIEW Arduino tcp/ip remote smart home system (project part-5)

Load balancer does not have available server for client: userservice problem solving

Self attention and multi head self attention (MSA) in transformer
The sysdig 2022 cloud native security and usage report found that more than 75% of the running containers have serious vulnerabilities
随机推荐
淺析一道經典題
TS泛型在函数、接口、类中使用介绍
个人博客系统需求分析
Typescript type
Simple use of enum type in TS
MySQL delete in without index
面试官:测试计划和测试方案有什么区别?
Spark3.3.0 source code compilation supplement - Crazy certificate problem
zip(*arg)的用法
Go learning notes 1.3- data types of variables
STM32F1与STM32CubeIDE编程实例-热敏传感器驱动
If you meet a female driver who drives didi as an amateur, you can earn 500 yuan a day!
The sysdig 2022 cloud native security and usage report found that more than 75% of the running containers have serious vulnerabilities
Top down transformation method
Alarm operation and Maintenance Center | build an efficient and accurate alarm collaborative processing system
Type de Typescript
Installation and login of MySQL database
Format one insert per line using mysqldump- Using mysqldump to format one insert per line?
分析 NFT 项目的 5 个指标
vs code 使用 prettier 格式化 js 的时候, 函数定义的名称和括号之间有一个空格, 而 eslit 又不允许这个空格.