1. tpys

    It’s easy to implement with your tutorial. I found you saved optical flow as two txt file in your code, But how to visuliza them? Can you explain more details, thanks!

  2. tpys

    Hi Eric, There seem to be a mistake in your corase to fine code, line 191~192 ‘warped1.copyTo(pyr1[i]), warped2.copyTo(pyr2[i])’. Because when I comment these lines, still get same result.

  3. Sam

    Coarse 2 fine is implementation when both camera and object is on motion??

    Sorry, if lame question. I am just introduced to thi topic

    • Eric

      Hi Sam,
      Coarse to fine is just a method which reduces the computation(pyramid) and improves the result(interpolation). We actually don’t care whether both the camera and object are on motion, because what is represented by the two images are relative displacements of each pixel.

    • Eric

      Hi Francisco,

      Actually you can directly use OpenCV FileStorage methods to store result into, say, XML file, or maybe you want to use imwrite method.

  4. Rjv

    You the optical flow in two different text files. Can you please mail me code to visualize the optical flow from those text files?

  5. Ali

    thanks for your helpful document.

    these methods are methods of optical flow calculation.

    I want to use Histogram of Optical Flow(HOF) for my own data.

    do you have any code for HOF???

  6. brent

    Hi im also trying to detect the moving vehicles using remote sensing. can you pls show me the code for flow visualization? pls tnx

  7. brent

    hi pls send me how to detect the objects after doing the optical flow. I need help. Im an undergrad student from University of San Carlos Cebu City. How do you get the pixel intensity of CV_64FC1. The pixel intensities I get are very small. They are less than 1 like 0.05

  8. Linux

    Hello , how can i draw the optical flow results in my code with opencv?
    Please can you provide me the code?

Leave a Reply

Your email address will not be published. Required fields are marked *