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
da48facb
Commit
da48facb
authored
Dec 15, 2014
by
Davis King
Browse files
Changed extract_image_chips() slightly so that it can take non-resizable images
like cv_image as input.
parent
02c377e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/image_transforms/interpolation.h
dlib/image_transforms/interpolation.h
+1
-1
No files found.
dlib/image_transforms/interpolation.h
View file @
da48facb
...
@@ -1621,7 +1621,7 @@ namespace dlib
...
@@ -1621,7 +1621,7 @@ namespace dlib
}
}
// now make an image pyramid
// now make an image pyramid
dlib
::
array
<
image_type
1
>
levels
(
max_depth
);
dlib
::
array
<
image_type
2
>
levels
(
max_depth
);
if
(
levels
.
size
()
!=
0
)
if
(
levels
.
size
()
!=
0
)
pyr
(
img
,
levels
[
0
]);
pyr
(
img
,
levels
[
0
]);
for
(
unsigned
long
i
=
1
;
i
<
levels
.
size
();
++
i
)
for
(
unsigned
long
i
=
1
;
i
<
levels
.
size
();
++
i
)
...
...
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