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
a07b31da
Commit
a07b31da
authored
Oct 25, 2015
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
just formatting cleanup
parent
52ecadf8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
matrix_subexp_abstract.h
dlib/matrix/matrix_subexp_abstract.h
+18
-18
No files found.
dlib/matrix/matrix_subexp_abstract.h
View file @
a07b31da
...
...
@@ -105,6 +105,24 @@ namespace dlib
R(r, c) == m(r+row,c+col)
!*/
// ----------------------------------------------------------------------------------------
const
matrix_exp
subm
(
const
matrix_exp
&
m
,
const
rectangle
&
rect
);
/*!
requires
- get_rect(m).contains(rect) == true
(i.e. rect is a region inside the matrix m)
ensures
- returns a matrix R such that:
- R.nr() == rect.height()
- R.nc() == rect.width()
- for all valid r and c:
R(r, c) == m(r+rect.top(), c+rect.left())
!*/
// ----------------------------------------------------------------------------------------
const
matrix_exp
subm_clipped
(
...
...
@@ -129,24 +147,6 @@ namespace dlib
R(r, c) == m(r+box_clipped.top(),c+box_clipped.left())
!*/
// ----------------------------------------------------------------------------------------
const
matrix_exp
subm
(
const
matrix_exp
&
m
,
const
rectangle
&
rect
);
/*!
requires
- get_rect(m).contains(rect) == true
(i.e. rect is a region inside the matrix m)
ensures
- returns a matrix R such that:
- R.nr() == rect.height()
- R.nc() == rect.width()
- for all valid r and c:
R(r, c) == m(r+rect.top(), c+rect.left())
!*/
// ----------------------------------------------------------------------------------------
const
matrix_exp
subm_clipped
(
...
...
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