Algorithm 1 Estimating Homography for a Foreground in Current Frame |
Input: Infrared foreground: . visible foreground: . Moving state: . |
Reservoir group: . Previous homography group: . Global matrix:
|
Output: current frame-wide homography group:
|
Proceduce Homography estimation |
If
|
,
|
If
end if;
|
If
end if; |
If
end if;
|
|
|
Else |
|
For
do
|
,
|
,
|
|
End for
|
End if |
End proceduce |