资源简介
径向对称变换,用于检测人眼的瞳孔区域的中心,亮暗两种区域的检测对称的性质
代码片段和文件信息
function [ filtered ] = frst2d( image radii alpha stdFactor mode )
%FRST2D Applies Fast radial symmetry transform to image
% Check paper Loy G. & Zelinsky A. (2002). A fast radial symmetry transform for detecting points of interest. Computer Vision?ECCV 2002.
% Three different modes are available: ‘bright‘ ‘dark‘ ‘both‘
% Example:
% I = imread(‘iris.jpg‘);
% Id = rgb2gray(I);
% IdSmall = imresize(Id 0.25);
%
% f = frst2d(IdSmall 13 2 0.1 ‘dark‘);
%
% subplot(211);
% imshow(IdSmall []);
% subplot(212);
% imshow(f[]);
bright = false;
dark = false;
if (strcmp(mode ‘bright‘))
bright = true;
elseif (strcmp(mode ‘dark‘))
dark = true;
elseif (strcmp(mode ‘both‘))
bright = true;
dark = true;
else
error(‘
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2677 2014-03-20 06:55 frst2d.m
文件 82 2014-03-20 06:55 __MACOSX\._frst2d.m
文件 611689 2014-03-20 06:55 iris.jpg
文件 1306 2014-03-20 06:55 license.txt
评论
共有 条评论