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
36392bb2
"examples/pytorch/vscode:/vscode.git/clone" did not exist on "2d372e35e288994d5415db4891dca6b6285d1a2d"
Commit
36392bb2
authored
Nov 15, 2017
by
Davis King
Browse files
Minor tweaks to spec
parent
483e6ab4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
dlib/image_transforms/interpolation_abstract.h
dlib/image_transforms/interpolation_abstract.h
+6
-3
No files found.
dlib/image_transforms/interpolation_abstract.h
View file @
36392bb2
...
...
@@ -1182,6 +1182,8 @@ namespace dlib
- for all valid i:
- chip_locations[i].rect.is_empty() == false
- chip_locations[i].size() != 0
- interpolation_type == interpolate_nearest_neighbor, interpolate_bilinear,
interpolate_quadratic, or a type with a compatible interface.
ensures
- This function extracts "chips" from an image. That is, it takes a list of
rectangular sub-windows (i.e. chips) within an image and extracts those
...
...
@@ -1213,7 +1215,7 @@ namespace dlib
/*!
ensures
- This function is a simple convenience / compatibility wrapper that calls the
above-defined extract_image_chips function using bilinear interpolation.
above-defined extract_image_chips
()
function using bilinear interpolation.
!*/
// ----------------------------------------------------------------------------------------
...
...
@@ -1232,7 +1234,8 @@ namespace dlib
/*!
ensures
- This function simply calls extract_image_chips() with a single chip location
and stores the single output chip into #chip.
and stores the single output chip into #chip. It uses the provided
interpolation method.
!*/
template
<
...
...
@@ -1247,7 +1250,7 @@ namespace dlib
/*!
ensures
- This function is a simple convenience / compatibility wrapper that calls the
above-defined extract_image_chip function using bilinear interpolation.
above-defined extract_image_chip
()
function using bilinear interpolation.
!*/
// ----------------------------------------------------------------------------------------
...
...
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