1. A method for the detection of texture of a digital image, comprising: receiving image data of the image from Bayer image sensors; determining a noise level in the image data; determining a texture value representing a degree of texture based on the determined noise without using a high pass filter or a low pass filter; providing a first sub-mask centered on a center pixel, wherein the first sub-mask comprises Bayer samples; interpolating over the pixel locations of the Bayer samples to obtain three interpolated sub-masks; and determining the texture from a texture measure for each of the first sub-mask and the three interpolated sub-masks.