データ構造 | ネームスペース | 関数
mode.h

各次元の画像に対応し,任意の構造要素に対応した2値画像に対する最頻値フィルタ(多数決フィルタ)を行うためのライブラリ [詳細]

#include "../mist.h"
#include "../limits.h"
#include "../thread.h"
#include <vector>
#include <cmath>

ソースコードを見る。

データ構造

struct  mist::mode_filter::point
 構造要素の各要素の座標を表す構造体 [詳細]
struct  mist::mode_filter::mode_structure
 最頻値フィルタに利用する構造要素 [詳細]

ネームスペース

namespace  mist
namespace  mist::mode_filter
 最頻値フィルタに利用する構造要素関連

関数

mode_structure mist::mode_filter::circle (double radius, double resoX, double resoY)
 最頻値フィルタに用いる円構造要素
mode_structure mist::mode_filter::sphere (double radius, double resoX, double resoY, double resoZ)
 最頻値フィルタに用いる球構造要素
mode_structure mist::mode_filter::square (double radius, double resoX, double resoY)
 最頻値フィルタに用いる正方形構造要素
mode_structure mist::mode_filter::cube (double radius, double resoX, double resoY, double resoZ)
 最頻値フィルタに用いる立方体構造要素
template<class Array >
mode_structure mist::mode_filter::create_mode_structure (const Array &in, typename Array::size_type cx, typename Array::size_type cy=0, typename Array::size_type cz=0)
 任意の画像から,最頻値フィルタ用の構造要素を作成する
template<class Array >
std::vector< ptrdiff_t > mist::mode_filter::create_pointer_diff_list (const Array &in, const std::vector< point > &list)
 各画像において,構造要素の中心と各要素間のポインタの差を計算し,そのリストを作成する
template<class T , class Allocator , class Functor >
bool mist::mode (array2< T, Allocator > &in, const mode_filter::mode_structure &s, Functor f, typename array2< T, Allocator >::size_type thread_num)
 任意の構造要素に対応した最頻値フィルタ
template<class T , class Allocator >
bool mist::mode (array2< T, Allocator > &in, const mode_filter::mode_structure &s, typename array2< T, Allocator >::size_type thread_num=0)
 任意の構造要素に対応した最頻値フィルタ
template<class T , class Allocator , class Functor >
bool mist::mode (array2< T, Allocator > &in, double radius, Functor f, typename array2< T, Allocator >::size_type thread_num)
 円を構造要素とする最頻値フィルタ
template<class T , class Allocator >
bool mist::mode (array2< T, Allocator > &in, double radius, typename array2< T, Allocator >::size_type thread_num=0)
 円を構造要素とする最頻値フィルタ
template<class T , class Allocator , class Functor >
bool mist::mode (array3< T, Allocator > &in, const mode_filter::mode_structure &s, Functor f, typename array3< T, Allocator >::size_type thread_num)
 任意の構造要素に対応した最頻値フィルタ
template<class T , class Allocator >
bool mist::mode (array3< T, Allocator > &in, const mode_filter::mode_structure &s, typename array3< T, Allocator >::size_type thread_num=0)
 任意の構造要素に対応した最頻値フィルタ
template<class T , class Allocator , class Functor >
bool mist::mode (array3< T, Allocator > &in, double radius, Functor f, typename array3< T, Allocator >::size_type thread_num)
 球を構造要素とする最頻値フィルタ
template<class T , class Allocator >
bool mist::mode (array3< T, Allocator > &in, double radius, typename array3< T, Allocator >::size_type thread_num=0)
 球を構造要素とする最頻値フィルタ

説明

各次元の画像に対応し,任意の構造要素に対応した2値画像に対する最頻値フィルタ(多数決フィルタ)を行うためのライブラリ

注意
構造要素の形は凸形状でなくてはならない

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