Area-based encoding/decoding device and method
Region-based encoding apparatus and decoding apparatus. The encoding apparatus selects an optimum region division mode from region division modes with respect to regions divided from an image frame, and transmits, to the decoding apparatus, an optimum image filtering method and an optimum filter coefficient of regions divided, according to the optimum region division mode.
1. A decoding method, comprising:
identifying, by a processor, a plurality of regions configuring a plurality of base units, with respect to an image;
identifying, by the processor, a filter type and a filter value for each of a plurality of regions; and
performing, by the processor, filtering for each of the plurality of regions using the filter type and filter value,
wherein
the processor performs filtering for each of the plurality of regions after completion of deblocking filtering with respect to the image, and
the processor applies an offset to each of the plurality of regions by filtering each of the plurality of regions.