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
712c6577
Commit
712c6577
authored
Aug 05, 2013
by
Davis King
Browse files
Added get_feature_extractor() functions to the image scanners so the underlying
feature extractors can have their parameters queried.
parent
a448b452
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
10 deletions
+30
-10
dlib/image_processing/scan_image_boxes.h
dlib/image_processing/scan_image_boxes.h
+3
-0
dlib/image_processing/scan_image_boxes_abstract.h
dlib/image_processing/scan_image_boxes_abstract.h
+12
-5
dlib/image_processing/scan_image_pyramid.h
dlib/image_processing/scan_image_pyramid.h
+3
-0
dlib/image_processing/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