関数
メディアン(中央値)フィルタ

関数

template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::median (const array< T1, Allocator1 > &in, array< T2, Allocator2 > &out, typename array< T1, Allocator1 >::size_type fw, typename array< T1, Allocator1 >::size_type thread_num=0)
 メディアン(中央値)フィルタを適用する
template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::median (const array1< T1, Allocator1 > &in, array1< T2, Allocator2 > &out, typename array1< T1, Allocator1 >::size_type fw, typename array1< T1, Allocator1 >::size_type thread_num=0)
 メディアン(中央値)フィルタを適用する
template<class T1 , class Allocator1 , class T2 , class Allocator2 , class Functor >
bool mist::median (const array2< T1, Allocator1 > &in, array2< T2, Allocator2 > &out, typename array2< T1, Allocator1 >::size_type fw, typename array2< T1, Allocator1 >::size_type fh, Functor f, typename array2< T1, Allocator1 >::size_type thread_num)
 メディアン(中央値)フィルタを適用する
template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::median (const array2< T1, Allocator1 > &in, array2< T2, Allocator2 > &out, typename array2< T1, Allocator1 >::size_type fw, typename array2< T1, Allocator1 >::size_type fh, typename array2< T1, Allocator1 >::size_type thread_num)
 メディアン(中央値)フィルタを適用する
template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::median (const array2< T1, Allocator1 > &in, array2< T2, Allocator2 > &out, typename array2< T1, Allocator1 >::size_type fw, typename array2< T1, Allocator1 >::size_type thread_num=0)
 メディアン(中央値)フィルタを適用する
template<class T1 , class Allocator1 , class T2 , class Allocator2 , class Functor >
bool mist::median (const array3< T1, Allocator1 > &in, array3< T2, Allocator2 > &out, typename array3< T1, Allocator1 >::size_type fw, typename array3< T1, Allocator1 >::size_type fh, typename array3< T1, Allocator1 >::size_type fd, Functor f, typename array3< T1, Allocator1 >::size_type thread_num)
 メディアン(中央値)フィルタを適用する
template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::median (const array3< T1, Allocator1 > &in, array3< T2, Allocator2 > &out, typename array3< T1, Allocator1 >::size_type fw, typename array3< T1, Allocator1 >::size_type fh, typename array3< T1, Allocator1 >::size_type fd, typename array3< T1, Allocator1 >::size_type thread_num)
 メディアン(中央値)フィルタを適用する
template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::median (const array3< T1, Allocator1 > &in, array3< T2, Allocator2 > &out, typename array3< T1, Allocator1 >::size_type fw, typename array3< T1, Allocator1 >::size_type thread_num=0)
 メディアン(中央値)フィルタを適用する

説明

次のヘッダをインクルードする

関数

template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::median ( const array< T1, Allocator1 > &  in,
array< T2, Allocator2 > &  out,
typename array< T1, Allocator1 >::size_type  fw,
typename array< T1, Allocator1 >::size_type  thread_num = 0 
)

メディアン(中央値)フィルタを適用する

注意
入力と出力は,別のMISTコンテナオブジェクトでなくてはならない
スレッド数に0を指定した場合は,使用可能なCPU数を自動的に取得する
覚え書き
マスクの一辺のサイズは奇数でなくてはならない
奇数でない場合は,自動的に-1した物を利用する
引数
[in]in… 入力画像
[out]out… 出力画像
[in]fw… 中央値をとるマスクの幅
[in]thread_num… 使用するスレッド数
戻り値
true… フィルタリングに成功
false… 入力と出力が同じオブジェクトを指定した場合

参照先 mist::array< T, Allocator >::empty(), mist::is_same_object(), mist::array< T, Allocator >::resize(), と mist::array< T, Allocator >::size().

template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::median ( const array1< T1, Allocator1 > &  in,
array1< T2, Allocator2 > &  out,
typename array1< T1, Allocator1 >::size_type  fw,
typename array1< T1, Allocator1 >::size_type  thread_num = 0 
)

メディアン(中央値)フィルタを適用する

注意
入力と出力は,別のMISTコンテナオブジェクトでなくてはならない
スレッド数に0を指定した場合は,使用可能なCPU数を自動的に取得する
覚え書き
マスクの一辺のサイズは奇数でなくてはならない
奇数でない場合は,自動的に-1した物を利用する
引数
[in]in… 入力画像
[out]out… 出力画像
[in]fw… 中央値をとるマスクの幅
[in]thread_num… 使用するスレッド数
戻り値
true… フィルタリングに成功
false… 入力と出力が同じオブジェクトを指定した場合

参照先 mist::array< T, Allocator >::empty(), mist::is_same_object(), mist::array< T, Allocator >::resize(), mist::array1< T, Allocator >::reso1(), と mist::array< T, Allocator >::size().

template<class T1 , class Allocator1 , class T2 , class Allocator2 , class Functor >
bool mist::median ( const array2< T1, Allocator1 > &  in,
array2< T2, Allocator2 > &  out,
typename array2< T1, Allocator1 >::size_type  fw,
typename array2< T1, Allocator1 >::size_type  fh,
Functor  f,
typename array2< T1, Allocator1 >::size_type  thread_num 
)

メディアン(中央値)フィルタを適用する

注意
入力と出力は,別のMISTコンテナオブジェクトでなくてはならない
スレッド数に0を指定した場合は,使用可能なCPU数を自動的に取得する
覚え書き
マスクの一辺のサイズは奇数でなくてはならない
奇数でない場合は,自動的に-1した物を利用する
引数
[in]in… 入力画像
[out]out… 出力画像
[in]fw… 中央値をとるマスクのX軸方向の幅
[in]fh… 中央値をとるマスクのY軸方向の幅
[in]f… 進行状況を返すコールバック関数
[in]thread_num… 使用するスレッド数
戻り値
true… フィルタリングに成功
false… 入力と出力が同じオブジェクトを指定した場合

参照先 mist::do_threads_(), mist::array< T, Allocator >::empty(), mist::get_cpu_num(), mist::is_same_object(), mist::array2< T, Allocator >::resize(), mist::array1< T, Allocator >::reso1(), mist::array2< T, Allocator >::reso2(), mist::array2< T, Allocator >::size1(), と mist::array2< T, Allocator >::size2().

template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::median ( const array2< T1, Allocator1 > &  in,
array2< T2, Allocator2 > &  out,
typename array2< T1, Allocator1 >::size_type  fw,
typename array2< T1, Allocator1 >::size_type  fh,
typename array2< T1, Allocator1 >::size_type  thread_num 
)

メディアン(中央値)フィルタを適用する

注意
入力と出力は,別のMISTコンテナオブジェクトでなくてはならない
スレッド数に0を指定した場合は,使用可能なCPU数を自動的に取得する
覚え書き
マスクの一辺のサイズは奇数でなくてはならない
奇数でない場合は,自動的に-1した物を利用する
引数
[in]in… 入力画像
[out]out… 出力画像
[in]fw… 中央値をとるマスクのX軸方向の幅
[in]fh… 中央値をとるマスクのY軸方向の幅
[in]thread_num… 使用するスレッド数
戻り値
true… フィルタリングに成功
false… 入力と出力が同じオブジェクトを指定した場合
template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::median ( const array2< T1, Allocator1 > &  in,
array2< T2, Allocator2 > &  out,
typename array2< T1, Allocator1 >::size_type  fw,
typename array2< T1, Allocator1 >::size_type  thread_num = 0 
)
inline

メディアン(中央値)フィルタを適用する

注意
入力と出力は,別のMISTコンテナオブジェクトでなくてはならない
スレッド数に0を指定した場合は,使用可能なCPU数を自動的に取得する
覚え書き
マスクの一辺のサイズは奇数でなくてはならない
奇数でない場合は,自動的に-1した物を利用する
引数
[in]in… 入力画像
[out]out… 出力画像
[in]fw… 中央値をとるマスクの幅
[in]thread_num… 使用するスレッド数
戻り値
true… フィルタリングに成功
false… 入力と出力が同じオブジェクトを指定した場合
template<class T1 , class Allocator1 , class T2 , class Allocator2 , class Functor >
bool mist::median ( const array3< T1, Allocator1 > &  in,
array3< T2, Allocator2 > &  out,
typename array3< T1, Allocator1 >::size_type  fw,
typename array3< T1, Allocator1 >::size_type  fh,
typename array3< T1, Allocator1 >::size_type  fd,
Functor  f,
typename array3< T1, Allocator1 >::size_type  thread_num 
)

メディアン(中央値)フィルタを適用する

注意
入力と出力は,別のMISTコンテナオブジェクトでなくてはならない
スレッド数に0を指定した場合は,使用可能なCPU数を自動的に取得する
覚え書き
マスクの一辺のサイズは奇数でなくてはならない
奇数でない場合は,自動的に-1した物を利用する
引数
[in]in… 入力画像
[out]out… 出力画像
[in]fw… 中央値をとるマスクのX軸方向の幅
[in]fh… 中央値をとるマスクのY軸方向の幅
[in]fd… 中央値をとるマスクのZ軸方向の幅
[in]f… 進行状況を返すコールバック関数
[in]thread_num… 使用するスレッド数
戻り値
true… フィルタリングに成功
false… 入力と出力が同じオブジェクトを指定した場合

参照先 mist::do_threads_(), mist::array< T, Allocator >::empty(), mist::get_cpu_num(), mist::is_same_object(), mist::array3< T, Allocator >::resize(), mist::array1< T, Allocator >::reso1(), mist::array2< T, Allocator >::reso2(), mist::array3< T, Allocator >::reso3(), mist::array3< T, Allocator >::size1(), mist::array3< T, Allocator >::size2(), と mist::array3< T, Allocator >::size3().

template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::median ( const array3< T1, Allocator1 > &  in,
array3< T2, Allocator2 > &  out,
typename array3< T1, Allocator1 >::size_type  fw,
typename array3< T1, Allocator1 >::size_type  fh,
typename array3< T1, Allocator1 >::size_type  fd,
typename array3< T1, Allocator1 >::size_type  thread_num 
)

メディアン(中央値)フィルタを適用する

注意
入力と出力は,別のMISTコンテナオブジェクトでなくてはならない
スレッド数に0を指定した場合は,使用可能なCPU数を自動的に取得する
覚え書き
マスクの一辺のサイズは奇数でなくてはならない
奇数でない場合は,自動的に-1した物を利用する
引数
[in]in… 入力画像
[out]out… 出力画像
[in]fw… 中央値をとるマスクのX軸方向の幅
[in]fh… 中央値をとるマスクのY軸方向の幅
[in]fd… 中央値をとるマスクのZ軸方向の幅
[in]thread_num… 使用するスレッド数
戻り値
true… フィルタリングに成功
false… 入力と出力が同じオブジェクトを指定した場合
template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::median ( const array3< T1, Allocator1 > &  in,
array3< T2, Allocator2 > &  out,
typename array3< T1, Allocator1 >::size_type  fw,
typename array3< T1, Allocator1 >::size_type  thread_num = 0 
)
inline

メディアン(中央値)フィルタを適用する

注意
入力と出力は,別のMISTコンテナオブジェクトでなくてはならない
スレッド数に0を指定した場合は,使用可能なCPU数を自動的に取得する
覚え書き
マスクの一辺のサイズは奇数でなくてはならない
奇数でない場合は,自動的に-1した物を利用する
引数
[in]in… 入力画像
[out]out… 出力画像
[in]fw… 中央値をとるマスクの幅
[in]thread_num… 使用するスレッド数
戻り値
true… フィルタリングに成功
false… 入力と出力が同じオブジェクトを指定した場合

Generated on Wed Nov 12 2014 19:44:28 for MIST by doxygen 1.8.1.2