当前位置:网站首页>【图像检测】基于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代码问题可私信交流。
部分理论引用网络文献,若有侵权联系博主删除。
边栏推荐
- Go语言学习笔记 1.2-变量篇
- Simple use of typescript's class interface
- SQL基础
- API and encapsulation of cookies
- Live broadcast Preview - fire safety instructor training "cloud class" is about to start!
- What is deadlock
- Interviewer: what is the difference between a test plan and a test plan?
- Introduction to the use of TS generics in functions, interfaces and classes
- Pytorch mixing accuracy principle and how to start this method
- 面试官:测试计划和测试方案有什么区别?
猜你喜欢

cocoscreator播放Spine动画

vs code 使用 prettier 格式化 js 的时候, 函数定义的名称和括号之间有一个空格, 而 eslit 又不允许这个空格.

STM 32 uses cube to generate Tim to trigger ADC and transmit through DMA

Analyse d'un problème classique

Pagoda server setup and database remote connection
Play with a variety of application scenarios and share secrets with Kwai MMU

LabVIEW arduino TCP / IP Remote Intelligent Home System (Project section - 5)

Container with the most water
The sysdig 2022 cloud native security and usage report found that more than 75% of the running containers have serious vulnerabilities

Temperature alarm
随机推荐
Marketing skills: compared with the advantages of the product, it is more effective to show the use effect to customers
Play with a variety of application scenarios and share secrets with Kwai MMU
China micronutrient market trend report, technical innovation and market forecast
Bugku exercise ---misc--- prosperity, strength and democracy
[golang] time related
What is data mining?
Research Report on market supply and demand and strategy of natural organic beauty industry in China
个人博客系统需求分析
I use flask to write the website "II"
MySQL
js-下载图片
Go学习笔记1.3-变量的数据类型篇
成水最多的容器
Open source demo| you draw and I guess -- make your life more interesting
Everything is a vector. The service practice of iqiyi online vector recall project
Decision tree learning notes
浏览器的四大内核:Trident,Gecko,Webkit,Blink
我在腾讯做测试的这几年...
vs code 使用 prettier 格式化 js 的时候, 函数定义的名称和括号之间有一个空格, 而 eslit 又不允许这个空格.
[digital signal processing] basic sequence (unit step sequence | relationship between unit step sequence and unit pulse sequence | rectangular sequence | relationship between rectangular sequence and