Text this: Digital Petrographic Approach to Carbonate Reservoir Evaluation in MATLAB.