cimgmatlab_cannyderiche.m

来自「this a image processing program」· M 代码 · 共 34 行

M
34
字号
/*-----------------------------------------------------------------------  File : cimgmatlab_cannyderiche.m  Description: Example for the CImg plugin: cimgmatlab.h  which allows to use CImg in order to develop matlab external  functions (mex functions).  User should be familiar with Matlab C/C++ mex function concepts,  as this file is by no way a mex programming tutorial.  This simple example implements a mex function that can be called   as   - v = cimgmatlab_cannyderiche(u,s)  - v = cimgmatlab_cannyderiche(u,sx,sy)  - v = cimgmatlab_cannyderiche(u,sx,sy,sz)  The corresponding m-file is cimgmatlab_cannyderiche.m      Copyright : Francois Lauze - http://www.itu.dk/people/francois  This software is governed by the Gnu General Public License  see http://www.gnu.org/copyleft/gpl.html   The plugin home page is at   http://www.itu.dk/people/francois/cimgmatlab.html  for the compilation: using the mex utility provided with matlab, just   remember to add the -I flags with paths to CImg.h and/or cimgmatlab.h.  The default lcc cannot be used, it is a C compiler and not a C++ one!--------------------------------------------------------------------------*/function v = cimgmatlab_cannyderiche(u,sx,sy,sz)

⌨️ 快捷键说明

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