当前位置:网站首页>[image detection] realize the detection of nostrils and pupil circles based on combined separation filter matlab source code
[image detection] realize the detection of nostrils and pupil circles based on combined separation filter matlab source code
2022-07-27 23:26:00 【Matlab scientific research studio】
1 Content introduction
In this paper, we propose a fast combined separabil-ity filter, which can selectively detect circular features such as pupils and nostrils in an image of the human face. The proposed filter is designed as a combination of multiple rectangle separability filters so that it can achieve high-speed processing and high positioning ac-curacy at the same time. The evaluation experiments using synthetic images and real face images show that the proposed filter is 70 times faster than the conven-tional circular separability filter.
2 Simulation code
function MAP = cvtCombSimpRectFilter(I,P,sh)% Function to generate separability map for rectangular filters (vertical and horizontal)% Input: I: integral image, obtained by using cvtIntegralImage45(X);% P: integral image of the square pixel values, obtained by using cvtIntegralImage45(X.^2);% sh: size of the filter% Output: MAP: two separability maps (diagonal left and diagonal right), with size: [Height, Width, 2].%bh = sh*2;bw = ceil(sh/3);sw = ceil(sh/3);dh =0;dw =0;MAP(:,:,1) = tmpFnc(I,P,bh,bw,sh,sw,dh,dw);MAP(:,:,2) = tmpFnc(I,P,bw,bh,sw,sh,dh,dw);end%%function MAP = tmpFnc(I,P,bh,bw,sh,sw,dh,dw)MAP = zeros(size(I)-1);[H,W] = size(MAP);r = max([bh,bw]);N = (2*bh+1)*(2*bw+1);N1 = (2*sh+1)*(2*sw+1);N2 = N-N1;S =I((1+r:H-r)-bh,(1+r:W-r)-bw) + I((1+r:H-r)+bh+1,(1+r:W-r)+bw+1) - I((1+r:H-r)-bh,(1+r:W-r)+bw+1) -I((1+r:H-r)+bh+1,(1+r:W-r)-bw);T =P((1+r:H-r)-bh,(1+r:W-r)-bw) + P((1+r:H-r)+bh+1,(1+r:W-r)+bw+1) - P((1+r:H-r)-bh,(1+r:W-r)+bw+1) -P((1+r:H-r)+bh+1,(1+r:W-r)-bw);M = S./N;Y = T./N;St = Y - M.^2;S1 =I((1+r:H-r)-sh+dh,(1+r:W-r)-sw+dw) + I((1+r:H-r)+sh+dh+1,(1+r:W-r)+sw+dw+1) - I((1+r:H-r)-sh+dh,(1+r:W-r)+sw+dw+1) - I((1+r:H-r)+sh+dh+1,(1+r:W-r)-sw+dw);S2=S-S1;M1=S1./N1;M2=S2./N2;Sb = ((N1*((M1-M).^2)) + (N2*((M2-M).^2)))/N;MAP((1+r:H-r),(1+r:W-r)) = (Sb./St).*sign(M2-M1);MAP(isnan(MAP))=0;MAP(isinf(MAP))=0;end
3 Running results




4 reference
[1] Qiu C , Kotani K , Lee F , et al. An Accurate Eye Detection Method Using Elliptical Separability Filter and Combined Features[J]. Int.j.comput. netw.secur, 2009, 9(8):65-72.
[2] Y. Ohkawa, C. H. Suryanto, K. Fukui, "Fast Combined Separability Filter for Detecting Circular Objects",
The twelfth IAPR conference on Machine Vision Applications (MVA) pp.99-103, 2011.
[3] K. Fukui, O. Yamaguchi, "Facial feature point extraction method based on combination of shape extraction and pattern matching", Systems and Computers in Japan 29 (6), pp.49-58, 1998.
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 .
边栏推荐
- 【图像检测】基于Combined Separability Filter实现鼻孔和瞳孔等圆检测matlab源码
- Basic SQL general syntax and classification
- Microsoft Office 2019 download installation activation tutorial (full process diagram)
- 2022 / 4 / 11 exam summary
- Safety Fundamentals 1
- Library management system based on SSM framework
- Pyqt5 rapid development and practice 4.10 window drawing controls
- Basic lighting of unity
- How do I shut down oracle?
- Cloudcompare & PCL point cloud equally spaced slices
猜你喜欢

iMeta | 国际标准刊号ISSN印刷版正式确认,双ISSN申请完成

Tips and extensions of graph theory

cron 表达式

Three consecutive high-frequency interview questions of redis online celebrity: cache penetration? Cache breakdown? Cache avalanche?

Take byte offer in four rounds and answer the interview questions

JVM composition and memory model

回Mixlab三天,“创造力团队”治好了我的精神内耗

See how Gan controls the image generation style step by step? Explain the evolution process of stylegan in detail

The significance of enterprise digital transformation, digital transformation is not a choice

On data management of data warehouse
随机推荐
Process and planned task management
面试官:说一下网络数据传输的具体流程
Quartus:Instantiation of ‘sdram_ model_ plus‘ failed. The design unit was not found.
Px4 module design part 13: workqueue design
Interviewer: I can't carry a backpack at all. Are you going by yourself or I'll give you a lift?
Basic SQL DQL
Jsonpath: a powerful rule parsing and parameter lookup tool for JSON
[idea] fluency optimization
Microsoft Office 2019 download installation activation tutorial (full process diagram)
Unity 的基础光照
Cy3 fluorescent labeling antibody / protein Kit (10~100mg labeling amount)
机器学习项目可视化展示方法
Excel VBA finds out the maximum and minimum values of a column of time, and repeatedly pastes multiple values according to the actual situation
Cloudcompare & PCL platform convex hull method to calculate crown volume
【软考软件评测师】2014综合知识历年真题
小程序容器技术超有料,可以让移动研发效率大幅提升
怎么使用xshell免费版
8000 word explanation of OBSA principle and application practice
Object creation process and object layout
Exam summary on May 31, 2022