摘要 |
In one embodiment, it is proposed a method for obtaining a refocused image from 4D raw light field data for a given focus plane value g. The method is executed by an electronic device and is remarkable in that it comprises determining at least one pixel value, for at least one color component, of said refocused image at coordinates ( k, l ) E N 2 , said determining comprising:
obtaining at least one projected pixel value with coordinates comprised in a neighborhood of said coordinates (k, l ) , for said at least one color component;
weighting said at least one projected pixel value based on a function, said weighting outputting a weighted value;
updating said at least one pixel value, for said at least one color component, of said refocused image at coordinates ( k , l ) with said weighted value. |