设置首页收藏本站
开启左侧

VP函数概览

[复制链接]
wenluderen 发表于 2018-4-10 18:12:24 | 显示全部楼层 |阅读模式
任何编程不外乎两个东西:函数和数据。VP也是如此,那么在VP里面都有些什么函数呢?


VP所有的函数都是以Cog打头的, Cog就是康耐视的缩写。。
康耐视大致将其函数分为11个大类,如下图:
2018-04-10_175432.jpg

第一大类里面合计13个函数

依次是:
CogAcqFIFOTool:将图像采集到缓存区里面,印象中 图像缓存区最大支持32张图像。
CogBlobTool:图像边缘特征处理
CogcaliperTool:卡尺工具
CogCNLSearchTool:找模板
CogDataAnalysisTool:数据分析
CogImageFileTool:从电脑硬盘读取图像
CogPatInspectTool: 找模板
CogPMAlignMultiTool:可以同时找多个模板
CogPMAlignTool:找模板
CogResults AnalysisTool:结果分析
CogSearchMaxTool:类似找模板
CogToolBlock:函数块
CogToolGroup:函数组。 将几个VP的函数放在Toolgroup里面。 然后在VS里面调用



未完待续
奖励计划已经开启,本站鼓励作者发布最擅长的技术内容和资源,流量变现就在现在,[点我]加入吧~~~Go
cy328252495 发表于 2018-4-10 22:17:33 | 显示全部楼层
VP 是什么语言?????
奖励计划已经开启,本站鼓励作者发布最擅长的技术内容和资源,流量变现就在现在,[点我]加入吧~~~Go
夜行人 发表于 2018-4-11 08:54:27 | 显示全部楼层
cy328252495 发表于 2018-4-10 22:17
VP 是什么语言?????

VP指的是visionpro,兄弟
奖励计划已经开启,本站鼓励作者发布最擅长的技术内容和资源,流量变现就在现在,[点我]加入吧~~~Go
 楼主| wenluderen 发表于 2018-4-11 10:04:34 | 显示全部楼层
第二个分类:3D相关的一些函数
2018-04-11_095614.jpg
********************************
Cog3DPlanePlaneAngleScript:
Cog3DRangeGreySplitterScript:
Cog3DRangeImageCrossSectionTool:
Cog3DRangeImageHeightCalculatorTool:
Cog3DRangeImagePlaneEstimatorTool:
Cog3DRangeImageVolumeCalculatorTool:
Cog3DVisionDataStitchTool:
*****************************
不清楚细节和应用
奖励计划已经开启,本站鼓励作者发布最擅长的技术内容和资源,流量变现就在现在,[点我]加入吧~~~Go
 楼主| wenluderen 发表于 2018-4-11 10:38:17 | 显示全部楼层
本帖最后由 wenluderen 于 2018-4-11 11:18 编辑

第三个大分类
calibration &fixturing: 校准 和夹具
**********
2018-04-11_100643.jpg

**************************
CogCalibCheckerboardTool:用于分析图像的工具可以按照特定的度量单位(如英寸,厘米,毫米等)返回结果。

CogCalibImageCorrectorTool:校准图像

CogCalibNPointToNPointTool:通过几个点进行校准。将图像坐标映射到“真实情况”坐标的二维转换

CogFixtureNPointToNPointTool:九宫格?

CogFixtureTool:Fixture 工具将定位坐标空间附加到输入图像,并输出更新的图像供其他工具使用
*****************************

奖励计划已经开启,本站鼓励作者发布最擅长的技术内容和资源,流量变现就在现在,[点我]加入吧~~~Go
 楼主| wenluderen 发表于 2018-4-11 10:48:18 | 显示全部楼层
第四大类:对彩色图像的一些处理
2018-04-11_103857.jpg
******************************
CogColorExtractorTool:you use to extract pixels from a color image in order to create a grey-scale image of light and dark pixels based on the reference colors you specify. The tool also generates a color image that can be used as a diagnostic tool to verify that you are extracting the pixels of a desired color, or set of colors. The following figure shows the Color Extractor tool edit control。


CogColorMatchTool:
you use to examine an area of color in an image and generate a set of match scores between the examined area and a table of reference colors. The Color Match tool can be used to determine which color is currently present within an area of a run-time image. The following figure shows the Color Match tool edit control。

CogColorSegmenterTool:you use to separate pixels from a color image into a grey scale image of light and dark pixels, where light pixels represent color pixels that fall within a desirable range of color and dark pixels represent color pixels that fall outside any desirable range of color. The grey scale image that a Color Segmenter tool generates represents just the portion(s) of the input image having color values that you want to analyze further. The following figure shows the Color Segmenter tool edit control。




CogCompositeColorMatchTool:you use to examine the color content of an area in an image and generate a set of match scores between the examined area and a table of reference entries, where each entry consists of a combination of color combined with a sample of each possible image the vision application might encounter. Unlike the Color Match tool, which calculates an average for the color pixels within a region, you can use a Composite Color Match tool to distinguish between patterns of color or textures of color. The following figure shows the Composite Color Match tool edit control。

奖励计划已经开启,本站鼓励作者发布最擅长的技术内容和资源,流量变现就在现在,[点我]加入吧~~~Go
 楼主| wenluderen 发表于 2018-4-11 10:50:56 | 显示全部楼层
第五大类: 一维码 二维码 读取
******
2018-04-11_105009.jpg
奖励计划已经开启,本站鼓励作者发布最擅长的技术内容和资源,流量变现就在现在,[点我]加入吧~~~Go
 楼主| wenluderen 发表于 2018-4-11 10:52:25 | 显示全部楼层
第六大类: 在图像画出一些 线  圆  矩形 椭圆等
*******
2018-04-11_105130.jpg
奖励计划已经开启,本站鼓励作者发布最擅长的技术内容和资源,流量变现就在现在,[点我]加入吧~~~Go
 楼主| wenluderen 发表于 2018-4-11 10:53:47 | 显示全部楼层
第七大类:在图像里面 找出圆  直线  椭圆
************
2018-04-11_105251.jpg
奖励计划已经开启,本站鼓励作者发布最擅长的技术内容和资源,流量变现就在现在,[点我]加入吧~~~Go
 楼主| wenluderen 发表于 2018-4-11 10:56:08 | 显示全部楼层
第八大类:求各种ROI的交点。 比如直线和圆, 圆和圆
**********************
2018-04-11_105552.jpg
奖励计划已经开启,本站鼓励作者发布最擅长的技术内容和资源,流量变现就在现在,[点我]加入吧~~~Go
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表