マンハッタン距離(シティーブロック距離)変換 [詳細]
関数 | |
template<class Array1 , class Array2 > | |
void | distance_transform (const Array1 &in, Array2 &out, typename Array1::size_type thread_num=0) |
マンハッタン距離(シティーブロック距離)変換 |
マンハッタン距離(シティーブロック距離)変換
void mist::manhattan::distance_transform | ( | const Array1 & | in, |
Array2 & | out, | ||
typename Array1::size_type | thread_num = 0 |
||
) |
マンハッタン距離(シティーブロック距離)変換
計算される距離は,マンハッタン距離(シティーブロック距離)となります.
[in] | in | … 入力画像 |
[out] | out | … 出力画像 |
[in] | thread_num | … 使用するスレッド数 |