A transmitter comprising an input (1) for 2D image data and a converter to convert the input 2D image data into 3D image data, the converter comprising a focus information extractor (3) for extracting focus information from the 2D image data, wherein the device comprises a clusterer (4) for clustering the image on the basis of focus characteristics into two or more regions (C1, C2) having a focusing characteristic (σ1, σ2), a determinator (6) for determining to which region of the image an edge separating two regions belongs, a depth orderer (7) for depth ordering of the regions following the rule that a region comprising an edge is closer to the viewer than an adjacent region and an output (9) for outputting the 3D image signal wherein to the regions 3-D depth information is assigned in accordance with the established depth order of the regions.