📄 gb_lisa.ch
字号:
@x l.21extern long* lisa();extern Graph *plane_lisa();extern Graph *bi_lisa();@yextern long* lisa(unsigned long,unsigned long,unsigned long,@| unsigned long,unsigned long,unsigned long,unsigned long,@| unsigned long,unsigned long,Area);@/extern Graph *plane_lisa(unsigned long,unsigned long,unsigned long,@| unsigned long,unsigned long,unsigned long,@| unsigned long,unsigned long,unsigned long);extern Graph *bi_lisa(unsigned long,unsigned long,@| unsigned long,unsigned long,unsigned long,unsigned long,@| unsigned long,long);@z@x l.149long *lisa(m,n,d,m0,m1,n0,n1,d0,d1,area) unsigned long m,n; /* number of rows and columns desired */ unsigned long d; /* maximum pixel value desired */ unsigned long m0,m1; /* input will be from rows $[|m0|\,.\,.\,|m1|)$ */ unsigned long n0,n1; /* and from columns $[|n0|\,.\,.\,|n1|)$ */ unsigned long d0,d1; /* lower and upper threshold of raw pixel scores */ Area area; /* where to allocate the matrix that will be output */@ylong *lisa(@t\1\1@> unsigned long m,unsigned long n, /* number of rows and columns desired */ unsigned long d, /* maximum pixel value desired */ unsigned long m0,unsigned long m1, /* input will be from rows $[|m0|\,.\,.\,|m1|)$ */ unsigned long n0,unsigned long n1, /* and from columns $[|n0|\,.\,.\,|n1|)$ */ unsigned long d0,unsigned long d1, /* lower and upper threshold of raw pixel scores */ Area area@t\2\2@>) /* where to allocate the matrix that will be output */@z@x l.286static long na_over_b(n,a,b) long n,a,b;@ystatic long na_over_b(long n,long a,long b)@z@x l.405@p Graph *plane_lisa(m,n,d,m0,m1,n0,n1,d0,d1) unsigned long m,n; /* number of rows and columns desired */ unsigned long d; /* maximum value desired */ unsigned long m0,m1; /* input will be from rows $[|m0|\,.\,.\,|m1|)$ */ unsigned long n0,n1; /* and from columns $[|n0|\,.\,.\,|n1|)$ */ unsigned long d0,d1; /* lower and upper threshold of raw pixel scores */@y@p Graph *plane_lisa(@t\1\1@> unsigned long m,unsigned long n, /* number of rows and columns desired */ unsigned long d, /* maximum value desired */ unsigned long m0,unsigned long m1, /* input will be from rows $[|m0|\,.\,.\,|m1|)$ */ unsigned long n0,unsigned long n1, /* and from columns $[|n0|\,.\,.\,|n1|)$ */ unsigned long d0,unsigned long d1@t\2\2@>) /* lower and upper threshold of raw pixel scores */@z@x l.562static void adjac(u,v) Vertex *u,*v;@ystatic void adjac(Vertex *u,Vertex *v)@z@x l.591@p Graph *bi_lisa(m,n,m0,m1,n0,n1,thresh,c) unsigned long m,n; /* number of rows and columns desired */ unsigned long m0,m1; /* input will be from rows $[|m0|\,.\,.\,|m1|)$ */ unsigned long n0,n1; /* and from columns $[|n0|\,.\,.\,|n1|)$ */ unsigned long thresh; /* threshold defining adjacency */ long c; /* should we prefer dark pixels to light pixels? */@y@p Graph *bi_lisa(@t\1\1@> unsigned long m,unsigned long n, /* number of rows and columns desired */ unsigned long m0,unsigned long m1, /* input will be from rows $[|m0|\,.\,.\,|m1|)$ */ unsigned long n0,unsigned long n1, /* and from columns $[|n0|\,.\,.\,|n1|)$ */ unsigned long thresh, /* threshold defining adjacency */ long c@t\2\2@>) /* should we prefer dark pixels to light pixels? */@z
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -