Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
olena
Commits
b955ecf3
Commit
b955ecf3
authored
Feb 19, 2010
by
Guillaume Lazzara
Browse files
scribo/draw/bounding_boxes.hh: Do not draw box centers anymore.
parent
b31f2f59
Changes
2
Hide whitespace changes
Inline
Side-by-side
scribo/ChangeLog
View file @
b955ecf3
2010-02-19 Guillaume Lazzara <z@lrde.epita.fr>
* scribo/draw/bounding_boxes.hh: Do not draw box centers anymore.
2010-02-19 Guillaume Lazzara <z@lrde.epita.fr>
Add dedicated routines for AFP's use case.
...
...
scribo/draw/bounding_boxes.hh
View file @
b955ecf3
...
...
@@ -28,7 +28,7 @@
/// \file
///
/// Draw a list of bounding boxes
and their associated mass center.
/// Draw a list of bounding boxes
# include <mln/core/concept/image.hh>
# include <mln/draw/box.hh>
...
...
@@ -45,7 +45,7 @@ namespace scribo
using
namespace
mln
;
/// Draw a list of bounding boxes
and their associated mass center
.
/// Draw a list of bounding boxes.
template
<
typename
I
>
void
bounding_boxes
(
Image
<
I
>&
input_
,
...
...
@@ -53,7 +53,7 @@ namespace scribo
const
mln_value
(
I
)
&
value
);
/// Draw object bounding boxes
and their associated mass center
.
/// Draw object bounding boxes.
template
<
typename
I
,
typename
L
>
void
bounding_boxes
(
Image
<
I
>&
input_
,
...
...
@@ -79,10 +79,7 @@ namespace scribo
for_all_components
(
i
,
boxes
)
if
(
boxes
[
i
].
is_valid
())
{
input
(
boxes
[
i
].
center
())
=
value
;
mln
::
draw
::
box
(
input
,
boxes
[
i
],
value
);
}
trace
::
exiting
(
"scribo::draw::bounding_boxes"
);
}
...
...
Write
Preview
Supports
Markdown
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