2015-11-05 08:02:25 -0600 | received badge | ● Popular Question (source) |
2013-03-10 07:47:02 -0600 | commented answer | one pixel's color which libraries do you use? |
2013-03-10 07:13:10 -0600 | commented answer | one pixel's color so I have this code: include "opencv/cv.h"include "opencv/highgui.h"include <stdio.h>include <iostream>using namespace std; int b,g,r; int main() { CvCapture* capture = cvCaptureFromCAM(0); if ( !capture ) { } cvNamedWindow( "mywindow", CV_WINDOW_AUTOSIZE ); } cvReleaseCapture( &capture ); cvDestroyWindow( "mywindow" ); return 0; } How can I do this? ( Sorry, I'm very beginner but I must to do it. and thanks for your help.) :) |
2013-03-10 06:37:31 -0600 | received badge | ● Editor (source) |
2013-03-10 06:36:46 -0600 | asked a question | one pixel's color I use color Webcamera and I want to know one pixel's color I'm looking for an opencv function that define one pixel's color. for example: int RED, GREEN, BLUE; x=1; y=1; RED=RedColorFunction(x,y); GREEN=GreenColorFunction(x,y); BLUE=BlueColorFunction(x,y); so I get the first pixel's color. Do you know similar fuction? |