データの統計処理 [詳細]
#include <iostream>
#include <stdexcept>
#include <cstdio>
#include "config/mist_conf.h"
#include "config/color.h"
#include "mist.h"
#include "matrix.h"
#include "numeric.h"
ネームスペース | |
namespace | mist |
namespace | mist::statistics |
統計処理 |
関数 | |
template<class Array > | |
__utility__::__value_type__ < typename Array::value_type > ::value_type | mist::statistics::average (const Array &a) |
template<class Array > | |
__utility__::__value_type__ < typename Array::value_type > ::value_type | mist::statistics::variance (const Array &a, const typename __utility__::__value_type__< typename Array::value_type >::value_type &ave) |
template<class Array > | |
__utility__::__value_type__ < typename Array::value_type > ::value_type | mist::statistics::variance (const Array &a) |
template<class Array1 , class Array2 > | |
bool | mist::statistics::generate_histogram (const Array1 &in, Array2 &out, typename Array1::value_type min, typename Array1::value_type max, typename Array1::value_type bin) |
template<class Array1 , class Array2 > | |
bool | mist::statistics::generate_histogram (const Array1 &in, Array2 &out, typename Array1::value_type min, typename Array1::value_type max) |
template<class Array1 , class Array2 > | |
bool | mist::statistics::generate_histogram (const Array1 &in, Array2 &out, typename Array1::value_type bin) |
template<class Array1 , class Array2 > | |
bool | mist::statistics::generate_histogram (const Array1 &in, Array2 &out) |
template<class Array1 , class Array2 , class T , class Allocator > | |
bool | mist::statistics::generate_histogram (const Array1 &in1, const Array2 &in2, array2< T, Allocator > &out, typename Array1::value_type min1, typename Array1::value_type max1, typename Array1::value_type min2, typename Array1::value_type max2, typename Array1::value_type bin) |
template<class Array1 , class Array2 , class T , class Allocator > | |
bool | mist::statistics::generate_histogram (const Array1 &in1, const Array2 &in2, array2< T, Allocator > &out, typename Array1::value_type min1, typename Array1::value_type max1, typename Array1::value_type min2, typename Array1::value_type max2) |
template<class Array1 , class Array2 , class T , class Allocator > | |
bool | mist::statistics::generate_histogram (const Array1 &in1, const Array2 &in2, array2< T, Allocator > &out, typename Array1::value_type bin) |
template<class Array1 , class Array2 , class T , class Allocator > | |
bool | mist::statistics::generate_histogram (const Array1 &in1, const Array2 &in2, array2< T, Allocator > &out) |
template<typename T , typename Allocator > | |
double | mist::statistics::detail::central_moment (const array2< T, Allocator > &img, size_t x_order, size_t y_order, double x0, double y0) |
画像の中心モーメント | |
template<typename T , typename Allocator > | |
double | mist::statistics::detail::normalized_central_moment (const array2< T, Allocator > &img, size_t x_order, size_t y_order, double u00, double x0, double y0) |
画像から正規化中心モーメントを求める | |
template<typename T , typename Allocator > | |
double | mist::statistics::moment (const array2< T, Allocator > &img, size_t x_order, size_t y_order) |
画像のモーメントを求める | |
template<typename T , typename Allocator > | |
double | mist::statistics::central_moment (const array2< T, Allocator > &img, size_t x_order, size_t y_order) |
画像の中心モーメント | |
template<typename T , typename Allocator > | |
double | mist::statistics::normalized_central_moment (const array2< T, Allocator > &img, size_t x_order, size_t y_order) |
画像から正規化中心モーメントを求める | |
template<typename T , typename Allocator > | |
void | mist::statistics::hu_moments (const array2< T, Allocator > &img, array1< double > &moments) |
画像からHuモーメントを求める | |
template<typename T , typename Allocator > | |
double | mist::statistics::normal_distribution::probability (const mist::matrix< T, Allocator > &x, const mist::matrix< T, Allocator > &u, const mist::matrix< T, Allocator > &sigma) |
Obtain propability. | |
template<typename T , typename Allocator > | |
void | mist::statistics::normal_distribution::estimate (const mist::matrix< T, Allocator > &sample, mist::matrix< T, Allocator > &average, mist::matrix< T, Allocator > &variance) |
Estimate sample average and variance. | |
template<typename T , typename Allocator > | |
double | mist::statistics::parzen::density (const mist::matrix< T, Allocator > &sample, const mist::matrix< T, Allocator > &x, double band) |
Estimate probability density. | |
template<typename T , typename Allocator > | |
double | mist::statistics::parzen::test (const mist::matrix< T, Allocator > &sample, double band, int n=5) |
Varidate band length. | |
template<typename T , typename Allocator > | |
double | mist::statistics::kernel::density (const mist::matrix< T, Allocator > &sample, const mist::matrix< T, Allocator > &x, double b) |
Estimate probability density. | |
template<typename T , typename Allocator > | |
double | mist::statistics::kernel::test (const mist::matrix< T, Allocator > &sample, double band, int n=5) |
Varidate band length. | |
template<typename T , typename Allocator > | |
double | mist::statistics::knn::density (const mist::matrix< T, Allocator > &sample, const mist::matrix< T, Allocator > &x, int k) |
Estimate probability density. | |
template<typename T , typename Allocator > | |
double | mist::statistics::knn::test (const mist::matrix< T, Allocator > &sample, int k, int n=5) |
Varidate band length. |
データの統計処理