Commit b955ecf3 authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

scribo/draw/bounding_boxes.hh: Do not draw box centers anymore.

parent b31f2f59
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.
......
......@@ -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");
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment