Chronic kidney disease (CKD) is caused by diabetes and hypertension. In 2017, the global prevalence of CKD was 9.1 percent, which is approximately 700 million cases. Chronic kidney damage is assessed by scoring the amount of interstitial fibrosis and tubular atrophy (IFTA) in a renal biopsy sample. Although image digitization and morphometric (measuring external shapes and dimensions) techniques can better quantify the extent of histologic damage, a more widely applicable way to stratify kidney disease severity is needed.