Patent ID: 7616823

Claim:
An image processing method to be executed by an image processing apparatus that holds JPEG 2000 encoded image data, in which the data is segmented into tiles each including a plurality of logical units and has a format that allows a plurality of types of different orders of logical units to be arranged and that transmits data of a logical unit designated by a request from an external apparatus in a tile designated by that request to the external apparatus, comprising: using the image processing apparatus to perform steps including: a history holding step of holding information representing data of a logical unit first transmitted to the external apparatus in response to a request from the external apparatus as a history; a reception step of receiving, from the external apparatus, a transmission request of data of logical units, of the held JPEG 2000 encoded image data, required to obtain a desired image; an acquisition step of analyzing the received transmission request to acquire data of logical units required by the external apparatus from the held JPEG 2000 encoded image data; a determination step of, upon receiving the transmission request in the reception step, analyzing the held history to determine whether or not the transmission request received from the external apparatus in the reception step is a transmission request of data of Layer O: a first transmission step of, when it is determined in the determination step that the transmission request is data of Layer O, determining that a type of progression order used on the external apparatus side is Layer-Resolution-Component-Position and transmitting the data of logical units acquired in the acquisition step as response data to the external apparatus in order of Layer-Resolution-Component-Position; a second transmission step of, when it is determined in the determination step that the transmission request is not data of Layer O but of color component Y, determining that a type of progression order used on the external apparatus side is Component-Position-Resolution-Layer and transmitting the data of logical units acquired in the acquisition step as response data to the external apparatus in order of Component-Position-Resolution-Layer; and a third transmission step of, when it is determined in the determination step that the transmission request is data other than both data of Layer O and data of color component Y, determining that a type of progression order used on the external apparatus side is Resolution-Layer-Component-Position and transmitting the data of logical units acquired in the acquisition step as response data to the external apparatus in order of Resolution-Layer-Component-Position.