Characterization of pore structure in tablets using image analysis door