Optical flow is the pattern of apparent motion of objects, surfaces, and edges in a visual scene caused by the relative motion between an observer and the scene.
Click to reveal answer
beginner
What does optical flow estimate between two video frames?
It estimates the motion vector field that shows how each pixel moves from one frame to the next.
Click to reveal answer
intermediate
Name two common assumptions made when computing optical flow.
1. Brightness constancy: pixel brightness stays the same between frames. 2. Small motion: objects move only a little between frames.
Click to reveal answer
beginner
How is optical flow useful in real life?
It helps in video stabilization, object tracking, autonomous driving, and motion detection by understanding how things move in videos.
Click to reveal answer
intermediate
What is the difference between dense and sparse optical flow?
Dense optical flow computes motion for every pixel, while sparse optical flow computes motion only for selected points or features.
Click to reveal answer
What does optical flow primarily measure?
AColor changes in images
BShape of objects
CBrightness of a single frame
DMotion of pixels between frames
✗ Incorrect
Optical flow measures how pixels move from one frame to the next, showing motion.
Which assumption is essential for computing optical flow?
ABrightness constancy
BColor constancy
CShape constancy
DTexture constancy
✗ Incorrect
Brightness constancy means pixel brightness stays the same between frames, which is key for optical flow.
Dense optical flow calculates motion for:
AEvery pixel
BNo pixels
CRandom pixels
DOnly corners
✗ Incorrect
Dense optical flow finds motion vectors for every pixel in the image.
Optical flow can be used for:
AAdding noise
BChanging image colors
CVideo stabilization
DCropping images
✗ Incorrect
Optical flow helps stabilize videos by understanding motion between frames.
Which is NOT a typical use of optical flow?
AMotion detection
BImage compression
CObject tracking
DAutonomous driving
✗ Incorrect
Image compression is not a typical use of optical flow.
Explain what optical flow is and why it is important in video analysis.
Think about how we see movement in videos and how computers can detect it.
You got /3 concepts.
Describe the main assumptions behind optical flow calculation and how they help estimate motion.
Consider what must stay the same or change little for motion to be detected accurately.
You got /3 concepts.
Practice
(1/5)
1. What does optical flow represent in computer vision?
easy
A. The pattern of apparent motion of objects between two images
B. The color distribution in a single image
C. The brightness level of an image
D. The shape of objects detected in an image
Solution
Step 1: Understand the meaning of optical flow
Optical flow describes how pixels move from one image frame to the next, showing motion.
Step 2: Compare options to definition
Only The pattern of apparent motion of objects between two images correctly describes motion between images, while others describe unrelated image properties.
Final Answer:
The pattern of apparent motion of objects between two images -> Option A
Quick Check:
Optical flow = motion pattern [OK]
Hint: Optical flow = pixel motion between frames [OK]
Common Mistakes:
Confusing optical flow with color or brightness
Thinking optical flow detects object shapes
Assuming optical flow works on single images
2. Which OpenCV function is commonly used to compute dense optical flow using the Farneback method?
easy
A. cv2.calcOpticalFlowPyrLK()
B. cv2.findContours()
C. cv2.threshold()
D. cv2.calcOpticalFlowFarneback()
Solution
Step 1: Recall OpenCV functions for optical flow
Farneback method is implemented in OpenCV as cv2.calcOpticalFlowFarneback().
Step 2: Eliminate unrelated functions
Other options relate to tracking points, contours, or thresholding, not Farneback optical flow.