资源简介
LSD线特征提取方法+Opencv实现C++,LSD - Line Segment Detector on digital images, "LSD: A Fast Line Segment Detector with a False Detection Control"
by Rafael Grompone von Gioi, Jeremie Jakubowicz, Jean-Michel Morel,
and Gregory Randall, IEEE Transactions on Pattern Analysis and
Machine Intelligence, vol. 32, no. 4, pp. 722-732, April, 2010.
代码片段和文件信息
/*----------------------------------------------------------------------------
LSD - Line Segment Detector on digital images
Copyright 2007200820092010 rafael grompone von gioi (grompone@gmail.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation either version 3 of the
License or (at your option) any later version.
This program is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not see .
----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------
This is an implementation of the Line Segment Detector described in the paper:
“LSD: A Fast Line Segment Detector with a False Detection Control“
by Rafael Grompone von Gioi Jeremie Jakubowicz Jean-Michel Morel
and Gregory Randall IEEE Transactions on Pattern Analysis and
Machine Intelligence vol. 32 no. 4 pp. 722-732 April 2010.
and in more details in the CMLA Technical Report:
“LSD: A Line Segment Detector Technical Report“
by Rafael Grompone von Gioi Jeremie Jakubowicz Jean-Michel Morel
Gregory Randall CMLA ENS Cachan 2010.
HISTORY:
version 1.3 - feb 2010: Multiple bug correction and improved code.
version 1.2 - dic 2009: First full Ansi C Language version.
version 1.1 - sep 2009: Systematic subsampling to scale 0.8
and correction to partially handle “angle problem“.
version 1.0 - jan 2009: First complete Megawave2 and Ansi C Language version.
----------------------------------------------------------------------------*/
#include
#include
#include
#include
#include “lsd.h“
#ifndef M_LN10
#define M_LN10 2.30258509299404568402
#endif /* !M_LN10 */
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif /* !M_PI */
#ifndef FALSE
#define FALSE 0
#endif /* !FALSE */
#ifndef TRUE
#define TRUE 1
#endif /* !TRUE */
#define NOTDEF -1024.0
#define M_3_2_PI 4.71238898038
#define M_2__PI 6.28318530718
#define NOTUSED 0
#define USED 1
/*----------------------------------------------------------------------------*/
struct coorlist
{
int xy;
struct coorlist * next;
};
/*----------------------------------------------------------------------------*/
struct point {int xy;};
/*----------------------------------------------------------------------------*/
/*------------------------- Miscellaneous functions --------------------------*/
/*---------------------------------------------------------------------------
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 70647808 2018-03-19 09:15 LSD_Test\ipch\lsd_test-310d8cd2\lsd_test-58471dcc.ipch
文件 70647808 2018-03-19 09:13 LSD_Test\ipch\lsd_test-310d8cd2\lsd_test-7855200e.ipch
文件 59760 2010-05-26 15:37 LSD_Test\LSD_Test\lsd.c
文件 8054 2010-02-23 12:34 LSD_Test\LSD_Test\lsd.h
文件 6967 2018-03-19 09:16 LSD_Test\LSD_Test\LSD_Test.vcxproj
文件 1160 2013-10-21 20:56 LSD_Test\LSD_Test\LSD_Test.vcxproj.filters
文件 143 2013-10-21 20:53 LSD_Test\LSD_Test\LSD_Test.vcxproj.user
文件 7381 2018-03-19 09:18 LSD_Test\LSD_Test\main.cpp
文件 116590 2018-03-17 11:31 LSD_Test\LSD_Test\timg.jpg
文件 1142 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\cl.command.1.tlog
文件 23814 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\CL.read.1.tlog
文件 790 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\CL.write.1.tlog
文件 1542 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\li
文件 3330 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\li
文件 850 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\li
文件 68982 2018-03-19 09:15 LSD_Test\LSD_Test\x64\Debug\lsd.obj
文件 381 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\LSD_Test.exe.intermediate.manifest
文件 65 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\LSD_Test.lastbuildstate
文件 2428 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\LSD_Test.log
文件 713 2018-03-19 09:15 LSD_Test\LSD_Test\x64\Debug\LSD_Test.vcxprojResolveAssemblyReference.cache
文件 0 2018-03-19 09:15 LSD_Test\LSD_Test\x64\Debug\LSD_Test.write.1.tlog
文件 236434 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\main.obj
文件 498 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\mt.command.1.tlog
文件 340 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\mt.read.1.tlog
文件 340 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\mt.write.1.tlog
文件 715776 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\vc100.idb
文件 520192 2018-03-19 09:18 LSD_Test\LSD_Test\x64\Debug\vc100.pdb
文件 37310464 2018-03-19 09:19 LSD_Test\LSD_Test.sdf
文件 1245 2018-03-19 09:15 LSD_Test\LSD_Test.sln
..A..H. 24576 2018-03-19 09:19 LSD_Test\LSD_Test.suo
............此处省略15个文件信息
- 上一篇:MFC实现实时曲线显示
- 下一篇:《MFC游戏开发》笔记八 粒子系统 配套源代码
相关资源
- mfc+opencv读取摄像头视频并实现抓图
- 基于SVM与人工神经网络的车牌识别O
- c++ 用opencv比较两张人脸照片是否相似
- MATLAB单双目标定程序(Opencv C++)
- 基于OpenCV的人脸验证和人脸识别MFC程
- C++ 解析rtsp流后返回Iplimage,用Opengl显
- MFC通过OpenCV 显示到Picture control
- 计算路口通过车辆的 OPENCV C++
- opencv结合MFC显示带滚动条的大图片
- 人脸特征点检测瞳孔、眼角、鼻子、
- 基于SVM与人工神经网络的车牌识别C
- OpenCV MFC 图像处理 软件源码
- OpenCV+MFC制作视频播放器
- opencv c++相机标定程序 包含标定图像和
- c++语言opencv加socket实现远程桌面监控
- VS2012 + Opencv2.4.9实现单张人脸检测及人
- 基于opencv的图像检索算法
- 适用于vc6++的openCV1.0
- OpenCV MFC实现图像处理大集合
- OpenCV1.0版本
- vibe运动目标提取opencv C++源代码
- 11_人脸检测与识别系统.zip
- c++人脸相似度检测MFC源码
- 读取图片并显示的MFC程序
- 车牌牌照检测识别 VC++和opencv1.0 完整
- sift算法C++opencv实现代码
- zxing识别二维码的C++版本,提供OpenC
- vs2017安装包+opencv3.4压缩包+win10环境配
- opencv 动物识别
- Learning OpenCV3 英文版
评论
共有 条评论