added a smoothing filter to the illumination invariant transform