Towards a method for obstacle porosity classification