示例#1
0
        /// <summary>
        /// Query the image mean for a data source.
        /// </summary>
        /// <param name="nSrcId">Specifies the ID of the data source to use.</param>
        /// <returns>The SimpleDatum containing the image mean is returned.</returns>
        public SimpleDatum QueryImageMean(int nSrcId)
        {
            if (m_TestingImages.SourceID != nSrcId &&
                m_TrainingImages.SourceID != nSrcId)
            {
                return(null);
            }

            return(m_factory.QueryImageMean(nSrcId));
        }