Returns the average RGB values of the selection.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public IERGB CalcAverageRGB(
	int sampleCount
)
Public Function CalcAverageRGB ( _
	sampleCount As Integer _
) As IERGB
public:
IERGB CalcAverageRGB(
	int sampleCount
)

Parameters

sampleCount
Int32
If sampleCount is less than 1 then the entire image is analyzed. To speed up processing you can sample a smaller number of points, e.g. 100

Return Value

Returns the average RGB values of the selection.

See Also