Click or drag to resize

imageToHeatMapGetIntesity Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets average intesity of sample patch located at x/y

Namespace:  imbSCI.Core.math.range.matrix
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static double GetIntesity(
	this Bitmap grayImage,
	int x,
	int y,
	int bs
)
Request Example View Source

Parameters

grayImage
Type: System.DrawingBitmap
The gray image.
x
Type: SystemInt32
horizobtal index of the field
y
Type: SystemInt32
vertical index of the field
bs
Type: SystemInt32
Sample patch size (side of the sampling square, in pixels)

Return Value

Type: Double
Mean brightness value for the patch at x,y

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Bitmap. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also