A two step neural method for impulse noise detection and reduction from digital images