Library/ManagedCuda/NPP/NPPImage_8uC1.cs
/// <summary>
/// Calculate scratch buffer size needed for the FilterHoughLine or FilterHoughLineRegion functions based on destination image SizeROI width and height and nDelta parameters.
/// </summary>
/// <param name="nDelta">rho radial increment and theta angular increment that will be used in the FilterHoughLine or FilterHoughLineRegion function call.</param>
/// <param name="nMaxLineCount">The maximum number of lines expected from the FilterHoughLine or FilterHoughLineRegion function call.</param>
Calculate scratch buffer size needed for the FilterHoughLine or FilterHoughLineRegion functions based on destination image SizeROI width and height and nDelta parameters.
Calculate scratch buffer size needed for the FilterHoughLine or FilterHoughLineRegion functions based on destination image SizeROI width and height and nDelta parameters .
public int FilterHoughLineGetBufferSize(NppPointPolar nDelta, int nMaxLineCount)
        {
            int hpBufferSize = 0;
            status = NPPNativeMethods.NPPi.FilterHoughLine.nppiFilterHoughLineGetBufferSize(_sizeRoi, nDelta, nMaxLineCount, ref hpBufferSize);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiFilterHoughLineGetBufferSize", status));
            NPPException.CheckNppStatus(status, this);
            return hpBufferSize;
        }
public int FilterHoughLineGetBufferSize ( NppPointPolar nDelta , int nMaxLineCount ) { int hpBufferSize = 0 ; status = NPPNativeMethods . NPPi . FilterHoughLine . nppiFilterHoughLineGetBufferSize ( _sizeRoi , nDelta , nMaxLineCount , ref hpBufferSize ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; return hpBufferSize ; }
Calculate scratch buffer size needed for the FilterHoughLine or FilterHoughLineRegion functions based on destination image SizeROI width and height and nDelta parameters.
Calculate scratch buffer size needed for the FilterHoughLine or FilterHoughLineRegion functions based on destination image SizeROI width and height and nDelta parameters .
nDelta
NppPointPolar
rho radial increment and theta angular increment that will be used in the FilterHoughLine or FilterHoughLineRegion function call.
rho radial increment and theta angular increment that will be used in the FilterHoughLine or FilterHoughLineRegion function call .
nMaxLineCount
int
The maximum number of lines expected from the FilterHoughLine or FilterHoughLineRegion function call.
The maximum number of lines expected from the FilterHoughLine or FilterHoughLineRegion function call .