関数 | |
template<class T , class Allocator > | |
void | mist::draw_line (array2< T, Allocator > &image, typename array2< T, Allocator >::difference_type x1, typename array2< T, Allocator >::difference_type y1, typename array2< T, Allocator >::difference_type x2, typename array2< T, Allocator >::difference_type y2, typename array2< T, Allocator >::value_type color=typename array2< T, Allocator >::value_type()) |
2次元画像に直線を描画する | |
template<size_t BITS> | |
void | mist::draw_line (bitmap< BITS > &image, typename bitmap< BITS >::difference_type x1, typename bitmap< BITS >::difference_type y1, typename bitmap< BITS >::difference_type x2, typename bitmap< BITS >::difference_type y2, typename bitmap< BITS >::value_type color=typename bitmap< BITS >::value_type()) |
2次元ビットマップ画像に直線を描画する | |
template<class T , class Allocator > | |
void | mist::draw_line (array3< T, Allocator > &image, typename array3< T, Allocator >::difference_type x1, typename array3< T, Allocator >::difference_type y1, typename array3< T, Allocator >::difference_type z1, typename array3< T, Allocator >::difference_type x2, typename array3< T, Allocator >::difference_type y2, typename array3< T, Allocator >::difference_type z2, typename array3< T, Allocator >::value_type color=typename array3< T, Allocator >::value_type()) |
3次元画像に直線を描画する | |
template<class T , class Allocator > | |
void | mist::draw_point (array2< T, Allocator > &image, typename array2< T, Allocator >::difference_type x, typename array2< T, Allocator >::difference_type y, typename array2< T, Allocator >::difference_type radius, typename array2< T, Allocator >::value_type value=typename array3< T, Allocator >::value_type()) |
3次元画像に直線を描画する | |
template<class T , class Allocator > | |
void | mist::draw_point (array3< T, Allocator > &image, typename array3< T, Allocator >::difference_type x, typename array3< T, Allocator >::difference_type y, typename array3< T, Allocator >::difference_type z, typename array3< T, Allocator >::difference_type radius, typename array3< T, Allocator >::value_type value=typename array3< T, Allocator >::value_type()) |
3次元画像に直線を描画する | |
template<typename T , typename Allocator > | |
void | mist::set_pixel (array2< T, Allocator > &image, typename array2< T, Allocator >::difference_type x, typename array2< T, Allocator >::difference_type y, const typename array2< T, Allocator >::value_type &value) |
2次元が像に範囲チェックを行い,値を代入 | |
template<typename T , typename Allocator > | |
void | mist::draw_circle (array2< T, Allocator > &image, typename array2< T, Allocator >::difference_type cx, typename array2< T, Allocator >::difference_type cy, typename array2< T, Allocator >::difference_type r, const typename array2< T, Allocator >::value_type &value) |
円を描く(Michenerの手法) | |
template<typename T , typename Allocator > | |
void | mist::draw_rect (array2< T, Allocator > &image, typename array2< T, Allocator >::difference_type x0, typename array2< T, Allocator >::difference_type y0, typename array2< T, Allocator >::difference_type x1, typename array2< T, Allocator >::difference_type y1, const typename array2< T, Allocator >::value_type &value) |
長方形を描く | |
template<typename T , typename Allocator > | |
void | mist::fill_rect (array2< T, Allocator > &image, typename array2< T, Allocator >::difference_type x0, typename array2< T, Allocator >::difference_type y0, typename array2< T, Allocator >::difference_type x1, typename array2< T, Allocator >::difference_type y1, const typename array2< T, Allocator >::value_type &value) |
長方形で塗りつぶす | |
template<typename T , typename Allocator > | |
void | mist::draw_crosspoint (array2< T, Allocator > &image, typename array2< T, Allocator >::difference_type cx, typename array2< T, Allocator >::difference_type cy, typename array2< T, Allocator >::difference_type size, const typename array2< T, Allocator >::value_type &value) |
十字点を描画 |
void mist::draw_circle | ( | array2< T, Allocator > & | image, |
typename array2< T, Allocator >::difference_type | cx, | ||
typename array2< T, Allocator >::difference_type | cy, | ||
typename array2< T, Allocator >::difference_type | r, | ||
const typename array2< T, Allocator >::value_type & | value | ||
) |
円を描く(Michenerの手法)
[out] | image | 出力画像 |
[in] | cx | 円中心のX座標 |
[in] | cy | 円中心のY座標 |
[in] | r | 円の半径 |
[in] | value | … 描画する色もしくは値 |
参照先 mist::set_pixel().
void mist::draw_crosspoint | ( | array2< T, Allocator > & | image, |
typename array2< T, Allocator >::difference_type | cx, | ||
typename array2< T, Allocator >::difference_type | cy, | ||
typename array2< T, Allocator >::difference_type | size, | ||
const typename array2< T, Allocator >::value_type & | value | ||
) |
十字点を描画
[out] | image | 出力画像 |
[in] | cx | 中心のX座標 |
[in] | cy | 中心のY座標 |
[in] | size | 十字点の大きさ |
[in] | value | … 描画する色もしくは値 |
参照先 mist::draw_line().
void mist::draw_line | ( | array2< T, Allocator > & | image, |
typename array2< T, Allocator >::difference_type | x1, | ||
typename array2< T, Allocator >::difference_type | y1, | ||
typename array2< T, Allocator >::difference_type | x2, | ||
typename array2< T, Allocator >::difference_type | y2, | ||
typename array2< T, Allocator >::value_type | color = typename array2< T, Allocator >::value_type( ) |
||
) |
2次元画像に直線を描画する
手法について何か書く
[in,out] | image | … 入出力画像 |
[in] | x1 | … 直線の端点1のX座標 |
[in] | y1 | … 直線の端点1のY座標 |
[in] | x2 | … 直線の端点2のX座標 |
[in] | y2 | … 直線の端点2のY座標 |
[in] | color | … 直線の色もしくは値 |
参照先 mist::array2< T, Allocator >::height(), と mist::array2< T, Allocator >::width().
参照元 mist::draw_crosspoint(), mist::draw_rect(), と mist::non_rigid::registration< TARGETTYPE >::transform().
void mist::draw_line | ( | bitmap< BITS > & | image, |
typename bitmap< BITS >::difference_type | x1, | ||
typename bitmap< BITS >::difference_type | y1, | ||
typename bitmap< BITS >::difference_type | x2, | ||
typename bitmap< BITS >::difference_type | y2, | ||
typename bitmap< BITS >::value_type | color = typename bitmap< BITS >::value_type( ) |
||
) |
2次元ビットマップ画像に直線を描画する
手法について何か書く
[in,out] | image | … 入出力画像 |
[in] | x1 | … 直線の端点1のX座標 |
[in] | y1 | … 直線の端点1のY座標 |
[in] | x2 | … 直線の端点2のX座標 |
[in] | y2 | … 直線の端点2のY座標 |
[in] | color | … 直線の色もしくは値 |
参照先 mist::bitmap< BITS, Allocator >::height(), と mist::bitmap< BITS, Allocator >::width().
void mist::draw_line | ( | array3< T, Allocator > & | image, |
typename array3< T, Allocator >::difference_type | x1, | ||
typename array3< T, Allocator >::difference_type | y1, | ||
typename array3< T, Allocator >::difference_type | z1, | ||
typename array3< T, Allocator >::difference_type | x2, | ||
typename array3< T, Allocator >::difference_type | y2, | ||
typename array3< T, Allocator >::difference_type | z2, | ||
typename array3< T, Allocator >::value_type | color = typename array3< T, Allocator >::value_type( ) |
||
) |
3次元画像に直線を描画する
手法について何か書く
[in,out] | image | … 入出力画像 |
[in] | x1 | … 直線の端点1のX座標 |
[in] | y1 | … 直線の端点1のY座標 |
[in] | z1 | … 直線の端点1のZ座標 |
[in] | x2 | … 直線の端点2のX座標 |
[in] | y2 | … 直線の端点2のY座標 |
[in] | z2 | … 直線の端点2のZ座標 |
[in] | color | … 直線の色もしくは値 |
参照先 mist::array3< T, Allocator >::depth(), mist::array3< T, Allocator >::height(), と mist::array3< T, Allocator >::width().
void mist::draw_point | ( | array2< T, Allocator > & | image, |
typename array2< T, Allocator >::difference_type | x, | ||
typename array2< T, Allocator >::difference_type | y, | ||
typename array2< T, Allocator >::difference_type | radius, | ||
typename array2< T, Allocator >::value_type | value = typename array3< T, Allocator >::value_type( ) |
||
) |
3次元画像に直線を描画する
手法について何か書く
[in,out] | image | … 入出力画像 |
[in] | x | … 描画する点のX座標 |
[in] | y | … 描画する点のY座標 |
[in] | radius | … 描画する点の半径 |
[in] | value | … 描画する色もしくは値 |
参照先 mist::array2< T, Allocator >::height(), と mist::array2< T, Allocator >::width().
void mist::draw_point | ( | array3< T, Allocator > & | image, |
typename array3< T, Allocator >::difference_type | x, | ||
typename array3< T, Allocator >::difference_type | y, | ||
typename array3< T, Allocator >::difference_type | z, | ||
typename array3< T, Allocator >::difference_type | radius, | ||
typename array3< T, Allocator >::value_type | value = typename array3< T, Allocator >::value_type( ) |
||
) |
3次元画像に直線を描画する
手法について何か書く
[in,out] | image | … 入出力画像 |
[in] | x | … 描画する点のX座標 |
[in] | y | … 描画する点のY座標 |
[in] | z | … 描画する点のZ座標 |
[in] | radius | … 描画する点の半径 |
[in] | value | … 描画する色もしくは値 |
参照先 mist::array3< T, Allocator >::depth(), mist::array3< T, Allocator >::height(), と mist::array3< T, Allocator >::width().
void mist::draw_rect | ( | array2< T, Allocator > & | image, |
typename array2< T, Allocator >::difference_type | x0, | ||
typename array2< T, Allocator >::difference_type | y0, | ||
typename array2< T, Allocator >::difference_type | x1, | ||
typename array2< T, Allocator >::difference_type | y1, | ||
const typename array2< T, Allocator >::value_type & | value | ||
) |
長方形を描く
[out] | image | 出力画像 |
[in] | x0 | 左上のX座標 |
[in] | y0 | 左上のY座標 |
[in] | x1 | 右下のX座標 |
[in] | y1 | 右下のY座標 |
[in] | value | … 描画する色もしくは値 |
参照先 mist::draw_line().
void mist::fill_rect | ( | array2< T, Allocator > & | image, |
typename array2< T, Allocator >::difference_type | x0, | ||
typename array2< T, Allocator >::difference_type | y0, | ||
typename array2< T, Allocator >::difference_type | x1, | ||
typename array2< T, Allocator >::difference_type | y1, | ||
const typename array2< T, Allocator >::value_type & | value | ||
) |
長方形で塗りつぶす
[out] | image | 出力画像 |
[in] | x0 | 左上のX座標 |
[in] | y0 | 左上のY座標 |
[in] | x1 | 右下のX座標 |
[in] | y1 | 右下のY座標 |
[in] | value | … 描画する色もしくは値 |
参照先 mist::array2< T, Allocator >::height(), と mist::array2< T, Allocator >::width().
void mist::set_pixel | ( | array2< T, Allocator > & | image, |
typename array2< T, Allocator >::difference_type | x, | ||
typename array2< T, Allocator >::difference_type | y, | ||
const typename array2< T, Allocator >::value_type & | value | ||
) |
2次元が像に範囲チェックを行い,値を代入
[out] | image | 出力画像 |
[in] | x | 画素のX座標 |
[in] | y | 画素のY座標 |
[in] | value | … 描画する色もしくは値 |
参照先 mist::array2< T, Allocator >::height(), と mist::array2< T, Allocator >::width().
参照元 mist::draw_circle().