Holistic representations of natural scenes are an effective and powerful source of information for semantic classification and analysis of arbitrary images. Recently, the frequency domain has been successfully exploited to holistically encode the content of natural scenes in order to obtain a robust representation for scene classification. Despite the technological hardware and software advances, consumer single sensor imaging devices technology are quite far from the ability of recognize scenes and/or to exploit the visual content during (or after) acquisition time. In this paper we consider the properties of the scenes regarding its naturalness. The proposed method exploits a holistic representation of the scene obtained directly in the DCT domain and fully compatible with the JPEG format. Experimental results confirm the effectiveness of the proposed method.