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.10.1935 (2.4.10.1935)

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
)
F#
static member GetPixelColor : 
        image : IImage * 
        location : Point -> IColor 

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

Type: IColor
The color at the specific location

See Also