Welcome to the website of CVLab!

Computer Vision Laboratory (CVLAB) of the Graduate school of Systems and Information Engineering at the University of Tsukuba by Professor Kazuhiro Fukui.
Cvlab’s Datasets and Source Code

In CVLAb we study the field of Computer Vision.
In this section you will be able to find the latest Datasets, Source Codes and Papers developed in our laboratory, and download them for Educational purposes under the license of creative commons.

Lectures and Publications

Find a list of our publications in International Conferences, Domestic Conferences and Journal Papers, as well as detailed information about aur lectures at University of Tsukuba.

Become a part of Cvlab

In CVLAB we are always looking for motivated students to help us with our efforts.

If you would like to join our lab, please get in touch with us through the contact section or contact a member of our staff.

News

In this section you can find all the news related with our Lab's activities:

09 December, 2007

2011年度 主専攻実験画素値へのアクセス

2011年度 主専攻実験
画素値へのアクセス


IplImage?の画素値へのアクセス

IplImage?の画素値を直接扱う時は以下のように行う。 unsigned char型への変換を忘れると大変なので注意すること。

// グレースケール画像の場合
val = (unsigned char)img->imageData[y*img->widthStep+x];
// フルカラー画像の場合
b = (unsigned char)img->imageData[y*img->widthStep+3*x + 0];
g = (unsigned char)img->imageData[y*img->widthStep+3*x + 1];
r = (unsigned char)img->imageData[y*img->widthStep+3*x + 2];