1. A method for demosaicing an image comprising a first plurality of pixels associated with a first color component and a second color component and a second plurality of pixels associated with, at least, a third color component, said method comprising: a) interpolating, in a first direction, missing values in said third color component; b) interpolating, in a second direction, missing values in said third color component; c) interpolating missing values in said first color component using said first-direction-interpolated third-color-component values when a first criterion comprising a first gradient-strength measure associated with said first direction and a second gradient-strength measure associated with said second direction is met; and d) interpolating missing values in said first color component using said second-direction-interpolated third-color-component values when a second criterion comprising said first gradient-strength measure associated with said first direction and said second gradient-strength measure associated with said second direction is met.