1. A method of processing an image, the method comprising: offsetting aliasing by analyzing frequency characteristics of at least one color channel and a near-infrared (NIR) channel, of a multi-spectral filter array (MSFA) pattern image; generating a high resolution base image by amplifying resolutions of the at least one color channel and the NIR channel, from which the aliasing is removed, up to a resolution of a base image using a windowed-sinc function; and offsetting an artifact from the high resolution base image by weighting and combining the high resolution base image and a blur image obtained by blurring the high resolution base image, based on a pixel difference value between the blur image and the high resolution base image, wherein a cutoff frequency w c of the windowed-sinc function is set based on a tanh function using a local variance of the MSFA pattern image as a variable.