Thin-film Nitrate Sensor Performance Prediction Based on Pre-processed Sensor Images