Emgu.CV.CvInvoke.cvMoments C# (CSharp) Method

cvMoments() private method

private cvMoments ( IntPtr arr, MCvMoments &moments, int binary ) : void
arr IntPtr
moments MCvMoments
binary int
return void
        public static extern void cvMoments(IntPtr arr, ref MCvMoments moments, int binary);

Usage Example

コード例 #1
0
ファイル: Seq.cs プロジェクト: kittawee/Final-Project
        /// <summary>
        /// Get the moments for this point sequence
        /// </summary>
        /// <returns>the moments for this point sequence</returns>
        public MCvMoments GetMoments()
        {
            MCvMoments moment = new MCvMoments();

            CvInvoke.cvMoments(Ptr, ref moment, 0);
            return(moment);
        }
CvInvoke