Self-similarity and Spectral Correlation Adaptive Algorithm for Color Demosaicking