当前位置:网站首页>[image detection] image saliency detection based on ITTI model with matlab code
[image detection] image saliency detection based on ITTI model with matlab code
2022-06-26 06:54:00 【Matlab scientific research studio】
1 brief introduction
Visual saliency calculation model is based on psychology 、 neuroscience 、 Based on the research results or hypotheses in the field of cognitive theory , A mathematical model is established to simulate the process of human visual system guiding attention distribution and visual cognition , By simulating and simulating the mechanism of human visual perception , The region of interest of the human eye with the object to be detected is regarded as a set of pixels with significant features in the image , These salient points in the image are calculated to detect the region of interest , Thus, visual data can be processed quickly and effectively . In image segmentation 、 object detection 、 Scene awareness and many other image processing tasks , The visual saliency information caused by the different degree of stimulation to the visual system in different regions of the image will give priority to the system resources to focus on the regions of interest for calculation and analysis , Reduces the complexity of processing , It provides great convenience for subsequent processing .
2 Part of the code
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 The 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 % Gauss filteringg = fspecial('gaussian',gsize,sigma); % Gaussian low-pass filtering , There are two parameters ,hsize Indicates the size of the template ,sigma Is the standard value of the filter , In pixels ,%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 Simulation results


4 reference
[1] Luji . Based on improvement ITTI Model SAR Image target detection [J]. Mapping and spatial geographic information , 2018, 41(11):5.
About bloggers : Good at intelligent optimization algorithms 、 Neural networks predict 、 signal processing 、 Cellular automata 、 The image processing 、 Path planning 、 UAV and other fields Matlab Simulation , relevant matlab Code problems can be exchanged by private letter .
Some theories cite network literature , If there is infringement, contact the blogger to delete .
边栏推荐
猜你喜欢

I caught a 10-year-old Alibaba test developer in the company. After chatting with him, I realized everything

闭包问题C# Lua

Temperature alarm

Vulnerability discovery - API interface service vulnerability probe type utilization and repair

数据挖掘是什么?

【图像检测】基于Itti模型实现图像显著性检测附matlab代码

STM32F1与STM32CubeIDE编程实例-热敏传感器驱动

海量日志采集工具——Flume

我在腾讯做测试的这几年...

Container with the most water
随机推荐
Development trends and prospects of acrylamide crystallization market in the world and China 2022-2027
Research Report on market supply and demand and strategy of natural organic beauty industry in China
SQL 查询语句
LabVIEW Arduino TCP/IP遠程智能家居系統(項目篇—5)
[golang] time related
Market scale forecast and investment risk forecast report of China's securities operating institutions 2022-2027
闭包问题C# Lua
Guide to "avoid dismissal during probation period"
淺析一道經典題
如何把数据库的数据传给复选框
Reasons why MySQL indexes are not effective
Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
Paths with a certain value in a binary tree (1) (2) (3) (Sword finger offer)
Simple use of enum type in TS
Kotlin Compose 状态恢复 rememberSaveable 与 remember
SHOW语句用法补充
Solution of garbled code in sparkshell deletion key of SecureCRT
LabVIEW Arduino TCP/IP远程智能家居系统(项目篇—5)
MySQL 数据库的小白安装与登录
Lightgbm-- parameter adjustment notes