Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
edb85555
Commit
edb85555
authored
Mar 25, 2015
by
Davis King
Browse files
Fixed the get_best_hough_point() function so that it works on generic
images.
parent
2e2a1487
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
dlib/image_transforms/hough_transform.h
dlib/image_transforms/hough_transform.h
+3
-1
No files found.
dlib/image_transforms/hough_transform.h
View file @
edb85555
...
...
@@ -105,9 +105,11 @@ namespace dlib
>
point
get_best_hough_point
(
const
point
&
p
,
const
image_type
&
himg
const
image_type
&
himg
_
)
{
const
const_image_view
<
image_type
>
himg
(
himg_
);
DLIB_ASSERT
(
himg
.
nr
()
==
size
()
&&
himg
.
nc
()
==
size
()
&&
rectangle
(
0
,
0
,
size
()
-
1
,
size
()
-
1
).
contains
(
p
)
==
true
,
"
\t
point hough_transform::get_best_hough_point()"
...
...
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