Patent ID: 7899259

Claim:
An image processing method for controlling an image processing device comprising: acquiring encoded image data that includes encoded data of a plurality of tiles obtained by segmenting an image into tiles, and encoding the tiles to be decodable at a plurality of resolutions; determining whether encoded data of each tile in the acquired encoded image data consists of data of at least three tile-parts, wherein the at least three tile-parts contains tile-part 0 , tile-part 1 , and tile-part 2 , wherein data of the tile-part 0 contains encoded data of a resolution level 0 , data of the tile-part 1 contains encoded data of resolution levels 1-L (1<L<N), and data of the tile-part 2 contains encoded data of resolution levels L-N (N>L), and wherein a resolution of an image obtained by decoding the data of the tile-parts 0 and 1 is higher than that of an image obtained by decoding the data of the tile-part 0 and a resolution of an image obtained by decoding the data of the tile-parts 0 , 1 , and 2 is higher than that of an image obtained by decoding the data of the tile-parts 0 and 1 ; designating tile-parts, for each tile, to be decoded to obtain an image with a designated resolution; decoding data of the tile-parts designated for each tile, when it is determined that encoded data of each tile in the acquired encoded image data consists of the data of the at least three tile-parts; resizing, as a resized image, an image obtained by decoding the designated tile-parts; outputting the resized image; reconstructing the acquired encoded image data so that encoded data of each tile in the acquired encoded image data consists of the data of the at least three tile-parts, when it is determined that encoded data of each tile in the acquired encoded image data does not consist of the data of the at least three tile-parts; and reconstructing the acquired encoded image data by moving encoded data of at least one resolution level from/to data of the designated tile-parts to/from that of non-designated tile-parts so that a resolution of an image obtained by decoding the designated tile-parts approximates that of the resized image, when it is determined that encoded data of each tile in the acquired encoded image data consists of the data of the at least three tile-parts and enlargement/reduction scale of the resizing is one of 50%, less than 50%, 200%, and more than 200%.