We propose a novel method to characterize the fluid-filled (usually air or water) space in images of porous media at the pore scale. First, an aperture map is created based on a skeleton process, to describe all local sizes in the pore space. Then the pore space is segmented in pores, defined as elementary objects that compose the pore space. Using this segmented image, a pore network is created, which is a graphic representation of the pore space that includes local sizes and direct information about connectivity at the pore scale. As an application of this method for pore space modelling, the equivalent hydraulic conductivity or permeability for a soil sample is computed.