Image processing of geological data