RTIM Hashing: Robust and Compact Video Hashing With a Rotation- and Translation-Invariant Model