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
c8ccb488
Commit
c8ccb488
authored
Sep 09, 2011
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added comments clarifying the thread safety requirements of the new
object detection tools.
parent
d9ef460c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
0 deletions
+28
-0
hashed_feature_image_abstract.h
dlib/image_keypoint/hashed_feature_image_abstract.h
+8
-0
hog_abstract.h
dlib/image_keypoint/hog_abstract.h
+8
-0
box_overlap_testing_abstract.h
dlib/image_processing/box_overlap_testing_abstract.h
+5
-0
scan_image_pyramid_abstract.h
dlib/image_processing/scan_image_pyramid_abstract.h
+7
-0
No files found.
dlib/image_keypoint/hashed_feature_image_abstract.h
View file @
c8ccb488
...
...
@@ -37,6 +37,14 @@ namespace dlib
creating an indicator vector with multiple non-zero indicator features.
THREAD SAFETY
Concurrent access to an instance of this object is not safe and should be protected
by a mutex lock except for the case where you are copying the configuration
(via copy_configuration()) of a hashed_feature_image object to many other threads.
In this case, it is safe to copy the configuration of a shared object so long
as no other operations are performed on it.
NOTATION
let BASE_FE denote the base feature_extractor object contained inside
the hashed_feature_image.
...
...
dlib/image_keypoint/hog_abstract.h
View file @
c8ccb488
...
...
@@ -98,6 +98,14 @@ namespace dlib
Finally, the cell_stride parameter controls how much overlap you get between
blocks. The maximum amount of overlap is obtained when cell_stride == 1.
At the other extreme, you would have no overlap if cell_stride == block_size.
THREAD SAFETY
Concurrent access to an instance of this object is not safe and should be protected
by a mutex lock except for the case where you are copying the configuration
(via copy_configuration()) of a hog_image object to many other threads.
In this case, it is safe to copy the configuration of a shared object so long
as no other operations are performed on it.
!*/
public
:
...
...
dlib/image_processing/box_overlap_testing_abstract.h
View file @
c8ccb488
...
...
@@ -16,6 +16,11 @@ namespace dlib
WHAT THIS OBJECT REPRESENTS
This object is a simple function object for determining if two rectangles
overlap.
THREAD SAFETY
Concurrent access to an instance of this object is safe provided that
only const member functions are invoked. Otherwise, access must be
protected by a mutex lock.
!*/
public
:
...
...
dlib/image_processing/scan_image_pyramid_abstract.h
View file @
c8ccb488
...
...
@@ -76,6 +76,13 @@ namespace dlib
Finally, the sliding window classifiers described above are applied to every level
of an image pyramid.
THREAD SAFETY
Concurrent access to an instance of this object is not safe and should be protected
by a mutex lock except for the case where you are copying the configuration
(via copy_configuration()) of a scan_image_pyramid object to many other threads.
In this case, it is safe to copy the configuration of a shared object so long
as no other operations are performed on it.
!*/
public
:
...
...
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