c++ Programming Glossary: iplimage
OpenCv 2.3 C - How to isolate object inside image http://stackoverflow.com/questions/10315551/opencv-2-3-c-how-to-isolate-object-inside-image number. So i want that the result is i try this void findX IplImage imgSrc int min int max int i int minFound 0 CvMat data CvScalar.. 0 max i if minFound min i minFound 1 void findY IplImage imgSrc int min int max int i int minFound 0 CvMat data CvScalar.. 0 max i if minFound min i minFound 1 CvRect findBB IplImage imgSrc CvRect aux int xmin xmax ymin ymax xmin xmax ymin ymax..
Simple object detection using OpenCV and machine learning http://stackoverflow.com/questions/6416117/simple-object-detection-using-opencv-and-machine-learning highgui.h #include math.h int main int argc char argv IplImage img NULL if img cvLoadImage argv 1 0 printf cvLoadImage failed.. if img cvLoadImage argv 1 0 printf cvLoadImage failed n IplImage gray cvCreateImage cvGetSize img IPL_DEPTH_8U 1 CvMemStorage.. from being detected cvSmooth gray gray CV_GAUSSIAN 7 7 IplImage canny cvCreateImage cvGetSize img IPL_DEPTH_8U 1 IplImage rgbcanny..
OpenCV 2.3 C++ Visual Studio 2010 http://stackoverflow.com/questions/7011238/opencv-2-3-c-visual-studio-2010 int argc _TCHAR argv int c allocate memory for an image IplImage img capture from video device #1 CvCapture capture cvCaptureFromCAM.. if argc 2 printf Usage . opencv_hello file.png n return 1 IplImage img cvLoadImage argv 1 CV_LOAD_IMAGE_UNCHANGED if img return..
Audio output with video processing with opencv http://stackoverflow.com/questions/8187745/audio-output-with-video-processing-with-opencv NULL AVCodecContext pCodecCtx NULL void show_frame IplImage img if screen screen SDL_SetVideoMode img width img height.. SDL could not set video mode exiting n exit 1 Assuming IplImage packed as BGR 24bits SDL_Surface surface SDL_CreateRGBSurfaceFrom.. do some processing on the frame either as a Mat or as IplImage. For educational purposes applying a lame grayscale conversion..
|