搜索资源列表
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) 定义计算几何对象的面积,周长和对角
happy
- 已知圆半径r=2.5 圆柱高h=4,求圆的周长,面积,圆球体积,圆柱体积,用cin输入要计算的项目,然后输出计算结果,输入输出时要有文字提示。-Known radius r = 2.5 cylinder h, = 4, of circular perimeter, area, the sphere volume, cylinder volume, cin input to calculate the project, and then output the calculated results
circle
- 在VC++6.0的环境下完成用Bresenham算法实现圆的绘制。 已知圆的半径R,请用算法绘制出圆。 -In the VC++6.0 the environment to complete the circle drawn using Bresenham algorithm. Known circle of radius R, the algorithm used to draw a circle.
M_P_O_8
- 八方向均值比例算子,对每个像素点取半径为r的矩阵,分成八个区域,计算均值比例,选取图像中的对比较为明显的区域-Mean proportion of the eight directions operator, a radius r of the matrix for each pixel is divided into eight regions, and calculate the mean ratio, the selected image of the more obvious contr
cor
- cor(r)生成半径为r的极坐标矩阵,矩阵大小为(2r+1)*(2r+1)-COR (r) generating matrix of the polar coordinates whose radius is r , the matrix size (2r+1)* (2r+1)
lbp
- 将灰度图转化为lbp图谱,邻域选择为圆域,半径为r,邻域内点的数目为p。-Lbp map will be converted to grayscale, neighborhood circle domain, the number of radius r, neighborhood point is p.