Illumination and Rotation Invariant Object Recognition