Understanding image sequences : the role of ontologies in cognitive vision