ネームスペース | 関数
ラプラシアンフィルタ
線形フィルタ

ネームスペース

namespace  mist::laplacian
 ラプラシアンフィルタの実装(コールバック関数を指定することが可能)

関数

template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::laplacian_filter (const array< T1, Allocator1 > &in, array< T2, Allocator2 > &out, typename array< T1, Allocator1 >::size_type thread_num=0)
 ラプラシアン( array )
template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::laplacian_filter (const array1< T1, Allocator1 > &in, array1< T2, Allocator2 > &out, typename array1< T1, Allocator1 >::size_type thread_num=0)
 ラプラシアン( array1 )
template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::laplacian_filter (const array2< T1, Allocator1 > &in, array2< T2, Allocator2 > &out, typename array2< T1, Allocator1 >::size_type thread_num=0)
 ラプラシアン( array2 )
template<class T1 , class Allocator1 , class T2 , class Allocator2 >
bool mist::laplacian_filter (const array3< T1, Allocator1 > &in, array3< T2, Allocator2 > &out, typename array3< T1, Allocator1 >::size_type thread_num=0)
 ラプラシアン( array3 )

説明

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

配列の端(カーネルがはみ出すところ)の要素の計算は行いません.

使用可能な要素型は,算術型か mist::rgb< 算術型 > に限ります. 内部の計算は,出力配列の要素型が算術型の場合は double 型, mist::rgb< 算術型 > の場合は mist::rgb< double > で行います.

関数

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

ラプラシアン( array )

サイズ 3 のラプラシアン

注意
入力と出力は,別のMISTコンテナオブジェクトでなくてはならない
スレッド数は無視され,常にシングルスレッドで動作する
引数
[in]in… 入力配列
[out]out… 出力配列
[in]thread_num… 使用するスレッド数
戻り値
true… フィルタリングに成功
false… 入力と出力が同じオブジェクトを指定した場合

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

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

ラプラシアン( array1 )

サイズ 3 のラプラシアン

注意
入力と出力は,別のMISTコンテナオブジェクトでなくてはならない
スレッド数は無視され,常にシングルスレッドで動作する
引数
[in]in… 入力配列
[out]out… 出力配列
[in]thread_num… 使用するスレッド数
戻り値
true… フィルタリングに成功
false… 入力と出力が同じオブジェクトを指定した場合

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

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

ラプラシアン( array2 )

サイズ 3×3 のラプラシアン

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

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

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

ラプラシアン( array3 )

サイズ 3×3×3 のラプラシアン

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

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


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