Library/ManagedCuda/NPP/NPPImage_32fC1.cs
/// <summary>
/// 1 channel 32-bit floating point grayscale per source image descriptor window location with source image border control 
/// to per descriptor window destination floating point histogram of gradients. Requires first calling nppiHistogramOfGradientsBorderGetBufferSize function
/// call to get required scratch (host) working buffer size and nppiHistogramOfGradientsBorderGetDescriptorsSize() function call to get
/// total size for nLocations of output histogram block descriptor windows.
/// </summary>
/// <param name="hpLocations">Host pointer to array of NppiPoint source pixel starting locations of requested descriptor windows. Important: hpLocations is a </param>
/// <param name="pDstWindowDescriptorBuffer">Output device memory buffer pointer of size hpDescriptorsSize bytes to first of nLoc descriptor windows (see nppiHistogramOfGradientsBorderGetDescriptorsSize() above).</param>
/// <param name="oHOGConfig">Requested HOG configuration parameters structure.</param>
/// <param name="pScratchBuffer">Device memory buffer pointer of size hpBufferSize bytes to scratch memory buffer (see nppiHistogramOfGradientsBorderGetBufferSize() above).</param>
/// <param name="eBorderType">The border type operation to be applied at source image border boundaries.</param>
1 channel 32-bit floating point grayscale per source image descriptor window location with source image border control
to per descriptor window destination floating point histogram of gradients. Requires first calling nppiHistogramOfGradientsBorderGetBufferSize function
call to get required scratch (host) working buffer size and nppiHistogramOfGradientsBorderGetDescriptorsSize() function call to get
total size for nLocations of output histogram block descriptor windows.
1 channel 32 - bit floating point grayscale per source image descriptor window location with source image border control to per descriptor window destination floating point histogram of gradients . Requires first calling nppiHistogramOfGradientsBorderGetBufferSize function call to get required scratch ( host ) working buffer size and nppiHistogramOfGradientsBorderGetDescriptorsSize () function call to get total size for nLocations of output histogram block descriptor windows .
public void HistogramOfGradientsBorder(NppiPoint[] hpLocations, CudaDeviceVariable<byte> pDstWindowDescriptorBuffer, NppiHOGConfig oHOGConfig, CudaDeviceVariable<byte> pScratchBuffer, NppiBorderType eBorderType)
        {
            status = NPPNativeMethods.NPPi.HistogramOfOrientedGradientsBorder.nppiHistogramOfGradientsBorder_32f_C1R(_devPtr, _pitch, _sizeOriginal, _pointRoi, hpLocations, hpLocations.Length, pDstWindowDescriptorBuffer.DevicePointer, _sizeRoi, oHOGConfig, pScratchBuffer.DevicePointer, eBorderType);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiHistogramOfGradientsBorder_32f_C1R", status));
            NPPException.CheckNppStatus(status, this);
        }
public void HistogramOfGradientsBorder ( NppiPoint [ ] hpLocations , CudaDeviceVariable < byte > pDstWindowDescriptorBuffer , NppiHOGConfig oHOGConfig , CudaDeviceVariable < byte > pScratchBuffer , NppiBorderType eBorderType ) { status = NPPNativeMethods . NPPi . HistogramOfOrientedGradientsBorder . nppiHistogramOfGradientsBorder_32f_C1R ( _devPtr , _pitch , _sizeOriginal , _pointRoi , hpLocations , hpLocations . Length , pDstWindowDescriptorBuffer . DevicePointer , _sizeRoi , oHOGConfig , pScratchBuffer . DevicePointer , eBorderType ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
1 channel 32-bit floating point grayscale per source image descriptor window location with source image border control
to per descriptor window destination floating point histogram of gradients.
1 channel 32 - bit floating point grayscale per source image descriptor window location with source image border control to per descriptor window destination floating point histogram of gradients .
hpLocations
NppiPoint[]
Host pointer to array of NppiPoint source pixel starting locations of requested descriptor windows. Important: hpLocations is a
Host pointer to array of NppiPoint source pixel starting locations of requested descriptor windows . Important : hpLocations is a
pDstWindowDescriptorBuffer
CudaDeviceVariable<byte>
Output device memory buffer pointer of size hpDescriptorsSize bytes to first of nLoc descriptor windows  above).
Output device memory buffer pointer of size hpDescriptorsSize bytes to first of nLoc descriptor windows above ) .
oHOGConfig
NppiHOGConfig
Requested HOG configuration parameters structure.
Requested HOG configuration parameters structure .
pScratchBuffer
CudaDeviceVariable<byte>
Device memory buffer pointer of size hpBufferSize bytes to scratch memory buffer  above).
Device memory buffer pointer of size hpBufferSize bytes to scratch memory buffer above ) .
eBorderType
NppiBorderType
The border type operation to be applied at source image border boundaries.
The border type operation to be applied at source image border boundaries .