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
cd9cab01
Commit
cd9cab01
authored
Jan 21, 2012
by
Davis King
Browse files
Minor change to avoid a bug in clang 2.9
parent
71806982
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dlib/image_keypoint/poly_image.h
dlib/image_keypoint/poly_image.h
+3
-3
No files found.
dlib/image_keypoint/poly_image.h
View file @
cd9cab01
...
...
@@ -228,7 +228,7 @@ namespace dlib
long
col
)
const
{
return
centered_rect
(
d
ownsample
*
point
(
col
+
border_size
,
row
+
border_size
),
return
centered_rect
(
D
ownsample
*
point
(
col
+
border_size
,
row
+
border_size
),
window_size
,
window_size
);
}
...
...
@@ -236,7 +236,7 @@ namespace dlib
const
point
&
p
)
const
{
return
p
/
d
ownsample
-
point
(
border_size
,
border_size
);
return
p
/
D
ownsample
-
point
(
border_size
,
border_size
);
}
const
rectangle
image_to_feat_space
(
...
...
@@ -250,7 +250,7 @@ namespace dlib
const
point
&
p
)
const
{
return
(
p
+
point
(
border_size
,
border_size
))
*
d
ownsample
;
return
(
p
+
point
(
border_size
,
border_size
))
*
D
ownsample
;
}
const
rectangle
feat_to_image_space
(
...
...
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