Commit 8b733e09 authored by LaurentBerger's avatar LaurentBerger

review

parent c17fd6e9
...@@ -70,7 +70,7 @@ i.e. algorithms which somehow takes into account pixel affinities in natural ima ...@@ -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_fast_line_detector Fast line detector
@defgroup ximgproc_shape Fourier descriptors @defgroup ximgproc_fourier Fourier descriptors
@} @}
*/ */
......
// 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.hpp>
#include <opencv2/core/utility.hpp> #include <opencv2/core/utility.hpp>
#include <opencv2/highgui.hpp> #include <opencv2/highgui.hpp>
...@@ -58,10 +54,10 @@ int main(void) ...@@ -58,10 +54,10 @@ int main(void)
double dist; double dist;
vector<vector<Point> > c; vector<vector<Point> > c;
Mat img; Mat img;
cout << "******************** PRESS G TO MATCH CURVES *************\n"; cout << "******************** PRESS g TO MATCH CURVES *************\n";
do do
{ {
code = waitKey(30)&0xFF; code = waitKey(30);
if (p.update) if (p.update)
{ {
Mat r = getRotationMatrix2D(Point(p.xg, p.yg), p.angle, 10.0/ p.scale10); Mat r = getRotationMatrix2D(Point(p.xg, p.yg), p.angle, 10.0/ p.scale10);
......
...@@ -13,7 +13,7 @@ Coalescence in 2 dimensions: experiments on thin copolymer films and numerical s ...@@ -13,7 +13,7 @@ Coalescence in 2 dimensions: experiments on thin copolymer films and numerical s
*/ */
namespace cv { namespace cv {
namespace ximgproc { namespace ximgproc {
void ContourFitting::setCtrSize(int n) void ContourFitting::setCtrSize(int n)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment