PDA

View Full Version : Color Average



roman
October 18, 2012, 19:47:00
Using Visual Basic 2010

Im using a color usb camera with TIS.Imaging.ICImagingControl and Im trying to achive the following two tasks:
1- Select a ROI of the image
2- Take the RGB value of every pixel of the ROI and calculate the average value for RGB
Any suggestions where to start.
Your input is appreciated.
Thanks

Stefan Geissler
October 19, 2012, 10:53:00
Hello,

A good point to start is creating an application using the Wizards installed by IC Imaging Control.
http://www.imagingcontrol.com/en_US/support/documentation/dotnet/tech_wizards_application2005.htm

Selecting an ROI:
http://www.imagingcontrol.com/en_US/support/documentation/dotnet/stdfilterROI.htm

Pixelformats:
http://www.imagingcontrol.com/en_US/support/documentation/dotnet/Pixelformat.htm

The same documentation is also installed by IC Imaging Control SDK as "Component Users Guide" on your computer.

The latest SDK version can be dowloaded from:
http://www.theimagingsource.com/en_US/support/downloads/