-
GAC模型,迎风方案
im=imread("e:301clip301.tif");
im=rgb2gray(im);
im=double(im);
im = imresize( im, 0.5 ); % 为了减少程序运行时间,将图像变小为原来大小的1/2
figure(1);imshow(uint8(im));
[nrow,ncol]=size(im);
J= gauss( im,3,2 ); % 为了计算函数g,先对图像作guassian预平滑
%%- 计算图像梯度模值
J_x = (J(:,[2:ncol ncol])-J(:,[1 1:ncol-1]))/2;
J_y = (J([2:nrow nrow],:)-J([1 1:nrow-1],:))/2;
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-04-14 21:25:24下载
- 积分:1
-
飞思卡尔电磁组程序
此项目信纸被为了让你启动并运行快速与 MC9S12DG128B 的 CodeWarrior。它是为所选的 CPU 和目标连接设置但是,可以容易地修改。
- 2022-06-26 09:06:31下载
- 积分:1
-
eye detection in rgb image
eye detection in rgb image
- 2022-04-25 14:53:05下载
- 积分:1
-
指派问题的匈牙利解法,从文件中读入待指派的数据。
指派问题的匈牙利解法,从文件中读入待指派的数据。-Assignment problem of the Hungarian method, read from a file to be assigned to data.
- 2022-02-06 09:23:01下载
- 积分:1
-
只用几行代码就可以, 算出800位的圆周率, 很是神奇
只用几行代码就可以, 算出800位的圆周率, 很是神奇-only a few lines of code can calculate the circumference 800 rate is very magical
- 2023-04-12 04:10:03下载
- 积分:1
-
利用C++完成计算方法的分段线性,二次插值和全区间拉格朗日插值的计算!...
利用C++完成计算方法的分段线性,二次插值和全区间拉格朗日插值的计算!-C completed the calculation method piecewise linear, quadratic interpolation, and the region between the Lagrange interpolation calculation!
- 2023-05-05 17:50:02下载
- 积分:1
-
0-3.3v电压表数码显示程序
凌阳61板课程设计:0——3.3v电压表。实现 0-3.3V 的电压测量,IOA6 接要测量的电压,经 AD 转换后,计算出当前电压值, 数码管上显示当前电压。具体要求如下: 1. 通过 IOA6 接入要测量的电压,单片机自动检测。 2. 在数码管上实时显示当前电压值。
- 2022-03-10 01:47:06下载
- 积分:1
-
二分法方程求根的经典算法
二分法方程求根的经典算法-dichotomy of the classic algorithm
- 2022-02-25 17:30:36下载
- 积分:1
-
C++常用算法,给计算方法中各种基本应用提供参考
C++常用算法,给计算方法中各种基本应用提供参考-C common algorithms for calculation method to provide the basic reference
- 2022-01-22 09:18:15下载
- 积分:1
-
一个高性能的比标准库自带的还好的随机数发生器,在此与各位同仁分享。...
一个高性能的比标准库自带的还好的随机数发生器,在此与各位同仁分享。-A high-performance than the standard library that comes Fortunately, the random number generator, in which colleagues share with you
- 2022-02-01 03:02:30下载
- 积分:1