Optical flow vectors for a 3D Image

I want calculate the optical flow vectors x & y for a time series of images. My image is a 3D matrix of intensity values, which have multiple frames of 512x512 images.
How can I calculate the optical flow vectors?

回答(1 个)

to calculate optical flow vectors, we should use:
flow = estimateFlow(opticFlow,I)
where I(the input image) is a gray scale image. So first convert your color image to gray scale image. then use the above code.

类别

在 帮助中心 和 File Exchange 中查找有关 Optics 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by