Patent attributes
A processor obtains pieces of coded data, which are included in a bitstream and generated by coding tiles, and tile boundary independence information, which indicates whether each boundary between the tiles is a first or second boundary. Image data of a first tile is generated by decoding a first code string included in first coded data with reference to decoding information of a decoded tile when the tile boundary independence information indicates the first boundary, and by decoding the first code string without referring to the decoding information when the tile boundary independence information indicates the second boundary. A bit string is added after the first code string to make a bit length of first coded data a multiple of a predetermined N bits, with N being an integer greater than or equal to 2.