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
32fc9221
Commit
32fc9221
authored
Jan 12, 2014
by
Davis King
Browse files
Clarified spec
parent
6700c46e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dlib/image_transforms/interpolation_abstract.h
dlib/image_transforms/interpolation_abstract.h
+5
-5
No files found.
dlib/image_transforms/interpolation_abstract.h
View file @
32fc9221
...
@@ -878,11 +878,11 @@ namespace dlib
...
@@ -878,11 +878,11 @@ namespace dlib
chip_locations[i].angle radians, around the center of
chip_locations[i].angle radians, around the center of
chip_locations[i].rect, before the chip was extracted.
chip_locations[i].rect, before the chip was extracted.
- As long as chip_locations[i].size and the aspect ratio of of
- As long as chip_locations[i].size and the aspect ratio of of
chip_locations[i].rect
and
stays constant then the dimensions of
chip_locations[i].rect stays constant then the dimensions of
#chips[i] is
#chips[i] is
always the same. This means that, for example, if you want
always the same. This means that, for example, if you want
all your
all your
chips to have the same dimensions then ensure that
chips to have the same dimensions then ensure that
chip_location[i].size
chip_location[i].
size is
always
the same and also
th
at
is always the same and also that
chip_location[i].
rect
always
has
th
e
chip_location[i].rect always has the
same aspect ratio.
same aspect ratio.
- Any pixels in an image chip that go outside img are set to 0 (i.e. black).
- Any pixels in an image chip that go outside img are set to 0 (i.e. black).
!*/
!*/
...
...
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