|
IntegralImageGetRectangleSumUnsafe Method (Int32, Int32, Int32, Int32)
|
Calculate sum of pixels in the specified rectangle without checking it's coordinates.
Namespace:
Accord.Imaging
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax public uint GetRectangleSumUnsafe(
int x1,
int y1,
int x2,
int y2
)
Public Function GetRectangleSumUnsafe (
x1 As Integer,
y1 As Integer,
x2 As Integer,
y2 As Integer
) As UInteger
Request Example
View SourceParameters
- x1
- Type: SystemInt32
X coordinate of left-top rectangle's corner. - y1
- Type: SystemInt32
Y coordinate of left-top rectangle's corner. - x2
- Type: SystemInt32
X coordinate of right-bottom rectangle's corner. - y2
- Type: SystemInt32
Y coordinate of right-bottom rectangle's corner.
Return Value
Type:
UInt32Returns sum of pixels in the specified rectangle.
Remarks Both specified points are included into the calculation rectangle.
See Also