CN1849830A - Image processing device and image processing method - Google Patents

Image processing device and image processing method Download PDF

Info

Publication number
CN1849830A
CN1849830A CN 200480025894 CN200480025894A CN1849830A CN 1849830 A CN1849830 A CN 1849830A CN 200480025894 CN200480025894 CN 200480025894 CN 200480025894 A CN200480025894 A CN 200480025894A CN 1849830 A CN1849830 A CN 1849830A
Authority
CN
China
Prior art keywords
data
decorative picture
image data
picture data
image processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200480025894
Other languages
Chinese (zh)
Inventor
锹田直树
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Publication of CN1849830A publication Critical patent/CN1849830A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Processing (AREA)

Abstract

A CPU (200) acquires and analyzes one or more imaging data GD to be attached to decoration image data FD. The CPU (200) acquires desired decoration image data FD, analyzes the decoration image data FD, and acquires color distribution characteristic (representative color Fc). The CPU (200) decides an analysis compensation amount from the analysis result of the imaging data GD, corrects the analysis compensation amount according to the color distribution characteristic acquired, and decides the color balance correction compensation amount. The CPU (200) applies the decided color balance correction compensation amount to the imaging data GD so as to adjust the color balance of the imaging data GD and generate image data to be attached, for output, to the decoration image data FD according to the layout control information LI.

Description

Image processing apparatus and image processing method
Technical field
The present invention relates to according to the layout control information, the allocation position of the decorative picture data that regulation is decorated view data and the view data of configuration sized are implemented the technology of image processing.
Background technology
Now for following technology practicability: with respect to the decorative picture data, for example the decorative picture data post of box type is attached to the configuration image data that attach in the decorative picture data, photographed images data for example will be outputed on the paper medium by the output image that decorative picture surrounds configuration image.In this technology, when attaching the configuration image data, use by recording and narrating the layout control information that the script file of configuration image data with respect to the allocation position of decorative picture data and configuration sized constitutes with respect to the decorative picture data.
The layout control information is related with each decorative picture data, the user is as long as select the configuration image data of decorative picture data and attaching, just the configuration image data post that is resized to preliminary dimension can be attached on the precalculated position of decorative picture data, the configuration image that can access decorated image encirclement is as output image.
But, in existing above-mentioned technology, because can not be to being configured in the configuration image data in the decorative picture data, implement to consider the image quality characteristics of decorative picture data, for example, the picture quality adjustment of lightness, bright degree, tone is handled, so the color contrast of decorative picture data and configuration image data is unsuitable.
Summary of the invention
The present invention proposes in order to satisfy above-mentioned requirements just, and its purpose is so that with respect to the suitable mode of color contrast of the configuration image data of decorative picture data, adjust the color balance degree of configuration image data.The objective of the invention is to so that, adjust the color balance degree of configuration image data with respect to the suitable mode of lightness contrast of the configuration image data of decorative picture data again.
In order to solve above-mentioned problem, the 1st mode of the present invention provides a kind of image processing apparatus, and the configuration image data that are configured in the decorative picture data are implemented image processing.The image processing apparatus of relevant the present invention's the 1st mode comprises: the decorative picture data obtain parts, and it obtains described decorative picture data; The configuration image data obtain parts, and it obtains the described configuration image data that the described allocation position for described decorative picture data should dispose; The layout control information obtains parts, and it obtains the layout control information, and this layout control information is related with described decorative picture data, and stipulates the allocation position and the configuration sized of described configuration image data; Decorative picture look distribution character is obtained parts, and it obtains the look distribution character of the described decorative picture data that obtain; Picture quality is adjusted processing unit, and it adjusts the color balance degree of described configuration image data according to the described look distribution character of obtaining; Generate parts with output image data, it adopts described layout control information, from described configuration image data and the described decorative picture data of having adjusted the color balance degree, generates output image data.
Image processing apparatus according to relevant the present invention's the 1st mode, because can be according to the look distribution character of the decorative picture data that obtain, adjust the color balance degree of configuration image data, so can be so that the configuration image data with respect to the color contrast suitable manner of decorative picture data, are adjusted the color balance degree of configuration image data.
In the image processing apparatus of relevant the present invention's the 1st mode, also can implement the color balance degree of described configuration image data is adjusted according to the mode of the color contrast that increases described decorative picture data and described configuration image data; Perhaps also can implement the color balance degree of described configuration image data is adjusted according to the mode of the color contrast that reduces described decorative picture data and described configuration image data.In the former situation, because can generate the photographed images output image data that decorated image did not bury, so can access the photographed images big with respect to the color contrast of decorative picture.In the latter's situation, because can generate the output image data of mediation photographed images and decorative picture (allowing it have same look tendency), so can access the photographed images little with respect to the color contrast of decorative picture.
In the image processing apparatus of relevant the present invention's the 1st mode, also may further include: resolve correcting value decision parts, its parsing is configured in the described configuration image data in the described decorative picture data, and decision is about the parsing correcting value of color balance degree; With color balance degree correction correcting value decision parts, it revises the parsing correcting value of described decision according to the described look distribution character of obtaining, decision color balance degree correction correcting value; Be suitable for the color balance degree correction correcting value of described decision, implement the color balance degree of described configuration image data is adjusted.In this case, color balance degree for the configuration image data, can utilize parsing correcting value that the color balance degree of configuration image data is suitably changed, and can obtain revising the color balance degree correction correcting value of resolving correcting value according to the look distribution character of decorative picture data based on the analysis result of configuration image data.So, can be with suitableization of the color balance degree of realizing the configuration image data, and the configuration image data are adjusted the color balance degree of configuration image data with respect to both modes of suitableization of the color contrast of decorative picture data.
In the image processing apparatus of relevant the present invention's the 1st mode, also can determine described color balance degree correction correcting value by the described parsing correcting value of mode correction according to the color contrast that increases described decorative picture data and described configuration image data; Perhaps also can determine described color balance degree correction correcting value by according to the described parsing correcting value of the mode correction of the color contrast that reduces described decorative picture data and described configuration image data.In the former situation, because can generate the photographed images output image data that decorated image did not bury, so can access the photographed images big with respect to the color contrast of decorative picture.In the latter's situation, because can generate the output image data of mediation photographed images and decorative picture (allowing it have same look tendency), so can access the photographed images little with respect to the color contrast of decorative picture.
In the image processing apparatus of relevant the present invention's the 1st mode, also can obtain the look distribution character of described decorative picture data by resolving described decorative picture data.In this case, can adjust the picture quality of configuration image data in mode with respect to decorative picture data arbitrarily with suitable color contrast.
In the image processing apparatus of relevant the present invention's the 1st mode, also can in described layout control information, record and narrate the look distribution character that described decorative picture data are arranged; Obtain the look distribution character of described decorative picture data from described layout control information.In this case, can adjust the picture quality of configuration image data easily and promptly in mode with suitable color contrast.
The present invention's the 2nd mode provides a kind of image processing method, and the configuration image data that are configured in the decorative picture data are implemented image processing.The image processing method of relevant the present invention's the 2nd mode may further comprise the steps: obtain described decorative picture data; Obtain the described configuration image data that the described allocation position for described decorative picture data should dispose; Obtain related with described decorative picture data and the allocation position that stipulate described configuration image data and the layout control information of configuration sized; Obtain the look distribution character of the described decorative picture data that obtain; According to the described look distribution character of obtaining, adjust the color balance degree of described configuration image data; Adopt described layout control information, generate output image data from described configuration image data and the described decorative picture data of having adjusted the color balance degree.
Image processing method according to relevant the present invention's the 2nd mode, can access the same action effect of image processing apparatus with relevant the present invention's the 1st mode, and the image processing method of relevant the present invention's the 2nd mode, same with the image processing apparatus of relevant the present invention's the 1st mode, can enough various ways realize.
In order to solve above-mentioned problem, the present invention's the 3rd mode provides a kind of image processing apparatus, and the configuration image data that are configured in the decorative picture data are implemented image processing.The image processing apparatus of relevant the present invention's the 3rd mode comprises: the decorative picture data obtain parts, and it obtains described decorative picture data; The configuration image data obtain parts, and it obtains the described configuration image data that the described allocation position for described decorative picture data should dispose; The layout control information obtains parts, and it obtains related with described decorative picture data and the allocation position that stipulate described configuration image data and the layout control information of configuration sized; The decorative picture light characteristic obtains parts, and it obtains the light characteristic of the described decorative picture data that obtain; Picture quality is adjusted processing unit, and it adjusts the lightness of described configuration image data according to the described light characteristic that obtains; Generate parts with output image data, it adopts described layout control information, from described configuration image data and the described decorative picture data of having adjusted lightness, generates output image data.
Image processing apparatus according to relevant the present invention's the 3rd mode, because can be according to the light characteristic of the decorative picture data that obtain, adjust the lightness of configuration image data, so can adjust the lightness of configuration image data so that the configuration image data mode suitable with respect to the lightness contrast of decorative picture data.
In the image processing apparatus of relevant the present invention's the 3rd mode, also can implement lightness adjustment according to the mode of the lightness contrast that increases described decorative picture data and described configuration image data to described configuration image data; Perhaps also can implement lightness adjustment according to the mode of the lightness contrast that reduces described decorative picture data and described configuration image data to described configuration image data.In the former situation, because can generate the photographed images output image data that decorated image did not bury, so can access the photographed images big with respect to the lightness contrast of decorative picture.In the latter's situation, because can generate the output image data of mediation photographed images and decorative picture (allowing it have same lightness), so can access the photographed images little with respect to the lightness contrast of decorative picture.
In the image processing apparatus of relevant the present invention's the 3rd mode, also may further include: resolve correcting value decision parts, its parsing is configured in the described configuration image data in the described decorative picture data, and decision is about the parsing correcting value of lightness; With lightness correction correcting value decision parts, it revises the parsing correcting value of described decision according to the described light characteristic that obtains, decision lightness correction correcting value; Be suitable for the lightness correction correcting value of described decision, implement lightness adjustment described configuration image data.In this case, lightness for the configuration image data, can utilize parsing correcting value that the lightness of configuration image data is suitably changed, and can obtain revising the lightness correction correcting value of resolving correcting value according to the light characteristic of decorative picture data based on the analysis result of configuration image data.So, can be with suitableization of the lightness that realizes the configuration image data, and the configuration image data are adjusted the lightness of configuration image data with respect to both modes of suitableization of the lightness contrast of decorative picture data.
In the image processing apparatus of relevant the present invention's the 3rd mode, also can determine described lightness correction correcting value by the described parsing correcting value of mode correction according to the lightness contrast that increases described decorative picture data and described configuration image data; Perhaps also can determine described lightness correction correcting value by according to the described parsing correcting value of the mode correction of the lightness contrast that reduces described decorative picture data and described configuration image data.In the former situation, because can generate the photographed images output image data that decorated image did not bury, so can access the photographed images big with respect to the lightness contrast of decorative picture.In the latter's situation, because can generate the output image data of mediation photographed images and decorative picture (allowing it have same lightness), so can access the photographed images little with respect to the lightness contrast of decorative picture.
In the image processing apparatus of relevant the present invention's the 3rd mode, also can obtain the light characteristic of described decorative picture data by resolving described decorative picture data.In this case, can adjust the picture quality of configuration image data according to mode with respect to decorative picture data arbitrarily with suitable lightness contrast.
In the image processing apparatus of relevant the present invention's the 3rd mode, also can in described layout control information, record and narrate the light characteristic that described decorative picture data are arranged; Obtain the light characteristic of described decorative picture data from described layout control information.In this case, can adjust the picture quality of configuration image data easily and promptly in mode with suitable lightness contrast.
The present invention's the 4th mode provides a kind of image processing method, and the configuration image data that are configured in the decorative picture data are implemented image processing.The image processing method of relevant the present invention's the 4th mode may further comprise the steps: obtain described decorative picture data; Obtain the described configuration image data that the described allocation position for described decorative picture data should dispose; Obtain related with described decorative picture data and the allocation position that stipulate described configuration image data and the layout control information of configuration sized; Obtain the light characteristic of the described decorative picture data that obtain; According to the described light characteristic that obtains, adjust the lightness of described configuration image data; With the described layout control information of employing,, generate output image data from described configuration image data and the described decorative picture data of having adjusted lightness.
Image processing method according to relevant the present invention's the 4th mode, can access the same action effect of image processing apparatus with relevant the present invention's the 3rd mode, and the image processing method of relevant the present invention's the 4th mode, same with the image processing apparatus of relevant the present invention's the 3rd mode, can enough various ways realize.
About the image processing method of the present invention the 2nd and the 4th mode, in addition, also the recording medium that can read as the computer of image processing program and image processing program recorded thereon is realized.
Description of drawings
Fig. 1 is that expression comprises the key diagram that the summary of the image processing system of the image processing apparatus relevant with the 1st embodiment constitutes.
Fig. 2 is the functional block diagram of the personal computer 20 (CPU200) relevant with the 1st embodiment.
Fig. 3 is the flow chart that is illustrated in the handling procedure of the image processing of implementing in the personal computer 20 relevant with the 1st embodiment.
Fig. 4 is the key diagram of the image example of pattern ground expression decorative picture data.
Fig. 5 is the key diagram of the file structure of the pattern ground expression decorative picture file FF that possesses decorative picture data FD and layout control information LI.
Fig. 6 is the key diagram of the file structure of the pattern ground expression photographed images file that possesses photographed images data GD and image processing control information GI.
Fig. 7 is the key diagram that an example of the look distribution character that the result of decorative picture data FD obtains is resolved in expression.
Fig. 8 is the key diagram of an example that expression is used for trying to achieve from the look distribution character value I of decorative picture data FD the curve chart of correction k.
Fig. 9 is illustrated in the key diagram that the color balance degree of implementing among the 1st embodiment is resolved the modification method of correcting value Gc.
Figure 10 is the flow chart that is illustrated in the handling procedure of the image processing of implementing in the personal computer 20 relevant with the 2nd embodiment.
Figure 11 is the key diagram of the file structure of the pattern ground expression decorative picture file FF that possesses decorative picture data FD and layout control information LI.
Figure 12 is the key diagram that an example of the light characteristic that the result of decorative picture data FD obtains is resolved in expression.
Figure 13 is the key diagram that an example of the light characteristic that the result of photographed images data GD obtains is resolved in expression.
Figure 14 is the key diagram of expression to the relation of the input value of lightness correction correcting value γ and output valve.
Embodiment
Below, with reference to accompanying drawing, according to embodiment explanation image processing apparatus and the picture number processing method relevant with the present invention.
The 1st embodiment:
Explanation comprises the image processing system of the image processing apparatus relevant with the 1st embodiment with reference to Fig. 1.Fig. 1 is that expression comprises the key diagram that the summary of the image processing system of the image processing apparatus relevant with the 1st embodiment constitutes.
Image processing system possesses: as the digital still video camera 10 of input unit, it generates view data; As the personal computer 20 of image processing apparatus, it implements image processing according to the view data that is generated by digital still video camera 10, and output image data is exported; With the color printer 30 as output device, it uses the output image data output image.In addition, color printer 30 also can possess the image processing function that personal computer 20 possesses, and in this case, can implement image processing, image output independently.As output device, except printer 30, can also use monitor 25, projecting apparatus of CRT monitor, LCD display etc. etc. again.In the following description, will couple together the color printer 30 that uses as output device with personal computer 20.
Personal computer 20 is personal computers of universal class, possesses: central arithmetic unit (CPU) 200, and its color balance degree of implementing view data is adjusted, the lightness contrast is adjusted, the image processing computing of employing layout control information LI; Random-access memory (ram) 201, the various data of the view data of its temporary transient storage input etc.; Hard disk (HDD) 202 (or read-only memory (ROM)), its storage are used to implement to utilize the program of image processing of layout control information LI and reference table etc.Personal computer 20 in addition, also possesses the memory card slot 203 and the input and output terminal 204 that is used to be connected from the stube cable of digital still video camera 10 etc. that are used to install storage card MC.
Digital still video camera 10 is by making optical information go up the video camera that imaging obtains image at digital device (components of photo-electric conversion that are called CCD and photoelectron-multiplier-tube), possesses: photoelectric conversion circuit, and it possesses the CCD etc. that is used for optical information is transformed into the signal of telecommunication; Image is obtained circuit, and it is used for obtaining image by the control photoelectric conversion circuit; With image processing circuit that is used for the digital picture that processed obtains etc.Digital still video camera 10 is kept at the image obtained among the storage card MC as storage device as numerical data.Preservation form as the photographed images data in digital still video camera 10, generally be as the jpeg data form of non-reversible compression preserving type with as the TIFF data mode of reversible compression preserving type, but also can be enough other the preservation form of RAW data mode, GIF data mode, BMP data mode etc.
Digital still video camera 10, when generating the photographed images data, the shooting information of the imaging conditions that can set when recording and narrating shooting and be stored in the memory of digital still video camera 10 in advance (for example, the image processing control information GI in ROM) is written in the title of photographed images data.Digital still video camera 10 with the photographed images storage that generates in storage card MC etc.Again, digital still video camera 10 also can be stored in memory with decorative picture data FD and the layout control information LI that is used for decorating the view data that obtains by shooting, be written among the storage card MC with the view data that generates by shooting, this layout control information LI specified image data GD is with respect to allocation position, the configuration sized of decorative picture data FD and set up corresponding with the decorative picture data.Decorative picture data FD for example is the data of block diagram picture, attaches the data of the photograph album platform paper image of a plurality of configuration image data, also can be some in data bitmap, the vector data.
Layout control information LI is recorded and narrated by script file, and specified configuration view data GD is with respect to allocation position and the configuration sized of decorative picture data FD.In addition, though describe with the photographed images data instance as the configuration image data in the following description, but the configuration image data so long as the view data that is configured among the decorative picture data FD get final product, comprise the view data that generates by computer graphics, and the view data that is not limited to make a video recording and obtains.In addition, also can be in layout control information LI, representative color information, brightness (luminance) characteristic of regulation decorative picture data FD.Image processing control information GI is the mode that obtains desired output result during with the view data that is generated by the image data generating device arbitrarily of digital still video camera 10 grades from predetermined output device image output, the sample plot information of trying to achieve in advance, record and narrate about with the combination of digital still video camera 10 and output device (for example printer 30) each parameter of specified image quality regularization condition value of trying to achieve in advance correspondingly.
The view data that will generate in digital still video camera 10 for example, through cable CV, computer 20, perhaps sends to color printer 30 through cable CV.Perhaps, through will be in digital still video camera 10 the storage card MC of storing image data be installed in computer 20 in the memory card slot, perhaps, directly be connected with printer 30 by making storage card MC, image file is sent to color printer 30.In addition, in the following description, to the image processing of being implemented view data by personal computer 20, the situation that the view data of finishing processing is outputed to color printer 30 describes.
Color printer 30 is the printers that can export coloured image, for example, be to be injected in by colored prepared Chinese ink to form dot pattern on the print media, form the printer of the ink-jetting style of image dark green (C), peony (M), yellow (Y), the such 4 kinds of colors of black (K).Perhaps, be by color toner transfer printing/photographic fixing is formed the printer of the electrofax mode of image on print media.About colored prepared Chinese ink, except above-mentioned 4 kinds of colors, also can use light greenish blue (LC), light peony (LM), dark yellow (DY).
B. the image processing in the personal computer 20:
With reference to Fig. 2, the summary of the function formation of personal computer 20 (CPU200) is described.Fig. 2 is the functional block diagram of the personal computer 20 (CPU200) relevant with the 2nd embodiment with the 1st embodiment.
Personal computer 20 (CPU200), obtain one or more photographed images data GD that is attached to the decorative picture data FD from a plurality of photographed images data GD that obtain unit input in the photographed images data, the photographed images data GD that obtains by photographed images data parsing unit resolves.CPU200, obtain in the decorative picture data and to obtain desired decorative picture data FD in the unit, obtain the unit by the layout control information and obtain layout control information LI from the decorative picture data FD that obtains, by the decorative picture data FD that decorative picture data parsing unit resolves obtains, obtain light characteristic (mean flow rate Yfm) or look distribution character (representative color Fc).
CPU200, by in resolving correcting value decision unit, resolve correcting value from the analysis result decision of photographed images data GD, the parsing correcting value that is determined by correction correcting value decision unit is revised, decision color balance degree correction correcting value according to the look distribution character of obtaining.CPU200, in the picture quality adjustment unit, the color balance degree correction correcting value of decision is applied to photographed images data GD, adjust the color balance degree of photographed images data GD, by the output image data generation unit, the photographed images data GD that will adjust the color balance degree according to layout control information LI is attached among the decorative picture data FD, generates the view data of output usefulness.Again, CPU200 also can be in user images quality adjustment unit, the input of the keyboard that acceptance is used from the user, the guidance panel of color printer etc. according to the input of accepting, is revised the picture quality of the photographed images data GD that uses color balance degree correction correcting value.
Perhaps, CPU200 in resolving correcting value decision unit, resolves correcting value from the analysis result decision of photographed images data GD, to revising, determine lightness correction correcting value according to the light characteristic that obtains by the parsing correcting value of revising correcting value decision unit decision.CPU200, in the picture quality adjustment unit, the lightness correction correcting value of decision is applied to photographed images data GD, adjust the lightness (brightness) of photographed images data GD, by the output image data generation unit, the photographed images data GD that will adjust lightness according to layout control information LI is attached among the decorative picture data FD, generates the view data of output usefulness.Again, CPU200 also can be in user images quality adjustment unit, the input of the keyboard that acceptance is used from the user, the guidance panel of color printer etc. according to the input of accepting, is revised the picture quality of the photographed images data GD that uses lightness correction correcting value.
With reference to Fig. 3~Fig. 8, the image processing of implementing is described in the personal computer 20 relevant with the 1st embodiment.Fig. 3 is the flow chart that is illustrated in the handling procedure of the image processing of implementing in the personal computer 20 relevant with the 1st embodiment.Fig. 4 is the key diagram of image (image) example of pattern ground expression decorative picture data.Fig. 5 is the key diagram of the file structure of the pattern ground expression decorative picture file FF that possesses decorative picture data FD and layout control information LI.Fig. 6 is the key diagram of the file structure of the pattern ground expression photographed images file that possesses photographed images data GD and image processing control information GI.Fig. 7 is the key diagram that an example of the look distribution character that the result of decorative picture data FD obtains is resolved in expression.Fig. 8 is the key diagram of an example that expression is used for trying to achieve from the look distribution character value I of decorative picture data FD the curve chart of correction k.In addition, the image example of decorative picture data FD is illustrated in the state when launching on the frame buffer conceptually, again, and the state the when file structure of each file is also represented to be stored in the memory conceptually.
The image processing of Shi Shiing in the present embodiment, for example, both can work as when being installed in storage card MC in the personal computer 20, perhaps, when digital still video camera 10 is connected with personal computer 20 through telecommunication cables, also can works as and pass through keyboard etc. and indicate by the user and implement when carrying out image processing.
Personal computer 20 (CPU200) when the beginning image processing, is obtained selected decorative picture data FD, temporarily is stored in (step S100) among the RAM201.The selection of decorative picture data FD for example, also can be carried out on digital still video camera 10, perhaps, also can be on personal computer 20 from be stored in the decorative picture data the HDD202 in advance, select, perhaps, also can select through network through keyboard etc.In addition, decorative picture data FD also can have a plurality of allocation positions that are used to dispose a plurality of photographed images data GD, in the present embodiment, for the purpose of easy explanation, explanation is attached to situation among the decorative picture data FD with 1 allocation position with single (1) photographed images data GD.
Decorative picture data FD, for example, (when frame buffer launches) has form shown in Figure 4 when output image, is ready to the allocation position that one or more are used to attach photographed images data GD.
In the form of the decorative picture file FF that possesses decorative picture data FD and layout control information L1, handle decorative picture data FD.Decorative picture file FF, for example, possesses file structure shown in Figure 5, the allocation position information that layout control information L1 regulation will dispose photographed images data GD (for example, and the configuration sized (adjustment size) of the photographed images data GD in the specified configuration position, further also can stipulate the look distribution character information of decorative picture data FD coordinate information).
Further α channel data (channel data) is recorded and narrated in layout control information L1.The α channel data, for example, be (for example relatively to adjust view data that image is positioned at upper layer side when synthetic, decorative picture data FD) and the view data that is positioned at lower layer side (for example, photographed images data GD) in each gray-level value (R, G, B data value), is used to determine to be positioned at the data of the view data of lower layer side to the permeability of upper layer side view data.For example, if R, G, B data for the upper layer side view data are applied with the form of factor alpha, then R, G, the B data for the lower layer side view data are applied with the form of coefficient (1-α), lower layer side view data (not seeing through) when this value is 255, in composograph, do not occur, when this value is 0, in composograph, occur lower layer side view data (seeing through) fully.By with the arbitrary value in 0~255 the scope, can access the decorative effect of semi-transparent mistake.
Then, CPU200 obtains selected photographed images data GD, temporarily is stored in (step S110) among the RAM201.The selection of photographed images data GD for example, also can be carried out on digital still video camera 10, perhaps, also can be on personal computer 20 carries out through keyboard etc.Generally, as stating, the decorative picture data FD that selects (decision) to use follows, and selection will be configured in the photographed images data GD on each allocation position of decorative picture data FD.
Photographed images data GD for example, as shown in Figure 6, also can form 1 photographed images file GF with image processing control information GI.Image processing control information GI records and narrates in the time of both can having worked as photographed images data GD and have header cell in header cell, further, also can associate by the 3rd associated data and photographed images data GD.
CPU200, the decorative picture data FD that parsing obtains makes the histogram (step S120) of quality distribution character.Specifically, with pixel unit or with suitable pixel separation, scanning constitutes the view data of decorative picture data FD, makes histogram about each composition of R, G, B.CPU200 calculates representative color Fc (step S130) from the histogram of the decorative picture data FD that makes.Specifically, with the histogram that makes each R, G, B composition are tried to achieve the representative color Fc (Rm, Gm, Bm) of median (median) as the decorative picture data FD of this combination.The example of representative color Fc (Rm, Gm, Bm) for example, when 8 tonal gradations, can be got 0~255 value respectively as shown in Figure 7.Also can replace the mean value of median with R, G, each composition of B again.
The photographed images data GD that the CPU200 parsing obtains makes the histogram (step S140) of photographed images data GD.Specifically, CPU200 constitutes photographed images data GD with pixel unit scanning, obtains the image statistics value (image quality characteristics parameter value) of the characteristic of expression photographed images data GD.As the image quality characteristics parameter value, generally for example, try to achieve value, try to achieve the parameter related in the present embodiment with the color balance degree about the parameter of contrast, definition (sharpness), lightness (brightness) and so on, that is, about the histogram of R, G, each composition of B.
Personal computer 20, to image quality characteristics parameter about the color balance degree, the benchmark image mass parameter value that will become benchmark in advance is stored among the HDD202, CPU200, to eliminate or to reduce the image quality characteristics parameter value relevant that obtain by parsing and the mode of the deviation between the benchmark image mass parameter value with the color balance degree, decision is to the correcting value of the image quality characteristics parameter value relevant with the color balance degree, and promptly the color balance degree is resolved correcting value Gc (Ra, Ga, Ba) (step S150).
In order to determine the color balance degree to resolve correcting value Gc, when photographed images data GD is related with image processing control information GI foundation, also can be implemented with image processing control information GI.When as image processing control information GI, record and narrate the image quality characteristics parameter value relevant and the minimizing degree of the deviation between the benchmark image mass parameter value with the color balance degree, during the suitable level of automated graphics quality adjustment amount, replace predefined minimizing degree to determine according to minimizing degree by image processing control information GI regulation.On the other hand, when as image processing control information GI, when recording and narrating the occurrence of the image quality characteristics parameter relevant, the value of recording and narrating is resolved correcting value Gc as the color balance degree with the color balance degree.When with image processing control information GI, can be as the parsing correcting value of the intention that reflects shooting person.
CPU200 calculates color balance degree correction correcting value Mc (Rc, Gc, Bc) (step S160) from representative color Fc and color balance degree parsing correcting value Gc.Specifically, as follows.
(1) when Rm>Gm, Bm (red strong decorative picture data FD), utilizes according to formula
(1) I that obtains tries to achieve correction k from the curve chart of Fig. 8,
I=(Rm-(Gm+Bm)/2)/Rm (1)
Utilize formula (2) to revise the R composition that the color balance degree is resolved correcting value Gc (Ra, Ga, Ba), obtain color balance degree correction correcting value Mc (Rc, Gc, Bc).In addition, 0≤k≤0.4.
Rc=Ra(1+k) (2)
Mc(Rc、Gc、Bc)=(Ra(1+k)、Ga、Ba)
By the modification method of this correcting value, R becomes to be divided into some overcorrects, and as the color balance degree of whole photographed images data GD, R composition (red composition) weakens, the result, and G, B composition strengthen.Fig. 9 with this method of diagram at length describes.Determine the color balance degree to resolve correcting value Gc in the mode that when the R composition is strong, makes the R composition weaken (making fiducial value), make correcting value=0 about G, B composition near the R composition.If according to above-mentioned formula (2), then because only make and resolve correcting value Gc about the color balance degree of the R composition of such decision and further increase, so as a result of, the R composition further weakens.So, the decorative picture data FD strong to the R composition, color contrast strengthens, and as the output result, can access the output image that photographed images does not incorporate decorative picture.
(2) when Gm>Rm, Bm (green strong decorative picture data FD), utilize according to formula
(3) I that obtains tries to achieve correction k from the curve chart of Fig. 8,
I=(Gm-(Rm+Bm)/2)/Gm (3)
Utilize formula (4), (5) to revise the R composition that the color balance degree is resolved correcting value Gc (Ra, Ga, Ba), obtain color balance degree correction correcting value Mc (Rc, Gc, Bc).In addition, 0≤k≤0.4.
Rc=Ra(1-k) (4)
Bc=Ba(1-k) (5)
Mc(Rc、Gc、Bc)=(Ra(1-k)、Ga、Ba(1-k))
By the modification method of this correcting value, the correcting value of R, B composition reduces, and as the color balance degree of whole photographed images data GD, R, B composition strengthen, and relatively, G composition (green composition) weakens.So, the decorative picture data FD strong to the G composition, color contrast strengthens, and as the output result, can access the output image that photographed images does not incorporate decorative picture.
(3) when Bm>Rm, Gm (blue strong decorative picture data FD), utilize according to formula
(6) I that obtains tries to achieve correction k from the curve chart of Fig. 8,
I=(Bm-(Rm+Gm)/2)/Bm (6)
Utilize formula (7) to revise the R composition that the color balance degree is resolved correcting value Gc (Ra, Ga, Ba), obtain color balance degree correction correcting value Mc (Rc, Gc, Bc).In addition, 0≤k≤0.4.
Bc=Ba(1+k) (7)
Mc(Rc、Gc、Bc)=(Ra、Ga、Ba(1+k))
By the modification method of this correcting value, B becomes to be divided into some overcorrects, and as the color balance degree of whole photographed images data GD, B composition (blue composition) weakens, the result, and R, G composition strengthen.So, the decorative picture data FD strong to the B composition, color contrast strengthens, and as the output result, can access the output image that photographed images does not incorporate decorative picture.
CPU200 implements the picture quality adjustment with the color balance degree correction correcting value Mc that calculates to photographed images data GD and handles (step 170).For example, use and the input level of the RGB composition of photographed images data GD and output level are set up corresponding tint ramp (S curve) implement the picture quality adjustment.When adjusting picture quality, color balance degree correction correcting value Mc (Rc, Gc, Bc) is used for each tint ramp of change (skew) R, G, each composition of B with tint ramp.Specifically, on tint ramp, about each image quality parameter, the point of revising correcting value is used in sample plot decision, in the situation of color balance degree for example, the side-play amount of the output level when using color balance degree correction correcting value Mc as input level 0.As a result, passing through a little of the tint ramp of change in this point makes the input-output characteristic change.So, if to photographed images data GD, use after changing R, G, each tint ramp of B, then each composition about the RGB of photographed images data GD carries out the input-output conversion, has obtained adjusting the photographed images data GD of picture quality.In addition, when in image processing control information GI, if when specifying intentional color seepage (color seepage), the automatic adjustment of the preferred unreal bedye degree of balance.In addition, in the picture quality adjustment is handled, also can change color balance degree correction correcting value Mc (Rc, Gc, Bc) by user's decision.The user, for example, through the input unit of personal computer, the guidance panel of color printer 30, Mc revises to color balance degree correction correcting value.
CPU200 according to synthetic (coincidence) decorative picture data FD of layout control information LI and photographed images data GD, generates output image data (step S180).For example, carry out as follows photographed images data GD synthesizing decorative picture data FD.
CPU200, explanation is about the allocation position recorded and narrated in layout control information LI and the script file of configuration sized, according to allocation position and the configuration sized of explanation results decision photographed images data with respect to decorative picture data FD, again, according to the gray-level value of α channel data decision decorative picture data FD, synthetic (coincidence) two view data.CPU200, adjusts the size of (dwindle or amplify) photographed images data according to the configuration sized of each allocation position of recording and narrating in the script file.
The synthetic processing of two images that undertaken by CPU200 for example, can be added up R, G, the B value of photographed images data by the value of using the α channel data of having stated, and R, the G, the B value that obtain output image data are implemented.Promptly, by about the zone of photographed images in output image (synthetic after image), occurring, do not hinder the mode of reproducing photographed images data GD with decorative picture data FD, make that the α channel data is 0, about the zone (decorative zones of decorative picture in output image, occurring, the frame zone), makes that the α channel data is 255, do not allow to reproduce photographed images.
CPU200 outputs to printer driver, display driver (step S190) with output image data, finishes this handling procedure.In printer driver, implement RGB-CMYK look conversion process, halftone process etc. with look-up table etc., for example, output image data is outputed to printer 30 as the raster data of attaching print control command.
As described above, according to personal computer 20 as the image processing apparatus relevant with the 1st embodiment, can judge the tendency of the color and taste of whole decorative picture data FD from the look distribution of decorative picture data FD, correction is resolved correcting value Gc by the color balance degree that the parsing that is configured in the photographed images data GD among the decorative picture data FD obtains, and can access color balance degree correction correcting value Mc.So, by so that the different mode of color and taste (tendency of look) of the color and taste of decorative picture data FD (tendency of look) and photographed images data GD, decision color balance degree correction correcting value Mc, the photographed images in the time of can making output and the colour contrast of decorative picture increase, can access with respect to decorative picture the output result that photographed images is eye-catching.
Again, in above-mentioned the 1st embodiment, CPU200 tries to achieve the color balance degree according to the analysis result of photographed images data GD and resolves correcting value Gc, the representative color Fc of reflection decorative picture data FD, the color balance degree that correction is tried to achieve is resolved correcting value Gc, decision color balance degree correction correcting value Mc uses the color balance degree correction correcting value Mc that is determined, implements the picture quality adjustment and handles.So distribute both picture quality adjustment of the look that can finish to consider the characteristic of photographed images data GD and decorative picture data FD in 1 time is handled.As a result, can not make the deterioration of image quality of the photographed images data GD after the processing, can shorten the time that the picture quality adjustment is handled to be needed.
In addition, in above-mentioned the 1st embodiment, by resolving decorative picture data FD, the look of trying to achieve decorative picture data FD distributes, i.e. representative color Fc, but also can be with the representative color Fc that in layout control information LI, stipulates in advance as representative color information shown in Figure 5.Further, also can in layout control information LI, stipulate correction k.In this case, can skip the dissection process of decorative picture data FD, can be promptly the photographed images data GD of the look characteristic of reflection decorative picture data be implemented the picture quality adjustment and handle.
Variation:
(1) in above-mentioned the 1st embodiment, only photographed images data GD is implemented the picture quality adjustment processing of color balance degree, but in addition, for example, about shade (shadowing), highlighted (highlighting), each picture quality that lightness (brightness), contrast, memory colour are proofreaied and correct is adjusted parameter, obviously also can implement the picture quality adjustment and handle.Can be enough the input level of the RGB composition of photographed images data GD and output level being set up corresponding tint ramp (S curve) implements these picture qualities are adjusted the picture quality adjustment of parameters and handles.Specifically, on tint ramp, about each image quality parameter, the point of revising correcting value is used in the sample plot decision, revises correcting value by using, and passing through a little of the tint ramp of change in this point makes the input-output characteristic change.So, if to photographed images data GD, use after changing R, G, each tint ramp of B, then each composition about the RGB of photographed images data GD carries out the input-output conversion, has obtained adjusting the photographed images data GD of picture quality.
(2) in the 1st embodiment, try to achieve the color balance degree and resolve correcting value Gc, the representative color Fc of reflection decorative picture data FD tries to achieve color balance degree correction correcting value Mc, at last photographed images data GD is practiced the picture quality adjustment processing of color balance degree correction correcting value Mc, but also can followingly implement.
Also can be in the moment of trying to achieve color balance degree parsing correcting value Gc, photographed images data GD is practiced the 1st picture quality adjustment processing that the color balance degree is resolved correcting value Gc, make photographed images data GD standardization, then, according to the representative color Fc of decorative picture data FD, photographed images data GD is implemented the picture quality adjustment handle.In this case, with after fiducial value is consistent,, can implement to reflect that the picture quality adjustment that the look of decorative picture data FD distributes handles in the picture quality that makes photographed images data GD perhaps near after the fiducial value.
The 2nd embodiment:
With reference to the image processing that Figure 10~Figure 14 explanation is implemented in the personal computer 20 relevant with the 2nd embodiment.Figure 10 is the flow chart that is illustrated in the handling procedure of the image processing of implementing in the personal computer 20 relevant with the 2nd embodiment.Figure 11 is the key diagram of the file structure of the pattern ground expression decorative picture file FF that possesses decorative picture data FD and layout control information LI.Figure 12 is the key diagram that an example of the light characteristic that the result of decorative picture data FD obtains is resolved in expression.Figure 13 is the key diagram that an example of the light characteristic that the result of photographed images data GD obtains is resolved in expression.Figure 14 is the key diagram of expression to the relation of the input value of lightness correction correcting value γ and output valve.In addition, the vivid example of decorative picture data FD is the example that is illustrated in the state when launching on the frame buffer conceptually.Again, because the image processing apparatus (personal computer) relevant with the 2nd embodiment possesses and the image processing apparatus same formation relevant with the 1st embodiment, so the additional identical label of identical formation is also omitted its explanation.
The image processing that explanation is implemented in the 2nd embodiment with reference to Figure 10.The image processing of Shi Shiing in the present embodiment, for example, both can work as when being installed in storage card MC in the personal computer 20, perhaps, when being connected with personal computer 20 through telecommunication cable, digital still video camera 10 begins, perhaps, also can work as when carrying out image processing by user's indication and implement through keyboard etc.
Personal computer 20 (CPU200) when the beginning image processing, is obtained selected decorative picture data FD, temporarily is stored in (step S200) among the RAM201.The selection of decorative picture data FD for example, also can be carried out on digital still video camera 10, perhaps, also can be on personal computer 20 from be stored in the decorative picture data the HDD202 in advance, select, perhaps, also can select through network through keyboard etc.In addition, decorative picture data FD is in order to dispose a plurality of photographed images data GD, also can have a plurality of allocation positions, in the present embodiment, for the purpose of easy explanation, explanation is attached to situation among the decorative picture data FD with 1 allocation position with single (1) photographed images data GD.
Decorative picture data FD, for example, (when frame buffer launches) has form shown in Figure 4 when output image, is ready to the allocation position that one or more are used to attach photographed images data GD.
In the form of the decorative picture file FF that possesses decorative picture data FD and layout control information L1, handle decorative picture data FD.Decorative picture file FF, for example, possesses file structure shown in Figure 11, the allocation position information that layout control information L1 regulation will dispose photographed images data GD (for example, and the configuration sized (adjustment size) of the photographed images data GD in the specified configuration position, further also can stipulate the look distribution character information of decorative picture data FD coordinate information).
Further the α channel data is recorded and narrated in layout control information L1.The α channel data, for example, be (for example relatively to adjust view data that image is positioned at upper layer side when synthetic, decorative picture data FD) and the view data that is positioned at lower layer side (for example, photographed images data GD) in each gray-level value (R, G, B data value), is used to determine to be positioned at the data of the view data of lower layer side to the permeability of upper layer side view data.For example, if R, G, B data for the upper layer side view data are applied with the form of factor alpha, then R, G, the B data for the lower layer side view data are applied with the form of coefficient (1-α), lower layer side view data (not seeing through) when this value is 255, in composograph, do not occur, when this value is 0, in composograph, occur lower layer side view data (seeing through) fully.By with the arbitrary value in 0~255 scope, can access the decorative effect of semi-transparent mistake.
Then, CPU200 obtains selected photographed images data GD, temporarily is stored in (step S210) among the RAM201.The selection of photographed images data GD for example, also can be carried out on digital still video camera 10, perhaps, also can be on personal computer 20 carries out through keyboard etc.Generally, as stating, the decorative picture data FD that selects (decision) to use follows, and selection will be configured in the photographed images data GD on each allocation position of decorative picture data FD.
Photographed images data GD for example, as shown in Figure 6, also can form 1 photographed images file GF with image processing control information GI.Image processing control information GI records and narrates in the time of both can having worked as photographed images data GD and have header cell in header cell, further, also can associate by the 3rd associated data and photographed images data GD.
The decorative picture data FD that the CPU200 parsing obtains makes the histogram (step S220) of light characteristic.Specifically, with pixel unit or with suitable pixel separation, scanning constitutes a plurality of pixel datas of decorative picture data FD, makes histogram about brightness (luminance) composition.CPU200 calculates mean flow rate Yfm (step S230) from the histogram of the decorative picture data FD that makes.Specifically, try to achieve the median (median) of brightness Yf with the histogram that makes.The example of histogram, mean flow rate Yfm for example, when 8 tonal gradations, can be got 0~255 value as shown in figure 12.Also can replace the mean value of median about each pixel data again.
The photographed images data GD that the CPU200 parsing obtains as shown in figure 13, makes the histogram (step S240) of the light characteristic of photographed images data GD.Specifically, CPU200 obtains the image statistics value (image quality characteristics parameter value) of the characteristic of expression photographed images data GD with pixel unit scan camera shooting view data GD.As the image quality characteristics parameter value, generally for example, try to achieve value about the parameter of contrast, definition, color balance degree and so on, try to achieve the parameter related in the present embodiment with lightness, that is, and about the histogram of brightness composition.
Personal computer 20, image quality characteristics parameter to brightness, the benchmark image mass parameter value that will become benchmark in advance is stored among the HDD202, CPU200 is with elimination or reduce the image quality characteristics parameter value of the brightness that obtains by parsing and the mode of the deviation between the benchmark image mass parameter value, decision is to the correcting value of the image quality characteristics parameter value of brightness, and promptly lightness is resolved correcting value (correction coefficient) Gy (step S250).Specifically, use the photographed images data mean flow rate Ygm that obtains from histogram shown in Figure 13, try to achieve according to following formula.
Gy=Ygm/Ys
In the formula, Ys is a benchmark image mass parameter value.
In order to determine lightness to resolve correcting value Gy,, also can be implemented with image processing control information GI when photographed images data GD and image processing control information GI establish when related.When as image processing control information GI, when having recorded and narrated the suitable level of minimizing degree, automated graphics quality adjustment amount of the deviation between image quality characteristics parameter value relevant and the benchmark image mass parameter value, replace predefined minimizing degree according to resolving correcting value Gy by the minimizing degree decision lightness of image processing control information GI regulation with brightness.On the other hand, irrelevant when having recorded and narrated the occurrence with the image quality characteristics parameter of brightness when as image processing control information GI with the analysis result of photographed images data GD, the value of recording and narrating is resolved correcting value Gy as lightness.When with image processing control information GI, can be as the parsing correcting value of reflection shooting person intention.
CPU200 calculates lightness correction correcting value (correction coefficient) γ (step S260) from mean flow rate Ymf and lightness parsing correcting value Gy.Specifically, as follows.
DY=(Yfm-Th)·k (8)
In the formula, Th is the threshold value that the light and shade of decorative picture data FD is judged, k is a constant, and k is big more, and the lightness contrast is big more.
γ=Gy+DY/Th (9)
By the modification method of this correcting value, when Ym>Th, that is, when decorative picture data FD is bright,,, proofreaies and correct photographed images data GD and make its deepening so as shown in figure 14 for input value, output valve reduces because lightness correction correcting value γ further increases.On the other hand, when Ym<Th, that is, when decorative picture data FD is dim,,, proofreaies and correct photographed images data GD and make it bright so as shown in figure 14 for input value, output valve increases because lightness correction correcting value γ reduces.
CPU200 implements the picture quality adjustment with the lightness correction correcting value γ that calculates to photographed images data GD and handles (step S270).Picture quality is adjusted, and for example, as shown in figure 14, uses and the input level of the RGB composition of photographed images data GD and output level are set up corresponding tint ramp (S curve) implements.Specifically, use same tint ramp as follows about R, G, each composition of B.
R′=(R/255) γ
G′=(G/255) γ
B′=(B/255) γ
As a result, carry out the input-output conversion, obtained adjusting the photographed images data GD of picture quality about R, the G of photographed images data GD, each composition of B.When lightness correction correcting value γ was bigger than lightness parsing correcting value Gy, because for input value, output valve reduced, so the lightness of photographed images data GD reduces (reduction).So the lightness contrast increases between the photographed images data GD of bright decorative picture data FD and dimness, when output, photographed images does not incorporate decorative picture, can make photographed images eye-catching.
On the other hand, when lightness correction correcting value γ resolved correcting value Gy hour than lightness, because for input value, output valve increases, so the lightness of photographed images data GD increases (rising).So the lightness contrast increases between the decorative picture data FD of dimness and bright photographed images data GD, when output, photographed images does not incorporate decorative picture, can make photographed images eye-catching.In addition, in the picture quality adjustment is handled, also can change determined lightness correction correcting value γ by the user.The user for example, through the input unit of personal computer, the guidance panel of color printer 30, revises lightness correction correcting value γ.
When the picture quality adjustment of the lightness of photographed images data GD was finished dealing with, CPU200 was according to synthetic (coincidences) decorative picture data FD of layout control information LI and photographed images data GD, generation output image data (step S280).Photographed images data GD is synthetic to decorative picture data FD's, for example, carries out as follows.
CPU200 explains about the allocation position of recording and narrating in layout control information LI and the script file of configuration sized, according to allocation position and the configuration sized of explanation results decision to the photographed images data of decorative picture data FD, again, according to the gray-level value of α channel data decision decorative picture data FD, synthetic (coincidence) two view data.CPU200 is according to the configuration sized of each allocation position of recording and narrating in the script file, adjusts the size of (dwindle or amplify) each photographed images data.
The synthetic processing of two view data of being undertaken by CPU200 for example, can be added up R, G, the B value of each photographed images data by the value of using the α channel data of having stated, and R, the G, the B value that obtain output image data are implemented.Promptly, by about the zone of photographed images in output image (synthetic after image), occurring, do not hinder the mode of reproducing photographed images data GD with decorative picture data FD, make that the α channel data is 0, about the zone (decorative zones of decorative picture in output image, occurring, the frame zone), makes that the α channel data is 255, do not allow to reproduce photographed images.
CPU200 outputs to printer driver, display driver (step S290) with output image data, finishes this handling procedure.In printer driver, implement RGB-CMYK look conversion process, halftone process etc. with look-up table etc., for example, output image data is outputed to printer 30 as the raster data of attaching print control command.
As described above, according to personal computer 20 as the image processing apparatus relevant with the 2nd embodiment, can judge the tendency of the lightness of decorative picture data FD from the Luminance Distribution of decorative picture data FD, correction is resolved correcting value Gy by the lightness that the parsing that is configured in the photographed images data GD among the decorative picture data FD obtains, and can access lightness correction correcting value γ.So, by so that the different mode of brightness (tendency of lightness) of the brightness of decorative picture data FD (tendency of lightness) and photographed images data GD, decision lightness correction correcting value γ, the photographed images in the time of can making output and the lightness contrast of decorative picture increase, can access with respect to decorative picture the output result that photographed images is eye-catching.
Again, in above-mentioned the 2nd embodiment, CPU200 tries to achieve lightness according to the analysis result of photographed images data GD and resolves correcting value Gy, the mean flow rate Yfm of reflection decorative picture data FD, the lightness that correction is tried to achieve is resolved correcting value Gy, decision lightness correction correcting value γ uses the lightness correction correcting value γ that is determined, implements the picture quality adjustment and handles.So, can finish in 1 time to consider that the picture quality adjustment of the brightness of the characteristic of photographed images data GD and decorative picture data FD is handled.As a result, can not make the deterioration of image quality of the photographed images data GD after the processing, can shorten the time that the picture quality adjustment is handled to be needed.
In addition, in above-mentioned the 2nd embodiment,, try to achieve the light characteristic of decorative picture data FD by resolving decorative picture data FD, be mean flow rate Yfm, but also can be with the information of the mean flow rate Yfm that in layout control information LI, stipulates in advance as light characteristic shown in Figure 5.Further, also can in layout control information LI, stipulate correction DY/Th.In this case, can skip the dissection process of decorative picture data FD, can be promptly the photographed images data GD of the light characteristic of reflection decorative picture data be implemented the picture quality adjustment and handle.
Variation:
(1) in above-mentioned the 2nd embodiment, only photographed images data GD is implemented the picture quality adjustment processing of lightness, but in addition, for example, adjust parameter about each picture quality that shade, highlighted, contrast, color balance degree, memory colour are proofreaied and correct, obviously also can implement the picture quality adjustment and handle.Can be enough the input level of the RGB composition of photographed images data GD and output level being set up corresponding tint ramp (S curve) implements these picture qualities are adjusted the picture quality adjustment of parameters and handles.Specifically, on tint ramp, about each image quality parameter, the point of revising correcting value is used in the sample plot decision, revises correcting value by using, and passing through a little of the tint ramp of change in this point makes the input-output characteristic change.So, if to photographed images data GD, use after changing R, G, each tint ramp of B, then each composition about the RGB of photographed images data GD carries out the input-output conversion, has obtained adjusting the photographed images data GD of picture quality.
(2) in the 2nd embodiment, try to achieve lightness and resolve correcting value Gy, the mean flow rate Yfm of reflection decorative picture data FD tries to achieve lightness correction correcting value γ, at last photographed images data GD is practiced the picture quality adjustment processing of lightness correction correcting value γ, but also can followingly implement.
Also can be in the moment of trying to achieve lightness parsing correcting value Gy, photographed images data GD is practiced the 1st picture quality adjustment processing that lightness is resolved correcting value Gy, make photographed images data GD standardization, then, according to the mean flow rate Yfm of decorative picture data FD, photographed images data GD is implemented the 2nd picture quality adjustment handle.In this case, after making the picture quality and fiducial value unanimity relevant,, can implement to reflect that the picture quality adjustment of the mean flow rate Yfm of decorative picture data FD is handled perhaps near after the fiducial value with the lightness of photographed images data GD.
Other embodiment:
In the 1st embodiment, according to the look distribution character of decorative picture data FD, i.e. the size of each composition of representative color Fc, change correction k, but also fixing k=0.2 try to achieve color balance degree correction correcting value Mc.
In the above-described embodiments, though so that the mode correction color balance degree that the colour contrast of the decorative picture in when output and photographed images raises is resolved correcting value Gc, decision color balance degree correction correcting value Mc, but also can be so that the mode that the colour contrast of decorative picture during output and photographed images reduces determines color balance degree correction correcting value Mc.Specifically, in the 1st embodiment, the value that can make correction k is that negative value is used various (2), (4), (5) and (7).In this case, the decorative picture when adjusting output synchronously and the color balance degree of photographed images can be exported the photographed images that adapts to decorative picture.
In the above-described embodiments, make the picture quality adjustment parameter so-called picture quality consistent or approaching of photographed images data GD adjust processing automatically though implement to resolve photographed images data GD with the picture quality basic parameter, but also can not implement this processing, only implement the picture quality adjustment of the representative color Fc of reflection decorative picture data FD and handle.That is, also can resolve correcting value Gc without the color balance degree, the picture quality adjustment that practices representative color Fc is handled.In this case, the photographed images in the time of also can improving output is to the colour contrast of decorative picture.
In the above-described embodiments, though, also can in one or more decorative picture data FD, dispose one or more photographed images data GD to be illustrated as prerequisite with respect to 1 photographed images data GD of 1 decorative picture data FD configuration.In this case, one or more photographed images data GD that is configured among each decorative picture data FD is implemented above-mentioned picture quality adjustment processing.
Also among the layout control information LI that the representative color Fc that tries to achieve or correction k can be written to decorative picture data FD in above-mentioned the 1st embodiment.
In the 2nd embodiment, resolve correcting value Gy and lightness correction correcting value γ as lightness, with the parameter of the coefficient type of the formula that is applicable to the characteristic line of representing tint ramp, but lightness is resolved correcting value Gy and lightness correction correcting value γ also can be the value of the side-play amount of specified hue curve.Specifically, in tint ramp, about each image quality parameter, sample plot decision is used to the point of the side-play amount (correcting value) revised, for lightness, for example, by when applying bright timing only improves input level with lightness correction correcting value γ 1/4 point, when applying dim timing only reduces input level with lightness correction correcting value γ 3/4 point, can change the input-output characteristic of tint ramp.
In the above-described embodiments, though so that the mode correction lightness that the lightness contrast of the decorative picture in when output and photographed images raises is resolved correcting value Gy, decision lightness correction correcting value γ, but also can be so that the mode that the lightness contrast of decorative picture during output and photographed images reduces determines lightness correction correcting value γ.Specifically, in the 2nd embodiment, the value that can make k is that negative value is used formula (8).In this case, the decorative picture when adjusting output synchronously and the lightness of photographed images promptly, by the tendency of mediation lightness, can be exported the photographed images that adapts to decorative picture.
In the various embodiments described above, make the picture quality adjustment parameter so-called picture quality consistent or approaching of photographed images data GD adjust processing automatically though implement to resolve photographed images data GD with the picture quality basic parameter, but also can not implement this processing, only implement the picture quality adjustment of the mean flow rate Yfm of reflection decorative picture data FD and handle.That is, also can resolve correcting value Gy, practice picture quality adjustment processing according to the correcting value (correction coefficient) of mean flow rate Yfm without lightness.In this case, the photographed images in the time of also can improving or reduce output is to the lightness contrast of decorative picture.
In the above-described embodiments, though, also can in one or more decorative picture data FD, dispose one or more photographed images data GD to be illustrated as prerequisite with respect to 1 photographed images data GD of 1 decorative picture data FD configuration.In this case, one or more photographed images data GD that is configured among each decorative picture data FD is implemented above-mentioned picture quality adjustment processing.
Also among the layout control information LI that the mean flow rate Yfm that tries to achieve or correction DY/Th can be written to decorative picture data FD in above-mentioned the 2nd embodiment.
In the above-described embodiments, as image processing apparatus, implement image processing with personal computer 20, but in addition, for example, also can at this moment in printer or display unit, implement above-mentioned image processing with the printer of the self that possesses image processing function, display unit as image processing apparatus.Even if the hardware of accompanying image processing unit etc. does not constitute, also can realize above-mentioned image processing as printer driver, video driver, image processing application program again.Here, in display unit, for example, comprise to have the picture quality of view data is adjusted function and can be shown the CRT, LCD, projecting apparatus etc. of output image according to the view data GD that has adjusted picture quality.
Further, also can in digital still video camera 10, be implemented in the whole or a part of of the image processing implemented in the personal computer PC.At this moment, handle in the application program, have the image processing function that in the 1st, the 2nd embodiment and each variation, illustrates and realize by the view data of describing application program, printer driver and so in the ROM that is stored in digital still video camera 10 etc.Through cable, perhaps pass through storage card MC, offer printer 30 with being included in printing control command that generates in the digital still video camera 10 and the printing of printing with data with view data.Accept to print printer 30, use view data, on print media, form dot pattern, output image according to printing with data.In addition, digital still video camera 10 also can offer personal computer 20 or printer 30 with output image data (finishing the view data of image processing).In this case, generation comprises the printing view data of printing with control command in personal computer 20 or printer 30.
In the above-described embodiments, though, promptly implement image processing in the sample attitude of computer program, also can implement with the image processing hardware circuit that possesses the logical circuit of implementing above-mentioned each processing (step) with image processing software.In this case, can alleviate the burden of CPU200, and can realize that more high-speed image is handled.The image processing hardware circuit for example, can stick into row as the interpolation to personal computer 20 and install as the installation circuit to digital still video camera 10 and printer 30.
More than, according to embodiment the image processing apparatus relevant with the present invention, image processing method and image processing program have been described, but the execution mode of foregoing invention rather than limits the present invention just for the ease of understanding the present invention easily.Certainly, under the situation of the scope that does not break away from purport of the present invention and claims, can change, improve the present invention, and the present invention also comprises its equivalent.

Claims (18)

1, a kind of image processing apparatus is implemented image processing to the configuration image data that are configured in the decorative picture data, comprising:
The decorative picture data obtain parts, and it obtains described decorative picture data;
The configuration image data obtain parts, and it obtains the described configuration image data that the described allocation position for described decorative picture data should dispose;
The layout control information obtains parts, and it obtains the layout control information, and this layout control information is related with described decorative picture data, and stipulates the allocation position and the configuration sized of described configuration image data;
Decorative picture look distribution character is obtained parts, and it obtains the look distribution character of the described decorative picture data that obtain;
Picture quality is adjusted processing unit, and it adjusts the color balance degree of described configuration image data according to the described look distribution character of obtaining; With
Output image data generates parts, and it adopts described layout control information, from described configuration image data and the described decorative picture data of having adjusted the color balance degree, generates output image data.
2, image processing apparatus according to claim 1 is characterized in that, according to the mode of the color contrast that increases described decorative picture data and described configuration image data, implements the color balance degree of described configuration image data is adjusted.
3, image processing apparatus according to claim 1 is characterized in that, according to the mode of the color contrast that reduces described decorative picture data and described configuration image data, implements the color balance degree of described configuration image data is adjusted.
4, image processing apparatus according to claim 1 is characterized in that, further comprises:
Resolve correcting value decision parts, its parsing is configured in the described configuration image data in the described decorative picture data, and decision is about the parsing correcting value of color balance degree; With
Color balance degree correction correcting value decision parts, it revises the parsing correcting value of described decision according to the described look distribution character of obtaining, decision color balance degree correction correcting value;
Be suitable for the color balance degree correction correcting value of described decision, implement the color balance degree of described configuration image data is adjusted.
5, image processing apparatus according to claim 4 is characterized in that, the described parsing correcting value of mode correction by according to the color contrast that increases described decorative picture data and described configuration image data determines described color balance degree correction correcting value.
6, image processing apparatus according to claim 4 is characterized in that, by according to the described parsing correcting value of the mode correction of the color contrast that reduces described decorative picture data and described configuration image data, determines described color balance degree correction correcting value.
7, according to each described image processing apparatus in the claim 1~6, it is characterized in that,, obtain the look distribution character of described decorative picture data by resolving described decorative picture data.
8, according to each described image processing apparatus in the claim 1~6, it is characterized in that,
In described layout control information, record and narrate the look distribution character that described decorative picture data are arranged;
Obtain the look distribution character of described decorative picture data from described layout control information.
9, a kind of image processing method is implemented image processing to the configuration image data that are configured in the decorative picture data, may further comprise the steps:
Obtain described decorative picture data;
Obtain the described configuration image data that the described allocation position for described decorative picture data should dispose;
Obtain related with described decorative picture data and the allocation position that stipulate described configuration image data and the layout control information of configuration sized;
Obtain the look distribution character of the described decorative picture data that obtain;
According to the described look distribution character of obtaining, adjust the color balance degree of described configuration image data;
Adopt described layout control information, generate output image data from described configuration image data and the described decorative picture data of having adjusted the color balance degree.
10, a kind of image processing apparatus is implemented image processing to the configuration image data that are configured in the decorative picture data, comprising:
The decorative picture data obtain parts, and it obtains described decorative picture data;
The configuration image data obtain parts, and it obtains the described configuration image data that the described allocation position for described decorative picture data should dispose;
The layout control information obtains parts, and it obtains related with described decorative picture data and the allocation position that stipulate described configuration image data and the layout control information of configuration sized;
The decorative picture light characteristic obtains parts, and it obtains the light characteristic of the described decorative picture data that obtain;
Picture quality is adjusted processing unit, and it adjusts the lightness of described configuration image data according to the described light characteristic that obtains; With
Output image data generates parts, and it adopts described layout control information, from described configuration image data and the described decorative picture data of having adjusted lightness, generates output image data.
11, image processing apparatus according to claim 10 is characterized in that, according to the mode of the lightness contrast that increases described decorative picture data and described configuration image data, implements the lightness adjustment to described configuration image data.
12, image processing apparatus according to claim 10 is characterized in that, according to the mode of the lightness contrast that reduces described decorative picture data and described configuration image data, implements the lightness adjustment to described configuration image data.
13, image processing apparatus according to claim 10 is characterized in that, further comprises:
Resolve correcting value decision parts, its parsing is configured in the described configuration image data in the described decorative picture data, and decision is about the parsing correcting value of lightness; With
Lightness correction correcting value decision parts, it revises the parsing correcting value of described decision according to the described light characteristic that obtains, decision lightness correction correcting value;
Be suitable for the lightness correction correcting value of described decision, implement lightness adjustment described configuration image data.
14, image processing apparatus according to claim 13 is characterized in that, the described parsing correcting value of mode correction by according to the lightness contrast that increases described decorative picture data and described configuration image data determines described lightness correction correcting value.
15, image processing apparatus according to claim 13 is characterized in that, by according to the described parsing correcting value of the mode correction of the lightness contrast that reduces described decorative picture data and described configuration image data, determines described lightness correction correcting value.
16, according to each described image processing apparatus in the claim 10~15, it is characterized in that,, obtain the light characteristic of described decorative picture data by resolving described decorative picture data.
17, according to each described image processing apparatus in the claim 10~15, it is characterized in that, in described layout control information, record and narrate the light characteristic that described decorative picture data are arranged;
Obtain the light characteristic of described decorative picture data from described layout control information.
18, a kind of image processing method is implemented image processing to the configuration image data that are configured in the decorative picture data, may further comprise the steps:
Obtain described decorative picture data;
Obtain the described configuration image data that the described allocation position for described decorative picture data should dispose;
Obtain related with described decorative picture data and the allocation position that stipulate described configuration image data and the layout control information of configuration sized;
Obtain the light characteristic of the described decorative picture data that obtain;
According to the described light characteristic that obtains, adjust the lightness of described configuration image data; With
Adopt described layout control information,, generate output image data from described configuration image data and the described decorative picture data of having adjusted lightness.
CN 200480025894 2003-09-09 2004-09-06 Image processing device and image processing method Pending CN1849830A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP316125/2003 2003-09-09
JP2003316125 2003-09-09
JP316897/2003 2003-09-09

Publications (1)

Publication Number Publication Date
CN1849830A true CN1849830A (en) 2006-10-18

Family

ID=37078469

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200480025894 Pending CN1849830A (en) 2003-09-09 2004-09-06 Image processing device and image processing method

Country Status (1)

Country Link
CN (1) CN1849830A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685934A (en) * 2012-09-26 2014-03-26 奥林巴斯映像株式会社 Image editing device and image editing method
CN109993687A (en) * 2017-12-29 2019-07-09 阿里巴巴集团控股有限公司 A kind of image information processing method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685934A (en) * 2012-09-26 2014-03-26 奥林巴斯映像株式会社 Image editing device and image editing method
CN103685934B (en) * 2012-09-26 2018-08-17 奥林巴斯株式会社 Image editing apparatus
CN109993687A (en) * 2017-12-29 2019-07-09 阿里巴巴集团控股有限公司 A kind of image information processing method and device
CN109993687B (en) * 2017-12-29 2023-06-13 阿里巴巴集团控股有限公司 Image information processing method and device

Similar Documents

Publication Publication Date Title
CN1187955C (en) Output image regulation of image files
CN1221925C (en) Image processing apparatus for printing process of photographic picture
CN1229970C (en) Image processing device, image processing method, program, and recording medium
CN1250400C (en) Printing apparatus and method thereof, and medium with stored printing-apparatus control programme
CN1849814A (en) Output image data generation device and output image data generation method
CN1210942C (en) Background noise removal for low-cost digital color copier
CN1922861A (en) Image processing of color image and monochromatic image
US7916943B2 (en) Image determining apparatus, image determining method, image enhancement apparatus, and image enhancement method
CN1855998A (en) Image processing apparatus, printing apparatus and image processing method
CN1114888C (en) Image processing method and device, image processing system,and memory medium
CN1692656A (en) Automatic adjustment of image quality according to type of light source
CN1748408A (en) Color conversion method and profile generation method
CN1685739A (en) Adjusting output image of image data
US8014602B2 (en) Backlight image determining apparatus, backlight image determining method, backlight image correction apparatus, and backlight image correction method
CN1798244A (en) Image processing apparatus, image processing method, and image processing program
CN1366421A (en) Output image regulating method, device and computer programming product used for graphic document
CN1689340A (en) Digital still camera and image correction method
CN101032160A (en) Image correction device, method, and image correction program
CN1925548A (en) Image processing apparatus and method, image forming device and image reading device
CN1878232A (en) Image processing apparatus and method
US20080062484A1 (en) Image processing device and image processing method
CN1863269A (en) Image processing apparatus, image forming apparatus, and image processing method
US7916942B1 (en) Image determining apparatus, image enhancement apparatus, backlight image enhancement apparatus, and backlight image enhancement method
CN1589566A (en) Image information transmission method and image information processing apparatus
CN1663251A (en) Output image adjustment of image data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication