CPC G06V 10/761 (2022.01) [G06T 3/40 (2013.01); G06V 10/82 (2022.01)] | 20 Claims |
1. An image processing apparatus comprising:
a memory configured to store one or more instructions; and
a processor configured to execute the one or more instructions stored in the memory to:
obtain characteristic information of a first image,
divide the characteristic information into a plurality of groups,
input each group of the plurality of groups into a respective layer of a plurality of layers included in a convolutional neural network and perform a convolution operation using one or more kernels to obtain a plurality of pieces of output information corresponding to the plurality of groups from the plurality of layers,
generate an attention map including weight information corresponding to each pixel of pixels included in the first image, based on the plurality of pieces of output information,
generate a spatially variant kernel including a kernel corresponding to the each pixel, based on the attention map and a spatial kernel including weight information according to a position relationship between the each pixel and a neighboring pixel, and
generate a second image by applying the spatially variant kernel to the first image.
|