Upscaling of Digital Rock Porosities by Correlation With Whole-Core CT-Scan Histograms