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
712c6577
Commit
712c6577
authored
Aug 06, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added get_feature_extractor() functions to the image scanners so the underlying
feature extractors can have their parameters queried.
parent
a448b452
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
10 deletions
+30
-10
scan_image_boxes.h
dlib/image_processing/scan_image_boxes.h
+3
-0
scan_image_boxes_abstract.h
dlib/image_processing/scan_image_boxes_abstract.h
+12
-5
scan_image_pyramid.h
dlib/image_processing/scan_image_pyramid.h
+3
-0
scan_image_pyramid_abstract.h
dlib/image_processing/scan_image_pyramid_abstract.h
+12
-5
No files found.
dlib/image_processing/scan_image_boxes.h
View file @
712c6577
...
@@ -74,6 +74,9 @@ namespace dlib
...
@@ -74,6 +74,9 @@ namespace dlib
const
box_generator
&
get_box_generator
(
const
box_generator
&
get_box_generator
(
)
const
{
return
detect_boxes
;
}
)
const
{
return
detect_boxes
;
}
const
Feature_extractor_type
&
get_feature_extractor
(
)
const
{
return
feats
;
}
inline
void
copy_configuration
(
inline
void
copy_configuration
(
const
scan_image_boxes
&
item
const
scan_image_boxes
&
item
);
);
...
...
dlib/image_processing/scan_image_boxes_abstract.h
View file @
712c6577
...
@@ -177,16 +177,23 @@ namespace dlib
...
@@ -177,16 +177,23 @@ namespace dlib
false otherwise.
false otherwise.
!*/
!*/
const
feature_extractor_type
&
get_feature_extractor
(
)
const
;
/*!
ensures
- returns a const reference to the feature_extractor_type object used
internally for local feature extraction.
!*/
void
copy_configuration
(
void
copy_configuration
(
const
feature_extractor_type
&
fe
const
feature_extractor_type
&
fe
);
);
/*!
/*!
ensures
ensures
- Let BASE_FE denote the feature_extractor_type object used internally for
- This function performs the equivalent of
local feature extraction. Then this function performs
get_feature_extractor().copy_configuration(fe) (i.e. this function allows
BASE_FE.copy_configuration(fe) (i.e. this function allows you to
you to configure the parameters of the underlying feature extractor used
configure the parameters of the underlying feature extractor used by a
by a scan_image_boxes object)
scan_image_boxes object)
!*/
!*/
void
copy_configuration
(
void
copy_configuration
(
...
...
dlib/image_processing/scan_image_pyramid.h
View file @
712c6577
...
@@ -51,6 +51,9 @@ namespace dlib
...
@@ -51,6 +51,9 @@ namespace dlib
const
scan_image_pyramid
&
item
const
scan_image_pyramid
&
item
);
);
const
Feature_extractor_type
&
get_feature_extractor
(
)
const
{
return
feats_config
;
}
void
add_detection_template
(
void
add_detection_template
(
const
rectangle
&
object_box
,
const
rectangle
&
object_box
,
const
std
::
vector
<
rectangle
>&
stationary_feature_extraction_regions
,
const
std
::
vector
<
rectangle
>&
stationary_feature_extraction_regions
,
...
...
dlib/image_processing/scan_image_pyramid_abstract.h
View file @
712c6577
...
@@ -150,16 +150,23 @@ namespace dlib
...
@@ -150,16 +150,23 @@ namespace dlib
and false otherwise.
and false otherwise.
!*/
!*/
const
feature_extractor_type
&
get_feature_extractor
(
)
const
;
/*!
ensures
- returns a const reference to the feature_extractor_type object used
internally for local feature extraction.
!*/
void
copy_configuration
(
void
copy_configuration
(
const
feature_extractor_type
&
fe
const
feature_extractor_type
&
fe
);
);
/*!
/*!
ensures
ensures
- Let BASE_FE denote the feature_extractor_type object used
- This function performs the equivalent of
internally for local feature extraction. Then this function
get_feature_extractor().copy_configuration(fe) (i.e. this function allows
performs BASE_FE.copy_configuration(fe)
you to configure the parameters of the underlying feature extractor used
(i.e. this function allows you to configure the parameters of the
by a scan_image_pyramid object)
underlying feature extractor used by a scan_image_pyramid object)
!*/
!*/
void
copy_configuration
(
void
copy_configuration
(
...
...
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