How to compute space-time gradients in video processing
Show older comments
Hi guys, how can compute or examine the space-time gradients ∇Pi = (Pxi, Pyi, Pti ) of the intensity at each pixel within video frames? I realy need it.
1 Comment
shab shekan
on 11 Aug 2011
Answers (2)
David Young
on 28 Jun 2011
1 vote
The issue with image gradients is usually how much smoothing of the image data to do. This is a question not just of the noise in the images, but also of the spatial and temporal scales at which you want to estimate the gradients. You may well have to experiment with smoothing techniques and their associated parameters to get a useful result.
If you are happy to estimate the temporal gradient from only a pair of frames (more precise estimation methods may use more than 2 frames), and you are happy with Gaussian smoothing, then you could use the function gradients_xyt from this FEX contribution.
1 Comment
shab shekan
on 2 Jul 2011
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!