Accord.Imaging.DocumentSkewChecker.GetMostIntensiveLines C# (CSharp) Method

GetMostIntensiveLines() private method

private GetMostIntensiveLines ( int count ) : Accord.Imaging.HoughLine[]
count int
return Accord.Imaging.HoughLine[]
        private HoughLine[] GetMostIntensiveLines( int count )
        {
            // lines count
            int n = Math.Min( count, lines.Count );

            // result array
            HoughLine[] dst = new HoughLine[n];
            lines.CopyTo( 0, dst, 0, n );

            return dst;
        }