Text this: Geostatistics and digital image analysis for optimizing rice production