Patent ID: 7580577

Claim:
An encoded data generation method for generating data encoded in a JPEG2000 format, performed by a client apparatus including storage means for storing fragmentary first encoded data of JPEG2000 encoded data managed by a server apparatus, the method comprising: a calculation step of calculating second encoded data from the JPEG2000 encoded data managed by the server apparatus, wherein the second encoded data is designated as a portion of the JPEG2000 encoded data managed by the server apparatus and excludes the fragmentary first encoded data stored in the storage means; a request step of requesting of the server apparatus the second encoded data calculated in the calculation step; an acquisition step of acquiring the second encoded data from the server apparatus; a storage step of storing in the storage means the second encoded data acquired in the acquisition step; a segmentation step of segmenting the JPEG2000 encoded data managed by the server apparatus into a plurality of tiles, each tile being a unit of display and including a plurality of layers; a first determination step of determining, whether each of the plurality of tiles is a complete tile, wherein each of the plurality of layers of the complete tile is stored in the storage means, or an incomplete tile, wherein at least one of the plurality of layers of the incomplete tile is not stored in the storage means; a second determination step of determining whether each tile determined to be the complete tile in the first determination step includes data encoded in the JPEG2000 format; a removing step of removing, from the storage means, management information for managing each tile determined in the second determination step not to include data encoded in the JPEG2000 format; a first encoding step of encoding, in the JPEG2000 format, data of each tile determined in the second determination step not to include data encoded in the JPEG2000 format; a second encoding step of encoding, in the JPEG2000 format, dummy data in place of layers that are not stored in the storage means for each tile determined in the first determination step to be the incomplete tile, and maintaining in the storage means management information for managing each tile determined in the first determination step to be the incomplete tile; and an output step of outputting data encoded in the first and second encoding steps, the data output in the output step being encoded in the JPEG2000 format.