Segmentation and Recognition of Petroglyphs Using Generic Fourier Descriptors