Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
36392bb2
Commit
36392bb2
authored
Nov 15, 2017
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor tweaks to spec
parent
483e6ab4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
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
...
@@ -1182,6 +1182,8 @@ namespace dlib
- for all valid i:
- for all valid i:
- chip_locations[i].rect.is_empty() == false
- chip_locations[i].rect.is_empty() == false
- chip_locations[i].size() != 0
- chip_locations[i].size() != 0
- interpolation_type == interpolate_nearest_neighbor, interpolate_bilinear,
interpolate_quadratic, or a type with a compatible interface.
ensures
ensures
- This function extracts "chips" from an image. That is, it takes a list of
- 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
rectangular sub-windows (i.e. chips) within an image and extracts those
...
@@ -1213,7 +1215,7 @@ namespace dlib
...
@@ -1213,7 +1215,7 @@ namespace dlib
/*!
/*!
ensures
ensures
- This function is a simple convenience / compatibility wrapper that calls the
- 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
...
@@ -1232,7 +1234,8 @@ namespace dlib
/*!
/*!
ensures
ensures
- This function simply calls extract_image_chips() with a single chip location
- 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
<
template
<
...
@@ -1247,7 +1250,7 @@ namespace dlib
...
@@ -1247,7 +1250,7 @@ namespace dlib
/*!
/*!
ensures
ensures
- This function is a simple convenience / compatibility wrapper that calls the
- 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