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
d255138c
Commit
d255138c
authored
Nov 03, 2015
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #414 from cpsandbox:better_cast
parents
3df4d507
06eb62c6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
linematchview.cpp
modules/cvv/src/view/linematchview.cpp
+1
-1
pointmatchview.cpp
modules/cvv/src/view/pointmatchview.cpp
+1
-1
translationsmatchview.cpp
modules/cvv/src/view/translationsmatchview.cpp
+1
-1
No files found.
modules/cvv/src/view/linematchview.cpp
View file @
d255138c
...
...
@@ -45,7 +45,7 @@ LineMatchView::LineMatchView(std::vector<cv::KeyPoint> leftKeyPoints,
qtutil
::
MatchScene
*
matchscene_ptr
=
matchscene
.
get
();
int
updateAreaDelay
=
std
::
min
(
std
::
max
(
matches
.
size
(),
std
::
max
(
leftKeyPoints
.
size
(),
rightKeyPoints
.
size
()))
/
10
,
50lu
);
rightKeyPoints
.
size
()))
/
(
std
::
size_t
)
10
,(
std
::
size_t
)
50
);
matchscene_ptr
->
getLeftImage
().
setUpdateAreaDelay
(
updateAreaDelay
);
matchscene_ptr
->
getRightImage
().
setUpdateAreaDelay
(
updateAreaDelay
);
...
...
modules/cvv/src/view/pointmatchview.cpp
View file @
d255138c
...
...
@@ -30,7 +30,7 @@ PointMatchView::PointMatchView(std::vector<cv::KeyPoint> leftKeyPoints,
auto
matchmnt
=
util
::
make_unique
<
qtutil
::
MatchManagement
>
(
matches
);
qtutil
::
MatchScene
*
matchscene_ptr
=
matchscene
.
get
();
int
updateAreaDelay
=
std
::
min
(
std
::
max
(
matches
.
size
(),
std
::
max
(
leftKeyPoints
.
size
(),
rightKeyPoints
.
size
()))
/
10
,
50lu
);
int
updateAreaDelay
=
std
::
min
(
std
::
max
(
matches
.
size
(),
std
::
max
(
leftKeyPoints
.
size
(),
rightKeyPoints
.
size
()))
/
(
std
::
size_t
)
10
,(
std
::
size_t
)
50
);
matchscene_ptr
->
getLeftImage
().
setUpdateAreaDelay
(
updateAreaDelay
);
matchscene_ptr
->
getRightImage
().
setUpdateAreaDelay
(
updateAreaDelay
);
...
...
modules/cvv/src/view/translationsmatchview.cpp
View file @
d255138c
...
...
@@ -39,7 +39,7 @@ TranslationMatchView::TranslationMatchView(
auto
keyPointmnt
=
util
::
make_unique
<
qtutil
::
KeyPointManagement
>
(
allkeypoints
);
qtutil
::
MatchScene
*
matchscene_ptr
=
matchscene
.
get
();
int
updateAreaDelay
=
std
::
min
(
std
::
max
(
matches
.
size
(),
std
::
max
(
leftKeyPoints
.
size
(),
rightKeyPoints
.
size
()))
/
10
,
50lu
);
int
updateAreaDelay
=
std
::
min
(
std
::
max
(
matches
.
size
(),
std
::
max
(
leftKeyPoints
.
size
(),
rightKeyPoints
.
size
()))
/
(
std
::
size_t
)
10
,(
std
::
size_t
)
50
);
matchscene_ptr
->
getLeftImage
().
setUpdateAreaDelay
(
updateAreaDelay
);
matchscene_ptr
->
getRightImage
().
setUpdateAreaDelay
(
updateAreaDelay
);
...
...
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