We propose a novel demosaicking method based on the linearity property of a local color distribution. With the proposed technique, the color filter array can be demosaicked with less “confetti” types of errors and fringe artifacts than many current demosaicking methods. Furthermore, edge details are well preserved.