Geometric and Photometric Invariant DCT Spectral Feature Tracking for Camera Pose Estimation and Stereo