Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv_contrib
Commits
a0237c31
Commit
a0237c31
authored
Jun 09, 2014
by
biagio montesano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
computeImpl method designed, Gaussian pyramids in a separate function
parent
9b8b088b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
4 deletions
+26
-4
descriptor.hpp
...descriptor/include/opencv2/line_descriptor/descriptor.hpp
+22
-1
BinaryDescriptor.cpp
modules/line_descriptor/src/BinaryDescriptor.cpp
+0
-0
precomp.hpp
modules/line_descriptor/src/precomp.hpp
+4
-3
No files found.
modules/line_descriptor/include/opencv2/line_descriptor/descriptor.hpp
View file @
a0237c31
...
@@ -133,6 +133,14 @@ namespace cv
...
@@ -133,6 +133,14 @@ namespace cv
std
::
vector
<
std
::
vector
<
KeyPoint
>
>&
keypoints
,
std
::
vector
<
std
::
vector
<
KeyPoint
>
>&
keypoints
,
const
std
::
vector
<
Mat
>&
masks
=
std
::
vector
<
Mat
>
()
)
const
;
const
std
::
vector
<
Mat
>&
masks
=
std
::
vector
<
Mat
>
()
)
const
;
CV_WRAP
void
compute
(
const
Mat
&
image
,
CV_OUT
CV_IN_OUT
std
::
vector
<
KeyPoint
>&
keypoints
,
CV_OUT
Mat
&
descriptors
)
const
;
void
compute
(
const
std
::
vector
<
Mat
>&
images
,
std
::
vector
<
std
::
vector
<
KeyPoint
>
>&
keypoints
,
std
::
vector
<
Mat
>&
descriptors
)
const
;
/*return descriptor size */
/*return descriptor size */
int
descriptorSize
()
const
;
int
descriptorSize
()
const
;
...
@@ -145,12 +153,22 @@ namespace cv
...
@@ -145,12 +153,22 @@ namespace cv
/* check whether Gaussian pyramids were created */
/* check whether Gaussian pyramids were created */
bool
empty
()
const
;
bool
empty
()
const
;
CV_WRAP_AS
(
detectAndCompute
)
virtual
void
operator
()(
InputArray
image
,
InputArray
mask
,
CV_OUT
std
::
vector
<
KeyPoint
>&
keypoints
,
OutputArray
descriptors
,
bool
useProvidedKeypoints
=
false
)
const
=
0
;
protected
:
protected
:
virtual
void
detectImpl
(
const
Mat
&
image
,
virtual
void
detectImpl
(
const
Mat
&
image
,
std
::
vector
<
KeyPoint
>&
keypoints
,
std
::
vector
<
KeyPoint
>&
keypoints
,
const
Mat
&
mask
=
Mat
()
)
const
=
0
;
const
Mat
&
mask
=
Mat
()
)
const
=
0
;
virtual
void
computeImpl
(
const
Mat
&
image
,
std
::
vector
<
KeyPoint
>&
keypoints
,
Mat
&
descriptors
)
const
=
0
;
AlgorithmInfo
*
info
()
const
;
AlgorithmInfo
*
info
()
const
;
private
:
private
:
...
@@ -158,7 +176,10 @@ namespace cv
...
@@ -158,7 +176,10 @@ namespace cv
unsigned
char
binaryTest
(
float
*
f1
,
float
*
f2
);
unsigned
char
binaryTest
(
float
*
f1
,
float
*
f2
);
/* compute LBD descriptors */
/* compute LBD descriptors */
int
ComputeLBD_
(
ScaleLines
&
keyLines
);
int
computeLBD_
(
ScaleLines
&
keyLines
);
/* compute Gaussian pyramid of input image */
void
computeGaussianPyramid
(
const
Mat
&
image
);
/* gather lines in groups.
/* gather lines in groups.
Each group contains the same line, detected in different octaves */
Each group contains the same line, detected in different octaves */
...
...
modules/line_descriptor/src/BinaryDescriptor.cpp
View file @
a0237c31
This diff is collapsed.
Click to expand it.
modules/line_descriptor/src/precomp.hpp
View file @
a0237c31
...
@@ -43,16 +43,17 @@
...
@@ -43,16 +43,17 @@
#define __OPENCV_PRECOMP_H__
#define __OPENCV_PRECOMP_H__
#include <algorithm>
#include <algorithm>
#include "opencv2/core/utility.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/core/private.hpp"
#include "opencv2/core/private.hpp"
#include <opencv2/imgproc.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/features2d.hpp>
#include <opencv2/features2d.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/highgui.hpp>
#include "opencv2/line_descriptor.hpp"
#include "opencv2/line_descriptor.hpp"
#include <math.h>
#include <iostream>
#include <map>
#include <utility>
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment