the invention discloses an image processing apparatus and method . the method of the invention first splits the image into a green color plane , a red color plane and a blue color plane . afterward , each one of the green color plane , the red color plane and the blue color plane is sequentially masked by a working window , such that each of the pixels on the one color plane is sequentially located at the center of the working window and referred to as a central pixel . then , the pixels other than the central pixel in the working window are classified into edge pixels and non - edge pixels . finally , a filtered central pixel is calculated according to a formula , and the central pixel is replaced with the filtered central pixel , whereby the noises of the image remained in the cfa domain are suppressed .