Motion vectors calculation
问题 I am working on the following code: filename = 'C:\li_walk.avi'; hVidReader = vision.VideoFileReader(filename, 'ImageColorSpace', 'RGB','VideoOutputDataType', 'single'); hOpticalFlow = vision.OpticalFlow('OutputValue', 'Horizontal and vertical components in complex form', 'ReferenceFrameDelay', 3); hMean1 = vision.Mean; hMean2 = vision.Mean('RunningMean', true); hMedianFilt = vision.MedianFilter; hclose = vision.MorphologicalClose('Neighborhood', strel('line',5,45)); hblob = vision