This is a utility to read the pixel value of an image at the specified location. When the user's mouse clicks on the image, it reads the corresponding pixel and displays the RGB value. Useful for debugging.
Listing 1: readpixel.c
Learning OpenCV: Computer Vision with the OpenCV Library
By: Gary Bradski, Adrian Kaehler
This book is the "de facto" OpenCV User's Manual. It provides a practical, pragmatic, accessible book on computer vision, with algorithmic explanation and concrete example code snippets. Written by the creators of OpenCV, no doubt you should obtain a copy.
Machine Vision: Theory, Algorithms, Practicalities (Signal Processing and its Applications)
By: E. R. Davies
This book provides a solid and concrete foundation to computer vision from engineering point of view. Use Learning OpenCV from Gary Bradsky to learn how to use OpenCV, and use this book to understand how OpenCV works behind the screen.
swati A jaiyawala on Jul 13, 2010:
Sumon on Aug 21, 2010:
Alex on Sep 1, 2010:
Alex on Sep 1, 2010:
Bndesh Kumar Singh on Nov 13, 2010:
yok on Jun 14, 2011:
Goh on Jul 31, 2011:
| ICQ | 489571630 |
| Skype | dede_bl4ckheart |
| Yahoo | dede_bl4ckheart |
| nashruddin.amin |
sumon on Mar 5, 2010:
Thanks a lot for opencv utility. Really its great useful for me, to check the RGB values at different position. Now I am trying to create a XLs file to show rgb values at different x, y position, for analysis and making graph. But yet i am not success. Therefore, if possible pls help me, so that i can use opencv utility with using mouse and xls file.
Thanking you
Sumon