1. Field of the Invention
The present invention relates to an image processing apparatus, an image processing method, and a storage medium storing a computer program thereof, and in particular, to an image processing apparatus and an image processing method for executing color matching processing, and a storage medium storing a computer program thereof.
2. Description of the Related Art
Conventionally, color matching is performed for color management using a color profile (hereinafter, simply referred to as a profile) that describes characteristics of a color space of an input or output device. An outline of conventional color matching using such a profile is as follows.
By using the profile of the input device, input data of a red-green-blue (RGB) or cyan-magenta-yellow-black (CMYK) color space depending on the device is converted into XYZ data or Lab data as color space data independent of the device.
The output device cannot express colors positioned outside the color reproduction range thereof. Therefore, the converted input data is subjected to color space compression so that all colors are included within the color reproduction range of the output device.
After the color space compression, with a profile of the output device, the input data after the color space compression is converted from the color space data independent of the device to RGB or CMYK color space data depending on the output device.
As discussed in Japanese Patent Application Laid-Open No. 2004-023741, a server manages device identification information and a device profile by relating thereof on a network. The server performs color matching processing of image data based on the profile corresponding to a device that requests the image data, and transmits the image data (image data after matching) after the color matching to the device.
A cloud service has started to be provided to perform processing that was executed by a device under a local environment by a server connected to a device as a client via the Internet. It is demanded for the service that a user can easily and quickly acquire a processing result.
If the color matching processing is provided by such a service, by the technique discussed in Japanese Patent Application Laid-Open No. 2004-023741, when the client requests the image data, the color matching processing is executed. Therefore, the time period for acquiring the image data after matching as the processing result by the client is delayed by the time period of the color matching processing.
To improve the problem, the color matching processing allows prior generation of the image data after matching and storage thereof to a database. Further, when receiving a request from the client, the image data after matching may be transmitted to the client.
With the cloud service, a large indefinite number of clients accesses data on the server. Therefore, if the server performs the color matching processing with profiles (e.g., all profiles managed by the server) of accessible clients (output devices), and a plurality of the acquired image data after matching is stored in the server, the server storage area and processing resources are greatly consumed.
According to an aspect of the present invention, an image processing apparatus includes a management unit configured to manage relevant information for associating color reproduction information and user identification information and relevant information for associating the user identification information to each other, an image reception unit configured to receive original image data together with the user identification information, a generation unit configured to generate image data after matching by performing color matching processing on the original image data received by the image reception unit by using the color reproduction information specified based on the user identification information received by the image reception unit and the relevant information managed by the management unit, and a storage unit configured to store the image data after matching generated by the generation unit in a database.
According to the present invention, information for identifying a user is managed by associating thereof to each other. As a consequence, image data for color matching processing can be narrowed, and a server storage area and processing resources can be advantageously used.
Further features and aspects of the present invention will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the invention and, together with the description, serve to explain the principles of the invention.
Various exemplary embodiments, features, and aspects of the invention will be described in detail below with reference to the drawings.
Embodiments of the present invention are described with reference to the drawings.
Image transmission clients (information processing apparatuses) 101, 102, and 103 can upload image data to a server 104 via a network. The image transmission clients 101 to 103 each include a central processing unit (CPU), a read only memory (ROM), a random access memory (RAM), and a hard disk drive (HDD) (not illustrated). The ROM in each of the image transmission clients 101 to 103 stores a program for starting the device of the image transmission clients and a program for functioning the CPU therein as processing units 201 and 202 described below. The CPU in each of the image transmission clients 101 to 103 reads and executes the programs to the RAM therein to execute the processing.
The server (image processing apparatus) 104 receives image data from the image transmission clients 101 to 103. The server 104 includes a CPU, a ROM, a RAM, and an HDD (not illustrated). The ROM in the server 104 stores a start program of the server 104 and a program for executing processing illustrated in flowcharts in
Image reception clients (information processing apparatuses) 105 and 109 transmit an image data request command to the server 104, and receive the color-converted image data. The image reception clients 105 and 109 each contain a CPU, a ROM, a RAM), and an HDD (not illustrated). The ROM in each of the image reception clients 105 and 109 stores a program for starting the image reception clients and a program that causes the CPU therein to function as processing units 210 to 212. The CPU in each of the image reception clients 105 and 109 reads the programs to the RAM therein and executes the read programs to perform the processing. Monitors 106 and 108 or a printer 107 displays or outputs the image data received from the server 104 in response to the commands from the image reception clients 105 and 109.
The user information transmission processing unit 201 is a first relevant information transmission unit. The user information transmission processing unit 201 transmits information for identifying a user (user identification information), information for identifying a device (device identification information), and color reproduction information of the device to the server 104 before transmitting the image data to the server 104. The user identification information, the device identification information, and the color reproduction information are associated to each other. According to the present exemplary embodiment, the user identification information transmitted from the image transmission client 101 is an image transmission client identification (ID). Note that the image transmission client ID is not for specifying the client computer, but for specifying the user, such as a login name of the user, a login ID of the user or the like. Further, the device identification information is a device ID of the image transmission client 101. Furthermore, the color reproduction information of the device is a device profile acquired from the device of the image transmission client 101. In addition, the color reproduction information is the device profile according to the present exemplary embodiment. Alternatively, any color reproduction information may be used as long as the information is related the color reproduction of the device.
After setting the information, the user presses a transmission button on the user interface in
The image transmission processing unit 202 (data transmission unit) transmits the image data together with the image transmission client ID and the device ID to the image reception processing unit 205 in the server 104.
The user information reception processing unit 203 (user information reception unit) receives the image transmission client ID, the device ID of the image transmission client 101, and the device profile of the image transmission client 101, transmitted from the user information transmission processing unit 201 in the image transmission client 101.
The user information reception processing unit 203 also receives information transmitted from the user information transmission processing unit 210 in the image reception client 105. The information transmitted by the user information transmission processing unit 210 in the image reception client 105 includes information (user identification information) for identifying the user of the image reception client 105, information (device identification information) for identifying the device of the image reception client 105, color reproduction information on the device of the image reception client 105, device identification information of a simulation target device, and color reproduction information of the simulation target device. The user identification information can be the image reception client ID. The device identification information can be the device ID of the image reception client 105. The color reproduction information of the device can be the device profile of the image reception client 105. According to the present exemplary embodiment, the device profile of the image reception client 105 is, for example, a monitor profile of the monitor that displays the image data after matching.
The device identification information of the simulation target device is a simulation device ID of the image reception client 105. The color reproduction information of the simulation target device is a simulation device profile (simulation profile) of the image reception client 105. According to the present exemplary embodiment, a simulation profile of the image reception client 105 includes a printer profile of the printer that prints the image data after matching to be described below. As described above, the color reproduction information is the device profile and the simulation profile according to the present exemplary embodiment. Alternatively, any color reproduction information may be used as long as the information is related to the color reproduction of the device.
A user information storage processing unit 204 (management unit) stores information received by the user information reception processing unit 203 to the database. The user information storage processing unit 204 has a function for storing the information received by the user information reception processing unit 203, as associated tables (a table of the image transmission client ID to the image reception client ID, a table of the image transmission client ID to the device profile, and a table of the image reception client ID to the device profile), to the database in the server 104.
The image reception processing unit 205 (image reception unit) receives the data transmitted from the image transmission processing unit 202 in the image transmission client 101. The data format of the received data is as illustrated in
The color matching processing unit 206 (generation unit) performs the color matching of the image data stored in the image storage processing unit 207.
In step S1101, the image data stored in the image storage processing unit 207 (storage unit), the image transmission client ID related to the image data, and the device ID are acquired from an image table corresponding to the user in the data format in
In step S1102, the image reception client ID related to the acquired image transmission client ID is acquired by referring to the table of the image transmission client ID to the image reception client ID. If there is no image reception client ID related to the acquired image transmission client ID (NO in step S1102), the color matching processing is not performed and the color matching processing unit 206 ends the processing.
If there is at least one corresponding image reception client ID related to the acquired image transmission client ID (YES in step S1102), in step S1103, the image transmission client ID acquired in step S1101 and the device profile related to the device ID are acquired by referring to the transmission device table.
In step S1104, it is determined whether the table of the image reception client id to the device profile includes corresponding line of unprocessed image reception client id. In other words, in step S1104, it is determined whether the image reception client IDs acquired in step S1102 include an unprocessed image reception client ID. If the image reception client IDs do not include the unprocessed image reception client ID (NO in step S1104), the color matching processing ends.
If the image reception client IDs include the unprocessed image reception client ID (YES in step S1104), in step S1105, a set of the device profile related to the image reception client ID acquired in step S1102 and the simulation profile is acquired by referring to the table of the image reception client ID to the device profile. In step S1106, the color matching processing unit 206 sets the device profile acquired in step S1103 as a source profile (Src), and sets the device profile acquired in step S1105 as a destination profile (Dst), and further sets the simulation profile as a simulation device profile (Sim).
Then, the color matching processing unit 206 performs the color matching processing of the image data (original image data) acquired in step S1101 by using the profiles acquired in steps S1103 and S1105. According to the present exemplary embodiment, in the color matching processing, the color of the image data of the device specified by the device ID of the image transmission client is reproduced by the device ID of the image reception client or the device specified by the simulation device ID.
Instep S1107, image data (image data after matching) on the color matching processed image acquired in the processing in step S1106 is stored to the database, and information on the image data after matching is additionally registered to the after-matching image storage table. Then, the processing returns to step S1104.
According to the present exemplary embodiment, parameters are fixed in the system, except for the profiles (device profile and simulation profile) used by the color matching of the color matching processing unit 206. However, the parameters can be acquired from the image transmission client or the image reception client via the user information transmission processing unit 201 and the user information transmission processing unit 210. The parameters fixed in the system are “Perceptual” in rendering intent according to the present exemplary embodiment.
The image storage processing unit 207 executes processing for storing the data received by the image reception processing unit 205 and processing for storing data after the processing of the color matching processing unit 206.
The image request reception processing unit 208 receives an image request command of the image data after matching from the image request transmission processing unit 211 of the image reception client, and checks whether the image request command is correct. When the image request command is correct, the processing for transmitting the image transmission instruction to the image transmission processing unit 209 is performed.
The image transmission processing unit 209 receives the image transmission command from the image request reception processing unit 208, and further transmits the corresponding image data after matching to the image reception processing unit 212 by referring to the after-matching image storage table. The image data after matching has the matching image reception client ID acquired from the image request reception processing unit 208, device ID of the image reception client, and simulation device ID on the storage table (in
The user information transmission processing unit 210 (second relevant information transmission unit) of the image reception client transmits in advance the user identification information, the device identification information, the color reproduction information of the image reception client to the server 104, and the image transmission client ID (more than one can be transmitted) before requesting the image data after matching to the server 104.
The user identification information, the device identification information, and the color reproduction information are associated. According to the present exemplary embodiment, the user identification information transmitted from the image reception client is the image reception client ID, the device identification information is the device ID of the image reception client, and the color reproduction information of the device is the device profile acquired from the device of the image reception client. According to the present exemplary embodiment, the color reproduction information is the device profile. Any color reproduction information may be used as long as the information is related to the color reproduction of the device.
The user information transmission processing unit 210 transmits the device ID of a simulation target device (e.g., printer) and the device profile of the simulation target device to the server 104 in response to a user request.
The user presses a transmission button on the profile setting window 1201, thereby transmitting the image reception client ID, the device ID and the device profile of the image reception client, and the device ID and the device profile of the simulation target device, and the selected image transmission client ID to the server 104 (user information reception processing unit 203).
The image request transmission processing unit 211 (image requesting unit) requests the image from the image reception client to the server 104.
Processing of the server 104 when the device profile is changed will be described next. The processing is performed on assumption that that the user information storage processing unit 204 has already registered the device profile to the server 104.
The device profile of the image transmission client is changed via the user interface (UI) illustrated in
The device profile changing of the image reception client will be described with reference to
In step S1601, the user information transmission processing unit 210 transmits a request for changing the device profile of the image reception client to the server 104 (user information reception processing unit 203) in response to a user instruction. The server 104 (user information reception processing unit 203) receives the request for changing the profile from the user information transmission processing unit 210 via the interface in
In step S1602, it is determined whether a combination of the image reception client ID and device ID is acquired by referring to the table of the image reception client ID to the device profile. If the combination of the image reception client ID and device ID is acquired by referring to the table of the image reception client ID to the device profile (YES in step S1602), in step S1603, the server 104 (user information storage processing unit 204) updates information on the device profile in the table, related to the acquired image reception client ID and device ID, with the device profile acquired in step S1601.
If the combination of the image reception client ID and device ID is not acquired by referring to the table of the image reception client ID to the device profile (NO in step S1602), the server 104 (user information storage processing unit 204) ends the change processing. Then, the registration processing of the device profile is performed.
After step S1603, in step S1604, it is checked whether the number of non-check lines in the after-matching image storage table is larger than 0 (zero). If the number of non-check lines in the after-matching image storage table is not larger than 0 (NO in step S1604), the server 104 ends the change processing. When changing the simulation profile, processing similar to the change processing of the device profile is also performed. If the number of non-check lines in the after-matching image storage table is larger than 0 (YES in step S1604), in step S1605, the server 104 (color matching processing unit 206) picks a line from non-check lines and checks whether the picked line has the matching image reception client ID and device ID acquired in step S1601 by referring to the after-matching image storage table. If the server 104 (color matching processing unit 206) checks the picked line does not have the matching image reception client ID and device ID (NO in step S1605), instep S1606, the number of non-check lines is decremented.
If the server 104 (color matching processing unit 206) has found the line having the matching acquired image reception client ID and device ID (YES in step S1605), in step S1607, the server 104 (color matching processing unit 206) deletes the image data after matching in the after-matching image storage table. In step S1608, the server 104 (color matching processing unit 206) performs the color matching processing of the original image data with another information.
The profile used for the color matching processing is the device profiles acquired from the table of “the image transmission client ID to the device profile” and “the table of the image reception client ID to the device profile” based on information on the matched line.
The device profile acquired from the table of “the image transmission client ID to the device profile” is the device profile specified by the image transmission client ID and device ID of the image transmission client in the matched line.
The device profile acquired from the table of “the image reception client ID to the device profile” is the device profile specified by the image reception client ID and device ID of the image reception client in the matched line and the simulation profile specified by the simulation device ID.
In step S1609, the server 104 (color matching processing unit 206) stores the image data after matching. Then, the server 104 (image storage processing unit 207) updates the after-matching image storage table. If the line in which the acquired image reception client ID and the device ID of the image reception client is not found (No in step S1604), the processing ends.
When the simulation profile is changed, similar processing to the processing when the device profile is changed.
According to a second exemplary embodiment, the client computer including both/either the user information transmission processing unit 201 and/or the user information transmission processing unit 210 according to the first exemplary embodiment is defined as the user information transmission client 1810, 1811, 1812, as shown in
According to a third exemplary embodiment,
A system information transmission processing unit 1901 is included in each of the image transmission client, the image reception client, and the user information transmission client. The system information transmission processing unit 1901 transmits information on an image storage period to the server 104 via a user interface for setting an image storage period illustrated in
A system information reception processing unit 1902 (period information reception unit) receives the information on the image storage period transmitted from the system information transmission processing unit 1901, and transmits the received information to a system information storage processing unit 1903.
The system information storage processing unit 1903 stores the information on the image storage period transmitted from the system information reception processing unit 1902 to the server 104, and transmits the information on the image storage period to the image storage processing unit 207 in response to a request therefrom.
The image storage processing unit 207 performs the following processing in addition to the processing according to the first exemplary embodiment. That is, the image storage processing unit 207 stores the information received from the image reception processing unit 205 and the reception date and time of the received image.
Although the original image storage table in
The image storage processing unit 207 acquires the information on the image storage period from the system information storage processing unit 1903 for each predetermined period. Then, the image storage processing unit 207 deletes lines having information of which the image storage period is elapsed from the original image storage table in
The image storage processing unit 207 searches for the image data after matching about the deleted original image from the after-matching image storage table in
According to the exemplary embodiments described above, the database is in the HDD of the server 104. However, the present invention is not limited to this. For example, the database may be provided in an external file server connected to the server 104 via a local network.
The present invention is realized by executing the following processing. That is, the processing is performed by supplying software (computer program) for realizing the functions according to the exemplary embodiments to a system or an apparatus via a network or various storage media (e.g., a computer readable storage medium), and reading and executing the program by a computer (or a CPU, a micro processing unit (MPU), and/or the like) of the system or the apparatus.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all modifications, equivalent structures, and functions.
This application claims priority from Japanese Patent Application No. 2011-047912 filed Mar. 4, 2011, which is hereby incorporated by reference herein in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
2011-047912 | Mar 2011 | JP | national |