$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Components Extraction

Functions

template<typename I , typename J , typename N , typename V >
component_set< typename
mln::trait::ch_value< I, V >
::ret
scribo::primitive::extract::components (const Image< I > &input, const Image< J > &binary_input, const Neighborhood< N > &nbh, V &ncomponents, component::Type type=component::Undefined)
template<typename I , typename N , typename V >
component_set< typename
mln::trait::ch_value< I, V >
::ret
scribo::primitive::extract::components (const Image< I > &binary_input, const Neighborhood< N > &nbh, V &ncomponents, component::Type type=component::Undefined)

Detailed Description

All routines/algorithms to extract components.

Function Documentation

template<typename I , typename J , typename N , typename V >
component_set<typename mln::trait::ch_value< I , V >::ret> scribo::primitive::extract::components ( const Image< I > &  input,
const Image< J > &  binary_input,
const Neighborhood< N > &  nbh,
V &  ncomponents,
component::Type  type = component::Undefined 
)
inline

Extract components in a binary image.

Parameters
[in]inputA RGB image.
[in]binary_inputA binary image. Components must be set to 'True'. and background to 'false'.
[in]nbhA neighborhood to be used for labeling.
[in,out]ncomponentsWill store the numbers of components found.
[in]typeThe default component type set to components.
Returns
An image of labeled components.
template<typename I , typename N , typename V >
component_set<typename mln::trait::ch_value< I , V >::ret> scribo::primitive::extract::components ( const Image< I > &  binary_input,
const Neighborhood< N > &  nbh,
V &  ncomponents,
component::Type  type = component::Undefined 
)
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
[in]binary_inputA binary image. Components must be set to 'True'. and background to 'false'.
[in]nbhA neighborhood to be used for labeling.
[in,out]ncomponentsWill store the numbers of components found.
[in]typeThe default component type set to components.
Returns
A component_set.