Is matlab's optical flow object dense or sparse?

조회 수: 12 (최근 30일)
Peter Turner
Peter Turner 2015년 9월 22일
답변: Dima Lisin 2015년 9월 22일
In the description of the vision.OpticalFlow object it states:
'The OpticalFlow System object™ estimates object velocities from one image or video frame to another. It uses either the Horn-Schunck or the Lucas-Kanade method.'
Im wondering if this computes the optical flow for each pixel in the frames (i.e. dense) or does it use sparse pixels (like a grid of random pixels throughout the frame)
Thank you!

채택된 답변

Dima Lisin
Dima Lisin 2015년 9월 22일
It computes dense optical flow for every pixel. If you have the latest version (R2015b), please try the new optical flow classes: opticalFlowFarneback, opticalFlowHS, opticalFlowLK, and opticalFlowLKDoG.
For sparse optical flow, see vision.PointTracker.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Tracking and Motion Estimation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by