view_orientation_image.m

来自「image enhancement matlab code ,can impro」· M 代码 · 共 19 行

M
19
字号
%------------------------------------------------------------------------
%view_orientation_image
%Displays the orientation image as a quiver plot
%usage:
%view_orientation(o)
%o - orientation image(obtained by fft_enhance_cubs.m or
%orientation_image_rao.m)
%
%Contact:
%   ssc5@eng.buffalo.edu
%   www.eng.buffalo.edu/~ssc5
%------------------------------------------------------------------------
function view_orientation_image(o)
    [h,w]   =   size(o);
    x       =   0:w-1;
    y       =   0:h-1;
    quiver(x,y,cos(o),sin(o)); 
    axis([0 w 0 h]),axis image, axis ij;
%end function view_orieintation_image

⌨️ 快捷键说明

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