Detection and characterization of penetrating pores in porous materials