$extrastylesheet
Functions | |
template<typename I > | |
mln::trait::concrete< I >::ret | scribo::primitive::extract::horizontal_separators (const Image< I > &input, unsigned line_length) |
template<typename I , typename N , typename V , typename W > | |
component_set< typename mln::trait::ch_value< I, V > ::ret > | scribo::primitive::extract::lines_discontinued (const Image< I > &input_, const Neighborhood< N > &nbh_, V &nlines, const Window< W > &win_, unsigned rank_k) |
template<typename I , typename N , typename V > | |
component_set< typename mln::trait::ch_value< I, V > ::ret > | scribo::primitive::extract::lines_h_discontinued (const Image< I > &input, const Neighborhood< N > &nbh, V &nlines, unsigned line_length, unsigned rank_k) |
template<typename I > | |
mln::trait::concrete< I >::ret | scribo::primitive::extract::lines_h_pattern (const Image< I > &input, unsigned length, unsigned delta) |
template<typename I , typename N , typename V > | |
component_set< typename mln::trait::ch_value< I, V > ::ret > | scribo::primitive::extract::lines_h_single (const Image< I > &input, const Neighborhood< N > &nbh, const V &nlines, unsigned min_line_length, float w_h_ratio) |
template<typename L > | |
component_set< L > | scribo::primitive::extract::lines_h_single (const component_set< L > &components, unsigned min_line_length, float w_h_ratio) |
template<typename I , typename N , typename V > | |
component_set< typename mln::trait::ch_value< I, V > ::ret > | scribo::primitive::extract::lines_h_thick_and_single (const Image< I > &input, const Neighborhood< N > &nbh, V &nlines, unsigned min_line_length, float h_w_ratio) |
template<typename I > | |
mln::trait::concrete< I >::ret | scribo::primitive::extract::lines_h_thick_and_thin (const Image< I > &binary_image, unsigned length, unsigned delta, float p_few=0.2, float p_enough=0.6, float ratio=8) |
template<typename I , typename W > | |
mln::trait::concrete< I >::ret | scribo::primitive::extract::lines_pattern (const Image< I > &input_, unsigned length, unsigned dir, const Window< W > &win_) |
template<typename I , typename N , typename V , typename W > | |
component_set< typename mln::trait::ch_value< I, V > ::ret > | scribo::primitive::extract::lines_thick (const Image< I > &input_, const Neighborhood< N > &nbh_, V &nlines, unsigned line_length) |
template<typename I , typename N , typename V , typename W > | |
component_set< typename mln::trait::ch_value< I, V > ::ret > | scribo::primitive::extract::lines_thick (const Image< I > &input_, const Neighborhood< N > &nbh_, V &nlines, const Window< W > &win_) |
template<typename I , typename N , typename V > | |
component_set< typename mln::trait::ch_value< I, V > ::ret > | scribo::primitive::extract::lines_v_discontinued (const Image< I > &input, const Neighborhood< N > &nbh, V &nlines, unsigned line_length, unsigned rank_k) |
template<typename I > | |
mln::trait::concrete< I >::ret | scribo::primitive::extract::lines_v_pattern (const Image< I > &input, unsigned length, unsigned delta) |
template<typename I , typename N , typename V > | |
component_set< typename mln::trait::ch_value< I, V > ::ret > | scribo::primitive::extract::lines_v_single (const Image< I > &input, const Neighborhood< N > &nbh, const V &nlines, unsigned min_line_length, float h_w_ratio) |
template<typename L > | |
component_set< L > | scribo::primitive::extract::lines_v_single (const component_set< L > &components, unsigned min_line_length, float h_w_ratio) |
template<typename I , typename N , typename V > | |
component_set< typename mln::trait::ch_value< I, V > ::ret > | scribo::primitive::extract::lines_v_thick_and_single (const Image< I > &input, const Neighborhood< N > &nbh, V &nlines, unsigned min_line_length, float h_w_ratio) |
template<typename I > | |
mln::trait::concrete< I >::ret | scribo::primitive::extract::separators (const Image< I > &input, unsigned line_length) |
template<typename I > | |
mln::trait::concrete< I >::ret | scribo::primitive::extract::separators_nonvisible (const Image< I > &in_) |
template<typename I > | |
mln::trait::concrete< I >::ret | scribo::primitive::extract::vertical_separators (const Image< I > &input, unsigned line_length) |
All routines/algorithms to extract lines and separators.
mln::trait::concrete< I >::ret scribo::primitive::extract::horizontal_separators | ( | const Image< I > & | input, |
unsigned | line_length | ||
) |
Extract horizontal separators.
[in] | input | A binary image. |
[in] | line_length | The minimum line length. |
component_set<typename mln::trait::ch_value< I , V >::ret> scribo::primitive::extract::lines_discontinued | ( | const Image< I > & | input_, |
const Neighborhood< N > & | nbh_, | ||
V & | nlines, | ||
const Window< W > & | win_, | ||
unsigned | rank_k | ||
) |
Extract discontinued lines in a binary image.
Based on a rank filter.
[in] | input_ | A binary image. |
[in] | nbh_ | The neighborhood used for labeling image the lines. |
[in,out] | nlines | The label type used for labeling. |
[in] | win_ | A Window used to extract lines. |
[in] | rank_k | Rank used for filtering. |
component_set<typename mln::trait::ch_value< I , V >::ret> scribo::primitive::extract::lines_h_discontinued | ( | const Image< I > & | input, |
const Neighborhood< N > & | nbh, | ||
V & | nlines, | ||
unsigned | line_length, | ||
unsigned | rank_k | ||
) |
Extract horizontal discontinued lines.
[in] | input | A binary image. |
[in] | nbh | A neighborhood used to label lines. |
[in,out] | nlines | The number of lines found. |
[in] | line_length | The minimum line length expected. (must be odd). |
[in] | rank_k | Rank filter parameter. |
mln::trait::concrete< I >::ret scribo::primitive::extract::lines_h_pattern | ( | const Image< I > & | input, |
unsigned | length, | ||
unsigned | delta | ||
) |
Extract horizontal lines matching a specific pattern.
[in] | input | A binary image. |
[in] | length | The minimum line length. |
[in] | delta | Distance between the object pixel and the background pixel. |
o | ^ | | Delta | v X | ^ | | Delta | v o
Using a delta of 0 is equivalent to the use of a c2_row neighborhood.
component_set<typename mln::trait::ch_value< I , V >::ret> scribo::primitive::extract::lines_h_single | ( | const Image< I > & | input, |
const Neighborhood< N > & | nbh, | ||
const V & | nlines, | ||
unsigned | min_line_length, | ||
float | w_h_ratio | ||
) |
Fast Extraction of single horizontal thick lines.
Only single non discontinued lines are correctly extracted with this routine.
[in] | input | A binary image. |
[in] | nbh | The neighborhood used for labeling image components. |
[in,out] | nlines | Type used for labeling. |
[in] | min_line_length | The minimum line length. |
[in] | w_h_ratio | The minimum ratio width/height object bounding boxes to consider an object as a single line. |
component_set<L> scribo::primitive::extract::lines_h_single | ( | const component_set< L > & | components, |
unsigned | min_line_length, | ||
float | w_h_ratio | ||
) |
Fast Extraction of single horizontal thick lines.
Only single non discontinued lines are correctly extracted with this routine.
[in] | components | A labeled image. |
[in] | min_line_length | The minimum line length. |
[in] | w_h_ratio | The minimum ratio width/height object bounding boxes to consider an object as a single line. |
component_set<typename mln::trait::ch_value< I , V >::ret> scribo::primitive::extract::lines_h_thick_and_single | ( | const Image< I > & | input, |
const Neighborhood< N > & | nbh, | ||
V & | nlines, | ||
unsigned | min_line_length, | ||
float | h_w_ratio | ||
) |
Extract horizontal thick lines in a binary image.
Only non discontinued lines are correctly extracted with this routine. Only lines matching the given criterions are kept in the result.
[in] | input | A binary image. |
[in] | nbh | The neighborhood used for labeling image components. |
[in,out] | nlines | Type used for labeling. |
[in] | min_line_length | The minimum line length. |
[in] | h_w_ratio | The minimum ratio width/height object bounding boxes to consider an object as a single line. |
mln::trait::concrete< I >::ret scribo::primitive::extract::lines_h_thick_and_thin | ( | const Image< I > & | binary_image, |
unsigned | length, | ||
unsigned | delta, | ||
float | p_few = 0.2 , |
||
float | p_enough = 0.6 , |
||
float | ratio = 8 |
||
) |
Extract both thick and thin horizontal lines.
mln::trait::concrete< I >::ret scribo::primitive::extract::lines_pattern | ( | const Image< I > & | input_, |
unsigned | length, | ||
unsigned | dir, | ||
const Window< W > & | win_ | ||
) |
Extract lines with a specific pattern.
[in] | input_ | A binary image. |
[in] | length | The minimum line length. |
[in] | dir | The direction of the lines. |
[in] | win_ | A window corresponding to the line pattern. |
dir
. component_set< typename mln::trait::ch_value< I, V >::ret > scribo::primitive::extract::lines_thick | ( | const Image< I > & | input_, |
const Neighborhood< N > & | nbh_, | ||
V & | nlines, | ||
unsigned | line_length | ||
) |
Extract thick lines in a binary image.
Only non discontinued lines are correctly extracted with this routine.
[in] | input_ | A binary image. |
[in] | nbh_ | The neighborhood used for labeling image components. |
[in,out] | nlines | Type used for labeling. |
[in] | line_length | The minimum line length. |
component_set<typename mln::trait::ch_value< I , V >::ret> scribo::primitive::extract::lines_thick | ( | const Image< I > & | input_, |
const Neighborhood< N > & | nbh_, | ||
V & | nlines, | ||
const Window< W > & | win_ | ||
) |
Extract thick lines in a binary image. Only non discontinued lines are correctly extracted with this routine.
[in] | input_ | A binary image. |
[in] | nbh_ | The neighborhood used for labeling image components. |
[in,out] | nlines | Type used for labeling. |
[in] | win_ | Window used to extract the lines |
component_set<typename mln::trait::ch_value< I , V >::ret> scribo::primitive::extract::lines_v_discontinued | ( | const Image< I > & | input, |
const Neighborhood< N > & | nbh, | ||
V & | nlines, | ||
unsigned | line_length, | ||
unsigned | rank_k | ||
) |
Extract vertical discontinued lines.
[in] | input | A binary image. |
[in] | nbh | A neighborhood used to label lines. |
[in,out] | nlines | The number of lines found. |
[in] | line_length | The minimum line length expected. (must be odd). |
[in] | rank_k | Rank filter parameter. |
mln::trait::concrete< I >::ret scribo::primitive::extract::lines_v_pattern | ( | const Image< I > & | input, |
unsigned | length, | ||
unsigned | delta | ||
) |
Extract vertical lines matching a specific pattern.
[in] | input | A binary image. |
[in] | length | The minimum line length. |
[in] | delta | space between the first background pixels and the line pixels (usually 2 or 3). |
component_set<typename mln::trait::ch_value< I , V >::ret> scribo::primitive::extract::lines_v_single | ( | const Image< I > & | input, |
const Neighborhood< N > & | nbh, | ||
const V & | nlines, | ||
unsigned | min_line_length, | ||
float | h_w_ratio | ||
) |
Fast Extraction of single vertical thick lines.
Only single non discontinued lines are correctly extracted with this routine.
[in] | input | A binary image. |
[in] | nbh | The neighborhood used for labeling image components. |
[in] | nlines | Type used for labeling. |
[in] | min_line_length | The minimum line length. |
[in] | h_w_ratio | The minimum ratio height/width object bounding boxes to consider an object as a single line. |
component_set<L> scribo::primitive::extract::lines_v_single | ( | const component_set< L > & | components, |
unsigned | min_line_length, | ||
float | h_w_ratio | ||
) |
Fast Extraction of single vertical thick lines.
Only single non discontinued lines are correctly extracted with this routine.
[in] | components | A labeled image. |
[in] | min_line_length | The minimum line length. |
[in] | h_w_ratio | The minimum ratio height/width object bounding boxes to consider an object as a single line. |
component_set<typename mln::trait::ch_value< I , V >::ret> scribo::primitive::extract::lines_v_thick_and_single | ( | const Image< I > & | input, |
const Neighborhood< N > & | nbh, | ||
V & | nlines, | ||
unsigned | min_line_length, | ||
float | h_w_ratio | ||
) |
Extract vertical thick lines in a binary image.
Only non discontinued lines are correctly extracted with this routine. Only lines matching the given criterions are kept in the result.
[in] | input | A binary image. |
[in] | nbh | The neighborhood used for labeling image components. |
[in,out] | nlines | Type used for labeling. |
[in] | min_line_length | The minimum line length. |
[in] | h_w_ratio | The minimum ratio height/width object bounding boxes to consider an object as a single line. |
mln::trait::concrete< I >::ret scribo::primitive::extract::separators | ( | const Image< I > & | input, |
unsigned | line_length | ||
) |
Extract vertical and horizontal separators.
[in] | input | A binary image. |
[in] | line_length | The minimum line length. |
mln::trait::concrete< I >::ret scribo::primitive::extract::separators_nonvisible | ( | const Image< I > & | in_ | ) |
Find non visible separators. Based on components alignments.
mln::trait::concrete< I >::ret scribo::primitive::extract::vertical_separators | ( | const Image< I > & | input, |
unsigned | line_length | ||
) |
Extract vertical separators.
[in] | input | A binary image. |
[in] | line_length | The minimum line length. |