FIELD: image processing means.SUBSTANCE: invention relates to encoding images. Image encoding device that divides the difference information between an image that is an object of encoding and an image that is an object of prediction into multiple subblocks and coding a divided subblock in a given order contains: coding block of information about a significant subblock indicating the 0 equality of all or not all values of the difference coefficients related to the subblock being the object of coding; coding block of information about a significant difference coefficient indicating the equality or inequality 0 of the value of the difference coefficient; coding unit of the value of the difference coefficient and the context extraction unit, which extracts the context for encoding information about the significant difference coefficient that is the object of encoding, based on the sum of the horizontal position and the vertical position of the difference coefficient in the subunit that is the object of encoding, and at least one of: (1) information on the relevant subblock of coded subunits adjacent to the subunit being encoding, (2) information about significant difference coefficients related to coded subunits adjacent to the subunit being encoding, and (3) the values of the difference coefficients related to the coded subunits adjacent to the subunit being the object of coding.EFFECT: improving the efficiency of image coding.3 cl, 20 dwg
PICTURE CODING DEVICE, PICTURE CODING METHOD AND NON-TRANSITORY COMPUTER READABLE RECORDING MEDIUM