Patent attributes
Methods and apparatuses for image encoding and image decoding are provided. The image decoding method includes: obtaining deep neural network (DNN) update permission information indicating whether one or more pieces of DNN setting information are updated; based on the DNN update permission information indicating that the one or more pieces of the DNN setting information are updated, obtaining DNN update information necessary for determining one or more pieces of the DNN setting information that are updated; determining the one or more pieces of the updated DNN setting information according to the DNN update information; and obtaining a third image by performing artificial intelligence (AI) up-scaling on a second image according to the one or more pieces of the updated DNN setting information.