Computer aided determination of porosity in sintered steels