The Indus Basin of Pakistan is categorized as petroliferous and is comprised of geological formations ranging from Precambrian to Recent geological time. The basin is further subdivided into two sub-basins: the Upper Indus Basin (Kohat and Potwar sub-basins) and the Lower Indus Basin (Central and Southern sub-basins). In the Upper Indus Basin, the Middle Jurassic Shinawari Formation occurs as a thick, mappable unit, while its analogue in the Lower Indus Basin also consists of clastic and carbonate strata. The methodology adopted to interpret the reservoir characteristics of the Middle Jurassic rocks involves the development of a diagenetic model through petrographic study and software-based image analysis. Petrographic analysis was carried out using polarizing and scanning electron microscopy, while image analysis was performed using the freely available ImageJ software. The petrographic study indicates the presence of micritization, fracturing, vein formation, dolomitization, pyritization, cementation, and compaction, along with their subtypes. These diagenetic features were used to interpret a genetic diagenetic model and its effects on reservoir potential. Furthermore, photomicrographs of these diagenetic features were imported into ImageJ software to estimate porosity and permeability. The combined petrographic and software-based analysis shows that the identified diagenetic features in the Shinawari Formation significantly influence reservoir properties, suggesting that the Middle Jurassic Shinawari Formation has good potential for indigenous hydrocarbons. The current research is correlated with the ArabD Formation to place the findings in a broader regional context, mainly based on reservoir quality characteristics.