Data processing and image analysis