Get the color at the specific location of the image
Namespace:
Emgu.CV.ReflectionAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
| C# |
|---|
public static IColor GetPixelColor( IImage image, Point location ) |
| Visual Basic (Declaration) |
|---|
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