Click or drag to resize

FftGridGetNextPowerOfTwo Method

A helper function that retrieves the next power of two (128, 256, 512, 1024, etc). x^2

Namespace:  Atalasoft.Imaging.ImageProcessing.Fft
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public static int GetNextPowerOfTwo(
	int value
)

Parameters

value
Type: SystemInt32

The value to use when testing the next power of two.

Return Value

Type: Int32
The next power of two.
See Also