Downscaling-based segmentation for unresolved images of highly heterogeneous granular porous samples