Hi,

I would like to calculate how much a special line in the video is
irregularly shifted to right or left. For this I want to compare the
line with the adjacent line above by calculating the minimum of the
quadratic mean for each shift.

I'm first looking for something like:
x:=0; y:=123; diff:= 0; while(x++ < in_w, diff += (luma(x,y) - luma(x,y
- 1))²);

So the first question is: how to get the luma value of a pixel?

Thanks

-Ulf

-- 
Von meinem Seibert gesendet

_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to