Developer Reference for Intel® Integrated Performance Primitives
Computes the size of the FastN context structure.
IppStatus ippiFastNGetSize(IppiSize srcSize, int circleRadius, int N, int orientationBins, int option, IppDataType dataType, int numChannels, int* pSpecSize);
ippcv.h
Headers: ippcore.h, ippvm.h, ipps.h, ippi.h
Libraries: ippcore.lib, ippvm.lib, ipps.lib, ippi.lib
Size of the source ROI, in pixels.
Radius of the pixel circle. The radius value equal to 1 corresponds to the distance between the closest pixels from common row or column. Supported values are 1, 2, 3, 5, 7, 9.
Critical number of serial pixels on circle for defining a corner. The ranges are as follows:
circleRadius | N |
---|---|
1 | 5 ≤ N ≤ 8 |
2 | 7 ≤ N ≤ 12 |
3 | 9 ≤ N ≤ 16 |
5 | 15 ≤ N ≤ 28 |
7 | 21 ≤ N ≤ 40 |
9 | 27 ≤ N ≤ 52 |
The number of bins to define direction. Supported values are from 2 to 64.
Mode of processing. Supported values:
IPP_FASTN_CIRCLE
(IPP_FASTN_CIRCLE | IPP_FASTN_ORIENTATION)
(IPP_FASTN_CIRCLE | IPP_FASTN_SCORE_MODE0)
(IPP_FASTN_CIRCLE | IPP_FASTN_ORIENTATION | IPP_FASTN_SCORE_MODE0)
(IPP_FASTN_CIRCLE | IPP_FASTN_SCORE_MODE0 | IPP_FASTN_NMS)
(IPP_FASTN_CIRCLE | IPP_FASTN_ORIENTATION | IPP_FASTN_SCORE_MODE0 | IPP_FASTN_NMS)
Data type of the source and destination images. Supported value is ipp8u.
Number of channels in the images. Supported value is 1.
Pointer to the computed size of the specification structure.
This function computes the size of the FastN context structure for the FastN function. The result is stored in pSpecSize.
Use the computed pSpecSize value to allocate memory using the ippMalloc or ippsMalloc functions. The allocated memory can be freed only by the ippFree or ippsFree functions, respectively. For more information about the memory allocation functions, refer to the Support Functions section of the Intel IPP Developer Reference, vol. 1.
For an example on how to use this function, refer to the example provided with the FastN function description.