Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Read data from System objects in Matlab

조회 수: 6 (최근 30일)
Lakshmi Narayanan
Lakshmi Narayanan 2016년 9월 23일
마감: MATLAB Answer Bot 2021년 8월 20일
I am using the Foreground Detection example in Matlab, using Gaussian Mixture Models, given in this link
Part of the code where the foreground detection is done, is given below
videoSource = vision.VideoFileReader('viptraffic.avi',...
'ImageColorSpace','Intensity','VideoOutputDataType','uint8');
detector = vision.ForegroundDetector(...
'NumTrainingFrames', 5, ...
'InitialVariance', 30*30);
The system object *detector* has the foreground mask. Simply put, How do I access this mask from the system object?
It is possible to use other methods of the class, which make use of the mask computed. But I am not able to find a way to get this mask out and use it for my own code/purpose.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by