http://www.emgu.com
Get the color at the specific location of the image

Namespace: Emgu.CV.Reflection
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public static IColor GetPixelColor(
	IImage image,
	Point location
)
Visual Basic
Public Shared Function GetPixelColor ( _
	image As IImage, _
	location As Point _
) As IColor
Visual C++
public:
static IColor^ GetPixelColor(
	IImage^ image, 
	Point location
)

Parameters

image
Type: Emgu.CV..::..IImage
The image to obtain pixel value from
location
Type: System.Drawing..::..Point
The location to sample a pixel

Return Value

The color at the specific location

See Also