⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 view_orientation_image.m

📁 指纹增强算法, 研究指纹识别的可以参考一下. matlab.
💻 M
字号:
%------------------------------------------------------------------------
%view_orientation_image
%Displays the orientation image as a quiver plot
%usage:
%view_orientation(o,[eimg])
%o      - orientation image(obtained by fft_enhance_cubs.m or
%eimg   - energy image(optional argument)
%orientation_image_rao.m)
%
%Contact:
%   ssc5@cubs.buffalo.edu/sharat@mit.edu
%   http://www.sharat.org
%------------------------------------------------------------------------
function view_orientation_image(o,varargin)
    [h,w]   =   size(o);
    x       =   0:w-1;
    y       =   0:h-1;
    if(nargin == 1)
        quiver(x,y,cos(o),sin(o)); 
    else
        e = varargin{1};
        imagesc(e);
        quiver(x,y,e.*cos(o),e.*sin(o));
    end;
    axis([0 w 0 h]),axis image, axis ij;
%end function view_orieintation_image

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -