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
47d7ad2e
Commit
47d7ad2e
authored
Jan 22, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #163 from mshabunin/fix-cvv-build-only
Fixed cvv module build
parents
219fbc00
63a8a60b
Hide whitespace changes
Inline
Side-by-side
Showing
68 changed files
with
141 additions
and
127 deletions
+141
-127
CMakeLists.txt
modules/cvv/CMakeLists.txt
+1
-1
cvv.hpp
modules/cvv/include/opencv2/cvv.hpp
+26
-0
cvv.hpp
modules/cvv/include/opencv2/cvv/cvv.hpp
+4
-21
dmatch.hpp
modules/cvv/include/opencv2/cvv/dmatch.hpp
+3
-3
filter.hpp
modules/cvv/include/opencv2/cvv/filter.hpp
+2
-2
final_show.hpp
modules/cvv/include/opencv2/cvv/final_show.hpp
+2
-1
show_image.hpp
modules/cvv/include/opencv2/cvv/show_image.hpp
+2
-2
cvv_demo.cpp
modules/cvv/samples/cvv_demo.cpp
+8
-5
api.hpp
modules/cvv/src/extension_api/api.hpp
+1
-1
rawview_group_subtable.cpp
modules/cvv/src/gui/rawview_group_subtable.cpp
+3
-3
rawview_table_row.cpp
modules/cvv/src/gui/rawview_table_row.cpp
+2
-0
rawview_table_row.hpp
modules/cvv/src/gui/rawview_table_row.hpp
+2
-2
call.hpp
modules/cvv/src/impl/call.hpp
+2
-2
data_controller.hpp
modules/cvv/src/impl/data_controller.hpp
+1
-1
filter_call.hpp
modules/cvv/src/impl/filter_call.hpp
+1
-1
match_call.hpp
modules/cvv/src/impl/match_call.hpp
+2
-2
single_image_call.hpp
modules/cvv/src/impl/single_image_call.hpp
+1
-1
autofilterwidget.hpp
modules/cvv/src/qtutil/autofilterwidget.hpp
+1
-1
diffFilterWidget.cpp
modules/cvv/src/qtutil/filter/diffFilterWidget.cpp
+3
-3
grayfilterwidget.hpp
modules/cvv/src/qtutil/filter/grayfilterwidget.hpp
+1
-1
overlayfilterwidget.cpp
modules/cvv/src/qtutil/filter/overlayfilterwidget.cpp
+1
-1
sobelfilterwidget.cpp
modules/cvv/src/qtutil/filter/sobelfilterwidget.cpp
+2
-1
filterfunctionwidget.hpp
modules/cvv/src/qtutil/filterfunctionwidget.hpp
+1
-1
filterselectorwidget.hpp
modules/cvv/src/qtutil/filterselectorwidget.hpp
+1
-1
histogram.cpp
modules/cvv/src/qtutil/histogram.cpp
+3
-3
histogram.hpp
modules/cvv/src/qtutil/histogram.hpp
+2
-3
colorutil.hpp
modules/cvv/src/qtutil/matchview/colorutil.hpp
+1
-1
cvvkeypoint.hpp
modules/cvv/src/qtutil/matchview/cvvkeypoint.hpp
+2
-2
cvvmatch.hpp
modules/cvv/src/qtutil/matchview/cvvmatch.hpp
+2
-2
falsecolorkeypointpen.hpp
modules/cvv/src/qtutil/matchview/falsecolorkeypointpen.hpp
+1
-1
falsecolormatchpen.hpp
modules/cvv/src/qtutil/matchview/falsecolormatchpen.hpp
+1
-1
keypointintervallselection.hpp
...s/cvv/src/qtutil/matchview/keypointintervallselection.hpp
+1
-1
keypointmanagement.hpp
modules/cvv/src/qtutil/matchview/keypointmanagement.hpp
+1
-1
keypointportionselector.hpp
modules/cvv/src/qtutil/matchview/keypointportionselector.hpp
+1
-1
keypointselection.hpp
modules/cvv/src/qtutil/matchview/keypointselection.hpp
+1
-1
keypointselectionselector.hpp
...es/cvv/src/qtutil/matchview/keypointselectionselector.hpp
+1
-1
keypointsettingsselector.hpp
...les/cvv/src/qtutil/matchview/keypointsettingsselector.hpp
+1
-1
keypointshowsetting.hpp
modules/cvv/src/qtutil/matchview/keypointshowsetting.hpp
+1
-1
keypointvaluechooser.hpp
modules/cvv/src/qtutil/matchview/keypointvaluechooser.hpp
+1
-1
matchintervallselection.hpp
modules/cvv/src/qtutil/matchview/matchintervallselection.hpp
+1
-1
matchmanagement.hpp
modules/cvv/src/qtutil/matchview/matchmanagement.hpp
+1
-1
matchportionselector.hpp
modules/cvv/src/qtutil/matchview/matchportionselector.hpp
+1
-1
matchscene.hpp
modules/cvv/src/qtutil/matchview/matchscene.hpp
+2
-2
matchselection.hpp
modules/cvv/src/qtutil/matchview/matchselection.hpp
+1
-1
matchselectionselector.hpp
modules/cvv/src/qtutil/matchview/matchselectionselector.hpp
+1
-1
matchsettingsselector.hpp
modules/cvv/src/qtutil/matchview/matchsettingsselector.hpp
+1
-1
matchshowsetting.hpp
modules/cvv/src/qtutil/matchview/matchshowsetting.hpp
+1
-1
rawview_window.hpp
modules/cvv/src/qtutil/matchview/rawview_window.hpp
+2
-2
showinrawviewwidget.hpp
modules/cvv/src/qtutil/matchview/showinrawviewwidget.hpp
+1
-1
signalslot.hpp
modules/cvv/src/qtutil/signalslot.hpp
+1
-1
types.hpp
modules/cvv/src/qtutil/types.hpp
+1
-1
util.cpp
modules/cvv/src/qtutil/util.cpp
+0
-2
util.hpp
modules/cvv/src/qtutil/util.hpp
+3
-2
zoomableimage.cpp
modules/cvv/src/qtutil/zoomableimage.cpp
+1
-0
zoomableimage.hpp
modules/cvv/src/qtutil/zoomableimage.hpp
+1
-1
zoomableimageoptpanel.hpp
modules/cvv/src/qtutil/zoomableimageoptpanel.hpp
+1
-1
defaultfilterview.hpp
modules/cvv/src/view/defaultfilterview.hpp
+1
-1
dual_filter_view.cpp
modules/cvv/src/view/dual_filter_view.cpp
+1
-1
filter_view.hpp
modules/cvv/src/view/filter_view.hpp
+1
-1
image_view.cpp
modules/cvv/src/view/image_view.cpp
+1
-1
image_view.hpp
modules/cvv/src/view/image_view.hpp
+3
-4
linematchview.hpp
modules/cvv/src/view/linematchview.hpp
+2
-2
match_view.hpp
modules/cvv/src/view/match_view.hpp
+2
-2
pointmatchview.hpp
modules/cvv/src/view/pointmatchview.hpp
+2
-2
rawview.hpp
modules/cvv/src/view/rawview.hpp
+10
-10
singlefilterview.hpp
modules/cvv/src/view/singlefilterview.hpp
+1
-1
translationsmatchview.hpp
modules/cvv/src/view/translationsmatchview.hpp
+2
-2
test_precomp.hpp
modules/cvv/test/test_precomp.hpp
+2
-2
No files found.
modules/cvv/CMakeLists.txt
View file @
47d7ad2e
...
...
@@ -5,7 +5,7 @@ endif()
# we need C++11 and want warnings:
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c++11 -Wall -Wextra -pedantic"
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS -Wshadow
)
ocv_warnings_disable
(
CMAKE_CXX_FLAGS -Wshadow
-Wmissing-declarations
)
# Qt5
set
(
CMAKE_AUTOMOC ON
)
...
...
modules/cvv/include/opencv2/cvv.hpp
0 → 100644
View file @
47d7ad2e
#ifndef __OPENCV_CVV_HPP__
#define __OPENCV_CVV_HPP__
/**
@defgroup cvv GUI for Interactive Visual Debugging of Computer Vision Programs
Namespace for all functions is **cvv**, i.e. *cvv::showImage()*.
Compilation:
- For development, i.e. for cvv GUI to show up, compile your code using cvv with
*g++ -DCVVISUAL_DEBUGMODE*.
- For release, i.e. cvv calls doing nothing, compile your code without above flag.
See cvv tutorial for a commented example application using cvv.
*/
#include <opencv2/cvv/call_meta_data.hpp>
#include <opencv2/cvv/debug_mode.hpp>
#include <opencv2/cvv/dmatch.hpp>
#include <opencv2/cvv/filter.hpp>
#include <opencv2/cvv/final_show.hpp>
#include <opencv2/cvv/show_image.hpp>
#endif //__OPENCV_CVV_HPP__
modules/cvv/include/opencv2/cvv/cvv.hpp
View file @
47d7ad2e
/**
@defgroup cvv GUI for Interactive Visual Debugging of Computer Vision Programs
Namespace for all functions is **cvv**, i.e. *cvv::showImage()*.
Compilation:
- For development, i.e. for cvv GUI to show up, compile your code using cvv with
*g++ -DCVVISUAL_DEBUGMODE*.
- For release, i.e. cvv calls doing nothing, compile your code without above flag.
See cvv tutorial for a commented example application using cvv.
*/
#include <opencv2/cvv/call_meta_data.hpp>
#include <opencv2/cvv/debug_mode.hpp>
#include <opencv2/cvv/dmatch.hpp>
#include <opencv2/cvv/filter.hpp>
#include <opencv2/cvv/final_show.hpp>
#include <opencv2/cvv/show_image.hpp>
#ifdef __OPENCV_BUILD
#error this is a compatibility header which should not be used inside the OpenCV library
#endif
#include "opencv2/cvv.hpp"
modules/cvv/include/opencv2/cvv/dmatch.hpp
View file @
47d7ad2e
...
...
@@ -3,8 +3,8 @@
#include <string>
#include "opencv2/core
/core
.hpp"
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/core.hpp"
#include "opencv2/features2d.hpp"
#include "call_meta_data.hpp"
#include "debug_mode.hpp"
...
...
@@ -21,7 +21,7 @@ namespace cvv
namespace
impl
{
void
debugDMatch
(
cv
::
InputArray
img1
,
std
::
vector
<
cv
::
KeyPoint
>
keypoints1
,
CV_EXPORTS
void
debugDMatch
(
cv
::
InputArray
img1
,
std
::
vector
<
cv
::
KeyPoint
>
keypoints1
,
cv
::
InputArray
img2
,
std
::
vector
<
cv
::
KeyPoint
>
keypoints2
,
std
::
vector
<
cv
::
DMatch
>
matches
,
const
CallMetaData
&
data
,
const
char
*
description
,
const
char
*
view
,
...
...
modules/cvv/include/opencv2/cvv/filter.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <string>
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
#include "call_meta_data.hpp"
#include "debug_mode.hpp"
...
...
@@ -21,7 +21,7 @@ namespace cvv
namespace
impl
{
// implementation outside API
void
debugFilter
(
cv
::
InputArray
original
,
cv
::
InputArray
result
,
CV_EXPORTS
void
debugFilter
(
cv
::
InputArray
original
,
cv
::
InputArray
result
,
const
CallMetaData
&
data
,
const
char
*
description
,
const
char
*
view
);
}
// namespace impl
...
...
modules/cvv/include/opencv2/cvv/final_show.hpp
View file @
47d7ad2e
#ifndef CVVISUAL_FINAL_SHOW_HPP
#define CVVISUAL_FINAL_SHOW_HPP
#include "opencv2/core.hpp"
#include "debug_mode.hpp"
namespace
cvv
...
...
@@ -11,7 +12,7 @@ namespace cvv
namespace
impl
{
void
finalShow
();
CV_EXPORTS
void
finalShow
();
}
/** @brief Passes the control to the debug-window for a last time.
...
...
modules/cvv/include/opencv2/cvv/show_image.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <string>
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
#include "call_meta_data.hpp"
#include "debug_mode.hpp"
...
...
@@ -21,7 +21,7 @@ namespace cvv
namespace
impl
{
// implementation outside API
void
showImage
(
cv
::
InputArray
img
,
const
CallMetaData
&
data
,
CV_EXPORTS
void
showImage
(
cv
::
InputArray
img
,
const
CallMetaData
&
data
,
const
char
*
description
,
const
char
*
view
);
}
// namespace impl
...
...
modules/cvv/samples/cvv_demo.cpp
View file @
47d7ad2e
...
...
@@ -3,9 +3,11 @@
#include <iostream>
// library includes
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/features2d/features2d.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/features2d.hpp>
#include <opencv2/imgproc/types_c.h>
#include <opencv2/videoio.hpp>
#include <opencv2/videoio/videoio_c.h>
#define CVVISUAL_DEBUGMODE
#include <opencv2/cvv/debug_mode.hpp>
...
...
@@ -14,6 +16,7 @@
#include <opencv2/cvv/dmatch.hpp>
#include <opencv2/cvv/final_show.hpp>
using
namespace
cv
;
template
<
class
T
>
std
::
string
toString
(
const
T
&
p_arg
)
{
...
...
@@ -83,7 +86,7 @@ main(int argc, char** argv)
cv
::
Mat
prevDescriptors
;
int
maxFeatureCount
=
500
;
cv
::
ORB
detector
(
maxFeatureCount
);
Ptr
<
ORB
>
detector
=
ORB
::
create
(
maxFeatureCount
);
cv
::
BFMatcher
matcher
(
cv
::
NORM_HAMMING
);
...
...
@@ -105,7 +108,7 @@ main(int argc, char** argv)
// detect ORB features
std
::
vector
<
cv
::
KeyPoint
>
keypoints
;
cv
::
Mat
descriptors
;
detector
(
imgGray
,
cv
::
noArray
(),
keypoints
,
descriptors
);
detector
->
detectAndCompute
(
imgGray
,
cv
::
noArray
(),
keypoints
,
descriptors
);
printf
(
"%d: detected %zd keypoints
\n
"
,
imgId
,
keypoints
.
size
());
// match them to previous image (if available)
...
...
modules/cvv/src/extension_api/api.hpp
View file @
47d7ad2e
#ifndef CVVISUAL_EXTENSION_API_HPP
#define CVVISUAL_EXTENSION_API_HPP
#include <opencv2/core
/core
.hpp>
#include <opencv2/core.hpp>
#include <QString>
#include <QWidget>
...
...
modules/cvv/src/gui/rawview_group_subtable.cpp
View file @
47d7ad2e
...
...
@@ -3,8 +3,8 @@
#include <utility>
#include <algorithm>
#include <opencv2/core
/core
.hpp>
#include <opencv2/features2d
/features2d
.hpp>
#include <opencv2/core.hpp>
#include <opencv2/features2d.hpp>
#include <QVBoxLayout>
#include <QStringList>
...
...
@@ -128,7 +128,7 @@ void RawviewGroupSubtable::customMenuRequested(QPoint location)
{
menu
->
addAction
(
new
QAction
(
"Show selected rows in view"
,
this
));
}
auto
formats
=
RawviewTableRow
::
getAvailableTextFormats
();
for
(
auto
format
:
formats
)
{
...
...
modules/cvv/src/gui/rawview_table_row.cpp
View file @
47d7ad2e
...
...
@@ -10,6 +10,8 @@
#include "../qtutil/util.hpp"
#include "../stfl/stringutils.hpp"
#include <set>
namespace
cvv
{
namespace
gui
...
...
modules/cvv/src/gui/rawview_table_row.hpp
View file @
47d7ad2e
...
...
@@ -4,8 +4,8 @@
#include <vector>
#include <utility>
#include <opencv2/core
/core
.hpp>
#include <opencv2/features2d
/features2d
.hpp>
#include <opencv2/core.hpp>
#include <opencv2/features2d.hpp>
#include <QTableWidget>
#include <QString>
...
...
modules/cvv/src/impl/call.hpp
View file @
47d7ad2e
...
...
@@ -5,8 +5,8 @@
#include <QString>
#include "opencv2/core
/core
.hpp"
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/core.hpp"
#include "opencv2/features2d.hpp"
#include "opencv2/cvv/call_meta_data.hpp"
...
...
modules/cvv/src/impl/data_controller.hpp
View file @
47d7ad2e
...
...
@@ -4,7 +4,7 @@
#include <memory>
#include <vector>
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
#include "call.hpp"
#include "../controller/view_controller.hpp"
...
...
modules/cvv/src/impl/filter_call.hpp
View file @
47d7ad2e
...
...
@@ -5,7 +5,7 @@
#include "call.hpp"
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
namespace
cvv
{
...
...
modules/cvv/src/impl/match_call.hpp
View file @
47d7ad2e
...
...
@@ -5,8 +5,8 @@
#include <utility>
#include <type_traits>
#include "opencv2/core
/core
.hpp"
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/core.hpp"
#include "opencv2/features2d.hpp"
#include "call.hpp"
...
...
modules/cvv/src/impl/single_image_call.hpp
View file @
47d7ad2e
...
...
@@ -5,7 +5,7 @@
#include <QString>
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
namespace
cvv
{
...
...
modules/cvv/src/qtutil/autofilterwidget.hpp
View file @
47d7ad2e
...
...
@@ -5,7 +5,7 @@
#include <vector>
#include <chrono>
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
#include <QWidget>
#include <QCheckBox>
...
...
modules/cvv/src/qtutil/filter/diffFilterWidget.cpp
View file @
47d7ad2e
#include <opencv2/core
/core
.hpp>
#include <opencv2/
highgui/highgui
.hpp>
#include <opencv2/imgproc/
imgproc.hpp
>
#include <opencv2/core.hpp>
#include <opencv2/
imgproc
.hpp>
#include <opencv2/imgproc/
types_c.h
>
#include <unordered_map>
...
...
modules/cvv/src/qtutil/filter/grayfilterwidget.hpp
View file @
47d7ad2e
...
...
@@ -10,7 +10,7 @@
#include <QObject>
#include <QString>
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
#include "../filterfunctionwidget.hpp"
#include "../../util/observer_ptr.hpp"
...
...
modules/cvv/src/qtutil/filter/overlayfilterwidget.cpp
View file @
47d7ad2e
#include <opencv2/core
/core
.hpp>
#include <opencv2/core.hpp>
#include <Qt>
#include "QLabel"
...
...
modules/cvv/src/qtutil/filter/sobelfilterwidget.cpp
View file @
47d7ad2e
#include "sobelfilterwidget.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/imgproc/types_c.h"
#include <QVBoxLayout>
#include <QLabel>
...
...
modules/cvv/src/qtutil/filterfunctionwidget.hpp
View file @
47d7ad2e
...
...
@@ -9,7 +9,7 @@
#include <QString>
// OCV
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
// cvv
#include "signalslot.hpp"
...
...
modules/cvv/src/qtutil/filterselectorwidget.hpp
View file @
47d7ad2e
...
...
@@ -12,7 +12,7 @@
#include <QPushButton>
// OCV
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
// CVV
#include "signalslot.hpp"
...
...
modules/cvv/src/qtutil/histogram.cpp
View file @
47d7ad2e
...
...
@@ -123,10 +123,10 @@ cv::Mat Histogram::drawHist(const std::vector<cv::Mat>& channelHists, cv::Size h
int
thickness
=
1
;
for
(
int
binTextId
=
0
;
binTextId
<
binCount
;
binTextId
+=
binTextStep
)
{
auto
text
=
QString
::
number
(
binTextId
).
to
StdString
();
auto
textSize
=
cv
::
getTextSize
(
text
,
fontFace
,
fontScale
,
thickness
,
NULL
);
auto
text
=
QString
::
number
(
binTextId
).
to
Latin1
();
auto
textSize
=
cv
::
getTextSize
(
text
.
data
()
,
fontFace
,
fontScale
,
thickness
,
NULL
);
auto
textPt
=
cv
::
Point
(
std
::
max
(
0
,
binWidth
*
binTextId
-
textSize
.
width
/
2
),
histSize
.
height
);
cv
::
putText
(
histMat
,
text
,
textPt
,
fontFace
,
fontScale
,
textColor
,
thickness
);
cv
::
putText
(
histMat
,
text
.
data
()
,
textPt
,
fontFace
,
fontScale
,
textColor
,
thickness
);
auto
linePt1
=
cv
::
Point
(
binWidth
*
binTextId
,
0
);
auto
linePt2
=
cv
::
Point
(
binWidth
*
binTextId
,
histSize
.
height
-
textSize
.
height
);
cv
::
line
(
histMat
,
linePt1
,
linePt2
,
textColor
);
...
...
modules/cvv/src/qtutil/histogram.hpp
View file @
47d7ad2e
...
...
@@ -3,9 +3,8 @@
#include <QWidget>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/core.hpp>
#include <opencv2/imgproc.hpp>
#include "zoomableimage.hpp"
...
...
modules/cvv/src/qtutil/matchview/colorutil.hpp
View file @
47d7ad2e
...
...
@@ -5,7 +5,7 @@
#include <QColor>
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
namespace
cvv
{
...
...
modules/cvv/src/qtutil/matchview/cvvkeypoint.hpp
View file @
47d7ad2e
...
...
@@ -9,8 +9,8 @@
#include <QWidget>
#include <QGraphicsScene>
#include "opencv2/core
/core
.hpp"
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/core.hpp"
#include "opencv2/features2d.hpp"
#include "keypointsettings.hpp"
#include "../zoomableimage.hpp"
...
...
modules/cvv/src/qtutil/matchview/cvvmatch.hpp
View file @
47d7ad2e
...
...
@@ -9,8 +9,8 @@
#include <QWidget>
#include "opencv2/core
/core
.hpp"
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/core.hpp"
#include "opencv2/features2d.hpp"
#include "matchsettings.hpp"
#include "cvvkeypoint.hpp"
...
...
modules/cvv/src/qtutil/matchview/falsecolorkeypointpen.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <vector>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "keypointvaluechooser.hpp"
#include "keypointsettings.hpp"
...
...
modules/cvv/src/qtutil/matchview/falsecolormatchpen.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <vector>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "matchsettings.hpp"
...
...
modules/cvv/src/qtutil/matchview/keypointintervallselection.hpp
View file @
47d7ad2e
#ifndef CVVISUAL_KEY_POINT_INTERVALL_SELECTOR
#define CVVISUAL_KEY_POINT_INTERVALL_SELECTOR
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "keypointselection.hpp"
#include "keypointvaluechooser.hpp"
...
...
modules/cvv/src/qtutil/matchview/keypointmanagement.hpp
View file @
47d7ad2e
...
...
@@ -5,7 +5,7 @@
#include "../../util/util.hpp"
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "keypointselectionselector.hpp"
#include "keypointsettingsselector.hpp"
...
...
modules/cvv/src/qtutil/matchview/keypointportionselector.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <vector>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "keypointselection.hpp"
#include "keypointvaluechooser.hpp"
...
...
modules/cvv/src/qtutil/matchview/keypointselection.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <QFrame>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
namespace
cvv
{
namespace
qtutil
{
...
...
modules/cvv/src/qtutil/matchview/keypointselectionselector.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <vector>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "keypointselection.hpp"
#include "../registerhelper.hpp"
...
...
modules/cvv/src/qtutil/matchview/keypointsettingsselector.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <vector>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "keypointsettings.hpp"
#include "../registerhelper.hpp"
...
...
modules/cvv/src/qtutil/matchview/keypointshowsetting.hpp
View file @
47d7ad2e
...
...
@@ -5,7 +5,7 @@
#include <QPushButton>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "keypointsettings.hpp"
namespace
cvv
{
namespace
qtutil
{
...
...
modules/cvv/src/qtutil/matchview/keypointvaluechooser.hpp
View file @
47d7ad2e
...
...
@@ -4,7 +4,7 @@
#include <QWidget>
#include <QComboBox>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
namespace
cvv
{
namespace
qtutil
{
...
...
modules/cvv/src/qtutil/matchview/matchintervallselection.hpp
View file @
47d7ad2e
#ifndef CVVISUAL_MATCH_INTERVALL_SELECTOR
#define CVVISUAL_MATCH_INTERVALL_SELECTOR
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "matchselection.hpp"
#include "../intervallselector.hpp"
...
...
modules/cvv/src/qtutil/matchview/matchmanagement.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <QCheckBox>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "matchselectionselector.hpp"
#include "matchsettingsselector.hpp"
...
...
modules/cvv/src/qtutil/matchview/matchportionselector.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <vector>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "matchselection.hpp"
#include "../portionselector.hpp"
...
...
modules/cvv/src/qtutil/matchview/matchscene.hpp
View file @
47d7ad2e
...
...
@@ -8,8 +8,8 @@
#include <QGraphicsScene>
#include <QGraphicsProxyWidget>
#include "opencv2/core
/core
.hpp"
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/core.hpp"
#include "opencv2/features2d.hpp"
#include "cvvmatch.hpp"
#include "cvvkeypoint.hpp"
#include "zoomableproxyobject.hpp"
...
...
modules/cvv/src/qtutil/matchview/matchselection.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <QFrame>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
namespace
cvv
{
namespace
qtutil
{
...
...
modules/cvv/src/qtutil/matchview/matchselectionselector.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <vector>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "matchselection.hpp"
#include "../registerhelper.hpp"
...
...
modules/cvv/src/qtutil/matchview/matchsettingsselector.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <vector>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "matchsettings.hpp"
#include "../registerhelper.hpp"
...
...
modules/cvv/src/qtutil/matchview/matchshowsetting.hpp
View file @
47d7ad2e
...
...
@@ -5,7 +5,7 @@
#include <QPushButton>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "matchsettings.hpp"
#include "cvvmatch.hpp"
...
...
modules/cvv/src/qtutil/matchview/rawview_window.hpp
View file @
47d7ad2e
...
...
@@ -3,8 +3,8 @@
#include <vector>
#include <opencv2/core
/core
.hpp>
#include <opencv2/features2d
/features2d
.hpp>
#include <opencv2/core.hpp>
#include <opencv2/features2d.hpp>
#include <QMainWindow>
#include <QString>
...
...
modules/cvv/src/qtutil/matchview/showinrawviewwidget.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <QWidget>
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/features2d.hpp"
#include "matchmanagement.hpp"
#include "keypointmanagement.hpp"
...
...
modules/cvv/src/qtutil/signalslot.hpp
View file @
47d7ad2e
...
...
@@ -5,7 +5,7 @@
#include <functional>
#include <stdexcept>
#include
"opencv2/core/core.hpp"
#include
<opencv2/core.hpp>
// QT
#include <QObject>
...
...
modules/cvv/src/qtutil/types.hpp
View file @
47d7ad2e
#ifndef CVVISUAL_TYPES_HPP
#define CVVISUAL_TYPES_HPP
#include
"opencv2/core/core.hpp"
#include
<opencv2/core.hpp>
namespace
cvv
...
...
modules/cvv/src/qtutil/util.cpp
View file @
47d7ad2e
...
...
@@ -5,8 +5,6 @@
#include <thread>
#include <functional>
#include <opencv/highgui.h>
#include <QDesktopServices>
#include <QUrl>
#include <QSettings>
...
...
modules/cvv/src/qtutil/util.hpp
View file @
47d7ad2e
...
...
@@ -9,8 +9,9 @@
#include <QPixmap>
#include <QSet>
#include "opencv2/core/core.hpp"
#include "opencv2/opencv.hpp"
#include "opencv2/core.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/features2d.hpp"
namespace
cvv
...
...
modules/cvv/src/qtutil/zoomableimage.cpp
View file @
47d7ad2e
...
...
@@ -12,6 +12,7 @@
#include "types.hpp"
#include <iostream>
#include <sstream>
/**
* @brief Puts a value into a stringstream. (used to print char and uchar as a
...
...
modules/cvv/src/qtutil/zoomableimage.hpp
View file @
47d7ad2e
...
...
@@ -12,7 +12,7 @@
#include <QTimer>
#include <QScrollBar>
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
#include "util.hpp"
#include "../util/util.hpp"
...
...
modules/cvv/src/qtutil/zoomableimageoptpanel.hpp
View file @
47d7ad2e
...
...
@@ -6,7 +6,7 @@
#include <QWidget>
#include <QDoubleSpinBox>
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
#include "zoomableimage.hpp"
#include "util.hpp"
...
...
modules/cvv/src/view/defaultfilterview.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <QWidget>
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
#include "filter_view.hpp"
...
...
modules/cvv/src/view/dual_filter_view.cpp
View file @
47d7ad2e
...
...
@@ -5,7 +5,7 @@
#include <unordered_map>
#include <vector>
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
#include <QApplication>
#include <QGridLayout>
...
...
modules/cvv/src/view/filter_view.hpp
View file @
47d7ad2e
...
...
@@ -7,7 +7,7 @@
#include <QWidget>
#include <vector>
#include <opencv2/core
/core
.hpp>
#include <opencv2/core.hpp>
namespace
cvv
{
...
...
modules/cvv/src/view/image_view.cpp
View file @
47d7ad2e
...
...
@@ -6,7 +6,7 @@
#include <QHBoxLayout>
#include <QGridLayout>
#include <opencv2/core
/core
.hpp>
#include <opencv2/core.hpp>
#include "../qtutil/accordion.hpp"
#include "../qtutil/zoomableimageoptpanel.hpp"
...
...
modules/cvv/src/view/image_view.hpp
View file @
47d7ad2e
...
...
@@ -4,7 +4,7 @@
#include <QString>
#include <QWidget>
#include <opencv2/core
/core
.hpp>
#include <opencv2/core.hpp>
#include "../qtutil/zoomableimage.hpp"
#include "../util/observer_ptr.hpp"
...
...
@@ -44,12 +44,12 @@ signals:
* @param parent of this QWidget.
**/
ImageView
(
const
cv
::
Mat
&
image
,
QWidget
*
parent
=
nullptr
);
/**
* @brief Shows the full image.
*/
void
showFullImage
();
private
:
util
::
ObserverPtr
<
qtutil
::
ZoomableImage
>
image
;
};
...
...
@@ -57,4 +57,3 @@ signals:
}
// namespaces
#endif
modules/cvv/src/view/linematchview.hpp
View file @
47d7ad2e
...
...
@@ -3,8 +3,8 @@
#include <vector>
#include "opencv2/core
/core
.hpp"
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/core.hpp"
#include "opencv2/features2d.hpp"
#include "../qtutil/matchview/matchmanagement.hpp"
#include "../qtutil/matchview/keypointmanagement.hpp"
...
...
modules/cvv/src/view/match_view.hpp
View file @
47d7ad2e
...
...
@@ -5,8 +5,8 @@
#include <QWidget>
#include <vector>
#include <opencv2/core
/core
.hpp>
#include <opencv2/features2d
/features2d
.hpp>
#include <opencv2/core.hpp>
#include <opencv2/features2d.hpp>
#include "../impl/match_call.hpp"
...
...
modules/cvv/src/view/pointmatchview.hpp
View file @
47d7ad2e
...
...
@@ -3,8 +3,8 @@
#include <vector>
#include "opencv2/core
/core
.hpp"
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/core.hpp"
#include "opencv2/features2d.hpp"
#include "../qtutil/matchview/matchmanagement.hpp"
#include "match_view.hpp"
...
...
modules/cvv/src/view/rawview.hpp
View file @
47d7ad2e
...
...
@@ -3,8 +3,8 @@
#include <vector>
#include <opencv2/core
/core
.hpp>
#include <opencv2/features2d
/features2d
.hpp>
#include <opencv2/core.hpp>
#include <opencv2/features2d.hpp>
#include <QWidget>
#include <QString>
...
...
@@ -74,7 +74,7 @@ public:
* @param parent of this QWidget.
*/
Rawview
(
const
impl
::
MatchCall
&
call
,
QWidget
*
parent
=
nullptr
)
:
Rawview
(
call
.
keyPoints1
(),
call
.
keyPoints2
(),
:
Rawview
(
call
.
keyPoints1
(),
call
.
keyPoints2
(),
call
.
matches
(),
call
.
usesTrainDescriptor
())
{
setParent
(
parent
);
...
...
@@ -87,11 +87,11 @@ public:
* menus?
*/
bool
doesShowShowInViewMenu
();
virtual
std
::
vector
<
cv
::
DMatch
>
getMatchSelection
();
virtual
std
::
vector
<
cv
::
KeyPoint
>
getKeyPointSelection
();
signals
:
/**
* @brief Requests to update the left footer of the window that displays
...
...
@@ -119,7 +119,7 @@ signals:
* @param keyPoints seleted single key points
*/
void
keyPointsSelected
(
const
std
::
vector
<
cv
::
KeyPoint
>
&
keyPoints
);
public
slots
:
/**
...
...
@@ -138,11 +138,11 @@ public slots:
*/
void
selectKeyPoints
(
const
std
::
vector
<
cv
::
KeyPoint
>
&
keyPoints
);
virtual
void
setMatchSelection
(
std
::
vector
<
cv
::
DMatch
>
matches
);
virtual
void
setKeyPointSelection
(
std
::
vector
<
cv
::
KeyPoint
>
keyPoints
);
/**
* @brief Issues the matchesSelected and the keyPointsSelected signal.
* It uses the referenced key points (via the given matches) to find the
...
...
@@ -150,7 +150,7 @@ public slots:
* @param matches the user selected matches.
*/
void
matchesKeyPointsSelected
(
const
std
::
vector
<
cv
::
DMatch
>
&
matches
);
private
slots
:
void
filterQuery
(
QString
query
);
...
...
@@ -170,7 +170,7 @@ private:
gui
::
RawviewTable
*
table
;
bool
showShowInViewMenu
=
false
;
bool
usesTrainDescriptor
=
true
;
void
initEngine
();
};
}
...
...
modules/cvv/src/view/singlefilterview.hpp
View file @
47d7ad2e
...
...
@@ -3,7 +3,7 @@
#include <QWidget>
#include "opencv2/core
/core
.hpp"
#include "opencv2/core.hpp"
#include "filter_view.hpp"
#include "../impl/filter_call.hpp"
...
...
modules/cvv/src/view/translationsmatchview.hpp
View file @
47d7ad2e
...
...
@@ -3,8 +3,8 @@
#include <vector>
#include "opencv2/core
/core
.hpp"
#include "opencv2/features2d
/features2d
.hpp"
#include "opencv2/core.hpp"
#include "opencv2/features2d.hpp"
#include "../qtutil/matchview/matchmanagement.hpp"
#include "../qtutil/matchview/keypointmanagement.hpp"
...
...
modules/cvv/test/test_precomp.hpp
View file @
47d7ad2e
...
...
@@ -11,7 +11,7 @@
#include <iostream>
#include <string>
#include <opencv2/ts
/ts
.hpp>
#include <opencv2/cvv
/cvv
.hpp>
#include <opencv2/ts.hpp>
#include <opencv2/cvv.hpp>
#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