A comparison study of porosity and compressive strength mathematical models with image analysis