The invention provides an array image
demosaicing method based on dynamic
convolution and
adaptive coding, which relates to the technical field of
image processing, and comprises the following steps: acquiring single-channel original image data and a corresponding color filtering array arrangement type identifier; converting the arrangement type identifier into a multi-dimensional physical
feature vector, and inputting the multi-dimensional physical
feature vector into a feature processor of a neural
network model to generate
a weighting coefficient vector; carrying out weighted combination on the plurality of special arrangement transformation matrixes through
a weighting coefficient vector to obtain a transformation component, adding the transformation component and a basic
convolution kernel parameter to obtain a dynamic
convolution kernel parameter, and carrying out directional modulation on a specific spatial position of the dynamic convolution kernel parameter based on a direction weight component in a multi-dimensional physical
feature vector; and performing convolution operation on the original image data by using the dynamic convolution kernel parameters, extracting multi-scale features, reconstructing image features, and outputting multi-channel
color image data, so that the method can be adaptive to different
color filter array types, and the
demosaicing precision and generalization capability are improved.