A dynamical image of is an array of black-and-white images, or frames, of arbitrary dimension. Dynamical images are constructed from gray scale and color images, video sequences etc. A method of topological analysis and decomposition of dynamical images through computation of homology groups of the frames is provided. Each frame is partitioned into a collection of components, which, in turn, have tunnels, voids, and other higher dimensional cycles. The cycles in each frame are linked to the cycles in each adjacent frame to record how they merge and split. Further, the dynamical image is simplified by removing from frames all cycles that are small in terms of length, area, volume, etc, or lifespan. Applications of the method lie in image enhancement and restoration, motion tracking, computer vision, surface and curve reconstruction, scientific image analysis, image recognition and matching.