Rotation invariant characterization of scenes and images