当前位置:网站首页>[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 filtering
g = 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 ,
%pyramid
for i = 1:levels
if i == 1
im = imfilter(img,g,'conv');
Nimg(i).img = im;
else
%perform guassian filtering
im = imfilter(Nimg(i-1).img,g,'conv');
%perform downsampling (horizontal)
im1 = im(:,1:2:size(Nimg(i-1).img,2));
%vertical
im2 = im1(1:2:size(Nimg(i-1).img,1),:);
%store it in a struct format
Nimg(i).img = im2;
end
end
%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 .
边栏推荐
- Market development status analysis and investment risk outlook report of China's battery industry 2022-2027
- 同花顺究竟如何开户,网上开户是否安全么?
- SecureCRT运行SparkShell 删除键出现乱码的解法
- Numpy learning challenge level 1 - Download and installation of numpy
- STM32F1与STM32CubeIDE编程实例-热敏传感器驱动
- MySQL基础用法01
- How to set MySQL triggers is a simple tutorial for novices
- China polyphenylene oxide Market Development Prospect and Investment Strategy Research Report 2022-2027
- unity之EasyAR使用
- NumPy学习挑战第一关-NumPy的下载与安装
猜你喜欢
MySQL基础用法01
[004] [stm32] MDK project configuration and commissioning
高德地图使用自定义地图无效问题
我在腾讯做测试的这几年...
unity之EasyAR使用
SecureCRT运行SparkShell 删除键出现乱码的解法
【图像融合】基于耦合特征学习的多模式医学图像融合附matlab代码
Marketing skills: compared with the advantages of the product, it is more effective to show the use effect to customers
分析 NFT 项目的 5 个指标
On a classical problem
随机推荐
在公司逮到一个阿里10年的测试开发,聊过之后大彻大悟...
Solve the problem of cross domain invalidation of cookies in the new version of Google Chrome browser
Bugku exercise ---misc--- prosperity, strength and democracy
【图像检测】基于形态学实现图像目标尺寸测量系统附matlab代码
PyTorch搭建CNN-LSTM混合模型实现多变量多步长时间序列预测(负荷预测)
Analysis report on market demand and investment competitiveness of China's cyclohexanone industry (2022 Edition)
Format one insert per line using mysqldump- Using mysqldump to format one insert per line?
STM 32 使用cube 生成TIM触发ADC并通过DMA传输的问题
【微服务系列】Protocol buffer动态解析
China imported wine circulation and investment market survey and Future Development Trend Outlook report 2022-2027
How to set MySQL triggers is a simple tutorial for novices
Marketing skills: compared with the advantages of the product, it is more effective to show the use effect to customers
China's wind farm operation industry's "fourteenth five year plan" planning direction and investment risk prediction report 2022-2027
I caught a 10-year-old Alibaba test developer in the company. After chatting with him, I realized everything
Load balancer does not have available server for client: userService问题解决
Phantom star VR equipment product details II: dark battlefield
SHOW语句用法补充
我在腾讯做测试的这几年...
LabVIEW Arduino TCP/IP遠程智能家居系統(項目篇—5)
3.pyinstaller module introduction