4 int main(
int argc,
char *argv[]) {
12 camera_index = atoi(argv[1]);
13 fprintf(stderr,
"set camera_index to %d\n", camera_index);
22 cvNamedWindow(
"Opt NM33 Camera 0", CV_WINDOW_AUTOSIZE);
23 cvNamedWindow(
"Opt NM33 Camera 1", CV_WINDOW_AUTOSIZE);
24 cvNamedWindow(
"Opt NM33 Camera 2", CV_WINDOW_AUTOSIZE);
25 cvNamedWindow(
"Opt NM33 Camera 3", CV_WINDOW_AUTOSIZE);
31 fprintf(stderr,
"get frame: channels=%d, depth=%d, width=%d, height=%d\n",
32 frame->nChannels, frame->depth, frame->width, frame->height);
42 float f = (float)count/20.0;
43 camera->
setLocationAbsolute(2, 180*sin(f), 45*sin(f+M_PI/3)+45, 180*sin(f+M_PI/2), 50*sin(f*2)+100);
45 char c = cvWaitKey (2);
IplImage * queryOmniFrame()
IplImage * queryWideFrame()
IplImage * queryNarrowFrame()
int main(int argc, char *argv[])
bool setLocationAbsolute(int no, int pan, int tilt, int roll, int zoom)
bool setSmallHemisphere(char value)
IplImage * queryMiddleFrame()