b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

对Canny边缘检测器的一个有趣的优化(2)

电脑杂谈  发布时间:2019-06-04 00:13:09  来源:网络整理

So now that we dropped the dependency tolibmand theatan2()call, let's do something even better.

We are still using floating point operations here, which is kind of a problem (for performances, and for architecture independent testing at least). Let's try to make some integer arithmetic instead.

several named ranges can be defined. a named range can represent multiple blocks of cells.。there should be no missing values in the range defined. otherwise, you get the error message shown in figure 156.。sumif function this function adds the values in a range if the cell with the value satisfies a user-defined criterion.。

This range is quite small, and multiplying these values by1<<16will largely fit in an integer, so it should be safe to use 16-bit arithmetic.

Instead of comparingGyagainst:

...like we did previously, let's do the comparison betweenGyx(1<<16)and:

边缘检测 canny matlab_canny 边缘检测_canny边缘检测优点

The rounded values for these constants are:

These values will be multiplied toGx, and1020 x 158218fits into a 32-bit integer so it's still OK. Following, the optimized version:

We should now have a way faster version than our first naive implementation.

Following is a naivetimebenchmark, on a i7 Intel CPU, and usinggcc -O3:

Runnaiveno atan2integer

0.257

0.032

0.025

0.251

0.032

0.029

canny 边缘检测_边缘检测 canny matlab_canny边缘检测优点

0.255

0.029

0.027

As usual, performances depend on a lot of various other parameters, but it looks like it was worth the effort since it's almost 10 times faster (and now bit exact).

index

已翻译对Canny边缘检测器的一个有趣的优化

2017-09-2081126

翻译作者

nunu1234

腾讯官方的腾讯视频历年也是网络春晚直播的重头客户端,除了2017央视的春晚直播,腾讯视频也会给广大观众带来其他地方卫视的精彩春晚表演节目,让你有更多的选择观看精彩的春晚直播。与此同时,qq音乐联合腾讯云、qq空间、腾讯视频独家全程7小时马拉松式直播,多机位360度无死角覆盖,更是加入o2o直播模式开启了“线上爆灯直通现场”等多种创新玩法,将明星人气在现场直观体现canny边缘检测优点canny边缘检测优点,也将盛典盛况传递到每个乐迷面前,真正让乐迷身临其境,尽情享受音乐的乐趣。春晚直播软件有哪些大家除了可以在电视上观看直播之外,也可以通过网络平台观看,其中乐视获得独家网络直播权,客户端也是可以看春晚直播的。


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-103482-2.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    • 赵雨萌
      赵雨萌

      我承认我的确也写的一般

    热点图片
    拼命载入中...