A three-dimensional scene sensor comprising: - a deformable optic allowing the focal distance to be modified as a function of a control signal; - said optic imaging said scene on an analogue image sensor for a plurality of depths that correspond to a plurality of focal distance values (fn); - said analogue image sensor carrying out an image acquisition (In) for each focal distance value (fn); - the images (In) being analysed so as to determine at least one item of depth information; - said analogue image sensor comprising a matrix of pixels, said pixels being grouped into sub-matrices called macropixels made up of a sub-set of pixels, each macropixel operating independently of its neighbours for acquiting and reading data of said pixels for each image portion, an image portion respectively being associated with a macropixel; - a two-dimensional matrix of elementary processors, each macropixel being directly connected to a dedicated elementary processor via an interface so that the pixel data relating to said pixels belonging to said macropixel are transmitted and processed by said processor; - each of said elementary processors comprising a local memory, a neighbourhood manager and a plurality of local processing units so as to carry out, for each of the pixels of the macropixel to which said processor is connected and for each image portion, local processing operations taking into account the neighbouring pixels, said local processing allowing the depth information of said macropixel to be computed; said processors operating in parallel and independently of each other so that, for each image portion, the depth information is processed and computed in parallel and independently on all of the macropixels of said image sensor; - each elementary processor being capable of modifying certain parameters of said image sensor that correspond to the associated macropixel; - said processors being capable of being connected to at least one processing unit allowing computations to be carried out on the basis of enhanced input data that is obtained on the basis of depth information computed by said elementary processors. - a deformable optic allowing the focal distance to be modified as a function of a control signal; - said optic imaging said scene on an analogue image sensor for a plurality of depths that correspond to a plurality of focal distance values (fn); - said analogue image sensor carrying out an image acquisition (In) for each focal distance value (fn); - the images (In) being analysed so as to determine at least one item of depth information; - said analogue image sensor comprising a matrix of pixels, said pixels being grouped into sub-matrices called macropixels made up of a sub-set of pixels, each macropixel operating independently of its neighbours for acquiting and reading data of said pixels for each image portion, an image portion respectively being associated with a macropixel; - a two-dimensional matrix of elementary processors, each macropixel being directly connected to a dedicated elementary processor via an interface so that the pixel data relating to said pixels belonging to said macropixel are transmitted and processed by said processor; - each of said elementary processors comprising a local memory, a neighbourhood manager and a plurality of local processing units so as to carry out, for each of the pixels of the macropixel to which said processor is connected and for each image portion, local processing operations taking into account the neighbouring pixels, said local processing allowing the depth information of said macropixel to be computed; said processors operating in parallel and independently of each other so that, for each image portion, the depth information is processed and computed in parallel and independently on all of the macropixels of said image sensor; - each elementary processor being capable of modifying certain parameters of said image sensor that correspond to the associated macropixel; - said processors being capable of being connected to at least one processing unit allowing computations to be carried out on the basis of enhanced input data that is obtained on the basis of depth information computed by said elementary processors.