Color images in single-chip digital cameras are obtained by interpolating mosaiced color samples. These samples are encoded in a single-chip charge-coupled device by sampling the light after it passes through a color filter array (CFA) that contains different color filters (i.e., red, green, and blue) placed in some pattern. The resulting sparsely sampled images of the three-color planes are interpolated to obtain the complete color image. Interpolation usually introduces color artifacts due to the phase-shifted, aliased signals introduced by the sparse sampling of the CFAs. This paper introduces a nonlinear interpolation scheme based on edge information that produces high-quality visual results. The new method is especially good at reconstructing the image around edges, a place where the visual human system is most sensitive.