Detecting groundwater flow direction from infrared thermal images