搜索资源列表
C++(Circle)
- 算法实现题1-2 平面几何问题 .问题描述: 试用C++ 的类来定义表示简单平面几何对象的抽象数据类型Geometry 。 (1) 用浮点数定义2 个几何量m1 和m2;m2 的缺省值为0.0。 (2) 实现2 个构造函数:允许用1 个参数或2 个参数声明几何对象。用1 个参数r 声明 的几何对象为半径为r 的圆;用2 个参数r1 和r2 声明的几何对象为r1′r2 的矩形。所声明 的几何对象的中心在原点。 (3) 定义计算几何对象的面积,周长和对角
lookup_multi
- //4×4 查找表乘法器 module mult4x4(out,a,b,clk) output[7:0] out input[3:0] a,b input clk reg[7:0] out reg[1:0] firsta,firstb reg[1:0] seconda,secondb wire[3:0] outa,outb,outc,outd always @(posedge clk) begin firsta = a[3:2] se
m1
- MATLAB平滑滤波程序,对数字图像进行平滑滤波功能。
m1
- 一种很好的基于改进的椭圆检测算法值得一看要-A good improvement on the ellipse detection algorithm to see
m1
- 用边缘检测算法检测的圆的像的边缘点,并用多元线性回归求出椭圆的方程,然后按照我们的模型中提供的方法,求出每个圆心的像的位置-Using edge detection algorithm to detect the edge of the image circle points, and multiple linear regression equation of the ellipse obtained, and then follow the model provided by our met
m1
- 处理图像,用于增强图像,必须是256色图像,用于滤波增强-Image processing for enhanced image must be 256 color images for enhanced filtering
M1
- 小波图像压缩仿真程序来实现对图像的处理,便于传输-Wavelet image compression simulation program to achieve the image processing, for transmission
otsu111
- Otsu算法步骤如下: 设图象包含L个灰度级(0,1…,L-1),灰度值为i的的象素点数为Ni ,图象总的象素点数为N=N0+N1+...+N(L-1)。灰度值为i的点的概率为: P(i) = N(i)/N. 门限t将整幅图象分为暗区c1和亮区c2两类,则类间方差σ是t的函数: σ=a1*a2(u1-u2)^2 (2) 式中,aj 为类cj的面积与图象总面积之比,a1 = sum(P(i)) i->t, a2 = 1-a1 uj为类cj的均值,u1 = sum(i*P(
m1
- 实现贝叶斯分类器,按最大概率和最小风险的分类决策-Implement Bayesian classifier, according to the maximum and minimum risk probability of classification decisions
