From HandWiki - Reading time: 2 min
This article provides insufficient context for those unfamiliar with the subject. (September 2014) (Learn how and when to remove this template message) |
The motion history image (MHI) is a static image template helps in understanding the motion location and path as it progresses.[1] In MHI, the temporal motion information is collapsed into a single image template where intensity is a function of recency of motion. Thus, the MHI pixel intensity is a function of the motion history at that location, where brighter values correspond to a more recent motion. Using MHI, moving parts of a video sequence can be engraved with a single image, from where one can predict the motion flow as well as the moving parts of the video action.
Some important features of the MHI representation are:[2]
for each time t
Bt := absolute_difference(It, It-1) > threshold
end for
for each time t
for each pixel (x, y)
if Bt(x, y) = 1
MHIt(x, y) := τ
else if MHIt-1 ≠ 0
MHIt(x, y) := MHIt-1(x, y) - 1
else
MHIt(x, y) := 0
end if
end for