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
8b733e09
Commit
8b733e09
authored
Jul 31, 2017
by
LaurentBerger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
review
parent
c17fd6e9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
8 deletions
+4
-8
ximgproc.hpp
modules/ximgproc/include/opencv2/ximgproc.hpp
+1
-1
fourier_descriptors.hpp
...ximgproc/include/opencv2/ximgproc/fourier_descriptors.hpp
+0
-0
fourier_descriptors_demo.cpp
modules/ximgproc/samples/fourier_descriptors_demo.cpp
+2
-6
fourier_descriptors.cpp
modules/ximgproc/src/fourier_descriptors.cpp
+1
-1
No files found.
modules/ximgproc/include/opencv2/ximgproc.hpp
View file @
8b733e09
...
...
@@ -70,7 +70,7 @@ i.e. algorithms which somehow takes into account pixel affinities in natural ima
@defgroup ximgproc_fast_line_detector Fast line detector
@defgroup ximgproc_
shape
Fourier descriptors
@defgroup ximgproc_
fourier
Fourier descriptors
@}
*/
...
...
modules/ximgproc/include/opencv2/ximgproc/fourier_descriptors.hpp
View file @
8b733e09
This diff is collapsed.
Click to expand it.
modules/ximgproc/samples/fourier_descriptors_demo.cpp
View file @
8b733e09
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#include <opencv2/core.hpp>
#include <opencv2/core/utility.hpp>
#include <opencv2/highgui.hpp>
...
...
@@ -58,10 +54,10 @@ int main(void)
double
dist
;
vector
<
vector
<
Point
>
>
c
;
Mat
img
;
cout
<<
"******************** PRESS
G
TO MATCH CURVES *************
\n
"
;
cout
<<
"******************** PRESS
g
TO MATCH CURVES *************
\n
"
;
do
{
code
=
waitKey
(
30
)
&
0xFF
;
code
=
waitKey
(
30
);
if
(
p
.
update
)
{
Mat
r
=
getRotationMatrix2D
(
Point
(
p
.
xg
,
p
.
yg
),
p
.
angle
,
10.0
/
p
.
scale10
);
...
...
modules/ximgproc/src/fourier_descriptors.cpp
View file @
8b733e09
...
...
@@ -13,7 +13,7 @@ Coalescence in 2 dimensions: experiments on thin copolymer films and numerical s
*/
namespace
cv
{
namespace
ximgproc
{
namespace
ximgproc
{
void
ContourFitting
::
setCtrSize
(
int
n
)
...
...
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