1. A method of inspecting a web material containing defects, the method comprising: acquiring an image of the web material, the acquired image comprising a plurality of pixels; attenuating the pixels in the acquired image corresponding to a defect free region; obtaining the energy of each pixel; and segmenting the defects.