Friday, June 4, 2010

video cropping







Velocity

    calculate the middle mass in frame 1

    wait X seconds

    calculate the middle mass in frame 2

    speed = (mm_frame_1 - mm_frame_2) * distance / per_pixel



Lens radial distortion can be modelled by the following equations:

    x_actual = xd * (1 + distortion_constant * (xd^2 + yd^2))
    y_actual = yd * (1 + distortion_constant * (xd^2 + yd^2))

No comments:

Post a Comment