Adaptive image and video retargeting technique based on Fourier analysis