登录
首页 » Visual Basic » polygon

polygon

于 2020-06-28 发布 文件大小:10KB
0 301
下载积分: 1 下载次数: 2

代码说明:

  一个计算多边形面积和周长的程序, 同时可以把多边形显示出来, 直观展现多边形形状.(A polygon area and perimeter calculation procedures, the polygons can be displayed simultaneously, intuitive show polygonal shape.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • chenggongchengxu
    rgb to HSV,很有用,调试成功,可以应用(rgb to HSV,#include "stdafx.h" #include <iostream.h> void main(float R, float G, float B, float& H, float& S, float&V) { // r,g,b values are from 0 to 1 // h = [0,360], s = [0,1], v = [0,1] // if s == 0, then h =-1 (undefined) float min, max, delta,tmp tmp = R>G?G:R min = tmp>B?B:tmp tmp = R>G?R:G max = tmp>B?tmp:B V = max // v delta = max- min if( max != 0 ) S = delta/max // s else { // r = g = b = 0 // s = 0, v is undefined S = 0 H = 0 return } if (delta == 0){ H = 0 return } else if(R == max){ if (G >= B) H = (G- B)/delta // between yellow & magenta else H = (G- B)/delta+ 6 } else if( G == max ) H = 2+ ( B- R )/delta // between cyan & yellow else if (B == ma)
    2011-12-02 10:09:24下载
    积分:1
  • DIP
    数字图像处理源代码绝对好用包括一些最基本了图像处理,例如增强(digital processing)
    2009-10-30 17:57:02下载
    积分:1
  • vtk-CT(MC)
    MC算法实现CT医学图像的三维重建,面绘制技术(MC algorithm CT medical image reconstruction, surface rendering technology)
    2014-02-25 10:14:46下载
    积分:1
  • ImageProcessing
    说明:  用C语言实现图像的平滑,锐化及双线性内插算法的实现,效果很好(Using C language to achieve image smoothing, sharpening and bilinear interpolation algorithm to achieve good results)
    2008-11-25 19:10:19下载
    积分:1
  • image-segmentation
    基于自动种子选择的区域生长法,克服了传统区域法的很多缺点(Region growing method based on automatic seed selection, to overcome the many shortcomings of the traditional regional law)
    2013-04-30 19:51:20下载
    积分:1
  • FullScreen
    全屏显示窗体。通过快捷键F11实现程序全屏显示的效果。(Full-screen display of the form. Through the shortcut key F11 to achieve the effect of full screen display.)
    2017-06-02 09:47:51下载
    积分:1
  • 1
    说明:  这是一个在vc6.0基于OpenCV的控制台程序,本例给出一个椭圆曲线拟合的例子,程序首先发现图像的轮廓,然后用椭圆逼近它。(This is a vc6.0 console based on the OpenCV procedures, in this case gives an example of elliptic curve fitting, the program first to discover the outline of the image, and then close it with an oval.)
    2008-05-13 15:21:14下载
    积分:1
  • ppbNakagami
    处理Gamma乘性噪声的PPB方法,考虑了非局部patch的相似性,可处理SAR图像去噪。(The PPB method for multicative noise removal, which based on the Probabilistic Patch similarity.)
    2021-04-12 18:18:57下载
    积分:1
  • polygon_merge
    多边形的合并算法,该算法能够实现任意两个多边形(包括凹多边形)的合并.( The polygon merge algorithm, this algorithm can realize wilfully two polygons (including concave polygon) merge )
    2020-11-16 10:39:41下载
    积分:1
  • VC++_image_Code
    说明:  VC++6.0图像处理算法集:图象的几何变换、平滑(去噪声)、锐化、腐蚀、膨胀、细化算法、半影调、抖动、直方图修正、彩色变换、腐蚀,膨胀,细化等算法,并有可执行文件供试用,并附有配套电子收,是图像处理入门的好资料。(VC++ 6.0 image processing algorithms: image geometric transformation, smoothing (to noise), sharpening, corrosion, expansion, thinning algorithm, penumbral tune jitter histogram of the amendment, color conversion, corrosion, swelling, refinement algorithm, etc., as well as executable files for trial, together with supporting electronic collection, image processing is a good data entry.)
    2008-11-20 23:20:31下载
    积分:1
  • 696516资源总数
  • 106605会员总数
  • 12今日下载