登录
首页 » 图形图像 » 用如求直立主图统计程序。RGB有3个座标,分别是R,G,B,其值从0-255。把0-255分成4段,那么每个座标有4种取值,共可以表示4*4*4=64种颜色。程...

用如求直立主图统计程序。RGB有3个座标,分别是R,G,B,其值从0-255。把0-255分成4段,那么每个座标有4种取值,共可以表示4*4*4=64种颜色。程...

于 2022-10-26 发布 文件大小:15.88 kB
0 171
下载积分: 2 下载次数: 1

代码说明:

用如求直立主图统计程序。RGB有3个座标,分别是R,G,B,其值从0-255。把0-255分成4段,那么每个座标有4种取值,共可以表示4*4*4=64种颜色。程序中主要是histogram函数,它有两个参数,第1个参数是一个64位数组,每一位表示一种颜色,其值是该颜色出现的次数。另外两个函数numbercolor是对每个像素计算它的颜色值,fenduan是对参数x返回0-255中的某一段。主函数测试一副图片的颜色直方图的统计。-Used as the main map for vertical statistical procedures. RGB has three coordinates, namely R, G, B, its value from 0-255. The 0-255 is divided into 4, then there are four kinds of each coordinates value, can indicate a total of 4* 4* 4 = 64 kinds of colors. Process is mainly histogram function, it has two parameters, the first a parameter is a 64-digit group, each and every one expressed a different color, its value is the number of the color appears. The other two function numbercolor is calculated for each pixel its color value, fenduan of parameters x the return of a certain period of 0-255. The main function to test a picture of the color histogram statistics.

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

发表评论

0 个回复

  • 拖动中的图像
    改变它的形状的图像被拖动某种程度上来表明它是源。例如灰色或虚线轮廓,变得不可见等。我想第二个拖动中的图像来区分,其中下跌允许或不允许的。拖动光标,反映情况,但我想一些其他的变化,以实际拖动图像将是一件好事。然而,它看起来像一次拖动图像被选择时,它不能被认为在拖动操作期间修改。如果删除失败,被拖动的图象刚好消失。原片还是很到位,在拖动起始位置,但它会很酷的动画回到它开始拖动图像的运动。
    2022-08-25 22:40:57下载
    积分:1
  • cell recognise system, it can segment the cell image and count the number of the...
    细胞识别统计系统,可以对细胞图象进行图象分割处理,计算出图象中的细胞个数-cell recognise system, it can segment the cell image and count the number of the cells in the image.
    2023-01-25 23:15:04下载
    积分:1
  • 旋转图像的源代码
    旋转图像的源代码-rotating images of the source code
    2022-03-19 15:59:52下载
    积分:1
  • 饼图绘制控件,使用C编写ASP #,非常好的图形控制。NE…
    饼图绘制控件,用C#编写的,非常好的图形控件,用于ASP.NET-pie drawing controls, use the C# prepared, very good graphics control for ASP.NET
    2022-02-21 08:04:34下载
    积分:1
  • 单幅图像基础上的交通事故现场三维重建的硕士论文
    单幅图像基础上的交通事故现场三维重建的硕士论文-3d
    2022-05-20 20:38:33下载
    积分:1
  • dct.pdf formula described in a very classic, but a section of source code has so...
    dct.pdf中介绍的公式非常经典,但其中的一段源程序有一些错误,但在C文件dctmatrix.c有了修正。 dctmatrix.c给出了如何定标DCT系数。 dctmatrix.c中,FIX_DCTMTX_2[Rows][Columns]采用Q11定标,FIX_DCTMTX采用Q15定标。 DCTMTX_2[Rows][Columns]*2=DCTMTX[Rows][Columns]-dct.pdf formula described in a very classic, but a section of source code has some mistakes, but in C has been amended dctmatrix.c document. How dctmatrix.c given DCT coefficient calibration. dctmatrix.c in, FIX_DCTMTX_2 [Rows] [Columns] using Q11 calibration, FIX_DCTMTX calibration using Q15. DCTMTX_2 [Rows] [Columns]* 2 = DCTMTX [Rows] [Columns]
    2022-05-18 22:59:44下载
    积分:1
  • vc实现出现动态创建和销毁提示框
    vc实现出现动态创建和销毁提示框-vc realization of dynamic creation and destruction of boxes
    2022-07-11 10:50:55下载
    积分:1
  • 技巧bindkey
    cadence skill bindkey -*problem error value dis* *when difference rules * *because of default value* * auto load please rename* * libIinit.il and put int*
    2022-07-11 01:16:19下载
    积分:1
  • 非刚性图像配准
    nonrigid image registration
    2022-12-27 03:25:02下载
    积分:1
  • ds证据理论
    :D-S证据理论的MATLAB代码函数文件 根据D-S理论,可以进行模式分类,消除不确定性。并附有能量检测的D-S判断函数文件、自己论文里的代码,希望对你有用
    2022-02-18 16:02:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载