関数
ネームスペース mist::average

一様重み平滑化フィルタの実装(コールバック関数を指定することが可能) [詳細]

関数

template<class T1 , class Allocator1 , class T2 , class Allocator2 , class Functor >
bool filter (const array< T1, Allocator1 > &in, array< T2, Allocator2 > &out, typename array< T1, Allocator1 >::size_type fw, Functor f, typename array< T1, Allocator1 >::size_type thread_num)
 一様重み( array )
template<class T1 , class Allocator1 , class T2 , class Allocator2 , class Functor >
bool filter (const array1< T1, Allocator1 > &in, array1< T2, Allocator2 > &out, typename array1< T1, Allocator1 >::size_type fw, Functor f, typename array1< T1, Allocator1 >::size_type thread_num)
 一様重み( array1 )
template<class T1 , class Allocator1 , class T2 , class Allocator2 , class Functor >
bool filter (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)
 一様重み( array2 )
template<class T1 , class Allocator1 , class T2 , class Allocator2 , class Functor >
bool filter (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)
 一様重み( array3 )

説明

一様重み平滑化フィルタの実装(コールバック関数を指定することが可能)

関数

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

一様重み( array )

サイズ fw の一様重み

注意
入力と出力は,別のMISTコンテナオブジェクトでなくてはならない
スレッド数は無視され,常にシングルスレッドで動作する
引数
[in]in… 入力配列
[out]out… 出力配列
[in]fw… X軸方向のフィルタサイズ
[in]f… コールバック関数
[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 , class Functor >
bool mist::average::filter ( const array1< T1, Allocator1 > &  in,
array1< T2, Allocator2 > &  out,
typename array1< T1, Allocator1 >::size_type  fw,
Functor  f,
typename array1< T1, Allocator1 >::size_type  thread_num 
)

一様重み( array1 )

サイズ fw の一様重み

注意
入力と出力は,別のMISTコンテナオブジェクトでなくてはならない
スレッド数は無視され,常にシングルスレッドで動作する
引数
[in]in… 入力配列
[out]out… 出力配列
[in]fw… X軸方向のフィルタサイズ
[in]f… コールバック関数
[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::average::filter ( 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 
)

一様重み( array2 )

サイズ fw × fh の一様重み

注意
入力と出力は,別のMISTコンテナオブジェクトでなくてはならない
スレッド数に0を指定した場合は,使用可能なCPU数を自動的に取得する
引数
[in]in… 入力配列
[out]out… 出力配列
[in]fw… X軸方向のフィルタサイズ
[in]fh… Y軸方向のフィルタサイズ
[in]f… コールバック関数
[in]thread_num… 使用するスレッド数
戻り値
true… フィルタリングに成功
false… 入力と出力が同じオブジェクトを指定した場合

参照先 mist::linear::filter().

template<class T1 , class Allocator1 , class T2 , class Allocator2 , class Functor >
bool mist::average::filter ( 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 
)

一様重み( array3 )

サイズ fw × fh × fd の一様重み

注意
入力と出力は,別のMISTコンテナオブジェクトでなくてはならない
スレッド数に0を指定した場合は,使用可能なCPU数を自動的に取得する
引数
[in]in… 入力配列
[out]out… 出力配列
[in]fw… X軸方向のフィルタサイズ
[in]fh… Y軸方向のフィルタサイズ
[in]fd… Z軸方向のフィルタサイズ
[in]f… コールバック関数
[in]thread_num… 使用するスレッド数
戻り値
true… フィルタリングに成功
false… 入力と出力が同じオブジェクトを指定した場合

参照先 mist::linear::filter().


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