Esempio n. 1
0
        /// <summary>
        /// シーケンス書き込み処理を終了する
        /// </summary>
        /// <param name="writer">ライタの状態. </param>
        /// <returns>書き込まれたシーケンスへのポインタ</returns>
#else
        /// <summary>
        /// Finishes process of writing sequence
        /// </summary>
        /// <param name="writer">Writer state </param>
        /// <returns>the pointer to the written sequence.</returns>
#endif
        public static CvSeq EndWriteSeq(CvSeqWriter writer)
        {
            if (writer == null)
                throw new ArgumentNullException("writer");

            return writer.EndWriteSeq();
        }
Esempio n. 2
0
        /// <summary>
        /// ライタの状態からシーケンスヘッダを更新する
        /// </summary>
        /// <param name="writer">ライタの状態.</param>
#else
        /// <summary>
        /// Updates sequence headers from the writer state
        /// </summary>
        /// <param name="writer">Writer state </param>
#endif
        public static void FlushSeqWriter(CvSeqWriter writer)
        {
            if (writer == null)
            {
                throw new ArgumentNullException("writer");
            }
            NativeMethods.cvFlushSeqWriter(writer.CvPtr);
        }