You will find MATLAB code for the 2D singularity index. If you use the 2D singularity index code in your research, then please cite the following papers:

1. G. S. Muralidhar, A. C. Bovik, and M. K. Markey. Noise analysis of a new singularity index. IEEE Trans. Signal Process., to appear.

2. G. S. Muralidhar, A. C. Bovik, and M. K. Markey. A steerable, multiscale
singularity index. IEEE Signal Process. Lett., vol. 20, no. 1, pp. 7–10, 2013

3. G. S. Muralidhar, A. C. Bovik, and M. K. Markey. A new singularity index. In IEEE Intl. Conf. Image Proc. IEEE, 2012.