Get the color at the specific location of the image

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

Syntax

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

Parameters

image
IImage
The image to obtain pixel value from
location
Point
The location to sample a pixel

Return Value

The color at the specific location

See Also