Library/ManagedCuda/NPP/NPPTypes.cs
/// <summary>
/// Validates requested HOG configuration and calculates scratch buffer size needed for the HistogramOfGradientsBorder function 
/// based on requested HOG configuration, source image ROI, and number and locations of descriptor window locations.
/// </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="oSizeROI">Region-of-Interest (ROI) of source image.</param>
Validates requested HOG configuration and calculates scratch buffer size needed for the HistogramOfGradientsBorder function
based on requested HOG configuration, source image ROI, and number and locations of descriptor window locations.
Validates requested HOG configuration and calculates scratch buffer size needed for the HistogramOfGradientsBorder function based on requested HOG configuration source image ROI and number and locations of descriptor window locations .
public int HistogramOfGradientsBorderGetBufferSize(NppiPoint[] hpLocations, NppiSize oSizeROI)
        {
            int hpBufferSize = 0;
            NppStatus status = NPPNativeMethods.NPPi.HistogramOfOrientedGradientsBorder.nppiHistogramOfGradientsBorderGetBufferSize(this, hpLocations, hpLocations.Length, oSizeROI, ref hpBufferSize);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiHistogramOfGradientsBorderGetBufferSize", status));
            NPPException.CheckNppStatus(status, this);
            return hpBufferSize;
        }
public int HistogramOfGradientsBorderGetBufferSize ( NppiPoint [ ] hpLocations , NppiSize oSizeROI ) { int hpBufferSize = 0 ; NppStatus status = NPPNativeMethods . NPPi . HistogramOfOrientedGradientsBorder . nppiHistogramOfGradientsBorderGetBufferSize ( this , hpLocations , hpLocations . Length , oSizeROI , ref hpBufferSize ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; return hpBufferSize ; }
Validates requested HOG configuration and calculates scratch buffer size needed for the HistogramOfGradientsBorder function
based on requested HOG configuration, source image ROI, and number and locations of descriptor window locations.
Validates requested HOG configuration and calculates scratch buffer size needed for the HistogramOfGradientsBorder function based on requested HOG configuration source image ROI and number and locations of descriptor window locations .
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
oSizeROI
NppiSize
Region-of-Interest (ROI) of source image.
Region - of - Interest ( ROI ) of source image .