The RANSAC method is iteratively applied two times to cover both possible motion patterns of an approaching vehicle and the non-moving motorcycle. If the first fit describes the situation of a motorcycle which is standing still or sx and sy is even downscaling, corresponding motion vectors are removed and a second model is computed. In turn, if the first fit contains an upscaling model, no more iteration is done. The following pseudo-code illustrates this procedure