(EN) A depth estimation method based on light field data distribution, the method including the following steps: S1, adjusting the pixel distribution of image inputted into a light field, and generating a plurality of refocused light field images with different focal lengths; S2, for the plurality of refocused light field images, respectively extracting the intensity range of the same macro-pixel, thereby selecting the refocused light field image corresponding to the smallest intensity range, the focal length of the refocused light field image serves as the scene depth of the macro-pixel; the macro-pixel is corresponding to one point in an actual scene, and the intensity range of the macro-pixel is the variation range of the intensity values of all points in the macro-pixel; and repeating the step S2, obtaining the scene depths of all macro-pixels. The method of the present invention can make full use of the scene textures and spatial information collected by a light field camera such as Lytro, and obtains the estimation of scene depths with abundant details, clear characteristics and high accuracy and consistency.
(FR) L'invention concerne un procédé d'estimation de profondeur reposant sur une distribution de données de champ lumineux, le procédé comprenant les étapes suivantes consistant à : S1, ajuster la distribution de pixels d'une image entrée dans un champ lumineux, et générer une pluralité d'images de champ lumineux refocalisées avec des longueurs focales différentes; S2, pour la pluralité d'images de champ lumineux refocalisées, extraire respectivement la plage d'intensité du même macro-pixel, ce qui permet de sélectionner l'image de champ lumineux refocalisée correspondant à la plus petite plage d'intensité, la longueur focale de l'image de champ lumineux refocalisée servant de profondeur de scène du macro-pixel; le macro-pixel correspond à un point d'une scène réelle, et la plage d'intensité du macro-pixel est la plage de variation des valeurs d'intensité de tous les points dans le macro-pixel; et répéter l'étape S2, pour obtenir les profondeurs de scène de tous les macro-pixels. Le procédé de la présente invention permet une utilisation complète des textures de scène et des informations spatiales collectées par une caméra à champ lumineux telle que Lytro, et obtient l'estimation de profondeurs de scène avec des détails abondants, des caractéristiques nettes et une grande précision et cohérence.
(ZH) 一种基于光场数据分布的深度估计方法,其包括以下步骤:S1、调整输入光场图像的像素分布,生成多个不同焦距的重聚焦光场图像;S2、针对所述多个重聚焦光场图像,分别提取同一个宏像素的强度范围,进而选出最小强度范围对应的重聚焦光场图像,以该重聚焦光场图像的焦距作为该宏像素的场景深度;所述宏像素对应实际场景中的一点,所述宏像素的强度范围为该宏像素内所有点的强度值的变化范围;以及重复所述步骤S2,获得所有宏像素的场景深度。利用本发明的方法能够充分借助类似Lytro等光场相机采集的场景纹理及空间信息,获得细节丰富,特征清晰,准确性、一致性高的场景深度估计。