関数 | |
template<class Array1 , class Array2 , class Functor > | |
Array1::size_type | mist::figure_decomposition (const Array1 &in, Array2 &out, double max_distance, Functor f) |
ユークリッド距離に基づく図形分割 | |
template<class Array1 , class Array2 > | |
Array1::size_type | mist::figure_decomposition (const Array1 &in, Array2 &out, double max_distance=-1) |
ユークリッド距離に基づく図形分割 |
Array1::size_type mist::figure_decomposition | ( | const Array1 & | in, |
Array2 & | out, | ||
double | max_distance, | ||
Functor | f | ||
) |
ユークリッド距離に基づく図形分割
図形をくびれ部分で分割する
[in] | in | … 入力データ |
[in] | out | … 出力画像 |
[in] | max_distance | … 最大距離値以上で発生するくびれは分割しないようにする |
[in] | f | … 進行状況を与えるコールバック |
参照先 mist::saito::distance_transform(), と mist::mode_filter::sphere().
Array1::size_type mist::figure_decomposition | ( | const Array1 & | in, |
Array2 & | out, | ||
double | max_distance = -1 |
||
) |
ユークリッド距離に基づく図形分割
図形をくびれ部分で分割する
[in] | in | … 入力データ |
[in] | out | … 出力画像 |
[in] | max_distance | … 最大距離値以上で発生するくびれは分割しないようにする |