• 大小:
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2022-04-25
  • 语言: 其他
  • 标签: OpenCV3  

资源简介

OpenCV3编程入门(完整版).pdf+代码

资源截图

代码片段和文件信息

//--------------------------------------【程序说明】-------------------------------------------
// 程序说明:《OpenCV3编程入门》OpenCV3版书本配套示例程序85
// 程序描述:cornerHarris函数用法示例
// 开发测试所用操作系统: Windows 7 64bit
// 开发测试所用IDE版本:Visual Studio 2010
// 开发测试所用OpenCV版本: 3.0 beta
// 2014年11月 Created by @浅墨_毛星云
// 2014年12月 Revised by @浅墨_毛星云
//------------------------------------------------------------------------------------------------



//---------------------------------【头文件、命名空间包含部分】----------------------------
// 描述:包含程序所使用的头文件和命名空间
//------------------------------------------------------------------------------------------------   
#include   
#include   
using namespace cv;  

int main()  
{  
//以灰度模式载入图像并显示
Mat srcImage = imread(“1.jpg“ 0);  
imshow(“原始图“ srcImage);  

//进行Harris角点检测找出角点
Mat cornerStrength;  
cornerHarris(srcImage cornerStrength 2 3 0.01);

//对灰度图进行阈值操作,得到二值图并显示  
Mat harrisCorner;  
threshold(cornerStrength harrisCorner 0.00001 255 THRESH_BINARY);  
imshow(“角点检测后的二值效果图“ harrisCorner);  

waitKey(0);  
return 0;  
}  

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件   86286409  2017-12-09 14:16  OpenCV3编程入门.pdf

    .......    131549  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【85】cornerHarris函数用法示例\85_cornerHarris函数用法示例\1.jpg

    .......      1278  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【85】cornerHarris函数用法示例\85_cornerHarris函数用法示例\85_cornerHarris.cpp

    .......      3875  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【85】cornerHarris函数用法示例\85_cornerHarris函数用法示例\85_cornerHarris函数用法示例.vcxproj

    .......       932  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【85】cornerHarris函数用法示例\85_cornerHarris函数用法示例\85_cornerHarris函数用法示例.vcxproj.filters

    .......       141  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【85】cornerHarris函数用法示例\85_cornerHarris函数用法示例\85_cornerHarris函数用法示例.vcxproj.user

    .......       946  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【85】cornerHarris函数用法示例\85_cornerHarris函数用法示例.sln

    .......     16384  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【85】cornerHarris函数用法示例\85_cornerHarris函数用法示例.suo

    .......    100505  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【86】Harris角点检测\86_Harris角点检测\1.jpg

    .......      5091  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【86】Harris角点检测\86_Harris角点检测\86_cornerHarris.cpp

    .......      3863  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【86】Harris角点检测\86_Harris角点检测\86_Harris角点检测.vcxproj

    .......       932  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【86】Harris角点检测\86_Harris角点检测\86_Harris角点检测.vcxproj.filters

    .......       141  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【86】Harris角点检测\86_Harris角点检测\86_Harris角点检测.vcxproj.user

    .......       910  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【86】Harris角点检测\86_Harris角点检测.sln

    .......     14848  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【86】Harris角点检测\86_Harris角点检测.suo

    .......    108771  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【87】Shi-Tomasi角点检测\87_Shi-Tomasi角点检测\1.jpg

    .......      4471  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【87】Shi-Tomasi角点检测\87_Shi-Tomasi角点检测\87_goodFeaturesToTrack.cpp

    .......      3873  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【87】Shi-Tomasi角点检测\87_Shi-Tomasi角点检测\87_Shi-Tomasi角点检测.vcxproj

    .......       939  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【87】Shi-Tomasi角点检测\87_Shi-Tomasi角点检测\87_Shi-Tomasi角点检测.vcxproj.filters

    .......       141  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【87】Shi-Tomasi角点检测\87_Shi-Tomasi角点检测\87_Shi-Tomasi角点检测.vcxproj.user

    .......       922  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【87】Shi-Tomasi角点检测\87_Shi-Tomasi角点检测.sln

    .......     14848  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【87】Shi-Tomasi角点检测\87_Shi-Tomasi角点检测.suo

    .......     74974  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【88】亚像素级角点检测\88_亚像素级角点检测\1.jpg

    .......      5073  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【88】亚像素级角点检测\88_亚像素级角点检测\88_cornerSubPix.cpp

    .......      3869  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【88】亚像素级角点检测\88_亚像素级角点检测\88_亚像素级角点检测.vcxproj

    .......       932  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【88】亚像素级角点检测\88_亚像素级角点检测\88_亚像素级角点检测.vcxproj.filters

    .......       141  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【88】亚像素级角点检测\88_亚像素级角点检测\88_亚像素级角点检测.vcxproj.user

    .......       928  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【88】亚像素级角点检测\88_亚像素级角点检测.sln

    .......     14848  2017-12-02 18:14  OpenCV3-examples\src\【10】第十章\【88】亚像素级角点检测\88_亚像素级角点检测.suo

    .......    272244  2017-12-02 18:14  OpenCV3-examples\src\【1】第一章\【1】OpenCV开发环境的配置\1_HelloOpenCV\1.jpg

............此处省略807个文件信息

评论

共有 条评论