AUTOMATIC ORIENTATION OF IMAGE SEQUENCES IN CULTURAL HERITAGE