Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Filling an area between the paths of moving objects

  • Filling an area between the paths of moving objects

    Posted by Mehdi Rafeie on August 12, 2015 at 4:31 am

    Hi guys,

    I have a project I am undertaking and would appreciate if I could get some help or direction in finding a solution.

    The project is based on a large number of video files of particles passing through a bifurcation. I need to find a way to automatically process the videos to trace the paths of these particles. The paths can be represented as lines. Then I need to fill in the area between the outermost lines to show the entire area the pathways are covering.

    So far I have been able to detect the individual particles using the Auto-trace tool from the Layer menu; however, I need to draw a line depicting the path itself which I am not sure how to go about. Then I need to fill in the entire area that the paths have covered.

    I have attached a video to show the basic idea of what I am going after. I did it manually by drawing the area with a pen tool but because of the large number of video files I am looking for a way to do this automatically.

    Very much appreciate your help, thanks.

    Kalleheikki Kannisto replied 11 years, 1 month ago 2 Members · 3 Replies
  • 3 Replies
  • Kalleheikki Kannisto

    August 12, 2015 at 1:15 pm

    I’ll toss an idea for your consideration:

    IF the backgrounds are perfectly stationery so that only the particles move and the clips are relatively short, you might be able to do this with a difference blend and CC Time Blend. The idea is to use a still image grabbed from the beginning of the footage and blend the current frame with it in difference blending mode, maximize the result so that you get clear dots. Then Time Blend this for the entire length of the footage. If everything goes as per theory, the result would be the actual tracks of the particles as lines which you can then overlay on the footage itself-

  • Mehdi Rafeie

    August 13, 2015 at 7:42 am

    Thank you very much Kalle, your nice idea solved my problem. I uploaded the result here.

  • Kalleheikki Kannisto

    August 13, 2015 at 8:00 am

    Great – that works nicely indeed!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy