EP1679660B1 - History adding device for generating history-added image file, electronic camera, and image processing program for processing history-added image file - Google Patents

History adding device for generating history-added image file, electronic camera, and image processing program for processing history-added image file Download PDF

Info

Publication number
EP1679660B1
EP1679660B1 EP06000211A EP06000211A EP1679660B1 EP 1679660 B1 EP1679660 B1 EP 1679660B1 EP 06000211 A EP06000211 A EP 06000211A EP 06000211 A EP06000211 A EP 06000211A EP 1679660 B1 EP1679660 B1 EP 1679660B1
Authority
EP
European Patent Office
Prior art keywords
image
history
processing
color
processed
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.)
Active
Application number
EP06000211A
Other languages
German (de)
French (fr)
Other versions
EP1679660A1 (en
Inventor
Hideo Hoshuyama
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.)
Nikon Corp
Original Assignee
Nikon 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 Nikon Corp filed Critical Nikon Corp
Publication of EP1679660A1 publication Critical patent/EP1679660A1/en
Application granted granted Critical
Publication of EP1679660B1 publication Critical patent/EP1679660B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32101Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N1/32128Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title attached to the image data, e.g. file header, transmitted message header, information on the same page or in the same computer file as the image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/81Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2101/00Still video cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N2201/3201Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title
    • H04N2201/3225Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to an image, a page or a document
    • H04N2201/3242Display, printing, storage or transmission of additional information, e.g. ID code, date and time or title of data relating to an image, a page or a document of processing required or performed, e.g. for reproduction or before recording

Definitions

  • the present invention relates to a history adding device that generate a history-added image file and an electronic camera.
  • the present invention also relates to an image processing program for processing the history-added image file.
  • image processing such as color interpolation, color correction, noise filtering, and edge enhancement is applied to image data.
  • a processed image thus generated is highly versatile and convenient for a user because it is easily opened by general image display software for printing.
  • RAW image approximate to an image outputted from an image sensor.
  • a user can apply advanced image processing to this RAW image later (ex-post determination of image quality).
  • a user can also create images later according to his/her intended uses, for example, creating from one RAW image an image suitable for high-definition printing as well as a small image suitable for electronic mail enclosure (for multiple purposes).
  • storing an image in a RAW image form makes it possible to apply a future-available advanced image processing thereto. Accordingly, images of better quality than that of images obtained at the time of shooting will be obtainable in the future (the application of the latest technology).
  • the processed image is advantageous in its usability, while the RAW image is advantageous in the ex-post applicability of advanced image processing.
  • additional image processing is performed on a completed processed image later, for example, where a user later adjusts image quality of the processed image as desired, or an output device such as a printer automatically makes additional adjustment to image quality of the processed image in order to optimize it for output.
  • additional image processing causes degradation in image quality, for example, as follows.
  • Example 1 High-frequency noise in an image increases or an edge waveform deteriorates such as the occurrence of thick overshoot and jaggy when an edge-enhanced, processed image in the electronic camera is later subjected to additional high-frequency enhancement such as unsharp masking.
  • Example 2 Color saturation in a specific color gamut impairs natural hue when the processed image subjected to large saturation enhancement in the electronic camera is later subjected to saturation enhancement in the specific color gamut.
  • the use of the RAW image is effective.
  • the RAW image is less usable than the processed image since it cannot be directly printed.
  • EP 1 394 740 A2 discloses an apparatus for adding image processing instructions and/or difference images to RAW image data.
  • the apparatus allows for output device-specific postprocessing and treats reversible and irreversible operations differently.
  • Fig. 1 is a diagram showing a configuration of an electronic camera 11 of an embodiment of the present invention.
  • a photographing lens 12 is attached to the electronic camera 11.
  • a light-receiving surface of an image sensor 13 is disposed.
  • RGB color filters in the Bayer pattern are disposed on the light-receiving surface of the image sensor 13.
  • a RAW image in which color signals are arranged in the Bayer pattern is generated.
  • the RAW image is converted to a digital image via an A/D converter 14, and thereafter inputted to an image processing unit 15.
  • the image processing unit 15 includes the following processing units.
  • a processed image resulting from the image processing via these processing units 16 to 21 is inputted to an image compression unit 22.
  • the image compression unit 22 compresses the inputted image data to output compressed data to a file generating unit 23.
  • the electronic camera 11 also includes a control unit 26 for system control, an operation unit 27, a difference processing unit 28, and an image expansion unit 50.
  • the difference processing unit 28 reads an image selectively from the processing units 16 to 21 of the image processing unit 15 to generate a difference image.
  • the difference image is outputted to a difference compression unit 29.
  • the difference compression unit 29 compresses the difference image to output the compressed difference image to the file generating unit 23.
  • the file generating unit 23 outputs a history-added image file.
  • the history-added image file is recorded in a recording medium 25 via a recording unit 24.
  • Fig. 2 is a flowchart showing operations of generating the history-added image file. The operations of generating the history-added image file will be described below, following the step number shown in Fig. 2 .
  • Step S1 The control unit 26 sets the image processing of the processing units 16 to 21 according to an image quality mode set via the operation unit 27.
  • Step S2 In response to a release operation (the operation unit 27) from a user, the control unit 26 controls the image sensor 13 to drive it.
  • the image sensor 13 captures an image of a subject to output the RAW image.
  • the RAW image is turned into the processed image step by step via the processing units 16 to 21 of the image processing unit 15.
  • the processed image is compressed by the image compression unit 22 and thereafter is outputted as the compressed data to the file generating unit 23.
  • Step S3 In the electronic camera 11, using a custom setting function, it is possible to arbitrarily designate one of the processings of the processing units 16 to 21 as a restoration step of the image processing on the history-added image file. Note that in the initial setting, the RAW image outputted from the correction unit 16 (a step in which only characteristic compensation to the image sensor 13 has been executed) is set as an image in the restoration step.
  • the control unit 26 judges whether an image processing group executed between the image in the restoration step and the processed image (i.e., the image processing to be cancelled) is reversible or not.
  • the reversibility may be judged simply from the kind or combination of the image processings.
  • irreversible transformation such as tone jump, color saturation, black crushing may be detected by histogram analysis or the like before/after the image processing.
  • Step S4 the restoration processing may be the inverse transformation of the image processings in a reverse order. Such inverse transformation can be found by calculation based on a mathematical model of image processing. Further, it is also possible to experimentally determine such inverse transformation.
  • control unit 26 information necessary for the inverse transformation is stored in advance in the form of a table.
  • the control unit 26 refers to the table for the image processing to be cancelled (specifically, a processing parameter) to obtain a corresponding inverse transformation parameter.
  • the control unit 26 outputs the inverse transformation parameter as the history information to the file generating unit 23.
  • the control unit 26 may output, to the file generating unit 23, a processing parameter indicating the image processing to be cancelled.
  • Step S5 The control unit 26 judges whether or not an image at the restoration step (corresponding to the input image in the claims) is an image before color interpolation (a so-called RAW image).
  • the control unit 26 shifts its operation to Step S6.
  • Step S6 The control unit 26 instructs the difference processing unit 28 to execute difference processing for each of the color signals.
  • the difference processing unit 28 reads the processed image outputted from the image processing unit 15 or from the image expansion unit 50 and the image at the restoration step to generate a difference image for each color signal as shown in Fig. 3 .
  • Step S7 The control unit 26 instructs the difference processing unit 28 to generate a color pattern image in the same color pattern as that of the RAW image.
  • the difference processing unit 28 obtains the processed image outputted from the image processing unit 15 or the image expansion unit 50 to determine one kind of color signal for each pixel according to the color pattern of the image sensor 13. By such processing, the color pattern image in the same color pattern as that of the RAW image, which is generated by transforming the processed image, can be obtained.
  • Step S8 The difference processing unit 28 generates a difference image between the image at the restoration step (the input image in the RAW image form) and the color pattern image, as shown in Fig. 4 .
  • Step S9 The difference compression unit 29 compresses the difference image outputted from the difference processing unit 28 to output the compressed difference image as the history information to the file generating unit 23.
  • Step S10 The file generating unit 23 adds the history information to the compressed data (the result of the compression of the processed image) inputted from the image compression unit 22 to generate the history-added image file.
  • the history-added image file has a file structure, for example, as follows.
  • history information may be stored in an application segment in the file.
  • Step S11 The completed history-added image file is recorded in the recording medium 25 by the recording unit 24.
  • Fig. 5 is a flowchart to describe computer operations controlled by the image processing program. Hereinafter, the operations will be described, following the step number shown in Fig. 5 .
  • Step S21 The computer reads the history-added image file generated in the electronic camera 11 via the recording medium 25 or a communication medium to store it on a memory in the computer.
  • Step S22 The computer obtains the compressed data of the processed image from the history-added image file. The computer expands the image of the compressed data to obtain the processed image of the YCbCr color system.
  • the computer converts color coordinates of the processed image from the YCbCr color system to the RGB color system to obtain the processed image composed of RGB color signals.
  • Step S23 Upon receiving an instruction to adjust image quality of the processed image from a user, the computer shifts its operation to Step S25. On the other hand, when such an instruction is not inputted, the computer shifts its operation to Step S24.
  • Step S24 The computer positively uses the processed image in processing where the processed image is adequate (such as direct printing). After these processing, the computer shifts its operation to Step S23.
  • Step S25 On the other hand, in processing such as image quality adjustment where the use of the processed image will cause degradation in image quality, the computer generates the restored image. For this restoration processing, the computer obtains the history information from the history-added image file.
  • Step S26 The history information can be at least two kinds of information, namely, the difference image for canceling the irreversible image processing and parameter information for inversely transforming the reversible image processing.
  • the computer judges which one of the difference image/the parameter information is contained in the history-added image file as the history information.
  • the computer shifts its operation to Step S27.
  • Step S29 the computer finds the inverse transformation parameter from the history information to set details of the inverse transformation according to the parameter. If the history information is simply the processing parameter for the image processing, the computer refers to the table as in Step S4 to obtain the inverse transformation parameter based on the processing parameter.
  • Step S28 The computer applies the set inverse transformation to the processed image to obtain the restored image. After this operation, the computer shifts its operation to Step S34.
  • Step S29 At this step, the computer expands the history information, namely, the compressed data of the difference image, to obtain the difference image.
  • Step S30 The computer judges whether or not the difference image is the difference image for each color signal as shown in Fig. 3 .
  • Step S31 if the difference image is the difference image for each color signal, the computer shifts its operation to Step S31.
  • Step S32 The computer executes, for each color signal, addition of pixels of the difference image and the processed image to obtain the restored image. After this operation, the computer shifts its operation to Step S34.
  • Step S32 The computer selects color signals from the processed image according to the color pattern of the image sensor 13. By this processing, the processed image is transformed to the color pattern image having the same color pattern as that of the difference image.
  • the transformation processing here is preferably completely equivalent to that at Step S7.
  • Step S33 The computer executes pixel addition of the difference image and the color pattern image to obtain the restored image in the Bayer pattern.
  • Step 34 The computer applies the image processing instructed by the user to the obtained restored image to generate a new processed image.
  • Step S35 The computer adds new history information to the new processed image obtained at Step S34 to create a history-added image file again. This re-creation processing is the same as the processing at and after Step S3 in Fig. 2 , and therefore, the description thereof will not be given here.
  • the above embodiments have described the RAW image in the Bayer pattern.
  • the color pattern of the RAW image is not limited to the Bayer pattern.
  • the above embodiments have described the case where the history adding device is mounted in the electronic camera 11.
  • the present invention is not limited to this structure.
  • the history adding device may be mounted in a film scanner and so on.

Description

    BACKGROUND OF THE INVENTION 1. Field of the Invention
  • The present invention relates to a history adding device that generate a history-added image file and an electronic camera. The present invention also relates to an image processing program for processing the history-added image file.
  • 2. Description of the Related Art
  • In a conventional electronic camera, image processing such as color interpolation, color correction, noise filtering, and edge enhancement is applied to image data. A processed image thus generated is highly versatile and convenient for a user because it is easily opened by general image display software for printing.
  • Also, there is another known electronic camera that generates a RAW image approximate to an image outputted from an image sensor. A user can apply advanced image processing to this RAW image later (ex-post determination of image quality). A user can also create images later according to his/her intended uses, for example, creating from one RAW image an image suitable for high-definition printing as well as a small image suitable for electronic mail enclosure (for multiple purposes). In addition, storing an image in a RAW image form makes it possible to apply a future-available advanced image processing thereto. Accordingly, images of better quality than that of images obtained at the time of shooting will be obtainable in the future (the application of the latest technology).
  • As described above, the processed image is advantageous in its usability, while the RAW image is advantageous in the ex-post applicability of advanced image processing.
  • There is a known electronic camera that selects one of the processed image and RAW image to record the selected image (for example, disclosed in Japanese Unexamined Patent Application Publication No. 2001-61067 ). Also, another known electronic camera generates both the RAW image and the processed image at each shooting and records them independently (for example, simultaneous recording of RW +JPEG).
  • However, there are some cases where additional image processing is performed on a completed processed image later, for example, where a user later adjusts image quality of the processed image as desired, or an output device such as a printer automatically makes additional adjustment to image quality of the processed image in order to optimize it for output. Such additional image processing causes degradation in image quality, for example, as follows.
  • [Example 1] High-frequency noise in an image increases or an edge waveform deteriorates such as the occurrence of thick overshoot and jaggy when an edge-enhanced, processed image in the electronic camera is later subjected to additional high-frequency enhancement such as unsharp masking.
  • [Example 2] Color saturation in a specific color gamut impairs natural hue when the processed image subjected to large saturation enhancement in the electronic camera is later subjected to saturation enhancement in the specific color gamut.
  • [Example 3] False color in color interpolation is enhanced when a color-interpolated, processed image in the electronic camera is later subjected to saturation enhancement.
  • In order to avoid such degradation in image quality, the use of the RAW image is effective. However, the RAW image is less usable than the processed image since it cannot be directly printed.
  • The advantages of the processed image and RAW image can be achieved by the simultaneous recording of RAW + JPEG. However, there is a problem in the simultaneous recording of RAW + JPEG that the two the image files are separately recorded, increasing data amount.
  • EP 1 394 740 A2 discloses an apparatus for adding image processing instructions and/or difference images to RAW image data. The apparatus allows for output device-specific postprocessing and treats reversible and irreversible operations differently.
  • SUMMARY OF THE INVENTION
  • It is an object of the present invention to provide a technique for generating and processing new image data (referred to as a history-added image file in the claims) having the advantages of both of the usable processed image and the RAW image to which the advanced image quality processing is applicable.
  • The invention is defined in the independent claims. Further embodiments are set out in the subclaims.
  • Hereinafter, the present invention will be described.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The nature, principle, and utility of the invention will become more apparent from the following detailed description when read in conjunction with the accompanying drawings in which like parts are designated by identical reference numbers, in which:
    • Fig. 1 is a diagram showing a configuration of an electronic camera 11 of an embodiment of the present invention;
    • Fig. 2 is a flowchart showing operations of generating a history-added image file;
    • Fig. 3 is a view showing operations of generating difference images;
    • Fig. 4 is a view showing operations of generating a difference image; and
    • Fig. 5 is a flowchart describing computer operations by an image processing program.
    DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
  • «Embodiment of Electronic Camera and History Adding Device» [Description of Configuration]
  • Fig. 1 is a diagram showing a configuration of an electronic camera 11 of an embodiment of the present invention.
  • In Fig. 1, a photographing lens 12 is attached to the electronic camera 11. In an image space of the photographing lens 12, a light-receiving surface of an image sensor 13 is disposed. RGB color filters in the Bayer pattern are disposed on the light-receiving surface of the image sensor 13. A RAW image in which color signals are arranged in the Bayer pattern is generated. The RAW image is converted to a digital image via an A/D converter 14, and thereafter inputted to an image processing unit 15.
  • The image processing unit 15 includes the following processing units.
    1. (1) a correction unit 16 to correct characteristics mainly of the image sensor 13, such as offset correction, fixed pattern noise correction, and linearity correction
    2. (2) a white balance correction unit 17 to correct color cast in the RAW image due to color temperature of a light source, by gain adjustment of an RR color signal and a B color signal
    3. (3) a color interpolation unit 18 to color-interpolate the RAW image in the Bayer pattern to generate image data in which each pixel has the color signals of RGB
    4. (4) a gamma processing unit 19 to correct the tone of the image data
    5. (5) a color processing unit 20 to apply saturation enhancement and hue correction to the image data
    6. (6) an edge enhancement unit 21 to enhance the edge of the image data
  • A processed image resulting from the image processing via these processing units 16 to 21 is inputted to an image compression unit 22. The image compression unit 22 compresses the inputted image data to output compressed data to a file generating unit 23.
  • The electronic camera 11 also includes a control unit 26 for system control, an operation unit 27, a difference processing unit 28, and an image expansion unit 50. The difference processing unit 28 reads an image selectively from the processing units 16 to 21 of the image processing unit 15 to generate a difference image. The difference image is outputted to a difference compression unit 29. The difference compression unit 29 compresses the difference image to output the compressed difference image to the file generating unit 23.
  • The file generating unit 23 outputs a history-added image file. The history-added image file is recorded in a recording medium 25 via a recording unit 24.
  • [Description of Operations]
  • Fig. 2 is a flowchart showing operations of generating the history-added image file. The operations of generating the history-added image file will be described below, following the step number shown in Fig. 2.
    Step S1: The control unit 26 sets the image processing of the processing units 16 to 21 according to an image quality mode set via the operation unit 27.
    Step S2: In response to a release operation (the operation unit 27) from a user, the control unit 26 controls the image sensor 13 to drive it. The image sensor 13 captures an image of a subject to output the RAW image. The RAW image is turned into the processed image step by step via the processing units 16 to 21 of the image processing unit 15. The processed image is compressed by the image compression unit 22 and thereafter is outputted as the compressed data to the file generating unit 23.
    Step S3: In the electronic camera 11, using a custom setting function, it is possible to arbitrarily designate one of the processings of the processing units 16 to 21 as a restoration step of the image processing on the history-added image file. Note that in the initial setting, the RAW image outputted from the correction unit 16 (a step in which only characteristic compensation to the image sensor 13 has been executed) is set as an image in the restoration step.
  • The control unit 26 judges whether an image processing group executed between the image in the restoration step and the processed image (i.e., the image processing to be cancelled) is reversible or not.
  • The reversibility may be judged simply from the kind or combination of the image processings. Alternatively, for more accurate judgment on reversibility, irreversible transformation such as tone jump, color saturation, black crushing may be detected by histogram analysis or the like before/after the image processing.
  • When the image processings to be cancelled can be considered as reversible as a result of the judgment, the control unit 26 shifts its operation to Step S4. On the other hand, when the image processing to be cancelled is irreversible, the control unit 26 shifts its operation to Step S5.
    Step S4: Here, since the image processings to be cancelled is considered as reversible, the restoration processing may be the inverse transformation of the image processings in a reverse order. Such inverse transformation can be found by calculation based on a mathematical model of image processing. Further, it is also possible to experimentally determine such inverse transformation.
  • In the control unit 26, information necessary for the inverse transformation is stored in advance in the form of a table. The control unit 26 refers to the table for the image processing to be cancelled (specifically, a processing parameter) to obtain a corresponding inverse transformation parameter. The control unit 26 outputs the inverse transformation parameter as the history information to the file generating unit 23. As the history information, the control unit 26 may output, to the file generating unit 23, a processing parameter indicating the image processing to be cancelled.
  • After such processing, the control unit 26 shifts its operation to Step S10.
    Step S5: The control unit 26 judges whether or not an image at the restoration step (corresponding to the input image in the claims) is an image before color interpolation (a so-called RAW image).
  • Here, if the image at the restoration step is a color-interpolated image having all the color signals of the three RGB phases, the control unit 26 shifts its operation to Step S6.
  • On the other hand, if the image at the restoration step is an image before color interpolation and having the color signals arranged in the Bayer pattern, the control unit 26 shifts its operation to Step S7.
    Step S6: The control unit 26 instructs the difference processing unit 28 to execute difference processing for each of the color signals. The difference processing unit 28 reads the processed image outputted from the image processing unit 15 or from the image expansion unit 50 and the image at the restoration step to generate a difference image for each color signal as shown in Fig. 3.
  • After thus obtaining the difference images, the control unit 26 shifts its operation to Step S9.
    Step S7: The control unit 26 instructs the difference processing unit 28 to generate a color pattern image in the same color pattern as that of the RAW image. The difference processing unit 28 obtains the processed image outputted from the image processing unit 15 or the image expansion unit 50 to determine one kind of color signal for each pixel according to the color pattern of the image sensor 13. By such processing, the color pattern image in the same color pattern as that of the RAW image, which is generated by transforming the processed image, can be obtained.
    Step S8: The difference processing unit 28 generates a difference image between the image at the restoration step (the input image in the RAW image form) and the color pattern image, as shown in Fig. 4.
  • After thus obtaining the difference image, the control unit 26 shifts its operation to Step S9.
    Step S9: The difference compression unit 29 compresses the difference image outputted from the difference processing unit 28 to output the compressed difference image as the history information to the file generating unit 23.
    Step S10: The file generating unit 23 adds the history information to the compressed data (the result of the compression of the processed image) inputted from the image compression unit 22 to generate the history-added image file.
  • The history-added image file has a file structure, for example, as follows.
    1. (1) SOI (Start Of Image) marker
    2. (2) metadata based on the Exif standard
    3. (3) DQT (quantization table)
    4. (4) SOF (frame header)
    5. (5) DHT (Huffman table)
    6. (6) SOS (scan header)
    7. (7) compressed data of the processed image
    8. (8) EOI (End Of Image) marker
    9. (9) history information
  • Note that the history information may be stored in an application segment in the file.
  • Due to such a compatible file structure, it is possible to handle the compressed data of the processed image even by conventional general-purpose image processing software in the conventional manner.
    Step S11: The completed history-added image file is recorded in the recording medium 25 by the recording unit 24.
  • «Embodiment of Image Processing Program»
  • Next, an image processing program for processing the history-added image file on a computer will be described.
  • Fig. 5 is a flowchart to describe computer operations controlled by the image processing program. Hereinafter, the operations will be described, following the step number shown in Fig. 5.
    Step S21: The computer reads the history-added image file generated in the electronic camera 11 via the recording medium 25 or a communication medium to store it on a memory in the computer.
    Step S22: The computer obtains the compressed data of the processed image from the history-added image file. The computer expands the image of the compressed data to obtain the processed image of the YCbCr color system. Next, the computer converts color coordinates of the processed image from the YCbCr color system to the RGB color system to obtain the processed image composed of RGB color signals.
    Step S23: Upon receiving an instruction to adjust image quality of the processed image from a user, the computer shifts its operation to Step S25. On the other hand, when such an instruction is not inputted, the computer shifts its operation to Step S24.
    Step S24: The computer positively uses the processed image in processing where the processed image is adequate (such as direct printing). After these processing, the computer shifts its operation to Step S23.
    Step S25: On the other hand, in processing such as image quality adjustment where the use of the processed image will cause degradation in image quality, the computer generates the restored image. For this restoration processing, the computer obtains the history information from the history-added image file.
    Step S26: The history information can be at least two kinds of information, namely, the difference image for canceling the irreversible image processing and parameter information for inversely transforming the reversible image processing. The computer judges which one of the difference image/the parameter information is contained in the history-added image file as the history information.
  • When as a result of the judgment, the history information is the parameter information, the computer shifts its operation to Step S27.
  • On the other hand, when the history information is the difference image, the computer shifts its operation to Step S29.
    Step S27: The computer finds the inverse transformation parameter from the history information to set details of the inverse transformation according to the parameter. If the history information is simply the processing parameter for the image processing, the computer refers to the table as in Step S4 to obtain the inverse transformation parameter based on the processing parameter.
    Step S28: The computer applies the set inverse transformation to the processed image to obtain the restored image. After this operation, the computer shifts its operation to Step S34.
    Step S29: At this step, the computer expands the history information, namely, the compressed data of the difference image, to obtain the difference image.
    Step S30: The computer judges whether or not the difference image is the difference image for each color signal as shown in Fig. 3.
  • Here, if the difference image is the difference image for each color signal, the computer shifts its operation to Step S31.
  • On the other hand, if the difference image is the difference image in the Bayer pattern as shown in Fig. 4, the computer shifts its operation to Step S32.
    Step S31: The computer executes, for each color signal, addition of pixels of the difference image and the processed image to obtain the restored image. After this operation, the computer shifts its operation to Step S34.
    Step S32: The computer selects color signals from the processed image according to the color pattern of the image sensor 13. By this processing, the processed image is transformed to the color pattern image having the same color pattern as that of the difference image. The transformation processing here is preferably completely equivalent to that at Step S7.
    Step S33: The computer executes pixel addition of the difference image and the color pattern image to obtain the restored image in the Bayer pattern.
    Step 34: The computer applies the image processing instructed by the user to the obtained restored image to generate a new processed image.
    Step S35: The computer adds new history information to the new processed image obtained at Step S34 to create a history-added image file again. This re-creation processing is the same as the processing at and after Step S3 in Fig. 2, and therefore, the description thereof will not be given here.
  • «Supplemental Matters to Embodiments»
  • The above embodiments have described the RAW image in the Bayer pattern. However, the color pattern of the RAW image is not limited to the Bayer pattern.
  • Further, the above embodiments have described the case where the history adding device is mounted in the electronic camera 11. However, the present invention is not limited to this structure. For example, the history adding device may be mounted in a film scanner and so on.
  • «Effects etc. of Embodiments»
  • For facilitating the application to other embodiments, principles of the effects of the above-described embodiments will be described in the following.
    1. [1] The history adding device of the embodiment generates the history-added image file. This history-added image file includes the processed image that has undergone the image processing. This processed image, since having undergone the image processing, can be opened by general-purpose image display software for immediate printing. Further, it is possible to directly print the processed image by connecting the electronic camera 11 to a printer. As a result, high usability is attained.
      The history-added image file further includes the history information. The use of the history information makes it possible to alleviate the influence of the image processing on the processed image. The restored image thus obtained, even if undergoing additional image quality adjustment, suffers little degradation in image quality ascribable to the repeated image processing. Therefore, it has the advantages similar to those of the conventional RAW image, for example, in that image quality is determined later, that the image is used for multiple purposes, and that the latest technology is applicable to the image.
      As described above, in the embodiments, it is possible to generate the history-added image file having the merits of both the usability of the processed image and the applicability of the high-quality image processing using the restored image.
    2. [2] Preferably, according to the embodiments, the reversibility of the image processing is judged according to the setting of the image processing, and the history information is changed when appropriate depending on the judgment result.
      Specifically, if the image processing is judged as irreversible, the difference image between the input image and the processed image is added as the history information to the processed image. In this difference image, image information lost through the irreversible image processing is stored as a difference. Therefore, processing the difference image and the processed image later makes cancellation of even the irreversible image processing possible.
      On the other hand, if the image processing is judged as reversible, the information indicating the settings of the image processing or the information indicating the inverse transformation of the image processing is defined as the history information. Executing the inverse transformation based on this history information enables the restoration processing. In particular, since this history information only has to be information for determining the inverse transformation, its data volume is far smaller than a data volume of the aforesaid difference image. Therefore, when the imaging processing is reversible, a data volume of the history-added image file can be adaptively reduced.
    3. [3] Further, according to the embodiments, the input image is preferably the color image having the plural kinds of color signals on each pixel. In this case, as the history information, the difference image between the input image and the processed image is generated for each color signal.
      Using the difference image for each color signal later enables the restoration processing for each color signal, so that the restored image having all the color signals can be created.
    4. [4] Further, according to the embodiments, the input image is preferably the color image having the plural kinds of color signals arranged on each pixel according to the predetermined color pattern. In this case, by the image processing including the color interpolation, the processed image becomes a processed image having the plural kinds of color components on each pixel. Therefore, the color signals corresponding to the color pattern of the input image are extracted from this processed image, whereby the color pattern image having the same color pattern as that of the input image is generated. Then, the difference image between this input image and the color pattern image is generated as the history information.
      Including this history information in the history-added image file enables the ex-post restoration processing as follows.
      First, the processed image is obtained from the history-added image file, the color signals corresponding to the color pattern of the input image are extracted, and the color pattern image having the same color pattern as that of the input image is generated.
      Next, the difference image is obtained from the history-added image file, and the color pattern image and the difference image are added, so that the restored image substantially equivalent to the input image is obtained.
      Such processing can realize the processing of restoring the RAW image, for example, in the Bayer pattern from the processed image.
    5. [5] Mounting the history adding device in the electronic camera allows the electronic camera to generate the aforesaid history-added image file therein.
      Note that the processed image and the restored image is the same picture macroscopically and are thus similar images. The history information is used for transformation to/from these similar images, and therefore, it generally needs to have only a small data volume.
      Therefore, the data volume required for the history-added image file is smaller than that required for the conventional simultaneous recording of RAW + JPEG. In the electronic camera, it is possible to realize reduction in recording time and increase in the number of recordable frames of the recording medium.
    6. [6] Further, it is preferable to create the difference image between images before and after the image processing including edge enhancement. Using this difference image later enables ex-post removal of the influence that the edge enhancement gives to the image quality.
      As a result, a high-frequency noise due to later high-frequency enhancement (such as unsharp masking) can be reduced. Further, degradation in image quality such as the thick overshoot or jaggy can be reduced.
    7. [7] Further, it is preferable to create the difference image between images before and after the image processing including saturation enhancement. Using this difference image later enables ex-post removal of the influence that the saturation enhancement gives to image quality.
      As a result, it is possible to reduce degradation in image quality such as the loss of natural hue due to color saturation in a specific color gamut, when the saturation enhancement is re-applied later.
    8. [8] According to the image processing program of the embodiment, the restored image less affected by the image processing of the camera is generated using the history information. Even with additional image processing to this restored image, it is possible to avoid degradation in the image quality ascribable to the repeated image processing, creating a good image.
    9. [9] According to the above-described embodiments, the history-added image file is re-created after the additional image quality adjustment. Therefore, repetitive image quality adjustment on the computer does not lead to repetitive overlapping image processing. That is, repetitive trial-and error image processing will not cause degradation in the image quality.

Claims (8)

  1. History adding device comprising:
    an image processing unit (15) applying image processing to an input image to generate a processed image wherein the input image is a color image having a plurality of kinds of color signals arranged on each pixel according to a predetermined color pattern, termed RAW image; and
    a history adding unit which generates history information necessary for restoration processing in which the processed image is restored to the RAW image and adds the history information to the processed image to generate an image being able to be restored to the RAW image, termed history-added image file, the generated history information being based on said image processing performed on the input image.
  2. History adding device according to claim 1, characterized in that said history adding unit judges whether the image processing is reversible/irreversible, based on setting of the image processing; adds a difference image between the input image and the processed image to the processed image as the history information, when judging that the image processing is irreversible; and adds, to the processed image as the history information, one of information indicating a setting of the image processing and information indicating inverse transformation of the image processing, when judging that the image processing is reversible.
  3. History adding device according to claim 1 or 2, characterized in that the input image is a color image having a plurality of kinds of color signals on each pixel; and said history adding unit generates a difference image between the input image and the processed image for each of the color signals, and adds to the processed image the history information including the difference image for each of the color signals.
  4. History adding device according to one of claims 1 to 3, characterized in that said image processing unit (15) applies at least color interpolation to the input image to generate a processed image having a plurality of kinds of color components arranged on each pixel; and said history adding unit extracts color signals of the color pattern from the processed image to generate a color pattern image, and adds a difference image between the input image and the color pattern image to the processed image as the history information.
  5. Electronic camera comprising:
    a history adding device according to one of the foregoing claims; and
    an image-capturing unit adapted to capture an image of a subject to generate an input image, wherein
    said history adding device adapted to process the input image to generate a history-added image file.
  6. Electronic camera according to claim 5, characterized in that said history adding device finds a difference image between an image before edge enhancement and an image after edge enhancement, and adds the difference image to the image after edge enhancement as the history information, to thereby generate the history-added image file from which an effect of the edge enhancement of the electronic camera (11) can be eliminated later.
  7. Electronic camera according to claim 5 or 6, characterized in that said history adding device finds a difference image between an image before saturation enhancement and an image after saturation enhancement, and adds, as the history information, the difference image to the image after saturation enhancement, to hereby generate the history-added image file from which an effect of the saturation enhancement of the electronic camera (11) can be eliminated later.
  8. Image processing program for causing a computer to apply image processing to a history-added image file generated in the electronic camera (11) according to any one of claims 5 to 7, the program comprising program codes for causing the computer to function as:
    an input processing unit obtaining a processed image and history information from the history-added image file;
    a restoration processing unit applying a restoration procession indicated by the history information to the processed image to obtain a restored RAW image; and
    an image re-processing unit applying a new image processing to the restored image obtained by said restoration processing unit.
EP06000211A 2005-01-11 2006-01-05 History adding device for generating history-added image file, electronic camera, and image processing program for processing history-added image file Active EP1679660B1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005004049A JP4466378B2 (en) 2005-01-11 2005-01-11 History adding device, electronic camera, and image processing program

Publications (2)

Publication Number Publication Date
EP1679660A1 EP1679660A1 (en) 2006-07-12
EP1679660B1 true EP1679660B1 (en) 2009-07-15

Family

ID=35999727

Family Applications (1)

Application Number Title Priority Date Filing Date
EP06000211A Active EP1679660B1 (en) 2005-01-11 2006-01-05 History adding device for generating history-added image file, electronic camera, and image processing program for processing history-added image file

Country Status (4)

Country Link
US (1) US7620259B2 (en)
EP (1) EP1679660B1 (en)
JP (1) JP4466378B2 (en)
DE (1) DE602006007737D1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4466378B2 (en) * 2005-01-11 2010-05-26 株式会社ニコン History adding device, electronic camera, and image processing program
US7336817B2 (en) * 2005-06-20 2008-02-26 Microsoft Corporation Processing raw and pre-processed digital images
KR100809351B1 (en) * 2006-04-03 2008-03-05 삼성전자주식회사 Method and apparatus for calibration of projected image
US7893975B2 (en) * 2006-10-13 2011-02-22 Apple Inc. System and method for processing images using predetermined tone reproduction curves
US7773127B2 (en) * 2006-10-13 2010-08-10 Apple Inc. System and method for RAW image processing
US7835569B2 (en) * 2006-10-13 2010-11-16 Apple Inc. System and method for raw image processing using conversion matrix interpolated from predetermined camera characterization matrices
JP4829772B2 (en) * 2006-12-27 2011-12-07 株式会社シグマ Method for reproducing image data in photographing apparatus
JP5136400B2 (en) * 2008-12-26 2013-02-06 株式会社ニコン Image processing apparatus and image processing program
JP5136399B2 (en) * 2008-12-26 2013-02-06 株式会社ニコン Image processing apparatus and image processing program
JP5336945B2 (en) 2009-06-29 2013-11-06 ルネサスエレクトロニクス株式会社 Image processing device
JP4966425B2 (en) * 2011-08-08 2012-07-04 株式会社シグマ Image data recording method in photographing apparatus
JP2015195582A (en) 2014-03-28 2015-11-05 キヤノン株式会社 Image processing device, control method thereof, imaging apparatus, control method thereof, and recording medium

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AUPO518497A0 (en) 1997-02-20 1997-04-11 Canon Kabushiki Kaisha An efficient method of modifying an image
US6208347B1 (en) * 1997-06-23 2001-03-27 Real-Time Geometry Corporation System and method for computer modeling of 3D objects and 2D images by mesh constructions that incorporate non-spatial data such as color or texture
JP2001061146A (en) 1999-08-20 2001-03-06 Canon Inc Image pickup device, image pickup method, image processing unit and image processing method
JP4100836B2 (en) 1999-08-20 2008-06-11 キヤノン株式会社 Image processing device
JP4181701B2 (en) 1999-08-20 2008-11-19 キヤノン株式会社 Image processing device
JP3694888B2 (en) * 1999-12-03 2005-09-14 ソニー株式会社 Decoding device and method, encoding device and method, information processing device and method, and recording medium
US8302127B2 (en) * 2000-09-25 2012-10-30 Thomson Licensing System and method for personalized TV
US6909805B2 (en) * 2001-01-31 2005-06-21 Matsushita Electric Industrial Co., Ltd. Detecting and utilizing add-on information from a scanned document image
JP4383004B2 (en) 2001-04-27 2009-12-16 オリンパス株式会社 Electronic camera
JP3971201B2 (en) 2002-02-20 2007-09-05 富士フイルム株式会社 Digital camera
JP2003244527A (en) 2002-02-20 2003-08-29 Fuji Photo Film Co Ltd Digital camera and image data processing system
JP4112259B2 (en) 2002-04-01 2008-07-02 富士フイルム株式会社 Image processing system
JP2004096500A (en) 2002-08-30 2004-03-25 Konica Minolta Holdings Inc Image pickup apparatus, image processing apparatus, and image recording apparatus
JP3796500B2 (en) * 2003-11-21 2006-07-12 キヤノン株式会社 Image processing apparatus, control method therefor, and program
JP4325415B2 (en) 2004-01-27 2009-09-02 株式会社ニコン An electronic camera having a finish setting function and a processing program for customizing the finish setting function of the electronic camera.
JP4466378B2 (en) * 2005-01-11 2010-05-26 株式会社ニコン History adding device, electronic camera, and image processing program

Also Published As

Publication number Publication date
US7620259B2 (en) 2009-11-17
DE602006007737D1 (en) 2009-08-27
JP4466378B2 (en) 2010-05-26
EP1679660A1 (en) 2006-07-12
JP2006196992A (en) 2006-07-27
US20060164525A1 (en) 2006-07-27

Similar Documents

Publication Publication Date Title
EP1679660B1 (en) History adding device for generating history-added image file, electronic camera, and image processing program for processing history-added image file
US7057653B1 (en) Apparatus capable of image capturing
US20080013787A1 (en) Imaging apparatus, image processor, image filing method, image processing method and image processing program
US20070041030A1 (en) Photographing apparatus
JP5014099B2 (en) Imaging apparatus and control method thereof
JP2002344989A (en) Output image adjustment apparatus for image files
US7598983B2 (en) Control of image output using image processing control data
US10848644B2 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium
JP4433883B2 (en) White balance correction device, white balance correction method, program, and electronic camera device
US8957991B2 (en) Imaging apparatus, image processing method and computer program for smoothing dynamic range of luminance of an image signal, color conversion process
JP2001008092A (en) Picture data forming device and picture data processing method
JP2005354372A (en) Apparatus and method for image recording device, method and system for image processing
JP2002305684A (en) Imaging system and program
JP2004246644A (en) Apparatus, method, and program for image processing
US20140192239A1 (en) Image apparatus and imaging method
JP2011091753A (en) Imaging apparatus, image processing apparatus, and program
JP2007060153A (en) History addition device, electronic camera and image processing program
JP4006590B2 (en) Image processing apparatus, scene determination apparatus, image processing method, scene determination method, and program
JP2004080737A (en) Imaging device, imaging method, computer program and computer readable recording medium
JP4320225B2 (en) Image processing for image data
JP2006203571A (en) Imaging apparatus, image processing apparatus, and image recording apparatus
JP2004096444A (en) Image processor and method thereof
JP2007081478A (en) Printing system, imaging apparatus and control method thereof, printer, program and storage medium
JP2003264735A (en) Image processing system, image processing method, computer program and computer readable recording medium
JP4499202B2 (en) camera

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LI LT LU LV MC NL PL PT RO SE SI SK TR

AX Request for extension of the european patent

Extension state: AL BA HR MK YU

17P Request for examination filed

Effective date: 20070105

17Q First examination report despatched

Effective date: 20070212

AKX Designation fees paid

Designated state(s): DE FR GB

GRAP Despatch of communication of intention to grant a patent

Free format text: ORIGINAL CODE: EPIDOSNIGR1

RIN1 Information on inventor provided before grant (corrected)

Inventor name: HOSHUYAMA, HIDEO

GRAS Grant fee paid

Free format text: ORIGINAL CODE: EPIDOSNIGR3

GRAA (expected) grant

Free format text: ORIGINAL CODE: 0009210

AK Designated contracting states

Kind code of ref document: B1

Designated state(s): DE FR GB

REG Reference to a national code

Ref country code: GB

Ref legal event code: FG4D

REF Corresponds to:

Ref document number: 602006007737

Country of ref document: DE

Date of ref document: 20090827

Kind code of ref document: P

PLBE No opposition filed within time limit

Free format text: ORIGINAL CODE: 0009261

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT

26N No opposition filed

Effective date: 20100416

REG Reference to a national code

Ref country code: FR

Ref legal event code: PLFP

Year of fee payment: 11

REG Reference to a national code

Ref country code: FR

Ref legal event code: PLFP

Year of fee payment: 12

REG Reference to a national code

Ref country code: FR

Ref legal event code: PLFP

Year of fee payment: 13

P01 Opt-out of the competence of the unified patent court (upc) registered

Effective date: 20230517

REG Reference to a national code

Ref country code: DE

Ref legal event code: R082

Ref document number: 602006007737

Country of ref document: DE

Representative=s name: KANDLBINDER, MARKUS, DIPL.-PHYS., DE

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: GB

Payment date: 20231130

Year of fee payment: 19

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: FR

Payment date: 20231212

Year of fee payment: 19

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: DE

Payment date: 20231128

Year of fee payment: 19