$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
scribo::draw Namespace Reference

Functions

template<typename I , typename L >
void bounding_box_links (Image< I > &input, const object_links< L > &link, const typename I::value &value, anchor::Type anchor)
template<typename I , typename L >
void bounding_box_links (Image< I > &input, const object_links< L > &link, const typename I::value &value)
template<typename I , typename L >
void bounding_box_links (Image< I > &input, const object_links< L > &left_link, const object_links< L > &right_link, const typename I::value &left_link_value, const typename I::value &right_link_value, const typename I::value &validated_link_value, anchor::Type anchor)
template<typename I , typename G >
void bounding_box_links (Image< I > &input, const Graph< G > &g, const typename I::value &link_value)
template<typename I >
void bounding_boxes (Image< I > &input_, const mln::util::array< box< typename I::site > > &boxes, const typename I::value &value)
template<typename I , typename L >
void bounding_boxes (Image< I > &input_, const component_set< L > &components, const typename I::value &value)
template<typename I , typename L >
void groups_bboxes (Image< I > &input_, const object_groups< L > &groups, const typename I::value &value)
template<typename L , typename I >
void line_components (Image< I > &input_, const line_set< L > &lines, const line_info< L > &line, const typename I::value &value)

Detailed Description

Namespace of drawing routines.

Function Documentation

template<typename I , typename L >
void scribo::draw::bounding_box_links ( Image< I > &  input,
const object_links< L > &  link,
const typename I::value value,
anchor::Type  anchor 
)

Draw a list of bounding box links.

Parameters
[in,out]inputAn image where to draw.
[in]linkcomponent links.
[in]valueValue used to draw links.
[in]anchorAnchor from where the links are drawn.
template<typename I , typename L >
void scribo::draw::bounding_box_links ( Image< I > &  input,
const object_links< L > &  link,
const typename I::value value 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.The default anchor type is set to anchor::Center.

template<typename I , typename L >
void scribo::draw::bounding_box_links ( Image< I > &  input,
const object_links< L > &  left_link,
const object_links< L > &  right_link,
const typename I::value left_link_value,
const typename I::value right_link_value,
const typename I::value validated_link_value,
anchor::Type  anchor 
)
inline

Draw left, right and validated lists of bounding box links.

Parameters
[in,out]inputAn image where to draw.
[in]left_linkComponent's left links.
[in]right_linkComponent's right links.
[in]left_link_valueValue used to draw left links.
[in]right_link_valueValue used to draw right links.
[in]validated_link_valueValue used to draw validated links.
[in]anchorAnchor from where the links are drawn.
template<typename I , typename G >
void scribo::draw::bounding_box_links ( Image< I > &  input,
const Graph< G > &  g,
const typename I::value link_value 
)
inline

Draw a graph of bounding box links.

Draw from bounding box centers.

Parameters
[in,out]inputAn image where to draw.
[in]gThe link graph.
[in]link_valueThe value used to draw the links.
template<typename I >
void scribo::draw::bounding_boxes ( Image< I > &  input_,
const mln::util::array< box< typename I::site > > &  boxes,
const typename I::value value 
)

Draw a list of bounding boxes.

template<typename I , typename L >
void scribo::draw::bounding_boxes ( Image< I > &  input_,
const component_set< L > &  components,
const typename I::value value 
)

Draw object bounding boxes.

template<typename I , typename L >
void scribo::draw::groups_bboxes ( Image< I > &  input_,
const object_groups< L > &  groups,
const typename I::value value 
)
inline

Draw a list of bounding boxes.