The invention discloses a hardware-oriented joint denoising and
demosaicing method, which comprises the following steps of: 1, calculating accurate weights in left, right, upper and lower directions in a window taking red or blue as a center according to the characteristics of Bayer
Raw data, and interpolating all missing green information; 2, calculating a high-frequency coefficient required for interpolating a green channel; 3, calculating a global direction weight and a voting direction weight; 4, interpolating the green channel; 5, performing edge-preserving direction
wavelet denoising on the green channel; 6, performing interpolation on the color channel by adopting an
interpolation matrix designed for the color channel; and 7, performing direction
wavelet denoising on the color channel. According to the method, in a low-cost range which can be accepted by a mobile hardware platform, the
noise can be removed while the mosaic is removed, so that the
image quality of an existing scheme can be improved, and the operation complexity and the
power consumption are improved.