Files
opencv-MIRROR/modules
Bo-Cing Wu 70fd477b5a Merge pull request #30100 from 47022578z-collab:fix-farneback-initial-flow-5.x
video: add input validation for OPTFLOW_USE_INITIAL_FLOW in calcOpticalFlowFarneback (port to 5.x) - #30100

This is a port of #30086 to the 5.x branch.

Added `CV_Assert` validation for `OPTFLOW_USE_INITIAL_FLOW` in `calcOpticalFlowFarneback` to ensure the initial flow matrix is not empty, matches the input size, and has the correct type (`CV_32FC2`). Also added corresponding unit tests in `test_OF_accuracy.cpp`.
2026-09-30 16:53:08 +03:00
..
2026-09-23 14:28:55 +02:00
2026-07-09 12:17:24 +03:00
2026-07-09 12:17:24 +03:00
2026-09-23 14:28:55 +02:00
2026-09-23 11:18:41 +02:00
2026-08-19 17:38:39 +02:00