Library/ManagedCuda/NPP/NPPTypes.cs
/// <summary>
/// Validates requested HOG configuration and calculates output window descriptors buffer size needed for the HistogramOfGradientsBorder function 
/// based on requested HOG configuration, and number of descriptor window locations, one descriptor window is output for each location.
/// Descriptor windows are located sequentially and contiguously in the descriptors buffer.
/// The number of horizontal overlapping block histogram bins per descriptor window width is determined by
/// (((oHOGConfig.detectionWindowSize.width / oHOGConfig.histogramBlockSize)		/// 2) - 1)		/// oHOGConfig.nHistogramBins. 
/// The number of vertical overlapping block histograms per descriptor window height is determined by 
/// (((oHOGConfig.detectionWindowSize.height / oHOGConfig.histogramBlockSize)		/// 2) - 1)
/// The offset of each descriptor window in the descriptors output buffer is therefore 
/// horizontal histogram bins per descriptor window width		/// vertical histograms per descriptor window height floating point values 
/// relative to the previous descriptor window output.
/// </summary>
/// <param name="nLocations">Number of NppiPoint in pLocations array. </param>
Validates requested HOG configuration and calculates output window descriptors buffer size needed for the HistogramOfGradientsBorder function
based on requested HOG configuration, and number of descriptor window locations, one descriptor window is output for each location.
Descriptor windows are located sequentially and contiguously in the descriptors buffer.
Validates requested HOG configuration and calculates output window descriptors buffer size needed for the HistogramOfGradientsBorder function based on requested HOG configuration and number of descriptor window locations one descriptor window is output for each location . Descriptor windows are located sequentially and contiguously in the descriptors buffer .
public int HistogramOfGradientsBorderGetDescriptorsSize(int nLocations)
        {
            int hpDescriptorsSize = 0;
            NppStatus status = NPPNativeMethods.NPPi.HistogramOfOrientedGradientsBorder.nppiHistogramOfGradientsBorderGetDescriptorsSize(this, nLocations, ref hpDescriptorsSize);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiHistogramOfGradientsBorderGetDescriptorsSize", status));
            NPPException.CheckNppStatus(status, this);
            return hpDescriptorsSize;
        }
public int HistogramOfGradientsBorderGetDescriptorsSize ( int nLocations ) { int hpDescriptorsSize = 0 ; NppStatus status = NPPNativeMethods . NPPi . HistogramOfOrientedGradientsBorder . nppiHistogramOfGradientsBorderGetDescriptorsSize ( this , nLocations , ref hpDescriptorsSize ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; return hpDescriptorsSize ; }
Validates requested HOG configuration and calculates output window descriptors buffer size needed for the HistogramOfGradientsBorder function
based on requested HOG configuration, and number of descriptor window locations, one descriptor window is output for each location.
Validates requested HOG configuration and calculates output window descriptors buffer size needed for the HistogramOfGradientsBorder function based on requested HOG configuration and number of descriptor window locations one descriptor window is output for each location .
nLocations
int
Number of NppiPoint in pLocations array.
Number of NppiPoint in pLocations array .