Evaluation index of optical flow optical flow estimation

Evaluation index

Endpoint error(EPE)

The calculation is the Euclidean distance between the estimated optical flow and the groundtruth optical flow:
EPE = ( ( uest − ugt ) 2 + ( vest − vgt ) 2 ) EPE = \sqrt{((u_{est} - u_{gt})^ 2 + (v_{est} - v_{gt})^2)}EPE=((ue s tugt)2+(ve s tvgt)2)
This is a relatively common evaluation index, and the mean value of EPE is usually used to evaluate the results of optical flow estimation.

Angular error(AE)

The calculation is the angular error between the optical flow vectors: ( ( u 0 , v 0 , 1 ) (u_0, v_0, 1)(u0,v0,1)表示一个列向量)
A E = arccos ⁡ ( ( u e s t , v e s t , 1 ) T ∗ ( u g t , v g t , 1 ) 1.0 + u e s t ∗ u e s t + v e s t ∗ v e s t 1.0 + u g t ∗ u g t + v g t ∗ v g t ) AE = \arccos(\frac{(u_{est}, v_{est}, 1)^T * (u_{gt}, v_{gt}, 1)}{\sqrt{1.0 + u_{est} * u_{est} + v_{est} * v_{est}} \sqrt{1.0 + u_{gt} * u_{gt} + v_{gt} * v_{gt}}}) AE=arccos(1.0+ue s tue s t+ve s tve s t 1.0+ugtugt+vgtvgt (ue s t,ve s t,1)T(ugt,vgt,1))

Interpolation error(IE)

Interpolation error refers to the root-mean-square(RMS) difference
IE = 1 N ∑ ( x , y ) ( I ( x , y ) − I gt ( x , y ) ) 2 IE = \sqrt{\frac{1}{N} \sum_{(x,y)}(I(x,y) - I_{gt}(x,y))^2}IE=N1(x,y)(I(x,y)Igt(x,y))2
N is the number of pixels. For an RGB image, the L2 norm of the RGB color difference is taken.

Normalized interpolation error(NE)

I E = 1 N ∑ ( x , y ) ( I ( x , y ) − I g t ( x , y ) ) 2 ∣ ∣ ▽ I g t ∣ ∣ 2 + ϵ IE = \sqrt{\frac{1}{N} \sum_{(x,y)} \frac{(I(x,y) - I_{gt}(x,y))^2}{||\bigtriangledown I_{gt}||^2 + \epsilon}} IE=N1(x,y)Igt2+ϵ(I(x,y)Igt(x,y))2
Take ϵ = 1.0 \epsilon=1.0 in the paperϵ=1.0 . _ _ For RGB images, the L2 norm of the vector difference is taken, and the gradients are computed separately.
For the method of obtaining the interpolated image, see 3.3.2 of the paper

Optical Flow Dataset

Middlebury Optical flow dataset 最经典
MPI Sintel Dataset
Robust Vision Challenge
KITTI Flow 2012 evaluation
KITTI Flow 2015 evaluation
Heidelberg HD1K Flow benchmark


参考:
论文 A Database and Evaluation Methodology for Optical Flow
https://vision.middlebury.edu/flow/eval/
https://stackoverflow.com/questions/49699739/what-is-endpoint-error-between-optical-flows
https://github.com/philferriere/tfoptflow/blob/master/README.md

Guess you like

Origin blog.csdn.net/catpico/article/details/122890919