下载APP
【简答题】
下列matlab代码将高斯混合模型 Gaussian mixture models (GMMs)用于数字视频的运动检测,摄像机和街景背景静止,只有最多两辆轿车运动。请根据上下文填写(2)、(11)、(13)、(16)、(24)横线处代码。 (1) foregroundDetector = vision.ForegroundDetector('NumGaussians', 3, 'NumTrainingFrames', 50); (2) = vision.Blobysis('BoundingBoxOutputPort', true, 'AreaOutputPort', false, 'CentroidOutputPort', false, 'MinimumBlobArea', 150); (3) videoReader = vision.VideoFileReader('visiontraffic.avi'); (4) videoPlayer = vision.VideoPlayer('Name', 'Detected Cars'); (5) videoPlayer.Position(3:4) = [650,400]; % window size: [width, height] (6) se = strel('square', 3); % morphological filter for noise removal (7) while ~isDone(videoReader) (8) % read the next video frame (9) frame = step(videoReader); (10) % Detect the foreground in the current video frame (11) foreground = step(foregroundDetector, ); (12) % Use morphological opening to remove noise in the foreground (13) filteredForeground = imopen(foreground, ); (14) % Detect the connected components with the specified minimum area, and (15) % compute their bounding boxes (16) bbox = step(blobysis, ); (17) % Draw bounding boxes around the detected cars (18) result = insertShape(frame, 'Rectangle', bbox, 'Color', 'green'); (19) % Display the number of cars found in the video frame (20) numCars = size(bbox, 1); (21) result = insertText(result, [10 10], numCars, 'BoxOpacity', 1, 'FontSize', 14); (22) step(videoPlayer, result); % display the results (23)end (24) release( ); % close the video file
题目标签:
运动检测
高斯混合模型
混合模型
举报
如何制作自己的在线小题库
参考答案:
参考解析:
刷刷题刷刷变学霸
举一反三
【单选题】语音转换的主要方法有码本映射法、高斯混合模型法和深度神经网络法等,以下有关说法错误的是()
A.
三种方法都要建立源说话人和目标说话人间语音特征的映射关系
B.
码本映射法通过 源说话人和目标说话人 码本间的映射关系保证语音内部频谱的连续性
C.
高斯混合模型法用混合高斯分布模型表示语音的声学特征
D.
深度神经网络法可以建立 源说话人和目标说话人间的 非线性 映射关系
查看完整题目与答案
【判断题】高斯混合模型假设样本的生成过程由高斯混合分布给出。
A.
正确
B.
错误
查看完整题目与答案
【多选题】基于邻近帧差值的固定阈值假设检验的数字视频运动检测,存在鬼影 ghosting 等问题,可以改进的方法包括
A.
双邻近帧差值二值化求交方法
B.
平均噪点方法
C.
背景建模方法
D.
自适应阈值的假设检验方法
查看完整题目与答案
【多选题】在利用EM算法估计高斯混合模型参数的时候,需要预先设定的参数有( )。
A.
高斯元的方差
B.
类别个数
C.
高斯元的均值
D.
高斯元的权重系数
查看完整题目与答案
【简答题】如图4.2.5所示,比较图中运动检测5种方法的优、缺点,求出传输函数(注: 表示乘运算, 表示加运算,T F 表示帧周期)。
查看完整题目与答案
【单选题】下图是某个二维高斯混合模型的聚类结果,该GMM的输出【图片】矩阵的形式为【图片】
A.
单位矩阵
B.
对角阵且非单位矩阵
C.
普通方阵
D.
不能确定
查看完整题目与答案
【简答题】关于K-means 和高斯混合模型(GMM),下列说法正确的是( )
查看完整题目与答案
【多选题】基于高斯混合模型-隐马尔科夫模型的声学模型用( )来描述状态之间的转移概率并描述出现概率。
A.
高斯混合模型
B.
隐马尔科夫模型
C.
神经网络
D.
贝叶斯模型
查看完整题目与答案
【判断题】如果摄像头运动通过运动估算和补偿而被抵消,运动检测能用于动态摄像头获取的数字视频。
A.
正确
B.
错误
查看完整题目与答案
【填空题】( )是借助于流体压差使检测器在管内运动,检测管道缺陷(内外壁腐蚀、损伤、变形、裂纹等)、管道中心线位置和管道结构特性(焊缝、三通、弯头等)的方法。
查看完整题目与答案