geometric calculation [詳細]
ネームスペース | |
namespace | mist |
namespace | mist::nearest |
最近傍型補間 | |
namespace | mist::linear |
一般カーネルの線形フィルタの実装(コールバック関数を指定することが可能) | |
namespace | mist::cubic |
3次のsinc関数を用いた補間 |
関数 | |
template<class T , class Allocator > | |
void | mist::translation_matrix (matrix< T, Allocator > &mat, typename matrix< T, Allocator >::value_type x, typename matrix< T, Allocator >::value_type y) |
calculate translation matrix | |
template<class T , class Allocator > | |
void | mist::rotation_matrix (matrix< T, Allocator > &mat, typename matrix< T, Allocator >::value_type radian) |
calculate rotation matrix | |
template<class T , class Allocator > | |
void | mist::rotation_matrix (matrix< T, Allocator > &mat, typename matrix< T, Allocator >::value_type radian, typename matrix< T, Allocator >::value_type cx, typename matrix< T, Allocator >::value_type cy) |
calculate rotation matrix | |
template<class T , class Allocator > | |
void | mist::scaling_matrix (matrix< T, Allocator > &mat, typename matrix< T, Allocator >::value_type x, typename matrix< T, Allocator >::value_type y) |
calculate scaling matrix | |
template<class T , class Allocator > | |
bool | mist::homography_matrix (matrix< T, Allocator > &mat, const matrix< T, Allocator > &p1, const matrix< T, Allocator > &p2) |
calculate homography matrix | |
template<class T1 , class Allocator1 , class T2 , class Allocator2 > | |
void | mist::nearest::transform (const array2< T1, Allocator1 > &in, array2< T1, Allocator1 > &out, const matrix< T2, Allocator2 > &mat) |
transform array2 | |
template<class T1 , class Allocator1 , class T2 , class Allocator2 > | |
void | mist::linear::transform (const array2< T1, Allocator1 > &in, array2< T1, Allocator1 > &out, const matrix< T2, Allocator2 > &mat) |
transform array2 | |
template<class Value_type1 , class Allocator1 , class Value_type2 , class Allocator2 > | |
void | mist::linear::transform (const mist::array2< Value_type1, Allocator1 > &in, mist::array2< Value_type2, Allocator2 > &out, const double &delta_x, const double &delta_y) |
平行移動と拡大を考慮して変形する | |
template<class T1 , class Allocator1 , class T2 , class Allocator2 > | |
void | mist::cubic::transform (const array2< T1, Allocator1 > &in, array2< T1, Allocator1 > &out, const matrix< T2, Allocator2 > &mat) |
transform array2 | |
template<class Value_type1 , class Allocator1 , class Value_type2 , class Allocator2 > | |
void | mist::cubic::transform (const mist::array2< Value_type1, Allocator1 > &in, mist::array2< Value_type2, Allocator2 > &out, const double &delta_x, const double &delta_y) |
平行移動と拡大を考慮して変形する |
geometric calculation