I only have one image 'img', which is up-scaled by interpolation (biliner or bicubic with possible factor of 1.0x, 1.5x, 2x, 3x, etc) from the original image, which size is unknown. How can I estimate scale factor?
Here is my initial idea: do fourier trasnform of 'img', IMG = FFT2(img), check the spectrum at high frequency of IMG. The energy should reduce in high frequency because of interpolation.
The problems is: I still cannot get the scale factor.