WO2004008753A1 - 画像データの出力画像調整 - Google Patents

画像データの出力画像調整 Download PDF

Info

Publication number
WO2004008753A1
WO2004008753A1 PCT/JP2003/008809 JP0308809W WO2004008753A1 WO 2004008753 A1 WO2004008753 A1 WO 2004008753A1 JP 0308809 W JP0308809 W JP 0308809W WO 2004008753 A1 WO2004008753 A1 WO 2004008753A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
image data
information
sharpness
aperture
Prior art date
Application number
PCT/JP2003/008809
Other languages
English (en)
French (fr)
Inventor
Takahiko Koizumi
Original Assignee
Seiko Epson Corporation
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 Corporation filed Critical Seiko Epson Corporation
Priority to EP03764166A priority Critical patent/EP1523181A4/en
Priority to JP2004521182A priority patent/JP4007367B2/ja
Priority to US10/503,843 priority patent/US7379213B2/en
Publication of WO2004008753A1 publication Critical patent/WO2004008753A1/ja

Links

Classifications

    • 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/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/6083Colour correction or control controlled by factors external to the apparatus
    • H04N1/6086Colour correction or control controlled by factors external to the apparatus by scene illuminant, i.e. conditions at the time of picture capture, e.g. flash, optical filter used, evening, cloud, daylight, artificial lighting, white point measurement, colour temperature
    • 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/40Picture signal circuits
    • H04N1/409Edge or detail enhancement; Noise or error suppression
    • H04N1/4092Edge or detail enhancement
    • 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/3252Image capture parameters, e.g. resolution, illumination conditions, orientation of the image capture device

Definitions

  • the present invention relates to an image adjustment technique for adjusting image quality of image data.
  • the image quality of image data generated by a digital still camera (DSC) or digital video camera (DVC) can be arbitrarily adjusted by using an image lettering application on a personal computer.
  • the image display application has an image adjustment function for automatically adjusting the image quality of the image data. By using this image adjustment function, the image quality of the image data output from the output device can be reduced. Can be improved.
  • image file output devices for example, CRT, LCD, printers, projectors, and television receivers are known.
  • the printer driver which controls the operation of the printer, which is one of the output devices, has a function to automatically adjust the image quality of the image data.
  • the image quality of image data to be printed can be improved.
  • the image quality automatic adjustment function provided by the image retouching application or the printer driver
  • the image quality is corrected based on image data having general image quality characteristics.
  • the image data to be subjected to the image processing can be generated under various conditions, the image quality may not be improved even if the automatic image quality automatic adjustment function is executed.
  • the present invention has been made to solve the above problem, and has as its object to appropriately and automatically adjust the image quality corresponding to individual image data. Disclosure of the invention
  • an image processing apparatus includes at least image data generated by an image generation unit, aperture information at the time of generating the image data, and operation mode information.
  • An image processing apparatus that outputs an image using image generation information associated with the image data, based on the aperture information and the operation mode information included in the image generation information.
  • An image quality adjustment unit that adjusts the sharpness of the image data.
  • the image processing apparatus can perform appropriate sharpness adjustment of image data based on aperture information and operation mode information at the time of generating image data.
  • the image quality adjustment unit determines whether to perform image quality adjustment for adjusting sharpness of the image data based on the operation mode information, and determines that the image quality adjustment is to be performed. At this time, it is preferable to determine the degree of sharpness adjustment based on the aperture information.
  • sharpness adjustment can be determined appropriately based on the aperture information.
  • the image quality adjustment unit determines whether or not the operation mode of the image generation unit at the time of generating the image data is a port mode based on the operation mode information. If it is determined that the operation mode is the port mode, a) the image quality adjustment is not performed, and b) the aperture value is adjusted under the standard shooting conditions of the image generation unit. It is preferable to execute any one of the following processes: performing a sharpness adjustment that is weaker than the case where it is set.
  • a soft image can be output based on the image data generated in the portrait mode in the image generation unit.
  • the image quality adjustment unit can acquire an aperture value used at the time of generating the image data from the aperture information, and determine whether the aperture value is manually set by a user. If it is determined that the aperture value is manually set, the image generation is performed when the aperture value is set in at least a part of the entire range that the aperture value can take. It is preferable to perform sharpness adjustment stronger than when the aperture value is set under the standard shooting conditions of a part.
  • the aperture value is usually the F value, and the larger the aperture value, the smaller the aperture.
  • the strong sharpness adjustment is performed when the aperture value is equal to or larger than a predetermined value.
  • the degree of sharpness adjustment in the strong sharpness adjustment is higher as the aperture value is larger.
  • the image generation information further includes information regarding a maximum aperture value that can be used in an image data generation unit that has generated the image data. It is preferably executed when the maximum aperture value is reached.
  • the image quality of the image data generated by setting the aperture value to the maximum value can be adjusted more sharply.
  • An output device uses image data generated by an image generation device, and image generation information that includes at least aperture information and operation mode information when the image data is generated and is associated with the image data.
  • An image output device that outputs an image, wherein an image quality adjustment unit that adjusts sharpness of the image data based on the aperture information and the operation mode information included in the image generation information; And an image output unit that outputs an image in accordance with the obtained image data.
  • the present invention can be realized in various forms.
  • an image output method and an image output apparatus for example, an image output method and an image output apparatus, an image processing method and an image processing apparatus, and a method for realizing the functions of these methods or apparatuses
  • Computer program for example, an image output method and an image output apparatus, an image processing method and an image processing apparatus, and a method for realizing the functions of these methods or apparatuses
  • a recording medium on which the computer program is recorded for example, a data signal including the computer program and embodied in a carrier wave, and the like.
  • FIG. 1 is a block diagram showing a configuration of an image data output system as one embodiment of the present invention.
  • FIG. 2 is a block diagram showing a schematic configuration of the digital still camera 12.
  • FIG. 3 is an explanatory diagram conceptually showing an example of the internal configuration of an image file that can be used in the present embodiment.
  • FIG. 4 is an explanatory diagram illustrating an example of a data structure of the attached information storage area 103.
  • FIG. 5 is an explanatory diagram illustrating an example of the data structure of the Exif data area.
  • FIG. 6 is a block diagram showing a schematic configuration of the printer 20.
  • FIG. 7 is a block diagram showing a configuration of the printer 20 centering on the control circuit 30 of the printer 20.
  • FIG. 8 is a flowchart showing a flow of a process of generating an image file GF in the digital still camera 12.
  • FIG. 9 is a flowchart showing a processing routine of image processing in the printer 20.
  • FIG. 10 is a flowchart showing a processing routine of image processing based on image generation information.
  • FIG. 11 is a conceptual diagram illustrating a sharpness adjustment method using an unsharp mask.
  • FIG. 12 is a flowchart showing a processing routine of the automatic image quality adjustment processing.
  • FIG. 13 is an explanatory diagram showing the relationship between the degree of sharpness adjustment and the aperture value in the first embodiment of the automatic image quality adjustment processing.
  • FIG. 14 is an explanatory diagram showing the relationship between the degree of sharpness adjustment and the aperture value in the second embodiment of the automatic image quality adjustment processing.
  • FIG. 15 is an explanatory diagram showing the relationship between the degree of sharpness adjustment and the aperture value in the third embodiment of the automatic image quality adjustment processing.
  • FIG. 16 is an explanatory diagram showing the relationship between the degree of sharpness adjustment and the aperture value in the fourth embodiment of the automatic image quality adjustment processing.
  • FIG. 17 is an explanatory diagram showing the relationship between the degree of sharpness adjustment and the aperture value in the fifth embodiment of the automatic image quality adjustment processing.
  • FIG. 18 is an explanatory diagram showing an example of an image data output system to which the image data processing device can be applied.
  • Figure 19 is a flowchart showing the image processing routine when the color space conversion processing is omitted. I'm Jato.
  • FIG. 20 is a flowchart showing another example of a processing routine of image processing based on image generation information.
  • FIG. 21 is a flowchart showing another example of a processing routine of image processing based on image generation information.
  • FIG. 1 is an explanatory diagram showing an example of an image data output system to which an output device as one embodiment of the present invention can be applied.
  • the image data output system 10 includes a digital still camera 12 as an image data generating device for generating an image file, and a printer 20 as an image output device.
  • the image file generated by the digital still camera # 2 is transmitted to the printer 20 via the cable CV or by directly inserting the memory card MC storing the image file into the printer 20.
  • Printer 20 is based on the read image file Executes the image quality adjustment processing of the image data and outputs the image.
  • a monitor 14 such as a CRT display and an LCD display, a projector, and the like can be used. The following description is based on the case where the printer 20 including the image quality adjustment unit and the image output unit is used as an output device and the memory card MC is directly inserted into the printer 20.
  • FIG. 2 is a block diagram showing a schematic configuration of the digital still camera 12.
  • the digital still camera 12 of this embodiment includes an optical circuit 121 for collecting optical information, an image acquisition circuit 122 for controlling the optical circuit to acquire an image, and a digital camera for acquiring the acquired digital image.
  • An image processing circuit 123 for processing is provided, and a control circuit 124 for controlling each circuit is provided.
  • the control circuit 124 has a memory (not shown).
  • the optical circuit 122 includes a lens 125 for collecting optical information, an aperture 129 for adjusting the amount of light, and a CCD 128 for converting the optical information passed through the lens into image data.
  • the digital still camera 12 stores the acquired image in the memory card MC.
  • the JP EG format is generally used, but other storage formats such as TIFF format, GIF format, BMP format, and RAW data format are also used. be able to.
  • the digital still camera 12 also includes a selection and determination button 126 for setting various shooting conditions (aperture value, shutter speed, exposure adjustment mode, shooting mode, etc.), and a liquid crystal display 127. .
  • the liquid crystal display 127 is used for previewing a photographed image and setting an aperture value and the like using the select and set button 126.
  • the aperture value can be set to a value within a predetermined range which is predetermined according to the type of the digital still camera 12. For example, a predetermined discrete value between 2 and 16 (for example, , 2, 2.8, 4, 5.6, etc.) can be set.
  • the f-number is usually used as the aperture value. Therefore, the larger the aperture value, the smaller the aperture.
  • the shutter speed is also within the specified range Can be set.
  • a value between 115 seconds and 250 seconds can be set.
  • select one of a plurality of modes prepared in advance such as a program mode (automatic adjustment mode), aperture priority mode, shutter speed priority mode, manual mode, etc. It is possible.
  • program auto the exposure is set to the standard value by automatically adjusting the aperture value and the shirt speed to standard values.
  • manual mode the aperture value and shutter speed set by the user are used.
  • an aperture value or a shutter speed is set by a user, an exposure adjustment mode using the set values may be automatically selected.
  • Select one of the preset shooting modes such as the standard mode, portrait mode (portlet mode), landscape mode, or night view mode, according to the type of subject. It is possible to do.
  • the related parameters are automatically set according to the specified shooting mode.
  • the standard mode is selected as the shooting mode, not only the aperture value but also the parameters related to image data generation are set to the standard values.
  • the standard shooting conditions under which the aperture value is set to a standard value are the same as those in the digital still camera 12. These are the default shooting conditions.
  • the standard shooting conditions are often used as settings when the digital still camera 12 is purchased.
  • image data and image generation information are stored in the memory card MC as image files.
  • the image generation information can include parameter settings such as the aperture value at the time of shooting (when generating image data) (details will be described later).
  • FIG. 3 is an explanatory diagram conceptually showing an example of the internal configuration of an image file that can be used in the present embodiment.
  • the image file GF includes an image data storage area 101 for storing the image data GD, and an image generation information storage area 102 for storing the image generation information GI.
  • the image data GD is stored, for example, in a JPEG format
  • the image generation information GI is stored, for example, in a TIFF format (a format in which data and data areas are specified using tags).
  • TIFF format a format in which data and data areas are specified using tags.
  • the image generation information GI is information about the image when the image data is generated (taken) by the image data generation device such as the digital still camera 12 or the like, and includes the following setting values. I have.
  • the image file GF of the present embodiment basically needs only to have the above-mentioned image data storage area 101 and the image generation information storage area 102, and has a file format that has already been standardized. It is possible to take a file structure according to it.
  • the image file GF according to the present embodiment is adapted to the Exif file format will be specifically described.
  • the Exif file is an image file format standard for digital still cameras. It has a file structure according to the case (Ex if), and its specifications are defined by the Japan Electronics and Information Technology Industries Association (JE 1 TA).
  • the Exif file format stores image data in the JPEG format in the same way as the conceptual diagram shown in Fig. 3. "The PEG image data storage area and various information related to the stored JPEG image data And an auxiliary information storage area for storing the information.
  • the JP EG image data storage area corresponds to the image data storage area 101 in FIG. 3, and the attached information storage area corresponds to the image generation information storage area 102.
  • image generation information regarding a jp EG image such as a shooting date and time, an aperture value, and a shutter speed is stored.
  • FIG. 4 is an explanatory diagram illustrating an example of the data structure of the attached information storage area 103.
  • hierarchical tags are used to specify the data area.
  • Each data area can include therein a plurality of lower data areas specified by lower tags.
  • the area surrounded by a square represents one data area, and the tag name is written on the upper left.
  • This embodiment includes three data areas with tag names AP P0, APP 1, and APP 6.
  • the APPP 1 data area contains two data areas with tag names IFD 0 and IFD 1 inside.
  • the IF DO data area contains three data areas with tag names PM, Ex if, and GPS.
  • the data and data area are stored according to the specified address or offset value, and the address or offset value can be searched by the tag name.
  • data corresponding to the desired information can be obtained by designating an address or an offset value corresponding to the desired information.
  • Fig. 5 illustrates an example of the data structure (data tag name and parameter value) of the Ex if data area that can be referred to by tracing the tag name in the order of APP 1-I FDO-Ex if in Fig. 4.
  • FIG. The Ex if data area can include a data area with a tag name of Maker N 0 te, as shown in FIG. 4, and the Maker N ote data area can contain more data. Can However, illustration is omitted in FIG.
  • the Exif data area stores the exposure time, aperture value, exposure program, lens focal length, and parameter values corresponding to information such as the shooting scene type.
  • the aperture value can be used as aperture information
  • the exposure program and shooting scene type can be used as operation mode information.
  • the exposure program is information for identifying the exposure adjustment mode.
  • the exposure program is set by selecting from a plurality of values including the following four values.
  • Parameter value 1 Manual mode.
  • Parameter value 2 Program resource.
  • Parameter value 3 Aperture priority mode.
  • Parameter value 4 Shutter speed priority mode.
  • the photographing scene type is information for identifying the photographing mode, and is set by, for example, selecting from a standard mode, a person mode (port rate mode), a landscape mode, and a night scene mode.
  • Image data output device Configuration of image data output device:
  • FIG. 6 is a block diagram illustrating a schematic configuration of the printer 20 of the present embodiment.
  • the printer 20 is a printer that can output images.For example, four inks of cyan C, magenta Mg, yellow Y, and black K are ejected onto a printing medium and dropped. This is an ink-jet printing method that forms a pattern. Further, an electrophotographic printing apparatus that forms an image by transferring and fixing toner on a printing medium may be used. In addition to the above four colors, the ink has a lighter density than cyan C. Cyan LC, light magenta LM having a lower concentration than magenta Mg, and dark yellow DY having a higher concentration than yellow Y may be used. When monochrome printing is performed, only black K may be used, or red R or green G may be used. The type of ink or toner used can be determined according to the characteristics of the output image.
  • the printer 20 has a mechanism for driving the print head 211 mounted on the carriage 21 to eject ink and form dots, and a mechanism for driving the carriage 21 1 to the platen 23 by the carriage motor 22. It comprises a mechanism for reciprocating in the axial direction, a mechanism for transporting the printing paper P by the paper feed motor 24, and a control circuit 30. With these mechanisms, the printer 20 functions as an image output unit.
  • the mechanism that reciprocates the carriage 21 in the axial direction of the platen 23 includes a paddle shaft 25 that holds the carriage 21 that is installed parallel to the axis of the platen 23 so as to allow paddle movement, and a carriage motor 2 2. And a position detection sensor 28 for detecting the origin position of the carriage 21.
  • the mechanism for transporting the printing paper P includes a platen 23, a paper feed motor 24 for rotating the platen 23, a paper feed auxiliary roller (not shown), and a platen 23 for rotating the paper feed motor 24. And a gear train (not shown) transmitted to the paper auxiliary roller.
  • the control circuit 30 appropriately controls the movement of the paper feed motor 24, the carriage motor 22 and the print head 211 while exchanging signals with the operation panel 29 of the printer.
  • the printing paper P supplied to the printer 20 is set so as to be sandwiched between the platen 23 and the paper feed auxiliary roller, and is fed by a predetermined amount according to the rotation angle of the platen 23.
  • FIG. 7 is a block diagram showing the configuration of the printer 20 with the control circuit 30 of the printer 20 as the center.
  • the control circuit 30 includes a CPU 31, a PROM 32, a RAM 33, a memory card slot 34 for acquiring data from the memory card MC, a paper feed motor 24 and a carriage motor 2.
  • a peripheral device input / output unit (PI 0) 35 for exchanging data with the second and the like, a drive buffer 37 and the like are provided.
  • the drive buffer 37 is used as a buffer for supplying a dot on / off signal to the print head 211.
  • the control circuit 30 also includes a transmitter 39 for outputting a drive waveform at a predetermined frequency, and a distribution output device 4 for distributing the output from the transmitter 39 to the print head 211 at a predetermined time. 0 is also provided.
  • the control circuit 30 outputs the dot data to the drive buffer 37 at a predetermined timing while synchronizing with the movements of the paper feed motor 24 and the carriage motor 22. Further, the control circuit 30 reads the image file from the memory card MC, analyzes the attached information, and performs image processing based on the obtained image generation information. That is, the control circuit 30 functions as an image quality adjustment unit. The detailed flow of image processing executed by the control circuit 30 will be described later.
  • FIG. 8 is a flowchart showing a flow of a process of generating an image file GF in the digital still camera 12.
  • the control circuit 124 (FIG. 2) of the digital still camera 12 generates image data GD in response to a photographing request, for example, pressing down a shutter button (step S100).
  • image data GD is generated using the set parameter values.
  • the control circuit 124 outputs the generated image data GD and the image generation information GI to the image file. It is stored in the memory card MC as an aisle GF (step S 1 ⁇ 0), and this processing routine ends.
  • the image generation information GI includes parameters such as an aperture value and a shutter speed used for generating an image, parameter values that can be arbitrarily set such as an exposure adjustment mode and a shooting mode, a maker name, and a model name. Includes automatically set parameter values.
  • the image data GD is converted from the RG color space to the YCbCr color space, then JPEG-compressed, and stored as an image file GF.
  • the image file GF stored in the memory card MC contains image data GD and image generation information GI including each parameter value at the time of image data generation. Is set.
  • FIG. 9 is a flowchart showing a processing routine of image processing in the printer 20 according to the present embodiment. The following description is based on the case where the memory card MC storing the image file GF is directly inserted into the printer 20.
  • the CPU 31 of the control circuit 30 (FIG. 7) of the printer 20 reads the image file GF (FIG. 3) from the memory card MC (step S200). .
  • the CPU 31 searches the attached information storage area of the image file GF for image generation information GI indicating information at the time of generating image data.
  • step S220 If the image generation information GI has been found (step S220: Y), the CPU 31 acquires and analyzes the image generation information GI (step S230). The CPU 31 executes image processing described below based on the analyzed image generation information GI (step S240), outputs the processed image (step S250), and ends the processing routine.
  • an image file generated using a drawing application or the like does not include image generation information GI having information such as an aperture value.
  • CPU 31 If the image generation information GI cannot be found (step S220: N), standard processing is performed (step S260), the processed image is output (step S250), and this processing routine ends. .
  • FIG. 10 is a flowchart showing a processing routine of image processing based on image / generation information (corresponding to step S240 in FIG. 9). Control of printer 20
  • the CPU 31 of the circuit 30 extracts the image data GD from the read image file GF (step S300).
  • the digital still camera ⁇ 2 stores the image data GD as a “PEG format file”, and the JP EG format file stores the image data using the YCbCr color space.
  • the CPU 31 executes an operation using the 3x3 matrix S to convert the image data based on the YCbCr color space into the image data based on the RGB color space.
  • This matrix operation is, for example, an operation expression shown below.
  • the image data generated by the digital still camera 12 is wider than a predetermined color space, for example, s RG ⁇ color space, the image data based on the RG ⁇ color space obtained in step S 3 10
  • a predetermined color space for example, s RG ⁇ color space
  • the image data based on the RG ⁇ color space obtained in step S 3 10 there are cases where valid data is included outside the defined area of the RG color space.
  • the image generation information GI specifies that data outside the defined area is treated as valid data, the data outside the defined area is treated as valid data. And continue the subsequent image processing.
  • data outside the definition area is not specified as valid data, the data outside the definition area is clipped into the definition area. For example, if the definition area is 0 to 255, negative data less than 0 is rounded to 0, and data greater than 256 is rounded to 255.
  • the color space that can be expressed by the image output unit is not wider than a predetermined color space, for example, the sRGB color space, clipping in the definition area is irrespective of the specification in the image generation information GI. preferable. In such a case, for example, there is a case where the color space that can be expressed is output to a CRT in which the s RGB color space is used.
  • step S320 the CPU 31 executes gamma correction and an operation using the matrix M to convert image data based on the RGB color space into image data based on the XYZ color space.
  • the image file GF can include gamma values and color space information at the time of image generation.
  • the CPU 31 obtains the gamma value of the image data from the image generation information GI, and executes the gamma conversion process of the image data using the obtained gamma value. Further, the CPU 31 acquires the color space information of the image data from the image generation information GI, and executes the matrix operation of the image data using the matrix M corresponding to the color space.
  • the image generation information GI does not include a gamma value
  • gamma conversion processing can be performed using a standard gamma value.
  • the matrix operation can be performed using the standard matrix M.
  • these standard gamma values and the matrix M for example, a gamma value and a matrix for the sRGB color space can be used. This matrix operation is, for example, an operation expression shown below.
  • the color space of the image data obtained after executing the matrix operation is the XYZ color space.
  • the color space is an absolute color space, and is a device-independent color space that does not depend on devices such as digital still cameras and printers. Therefore, device-independent color matching can be performed by converting the color space through the color space.
  • step S330 the CPU 31 executes an operation using the matrix ⁇ ⁇ ⁇ and inverse gamma correction, and converts the image data based on the color space into an image based on the wRG color space. Convert to data.
  • the CPU 31 obtains the gamma value of the printer from the PROM 32 and performs the inverse gamma conversion process of the image data using the reciprocal of the obtained gamma value. Further, the CPU 31 obtains a matrix ⁇ ⁇ ⁇ corresponding to the conversion from the XYZ color space to the wRG B color space from the PROM 32, and executes a matrix operation of the image data using the matrix N-i.
  • This matrix operation is, for example, an operation expression shown below.
  • step S340 CPU 31 executes an automatic image quality adjustment process.
  • the image generation information included in the image file GF in particular, the aperture value as the aperture information and the parameter value of the exposure program as the operation mode information are used to obtain the image.
  • Automatic image quality adjustment processing for adjusting data sharpness is executed. The sharpness adjustment and the automatic image quality adjustment processing will be described later. '
  • step S350 the CPU 31 executes CMYK color conversion processing for printing and halftone processing.
  • the CPU 31 refers to the look-up table (LUT) for conversion from the wRG B color space to the CMYK color space stored in the PROM 32, and converts the color space of the image data to wRG. Change from B color space to CM YK color space.
  • LUT look-up table
  • image data consisting of R, G, and B gradation values is used in the printer 20, for example, C (Cyan) Mg (Magenta) Y (YeIlow) K (B lack) LC (Light C yan)
  • the image data is converted into image data consisting of the gradation values of the six colors LM (Light Magneta).
  • the CPU 31 executes a so-called halftone process to generate half I-one image data from the color-converted image data.
  • the halftone image data is rearranged in the order to be sent to the drive buffer 37 (FIG. 7), becomes final print data, and ends the processing routine.
  • the image data processed by this processing routine is output in step S250 of the image processing routine shown in FIG. F.
  • Example of sharpness adjustment processing is
  • FIG. 11 is a conceptual diagram illustrating a sharpness adjustment method using an unsharp mask. Sharpness adjustment is explained step by step using the luminance values of pixels arranged on a straight line.
  • FIG. 11 (a) shows the original data 0DATA before the sharpness adjustment.
  • the vertical axis represents the luminance value of each pixel. In this example, the vertical axis can take a value between 0 and 100.
  • the horizontal axis represents the position of the pixel, and one marker represents one of the pixels arranged in a straight line. That is, the markers representing the pixels arranged on a straight line are arranged along the horizontal axis according to the arrangement order of the pixels.
  • the sharpness adjustment will be described using the data of the area where the luminance value changes in a stepwise manner as the original data ODATA.
  • a method using an unsharp mask can be used.
  • brightness data changes are prepared (unsharp), and the unsharp data is subtracted from the original data to sharpen the change in brightness values.
  • Unsharp data can be obtained by averaging the luminance value of each pixel of the original data using the luminance values of the surrounding pixels.
  • averaging method a method of calculating an average by combining the luminance value of a target pixel and the luminance values of pixels around the target pixel can be used.
  • a method of calculating the average with a larger weight as the luminance value of a pixel that is closer (the distance between pixels is shorter) may be used.
  • FIG. 11B shows the luminance value of the unsharp data UDATA generated using the unsharp mask. Compared to the original data 0 DATA, the change in the luminance value It can be seen that the conversion has become moderate.
  • FIG. 11 (c) shows the difference data DIFF obtained by subtracting the unsharp data U DAT A from the original data 0 DAT A.
  • a value obtained by multiplying the difference data DIFF by a predetermined coefficient G and the original data 0 DATA it is possible to obtain sharp data in which the change in the luminance value is sharpened.
  • FIG. 11 (d) shows the brightness values of sharp data obtained using different coefficients G.
  • S 1 indicates sharp data using a relatively small coefficient G 1
  • S 2 indicates sharp data using a relatively large coefficient G 2.
  • the change in luminance value is steeper than the original data, and the sharpness of the image is stronger.
  • the larger the coefficient G the stronger the sharpness can be adjusted.
  • the coefficient G is set to 0, the original data ODATA and the sharp data become equal, and no sharpness adjustment is performed.
  • a method of weakening the sharpness a method can be used in which the unsharp data UDATA described above is used as adjusted data. In this case, as the width of the unsharp mask is increased, it is possible to obtain unsharp data in which the change in the luminance value is further reduced.
  • FIG. 12 is a flowchart showing a processing routine of the automatic image quality adjustment processing (corresponding to step S340 in FIG. 10) in the present embodiment.
  • the CPU 31 (FIG. 7) analyzes the image generation information GI and obtains an aperture value and a parameter value of an exposure program (step S400).
  • step S4 ⁇ 0 the image data It is determined whether or not the aperture value at the time of generating the evening is a manual setting.
  • a manual exposure adjustment mode and an aperture-priority exposure adjustment mode can be selected as manual settings.
  • the value of the exposure program (Fig. 5) is 1 in manual mode, and 3 in aperture priority mode.
  • the CPU 31 determines whether the value of the exposure program is 1 or 3.
  • step S430 the CPU 31 sets a standard sharpness adjustment degree. Image quality adjustment.
  • the exposure adjustment mode is the manual mode or the aperture priority mode (step S410: Y)
  • the user sets the aperture value manually, so that the user prefers the depth of field of the image. It can be determined that the user wants to set a higher level.
  • step 420 the CPU 31 executes the image quality adjustment in which the degree of sharpness adjustment is strong when the aperture is small (the aperture value is large).
  • FIG. 13 is an explanatory diagram showing an example of the relationship between the degree of sharpness adjustment and the aperture value.
  • the vertical axis indicates the degree of sharpness adjustment (hereinafter, referred to as sharpness intensity). The larger the value, the more sharpness is emphasized.
  • the horizontal axis indicates the aperture value F.
  • STD indicates the sharpness intensity of the image quality adjustment when the aperture value is set under the standard shooting conditions of the digital still camera 12 (hereinafter referred to as “standard sharpness intensity”)
  • C 1 indicates the value when the aperture value is manually set. Indicates the sharpness intensity of image quality adjustment (hereinafter referred to as “high sharpness intensity”).
  • the standard sharpness intensity STD is used when the exposure adjustment mode is either the program gain mode or the shirt evening speed priority mode (step S430 in FIG. 12).
  • the high sharpness intensity C1 is used when the exposure adjustment mode is either the manual mode or the aperture priority mode (step S420 in FIG. 12).
  • the standard shooting conditions of the digital still camera 12 mean the default shooting conditions of the digital still camera II 2 at the time of shipment from the factory. Usually, it corresponds to the shooting condition by program auto.
  • the image quality may be adjusted with a sharpness intensity different from the standard sharpness intensity STD.
  • the high sharpness intensity C 1 is configured to be larger than the standard sharpness intensity S T D when the aperture value is 8 or more. In this way, a sharp image can be output effectively when the user sets the aperture value to a large value (smaller aperture) with the intention of outputting a sharper image.
  • the predetermined aperture value for making the high sharpness strength C1 larger than the standard sharpness strength STD is not limited to 8, but can be set to an arbitrary value in advance. For example, by setting to 4, a sharper image can be output. For example, by setting to 11, a softer image can be output.
  • the standard sharpness intensity STD a value set in advance so that the output result of an image generated under standard conditions (for example, program space) of the digital still camera 12 can be used.
  • the sharpness of the image may be analyzed for each image, and the standard sharpness intensity STD may be adjusted for each image according to the analysis result so that the sharpness of the image approaches the reference value of the sharpness.
  • Image sharpness can be obtained, for example, by defining the absolute value of the brightness difference between one pixel and a predetermined surrounding pixel as the edge amount of one pixel, and averaging the edge amount of all pixels .
  • a value obtained by increasing the weight of a pixel having a large edge amount (that is, a pixel considered to correspond to an edge in an image) and averaging it may be defined as sharpness.
  • no sharpness adjustment may be set as the standard sharpness intensity STD.
  • the high sharpness intensity C1 is obtained when the aperture value is set to a predetermined range (in this embodiment, the aperture value is If it is 8 or more), it is configured to be larger than the set standard sharpness intensity STD.
  • the high sharpness intensity C1 of the image quality adjustment in the manual setting is used to quantitatively evaluate the sharpness of the image by comparing the image data that has been subjected to the sharpness image quality adjustment and the image data that has been subjected to the sharpness standard image quality adjustment for the same original image.
  • the comparison can be made based on the sensitivity evaluation of the output result, and the image output result can be determined to be optimal. For example, for the same image data, the result of setting the parameter value of the exposure program to 3 (aperture priority mode) and outputting the result, and setting the parameter value of the exposure program to 2 (program resource) and outputting Can be determined by comparing the results.
  • an operation mode that automatically adjusts various parameters during image generation to standard values not only for aperture value and exposure, can be used in the image data generator, set the operation mode.
  • the image quality adjustment using the same sharpness intensity is performed in the case where the exposure adjustment mode is the manual mode and in the case where the aperture priority mode is set. May be respectively performed.
  • FIG. 14 is an explanatory diagram showing the relationship between the sharpness intensity of image quality adjustment and the aperture value in the second example of the automatic image quality adjustment process.
  • the meaning of the vertical and horizontal axes, and the meaning of STD and C1 are the same as in FIG.
  • the second embodiment differs from the first embodiment shown in FIG. 13 in that the standard sharpness intensity STD continuously increases as the aperture value increases. By doing so, it is possible to express the difference in sharpness depending on the aperture value even when performing standard image quality adjustment of sharpness. Further, by increasing the high sharpness intensity C1 when the aperture value is equal to or more than a predetermined value (8 in this embodiment) than the standard sharpness intensity STD, a user who intends to output a sharper image can be obtained. Can respond to requests You.
  • the standard sharpness intensity STD may be configured to increase stepwise in a plurality of stages as the aperture value increases.
  • FIG. 15 is an explanatory diagram showing the relationship between the sharpness intensity and the aperture value in the third embodiment of the automatic image quality adjustment processing.
  • the third embodiment is different from the first embodiment shown in FIG. 13 in that when the aperture value is equal to or larger than a predetermined value (8 in this embodiment), the high sharpness intensity C 1 increases with the increase in the aperture value. It is continuously increasing. By doing so, sharpness enhancement processing can be performed more finely based on the aperture value.
  • the high sharpness intensity C1 may be configured to increase stepwise in a plurality of stages as the aperture value increases.
  • FIG. 16 is an explanatory diagram showing the relationship between sharpness intensity and aperture value in the fourth embodiment of the automatic image quality adjustment processing.
  • the fourth embodiment differs from the first embodiment shown in FIG. 13 in that the high sharpness intensity C1 continuously increases with an increase in the aperture value in the entire range where the aperture value can be taken. By doing so, sharpness enhancement processing can be performed more finely based on the aperture value.
  • the high sharpness intensity C 1 may be configured to increase stepwise in a plurality of stages as the aperture value increases.
  • FIG. 17 is an explanatory diagram showing the relationship between the sharpness intensity and the aperture value in the fifth embodiment of the automatic image quality adjustment processing.
  • the high sharpness intensity C1 is configured to be larger than the standard sharpness intensity STD.
  • the maximum aperture value is 11 and the aperture value is 11
  • the high sharpness intensity C1 is configured to be larger than the standard sharpness intensity STD. Therefore, the user can output a sharp image by a simple operation of setting the maximum aperture value.
  • the maximum aperture value is a value determined according to the model of the digital still camera 12 (more generally, the model of the image data generating apparatus).
  • the CPU 3 (FIG. 7) obtains the value and adjusts the sharpness intensity according to the aperture value. be able to.
  • a memory such as PROM 32 (FIG. 7) may store an aperture value table including a combination of the image data generating device and the maximum aperture value. If the image generation information GI includes, for example, a maker name and a model name as information on the maximum aperture value, the CPU 31 uses the maker name and the model name to execute the processing from the aperture value table. The maximum aperture value can be obtained.
  • the aperture value table may be obtained online via a network or the like. By doing so, the aperture value table can be appropriately updated to a table containing the latest information. As described above, as the information on the maximum aperture value, information for specifying the model of the image generating apparatus can be used.
  • FIG. 18 is an explanatory diagram showing an example of an image data output system to which the image data processing device as one embodiment of the present invention can be applied.
  • the image data output system 10B includes a digital still camera 12 as an image data generation device that generates an image file, a computer PC that performs image quality adjustment processing based on the image file, and an image that outputs an image.
  • a printer 20B is provided as a data output device.
  • Computer A PC is a commonly used type of computer that functions as an image data processing device.
  • monitors 14B such as CRT displays and LCD displays, and projects Can be used. In the following description, it is assumed that the printer 20B is used as an image data output device.
  • the image data processing apparatus having the image quality adjusting unit and the image data output apparatus having the image output unit are configured independently of each other. Different from 1).
  • a computer PC as an image data processing device and a printer having an image output unit can be called an “output device” in a broad sense.
  • the image file generated by the digital still camera 12 is sent to the computer PC via the cable CV or by directly inserting the memory card MC storing the image file into the computer PC.
  • the computer executes image quality adjustment processing of the image data based on the read image file.
  • the image data generated by the image quality adjustment processing is sent to the printer 20B via the cable CV and output by the printer 20B.
  • the computer PC includes a CPU 150 for executing a program for realizing the above-described image quality adjustment processing, a RAM 1501 for temporarily storing a calculation result of the CPU 150 and image data, etc., and an image quality adjustment processing program. It has a hard disk drive (HDD) 152 that stores data necessary for image quality adjustment processing, such as an image, a lookup table, and an aperture table.
  • the CPU 150, the RAM I 51, and the HDD 152 function as an image quality adjustment unit.
  • the computer PC has a memory card slot 153 for mounting a memory card MC and an input / output terminal 154 for connecting a connection cable from the digital still camera 12 or the like.
  • the image file GF generated by the digital still camera 12 is provided to a computer PC via a cable or via a memory card MC.
  • an image data processing application program such as an image retouching application or a print driver is started by a user operation
  • the CPU 150 executes an image processing routine (FIG. 9) for processing the read image file GF. I do. Insert memory card MC into memory card slot 1 53
  • the image data processing application program may be automatically started by detecting the connection of the digital still camera 12 via the cable to the input / output terminal 154.
  • the image data processed by the CPU 150 is sent to an image data output device, for example, a printer 20B, instead of being output at step S250 of the image processing routine (FIG. 9).
  • the image data output device that receives the image data outputs the image.
  • the image processing is performed using the image quality adjustment unit provided in the computer PC, it is possible to use an image data output device without the image quality adjustment unit. If the image data output device has an image quality adjustment unit, the combination PC sends the image data to the image data output device without performing image processing, and the image quality adjustment unit of the image data output device outputs the image data.
  • a configuration for performing image processing may be adopted.
  • the image quality can be automatically adjusted using the image generation information GI included in the image file GF, so that the intention of the user can be easily reflected. High quality output results can be obtained.
  • image data generated by the user adjusting the aperture value can be output after performing appropriate sharpness adjustment.
  • step S320 and S330 the color space conversion processing in the image processing routine shown in Fig. 10 is omitted. can do.
  • Figure 19 shows the color space conversion process omitted.
  • 5 is a flowchart illustrating an image processing routine when omitted.
  • the image data extracted in step S500 is converted in step S510 from image data based on the YCbCr color space to image data based on the RGB color space.
  • step S520 an automatic image quality adjustment process is performed using the image data obtained in step S510.
  • step S530 CMYK color conversion processing for printing and halftone processing are executed.
  • the automatic image quality adjustment processing is executed after the color space conversion is executed.
  • the color space conversion may be executed after the automatic image quality adjustment processing is executed.
  • the image processing may be executed according to the flowchart shown in FIG.
  • FIG. 21 is a flowchart showing a processing routine of image processing based on image generation information when a CRT is used as an image output unit. Unlike the flowchart shown in FIG. 10 in which the printer is an image output unit, the CMYK color conversion processing and the half-I-one processing are omitted. In addition, since the CRT can represent the RGB color space of the image data obtained by executing the matrix operation (S), the color space conversion processing is also omitted.
  • step S620 Is executed.
  • the color space available to the image output unit is different from the RGB color space
  • the color space to the color space available to the image output unit is used in the same way as when performing the CMYK color conversion process when using the printer.
  • the conversion process is executed, and the resulting image is output from the image output unit.
  • the same sharpness adjustment is performed for images generated in two operation modes (manual mode and aperture priority mode) in which the aperture value is set manually by the user.
  • image quality adjustment with different sharpness intensity may be performed for each of a plurality of operation modes in which the aperture value is manually set.
  • the sharpness intensity in each operation mode is configured to be larger than the standard sharpness intensity ST when the aperture value is set to a predetermined relatively large value range. As the range of the predetermined relatively large value, a different range may be set for each operation mode. This makes it possible to perform image quality adjustment suitable for each operation mode. Further, even when there are a plurality of operation modes in which the aperture value is automatically adjusted, image quality adjustment with different sharpness intensity may be performed for each operation mode.
  • the standard sharpness intensity STD It is preferable to perform image quality adjustment with low sharpness intensity. By doing so, a more soft portrait of the person (portrait) can be output.
  • the relationship between the sharpness intensity and the aperture value may be configured to be weaker than the standard sharpness intensity STD regardless of the aperture value, and when the aperture value is set in a predetermined range, You may comprise so that it may become weaker than standard sharpness intensity STD. Further, a configuration in which image quality adjustment related to sharpness is not performed may be adopted. In this way, image processing in the portrait mode (portrait mode) can be simplified.
  • the exposure program and the shooting scene type are used as the operation mode information.
  • the operation mode information according to the present invention is not limited to these, and includes information regarding the operation of the image generating apparatus at the time of image generation. Any information is acceptable.
  • the sharpness adjustment processing can be executed for all pixels, but may be executed by selecting a pixel having a relatively large edge amount. This allows you to adjust sharpness without correcting possible pixels that do not correspond to edges in the image.
  • the degree of sharpness adjustment may be adjusted not only by the coefficient G but also by adjusting the width of the unsharp mask.
  • a file in the EXif format has been described as a specific example of the image file GF, but the format of the image file according to the present invention is not limited to this. That is, any image file may be used as long as the image file includes the image data generated by the image data generating apparatus and the image generation information GI describing the conditions (information) at the time of generation of the image data. With such a file, the image quality of the image data generated by the image data generation device can be automatically adjusted appropriately and output from the output device.
  • the values of the matrices S, N-i, and M in each formula are just examples, and It can be appropriately changed according to the color space based on the color space or the color space that can be used by the image output unit.
  • the digital still camera 12 is used as the image data generating device.
  • an image file can be generated using an image data generating device such as a scanner or a digital video camera.
  • the image generation device includes an image quality adjustment unit (for example, if the digital camera 12 includes an image quality adjustment unit)
  • the image generation device performs sharpness adjustment processing in the image generation device and outputs the processed image.
  • the image generation device may be configured to directly send data to an image output device such as a printer or a monitor.
  • the image data GD and the image generation information GI are included in the same image file GF
  • the image data GD and the image generation information GI are not necessarily stored in the same file. Need not be.
  • the image data GD is associated with the image generation information GI.
  • the association data that associates the image data GD with the image generation information GI is generated, and one or a plurality of image data is associated with the image data GD.
  • the image generation information GI may be stored in independent files, and the associated image generation information GI may be referred to when processing the image data GD.
  • the image data GD and the image generation information GI are stored in separate files, at the time of the image processing using the image generation information GI, the image data GD and the image generation information GI are inseparable. This is because they have a relationship and function substantially as if they were stored in the same file. That is, the mode in which the image data GD and the image generation information GI are associated at least at the time of image processing is included in the image file GF in the present embodiment.
  • CD—R Includes moving image files stored on optical disc media such as OM, CD-R, DVDR-ROM, DVD-RAM. Industrial applicability
  • the present invention is applicable to various image processing apparatuses such as a personal computer, a printer, a facsimile apparatus, and a digital camera.

Abstract

画像データと、前記画像データ生成時における絞り情報と動作モード情報とを少なくとも含むと共に前記画像データに関連付けられた画像生成情報とを用い、前記画像生成情報に含まれる前記絞り情報と前記動作モード情報とに基づいた前記画像データのシャープネスの調整を行う。

Description

明細書
画像デー夕の出力画像調整 技術分野
本発明は、 画像データの画質を調整する画像調整技術に関する。
背景技術
ディジタルスチルカメラ (D S C ) やディジタルビデオカメラ (D V C ) 等に よって生成された画像データの画質は、 パーソナルコンピュータ上で画像レタツ チアプリケーションを用いることによって任意に調整することができる。 画像レ 夕ツチアプリケーションには、 一般的に、 画像データの画質を自動的に調整する 画像調整機能が備えられており、 この画像調整機能を利用すれば、 出力装置から 出力する画像データの画質を向上させることができる。 画像ファイルの出力装置 としては、 例えば、 C R T、 L C D , プリンタ、 プロジェクタ、 テレビ受像器な どが知られている。
また、出力装置の 1つであるプリン夕の動作を制御するプリン夕ドライバにも、 画像データの画質を自動的に調整する機能が備えられており、 このようなプリン 夕ドライバを利用しても、 印刷される画像データの画質を向上させることができ る。
しかしながら、 これら画像レタッチアプリケーションやプリンタドライバによ つて提供される画質自動調整機能では、 一般的な画質特性を有する画像データを 基準として画質補正が実行される。 これに対して、 画像処理の対象となる画像デ 一夕は様々な条件下で生成され得るため、一律に画質自動調整機能を実行しても、 画質を向上させることができない場合がある。
例えば、 風景や記念撮影などの画像を出力する場合には、 手前から背景に至る まで画面全体にわたってピン卜を合わせたシャープな画像が好まれる。 そのため に、 絞りを小さく (絞り値を大きく) 設定し、 動作モード、 例えば露出調整モー ドを、 ユーザが設定した絞り値を優先して利用する絞り優先モ一ドゃマニュアル モードに設定した画像データの生成がしばしば行われる。 ところが、 このような 画像データに対して一般的な画質特性を有する画像データを基準とした画質補正 を行っても、 十分なシャープさを得ることができない場合があった。 なお、 こう した問題は D S Cに限らず、 D V C等の他の画像データ生成装置においても共通 の課題である。
本発明は、 上記問題を解決するためになされたものであり、 個々の画像データ に対応して画質を適切に自動調整することを目的とする。 発明の開示
上記課題の少なくとも一部を解決するために、この発明による画像処理装置は、 画像生成部で生成された画像データと、 前記画像データ生成時における絞り情報 と動作モ一ド情報とを少なくとも含むと共に前記画像デ一夕に関連付けられた画 像生成情報とを用いて、 画像を出力する画像処理装置であって、 前記画像生成情 報に含まれる前記絞り情報と前記動作モード情報とに基づいて、 前記画像データ のシヤープネスを調整する画質調整部を備える。
この発明による画像処理装置は、 画像データ生成時における絞り情報と動作モ 一ド情報とに基づいて、 画像データの適切なシャープネス調整を行うことができ る。
上記画像処理装置において、 前記画質調整部は、 前記動作モード情報に基づい て、 前記画像データのシャープネスを調整する画質調整を実行するか否かの判定 を行うとともに、 前記画質調整を実行すると判定したときに、 シャープネス調整 の度合いを前記絞り情報に基づいて決定するのが好ましい。
こうすることで、シャープネスを調整する画質調整を実行するか否かの判定を、 動作モードに基づいて適切に実行することができる。 さらに、 シャープネス調整 の度合いを、 絞り情報に基づいて適切に決定することができる。
上記各画像処理装置において、 前記画質調整部は、 前記動作モード情報に基づ いて、 前記画像データ生成時における画像生成部の動作モードがポ一卜レートモ 一ドであるか否かを判定することが可能であり、 前記動作モ一ドがポー卜レー卜 モードであると判定した場合には、 a ) 前記画質調整を実行しない、 b ) 前記画 像生成部の標準撮影条件で前記絞り値が設定される場合よりも弱いシャープネス 調整を実行する、 のいずれかの処理を実行するのが好ましい。
こうすることで、 画像生成部においてポートレートモ一ドで生成された画像デ —夕に基づいて、 ソフトな画像を出力することができる。
上記各画像処理装置において、 前記画質調整部は、 前記絞り情報から前記画像 データ生成時に用いられた絞り値を取得すると共に、 前記絞り値がユーザによる マニュアル設定か否かを判定することが可能であり、 前記絞リ値がマニュアル設 定であると判定した場合には、 前記絞り値が取り得る全範囲のうちの少なくとも 一部の範囲に前記絞り値が設定されているときに、 前記画像生成部の標準撮影条 件で前記絞り値が設定される場合よりも強いシャープネス調整を実行するのが好 ましい。
こうすることで、 絞り値を調節して生成された画像データのシャープネスを、 より適切に調整することができる。 なお、 絞り値は通常は F値であり、 絞り値が 大きいほど絞りは小さい。
上記各画像処理装置において、 前記強いシャープネス調整は、 前記絞り値が所 定の値以上である場合に実行されるのが好ましい。
こうすることで、 絞り値を所定の値以上に設定して生成された画像データの画 質を、 よりシャープに調整することができる。
上記各画像処理装置において、 前記強いシャープネス調整におけるシャープネ ス調整の度合いは、 前記絞り値が大きいほど強いのが好ましい。
こうすることで、絞り値をより大きく設定して生成された画像データの画質を、 よりシャープに調整することができる。
上記各画像処理装置において、 前記画像生成情報は、 さらに、 前記画像データ を生成した画像データ生成部において利用可能な絞り値の最大値に関する情報を 含み、 前記強いシャープネス調整は、 前記絞り値が前記絞り値の最大値である場 合に実行されるのが好ましい。
こうすることで、 絞り値を最大値に設定して生成された画像データの画質を、 よりシャープに調整することができる。
この発明による出力装置は、 画像生成装置で生成された画像データと、 前記画 像データ生成時における絞り情報と動作モード情報とを少なくとも含むと共に前 記画像データに関連付けられた画像生成情報とを用いて、 画像を出力する出力装 置であって、 前記画像生成情報に含まれる前記絞り情報と前記動作モード情報と に基づいて、 前記画像データのシャープネスを調整する画質調整部と、 前記画質 が調整された画像データに応じて画像を出力する画像出力部と、 を備える。 なお、 この発明は、 種々の形態で実現することが可能であり、 例えば、 画像出 力方法および画像出力装置、 画像処理方法および画像処理装置、 これらの方法ま たは装置の機能を実現するためのコンピュータプログラム、 そのコンピュータプ ログラムを記録した記録媒体、 そのコンピュータプログラムを含み搬送波内に具 現化されたデータ信号、 等の形態で実現することができる。 図面の簡単な説明
図 1は、 本発明の一実施例としての画像データ出力システムの構成を示すプロ ック図である。
図 2は、 ディジタルスチルカメラ 1 2の概略構成を示すブロック図である。 図 3は、 本実施例にて用いることができる画像ファイルの内部構成の一例を概 念的に示す説明図である。
図 4は、 付属情報格納領域 1 0 3のデータ構造例を説明する説明図である。 図 5は、 E x i f データ領域のデータ構造の一例を説明する説明図である。 図 6は、 プリンタ 2 0の概略構成を示すブロック図である。
図 7は、 プリンタ 2 0の制御回路 3 0を中心としたプリンタ 2 0の構成を示す プロック図である。
図 8は、 ディジタルスチルカメラ 1 2における画像ファイル G Fの生成処理の 流れを示すフローチヤ一卜である。
図 9は、 プリンタ 2 0における画像処理の処理ルーチンを示すフローチヤ一卜 である。
図 1 0は、 画像生成情報に基づく画像処理の処理ルーチンを示すフローチヤ一 卜である。
図 1 1は、 アンシャープマスクを用いたシャープネス調整方法を説明する概念 図である。
図 1 2は、 自動画質調整処理の処理ルーチンを示すフローチヤ一卜である。 図 1 3は、 自動画質調整処理の第 1実施例における、 シャープネス調整の度合 いと絞り値との関係を示す説明図である。
図 1 4は、 自動画質調整処理の第 2実施例における、 シャープネス調整の度合 いと絞り値との関係を示す説明図である。
図 1 5は、 自動画質調整処理の第 3実施例における、 シャープネス調整の度合 いと絞り値との関係を示す説明図である。
図 1 6は、 自動画質調整処理の第 4実施例における、 シャープネス調整の度合 いと絞り値との関係を示す説明図である。
図 1 7は、 自動画質調整処理の第 5実施例における、 シャープネス調整の度合 いと絞り値との関係を示す説明図である。
図 1 8は、 画像データ処理装置を適用可能な画像データ出力システムの一例を 示す説明図である。
図 1 9は、 色空間変換処理を省略した場合の画像処理ルーチンを示すフローチ ヤー卜である。
図 2 0は、 画像生成情報に基づく画像処理の処理ルーチンの別の例を示すフロ 一チヤ一卜である。
図 2 1は、 画像生成情報に基づく画像処理の処理ルーチンの別の例を示すフロ —チャートである。 発明を実施するための最良の形態
次に、 この発明の実嗨の形態を実施例に基づいて以下の順序で説明する, 画像データ出力システムの構成:
B . 画像ファイルの構成:
C . 画像データ出力装置の構成:
D . ディジタルスチルカメラにおける画像処理:
E . プリン夕における画像処理:
F . シャープネス調整処理の実施例:
G . 自動画質調整処理の実施例:
H . 画像データ処理装置を用いる画像データ出力システムの構成:
I . 変形例:
A . 画像データ出力システムの構成:
図 1は、 本発明の一実施例としての出力装置を適用可能な画像データ出力シス テムの一例を示す説明図である。 画像データ出力システム 1 0は、 画像ファイル を生成する画像データ生成装置としてのディジタルスチルカメラ 1 2と、 画像の 出力装置としてのプリンタ 2 0とを備えている。 ディジタルスチルカメラ Ί 2に おいて生成された画像ファイルは、 ケーブル C Vを介したり、 画像ファイルが格 納されたメモリカード M Cをプリンタ 2 0に直接挿入したりすることによって、 プリンタ 2 0に送出される。 プリンタ 2 0は、 読み込んだ画像ファイルに基づい た画像データの画質調整処理を実行し、 画像を出力する。 出力装置としては、 プ リン夕 20の他に、 C RTディスプレイ、 L C Dディスプレイ等のモニタ 1 4、 プロジェクタ等を用いることができる。 以下、 画質調整部と画像出力部を備える プリン夕 20を出力装置として用い、 メモリカード MCをプリンタ 20に直接挿 入する場合に基づいて説明する。
図 2は、 ディジタルスチルカメラ 1 2の概略構成を示すプロック図である。 こ の実施例のディジタルスチルカメラ 1 2は、 光情報を収集するための光学回路 1 2 1 と、 光学回路を制御して画像を取得するための画像取得回路 1 22と、 取得 したディジタル画像を加工処理するための画像処理回路 1 23と、 各回路を制御 する制御回路 1 24とを備えている。 制御回路 1 24は、 図示しないメモリを備 えている。 光学回路 1 2 1は、 光情報を集めるレンズ 1 25と、 光量を調節する 絞り 1 29と、 レンズを通過した光情報を画像データに変換する CCD 1 28と を備えている。
ディジタルスチルカメラ 1 2は、取得した画像をメモリカード MCに保存する。 ディジタルスチルカメラ 1 2における画像データの保存形式としては、 J P EG 形式が一般的であるが、 この他にも T I F F形式や、 G I F形式や、 BM P形式 や、 RAWデータ形式などの保存形式を用いることができる。
ディジタルスチルカメラ 1 2は、 また、 種々の撮影条件 (絞り値、 シャッター スピード、 露出調整モード、 撮影モード等) を設定するための選択 ·決定ボタン 1 26と、液晶ディスプレイ 1 27とを備えている。液晶ディスプレイ 1 27は、 撮影画像をプレビューしたり、 選択 '決定ボタン 1 26を用いて絞り値等を設定 したりする際に利用される。 絞り値は、 ディジタルスチルカメラ 1 2の機種に応 じて予め定められる所定の範囲内の値を設定することが可能であり、 例えば、 2 から 1 6の間の所定の離散的な値 (例えば、 2, 2. 8, 4, 5. 6 · · ·等) を設定することができる。 なお、 絞り値としては、 通常は F値が使用される。 従 つて、 絞り値が大きいほど、 絞りは小さい。 シャッタースピードも、 所定の範囲 内の値を設定することが可能であり、 例えば、 1 1 5秒から 1ノ2 5 0秒の間 の値を設定することができる。 露出調整モードとしては、 プログラム才ー卜 (自 動調整モード)、絞り優先モード、 シャッタースピード優先モード、 マニュアルモ ―ド等の予め準備されている複数のモ一ドの中の 1つを選択することが可能であ る。 プログラムオートが設定された場合には、 絞り値とシャツ夕一スピードとが 自動的に標準的な値に調整されることによって、露出が標準的な値に設定される。 マニュアルモードが設定された場合には、 ユーザが設定した絞り値とシャッター スピードとが用いられる。 絞り値やシャッタースピードがユーザによって設定さ れた場合には、 その設定値を用いる露出調整モードが自動的に選択される構成と してもよい。 撮影モードとしては、 標準モード、 人物モード (ポー卜レ一卜モー ド)、風景モード、夜景モード等の予め準備されている複数のモードの中の 1つを、 被写体の種類等に合わせて選択することが可能である。 ユーザによって撮影モー ドが指定された場合には、 指定された撮影モードに応じて、 関連するパラメ一夕 (絞り値、 レンズ焦点距離等) が自動的に設定される。 例えば、 撮影モードとし て標準モードが選択された場合には、 絞り値に限らず、 画像データ生成に関連す るパラメ一夕が標準値に設定される。 絞り値が標準的な値に設定される標準撮影 条件 (例えば、 露出調整モードとしてのプログラム才ー卜による撮影条件や、 撮 影モードとしての標準モードによる撮影条件) は、 ディジタルスチルカメラ 1 2 におけるデフオル卜の撮影条件である。 また、 標準撮影条件は、 ディジタルスチ ルカメラ 1 2の購入時の設定としてしばしば利用される。
ディジタルスチルカメラ 1 2において撮影が実行された場合には、 画像データ と画像生成情報とが、 画像ファイルとしてメモリカード M Cに格納される。 画像 生成情報は、 撮影時 (画像データ生成時) における絞り値等のパラメ一夕の設定 値を含むことが可能である (詳細については後述する)。
B . 画像ファイルの構成: 図 3は、 本実施例にて用いることができる画像ファイルの内部構成の一例を概 念的に示す説明図である。 画像ファイル G Fは、 画像データ G Dを格納する画像 データ格納領域 1 0 1 と、 画像生成情報 G Iを格納する画像生成情報格納領域 1 0 2を備えている。画像データ G Dは、例えば、 J P E G形式で格納されており、 画像生成情報 G Iは、 例えば、 T I F F形式 (データおよびデータ領域がタグを 用いて特定される形式) で格納されている。 なお、 本実施例におけるファイルの 構造、 データの構造といった用語は、 ファイルまたはデータ等が記憶装置内に格 納された状態におけるファイルまたはデータの構造を意味するものである。
画像生成情報 G Iは、 ディジタルスチルカメラ 1 2等の画像データ生成装置に おいて画像データが生成されたとき (撮影されたとき) の画像に関する情報であ り、 以下のような設定値を含んでいる。
•絞り値。
■シャッタースピード。
-露出時間。
■ レンズ焦点距離。
•露出調整モード。
•撮影モ一ド。
-メーカ名。
-モデル名。
·ガンマ値。
本実施例の画像ファイル G Fは、基本的に上記の画像データ格納領域 1 0 1と、 画像生成情報格納領域 1 0 2とを備えていれば良く、 既に規格化されているファ ィル形式に従ったファイル構造をとることができる。 以下、 本実施例に係る画像 ファイル G Fを E x i f ファイル形式に適合させた場合について具体的に説明す る。
E x i f ファイルは、 ディジタルスチルカメラ用画像ファイルフォーマツ卜規 格 (Ex i f ) に従ったファイル構造を有しており、 その仕様は、 日本電子情報 技術産業協会 (J E 1 TA) によって定められている。 また、 E x i f ファイル 形式は、 図 3に示した概念図と同様に、 J P EG形式の画像データを格納する」 P EG画像デ一夕格納領域と、 格納されている J P EG画像データに関する各種 情報を格納する付属情報格納領域とを備えている。 J P EG画像データ格納領域 は、 図 3における画像データ格納領域 1 01に相当し、 付属情報格納領域は画像 生成情報格納領域 1 02に相当する。付属情報格納領域には、撮影日時、絞り値、 シャッター速度といった j p EG画像に関する画像生成情報が格納される。 図 4は、 付属情報格納領域 1 03のデータ構造例を説明する説明図である。 E X i f ファイル形式では、 データ領域を特定するために階層的なタグが用いられ ている。 各データ領域は、 下位のタグによって特定される複数の下位のデータ領 域を、 その内部に含むことができる。 図 4では、 四角で囲まれた領域が一つのデ 一夕領域を表しており、 その左上にタグ名が記されている。 この実施例は、 タグ 名が AP P0、 A P P 1、 A P P 6である 3つのデータ領域を含んでいる。 AP P 1データ領域は、 その内部に、 タグ名が I F D 0、 I F D 1である 2つのデー 夕領域を含んでいる。 I F DOデータ領域は、 その内部に、 タグ名が PM、 Ex i f 、 G P Sである 3つのデータ領域を含んでいる。データおよびデータ領域は、 規定のァドレスまたはオフセッ卜値に従って格納され、 ァドレスまたはオフセッ 卜値はタグ名によって検索することができる。 出力装置側では、 所望の情報に対 応するァドレスまたはオフセッ卜値を指定することにより、 所望の情報に対応す るデータを取得することができる。
図 5は、 図 4において、 タグ名を A P P 1 - I FDO— Ex i f の順にたどる ことで参照することができる Ex i f データ領域のデータ構造 (データのタグ名 とパラメータ値) の一例を説明する説明図である。 Ex i fデ一夕領域は、 図 4 に示すようにタグ名が M a k e r N 0 t eであるデータ領域を含むことが可能で あり、 Ma k e r N o t eデータ領域は、 さらに多数のデータを含むことができ るが、 図 5では図示を省略する。
E x i f データ領域には、 図 5に示すように、 露出時間と、 絞り値と、 露出プ ログラムと、 レンズ焦点距離と、 撮影シーンタイプ等の情報に対応するパラメ一 夕値が格納されている。 絞り値は絞り情報として用いることができ、 さらに、 露 出プログラムと撮影シーンタイプとは、 動作モード情報として用いることができ る。
露出プログラムは、 露出調整モードを識別する情報であり、 例えば、 以下の 4 つの値を含む複数の値の中から選択して設定される。
パラメータ値 1 :マニュアルモード。
パラメータ値 2 :プログラム才ー卜。
パラメータ値 3 :絞リ優先モード。
パラメ一夕値 4 :シャッタースピード優先モード。
撮影シーンタイプは、撮影モ一ドを識別する情報であり、例えば、標準モード、 人物モード (ポー卜レートモード)、風景モード、夜景モードの中から選択して設 定される。
画像データに関連付けられた情報は、 図 4における E x i f データ領域以外の 領域にも適宜格納される。 例えば、 画像データ生成装置を特定する情報としての メーカ名やモデル名は、 タグ名が I F D Oであるデータ領域に格納される。 C . 画像データ出力装置の構成:
図 6は、 本実施例のプリンタ 2 0の概略構成を示すブロック図である。 プリン 夕 2 0は、 画像の出力が可能なプリンタであり、 例えば、 シアン Cと、 マゼン夕 M gと、 イエロ Yと、 ブラック Kとの 4色のインクを印刷媒体上に吐出してドッ 卜パターンを形成するインクジェット方式のプリン夕である。 また、 トナーを印 刷媒体上に転写■定着させて画像を形成する電子写真方式のプリン夕を用いるこ ともできる。 インクには、 上記 4色に加えて、 シアン Cよりも濃度の薄いライ卜 シアン L Cと、 マゼンタ M gよりも濃度の薄いライ卜マゼン夕 L Mと、 イエロ Y よりも濃度の濃いダークイエロ D Yとを用いても良い。 また、 モノクロ印刷を行 う場合には、 ブラック Kのみを用いる構成としても良く、 レッド Rやグリーン G を用いても良い。 利用するインクやトナーの種類は、 出力する画像の特徴に応じ て決めることができる。
プリンタ 2 0は、 図示するように、 キャリッジ 2 1に搭載された印刷ヘッド 2 1 1を駆動してインクの吐出およびドット形成を行う機構と、 キャリッジ 2 1を キャリッジモータ 2 2によってプラテン 2 3の軸方向に往復動させる機構と、 紙 送りモータ 2 4によって印刷用紙 Pを搬送する機構と、 制御回路 3 0とから構成 されている。 これらの機構により、 プリンタ 2 0は画像出力部として機能する。 キヤリッジ 2 1をプラテン 2 3の軸方向に往復動させる機構は、 プラテン 2 3の 軸と平行に架設されたキヤリッジ 2 1を櫂動可能に保持する櫂動軸 2 5と、 キヤ リッジモータ 2 2との間に無端の駆動ベルト 2 6を張設するプーリ 2 7と、 キヤ リッジ 2 1の原点位置を検出する位置検出センサ 2 8等から構成されている。 印 刷用紙 Pを搬送する機構は、 プラテン 2 3と、 プラテン 2 3を回転させる紙送り モータ 2 4と、 図示しない給紙補助ローラと、 紙送りモータ 2 4の回転をプラテ ン 2 3および給紙補助ローラに伝えるギヤ卜レイン (図示省略) とから構成され ている。
制御回路 3 0は、 プリン夕の操作パネル 2 9と信号をやり取りしつつ、 紙送り モータ 2 4やキャリッジモータ 2 2、 印刷ヘッド 2 1 1の動きを適切に制御して いる。 プリンタ 2 0に供給された印刷用紙 Pは、 プラテン 2 3と給紙補助ローラ の間に挟みこまれるようにセッ卜され、 プラテン 2 3の回転角度に応じて所定量 だけ送られる。
キャリッジ 2 Ίは、 印刷ヘッド 2 1 1を有しており、 また、 利用可能なインク のインクカートリッジを搭載可能である。 印刷へッド 2 1 1の下面には利用可能 なインクを吐出するためのノズルが設けられる (図示省略)。 図 7は、 プリンタ 2 0の制御回路 3 0を中心としたプリンタ 2 0の構成を示す ブロック図である。 制御回路 3 0の内部には、 C P U 3 1 と、 P R O M 3 2と、 R A M 3 3と、 メモリカード M Cからデータを取得するメモリカードスロッ卜 3 4と、 紙送りモータ 2 4やキヤリッジモータ 2 2等とデータのやり取りを行う周 辺機器入出力部 (P I 0 ) 3 5と、 駆動バッファ 3 7等が設けられている。 駆動 バッファ 3 7は、 印刷へッド 2 1 1にドッ卜のオン■オフ信号を供給するバッフ ァとして使用される。 これらは互いにバス 3 8で接続され、 相互にデータのやり 取りが可能となっている。 また、 制御回路 3 0には、 所定周波数で駆動波形を出 力する発信器 3 9と、 発信器 3 9からの出力を印刷ヘッド 2 1 1 に所定の夕イミ ングで分配する分配出力器 4 0も設けられている。
また、 制御回路 3 0は、 紙送りモー夕 2 4やキャリッジモータ 2 2の動きと同 期をとりながら、 所定のタイミングでドッ卜データを駆動バッファ 3 7に出力す る。 さらに、 制御回路 3 0は、 メモリカード M Cから画像ファイルを読み出し、 付属情報を解析し、得られた画像生成情報に基づいて画像処理を行う。すなわち、 制御回路 3 0は画質調整部として機能する。 制御回路 3 0によって実行される詳 細な画像処理の流れについては後述する。
D . ディジタルスチルカメラにおける画像処理:
図 8は、 ディジタルスチルカメラ 1 2における画像ファイル G Fの生成処理の 流れを示すフローチャートである。
ディジタルスチルカメラ 1 2の制御回路 1 2 4 (図 2 )は、撮影要求、例えば、 シャッターボタンの押し下げに応じて画像データ G Dを生成する (ステップ S 1 0 0 )。絞り値や、露出調整モードや、撮影モード等のパラメ一夕値の設定がされ ている場合には、 設定されたパラメータ値を用いた画像データ G Dの生成が行わ れる。
制御回路 1 2 4は、 生成した画像データ G Dと画像生成情報 G Iとを、 画像フ アイル G Fとしてメモリカード MCに格納して(ステップ S 1 λ 0)、本処理ルー チンを終了する。 画像生成情報 G Iは、 絞り値、 シャッタースピード等の画像生 成時に用いたパラメ一夕値や、 露出調整モード、 撮影モードなどの任意に設定さ れ得るパラメータ値や、 メーカ名や、 モデル名等の自動的に設定されるパラメ一 夕値を含む。 また、 画像デ一夕 G Dは、 RG Β色空間から YC bC r色空間に変 換された後、 J P EG圧縮され、 画像ファイル G Fとして格納される。
ディジタルスチルカメラ 1 2において実行される以上の処理によって、 メモリ カード MCに格納されている画像ファイル G Fには、 画像データ GDと共に、 画 像データ生成時における各パラメ一夕値を含む画像生成情報 G Iが設定されるこ ととなる。
E. プリン夕における画像処理:
図 9は、 本実施例のプリン夕 20における画像処理の処理ルーチンを示すフロ 一チャートである。 以下の説明では、 画像ファイル G Fを格納したメモリカード MCがプリンタ 20に直接挿入される場合に基づいて説明する。 プリンタ 20の 制御回路 30 (図 7) の C P U 3 1は、 メモリカードスロット 34にメモリカー ド MCが差し込まれると、 メモリカード MCから画像ファイル G F (図 3) を読 み出す(ステップ S 200)。 次にステップ S 21 0にて、 C P U 3 1は、 画像フ アイル G Fの付属情報格納領域から、 画像データ生成時の情報を示す画像生成情 報 G Iを検索する。画像生成情報 G Iを発見できた場合には(ステップ S 220 : Y)、 C P U 3 1は、画像生成情報 G Iを取得して解析する(ステップ S 230)。 C PU 3 1は、 解析した画像生成情報 G I に基づいて、 後述する画像処理を実行 し (ステップ S 240)、 処理した画像を出力して (ステップ S 250)、 本処理 ルーチンを終了する。
一方、 ドローイングアプリケーションなどを用いて生成された画像ファイルに は、 絞り値などの情報を有する画像生成情報 G Iが含まれない。 C PU 3 1は、 画像生成情報 G Iを発見できなかった場合には(ステップ S 220: N)、標準処 理を行い (ステップ S 260)、 処理した画像を出力して (ステップ S 250)、 本処理ルーチンを終了する。
図 1 0は、 画像 ό生成情報に基づく画像処理 (図 9においてはステップ S 240 に相当する) の処理ルーチンを示すフローチャートである。 プリンタ 20の制御
00ヽ
回路 30 (図 7) の C PU 3 1は、 読み出した画像ファイル G Fから画像データ GDを取り出す (ステップ S 300)。
ディジタルスチルカメラ〗 2は、 既述のように画像データ G Dを」 P EG形式 のファイルとして保存しており、 J P EG形式のファイルでは YC b C r色空間 を用いて画像データを保存している。 C P U 3 1は、 ステップ S 3 1 0にて、 Y C b C r色空間に基づく画像データを RG B色空間に基づく画像データに変換す るために 3x3マ卜リックス Sを用いた演算を実行する。 このマトリックス演算 は、 例えば、 以下に示す演算式である。
[数式 1 ]
( Υ
G C 一 128
S
Figure imgf000016_0001
ディジタルスチルカメラ 1 2が生成する画像データの色空間が、所定の色空間、 例えば、 s RG Β色空間よりも広い場合には、 ステップ S 3 1 0で得られる RG Β色空間に基づく画像データが、 その R G Β色空間の定義領域外に有効なデータ を含む場合がある。 画像生成情報 G Iにおいて、 これらの定義領域外のデータを 有効なデータとして扱う指定がなされている場合には、 定義領域外のデータをそ のまま保持して、 以降の画像処理を継続する。 定義領域外のデータを有効なデー タとして扱う指定がなされていない場合には、 定義領域外のデータを定義領域内 にクリッビングする。 例えば、 定義領域が 0〜 2 5 5である場合には、 0未満の 負値のデータは 0に、 2 5 6以上のデータは 2 5 5に丸められる。 画像出力部の 表現可能な色空間が、 所定の色空間、 例えば、 s R G B色空間よりも広くない場 合には、 画像生成情報 G I における指定にかかわらず、 定義領域内にクリツピン グするのが好ましい。 このような場合として、 例えば、 表現可能な色空間が s R G B色空間である C R Tに出力する場合がある。
次に、 ステップ S 3 2 0にて、 C P U 3 1は、 ガンマ補正、 並びに、 マ卜リツ クス Mを用いた演算を実行し、 R G B色空間に基づく画像データを X Y Z色空間 に基づく画像データに変換する。 画像ファイル G Fは、 画像生成時におけるガン マ値と色空間情報とを含むことができる。 画像生成情報 G Iがこれらの情報を含 む場合には、 C P U 3 1は画像生成情報 G Iから画像データのガンマ値を取得し、 取得したガンマ値を用いて画像データのガンマ変換処理を実行する。 さらに、 C P U 3 1は画像生成情報 G Iから画像データの色空間情報を取得し、 その色空間 に対応するマトリックス Mを用いて画像データのマトリックス演算を実行する。 画像生成情報 G Iがガンマ値を含まない場合には、 標準的なガンマ値を用いてガ ンマ変換処理を実行することができる。 また、 画像生成情報 G Iが色空間情報を 含まない場合には、 標準的なマトリックス Mを用いてマトリックス演算を実行す ることができる。これらの標準的なガンマ値、および、マトリックス Mとしては、 例えば、 s R G B色空間に対するガンマ値とマトリックスを用いることができる。 このマトリックス演算は、 例えば、 以下に示す演算式である。
[数式 2 ]
Υ =M Gf
、Bt
Figure imgf000018_0001
Rt,Gt,Bt≥Q Rt' =
Figure imgf000018_0002
Rt,Gt,Bt<0
-Rt V 一 Gt
Rt'=— Gt,=.
255 j 255
Figure imgf000018_0003
マトリックス演算の実行後に得られる画像データの色空間は XYZ色空間であ る。 ΧΥΖ色空間は絶対色空間であり、 ディジタルスチルカメラやプリンタとい つたデバイスに依存しないデバイス非依存性色空間である。 そのため、 ΧΥΖ色 空間を介して色空間の変換を行うことによって、 デバイスに依存しないカラーマ ツチングを行うことができる。
次に、ステップ S 330にて、 C PU 3 1は、マ卜リックス Ν·ιを用いた演算、 並びに、 逆ガンマ補正を実行し、 ΧΥΖ色空間に基づく画像データを wRG Β色 空間に基づく画像データに変換する。 逆ガンマ補正を実行する際には、 C P U 3 1は P ROM 32からプリンタ側のガンマ値を取得し、 取得したガンマ値の逆数 を用いて画像データの逆ガンマ変換処理を実行する。 さらに、 C PU 31は P R OM 32から、 XYZ色空間から wRG B色空間への変換に対応するマトリック ス Ν·ιを取得し、 そのマトリックス N-iを用いて画像データのマトリックス演算 を実行する。 このマ卜リックス演算は、 例えば、 以下に示す演算式である。
[数式 3]
Gw =N -、 Υ
、 ノ ノ , 3.30572 -1.77561 0.73649"
N-' = -1.04911 2.1694 -1.4797
、0. n06568289 ■0.241078 1.24898
Rw Gw Bwヾ ly
Rw' = Bw'=
255 、255ノ 255
次に、ステップ S 340にて、 C P U 3 1は、画質の自動調整処理を実行する。 本実施例における自動画質調整処理では、 画像ファイル G Fに含まれている画像 生成情報、 特に、 絞り情報としての絞り値と、 動作モード情報としての露出プロ グラムのパラメ一夕値を用いて、 画像データのシャープネスを調整する自動画質 調整処理が実行される。 シャープネス調整と自動画質調整処理については後述す る。 '
次に、 ステップ S 350にて、 C PU 31は、 印刷のための C M Y K色変換処 理、 および、 ハーフトーン処理を実行する。 CMYK色変換処理では、 C PU 3 1は、 P ROM 32内に格納されている wRG B色空間から CMYK色空間への 変換用ルックアップテーブル (LUT) を参照し、 画像データの色空間を wRG B色空間から CM YK色空間へ変更する。 すなわち、 RG Bの階調値からなる画 像データを、 プリンタ 20で使用する、 例えば、 C (C y a n) Mg (Mag e n t a) Y (Ye I l ow) K (B l a c k) L C (L i g h t C y a n) L M (L i g h t Mag e n t a) の 6色の階調値からなる画像データに変換する。 ハーフトーン処理では、 C P U 31は、いわゆるハーフトーン処理を実行して、 色変換済みの画像データからハーフ I ^一ン画像データを生成する。 このハーフ卜 ーン画像データは、駆動バッファ 37 (図 7)に送出すべき順番に並べ替えられ、 最終的な印刷データとなり、 本処理ルーチンを終了する。 本処理ルーチンによつ て処理された画像データは、 図 9に示す画像処理ルーチンのステップ S 250に て、 出力される。 F . シャープネス調整処理の実施例:
シャープネスの調整には、 アンシャープマスクを用いた処理を用いることがで きる。 図 1 1は、 アンシャープマスクを用いたシャープネス調整方法を説明する 概念図である。 直線上に並んだピクセルの輝度値を用いて、 シャープネス調整を 段階的に説明している。
図 1 1 ( a ) は、 シャープネス調整を行う前の原データ 0 D A T Aを示してい る。 縦軸は、 各ピクセルの輝度値を表しており、 この例では、 0から 1 0 0の間 の値を取り得る。 横軸はピクセルの位置を表し、 1つのマーカは、 直線上に並ん だ複数のピクセルの内の 1つのピクセルを表している。 すなわち、 直線上に並ん だピクセルを表すマーカが、 ピクセルの並び順に従って横軸方向に沿って並んで いる。 このように、 階段状に輝度値が変化している領域のデータを原データ O D A T Aとして用い、 シャープネス調整の説明を行う。
シャープネスを強くするためには、 アンシャープマスクを利用する方法を用い ることができる。 この方法は、 輝度値の変化がなまった (アンシャープ) データ を用意し、 原デ一夕からアンシャープデータを差し引くことで、 輝度値の変化を 鋭敏化させるという方法である。 アンシャープデータは、 原データの各ピクセル の輝度値を、 その周リのピクセルの輝度値を用いて平均化することによつて得る ことができる。 平均化の方法としては、 対象ピクセルの輝度値とその周りのピク セルの輝度値とを合わせて平均を計算する方法を用いることができる。 また、 よ り近い (ピクセル間距離の短い) ピクセルの輝度値ほどより大きい重みで平均を 計算する方法を用いても良い。 このような重み関数 (アンシャープマスク) とし て、 対象ピクセルを中心としたガウス関数を用いることがきる (実際の画像デー 夕のピクセルは 2次元に配置されているので、 2次元ガウス関数を用いる)。 図 1 1 ( b ) はアンシャープマスクを用いて生成されたアンシャープデータ U D A T Aの輝度値を示している。 原データ 0 D A T Aと比較すると、 輝度値の変 化が緩やかになっていることがわかる。
図 1 1 (c) は原データ 0 DAT Aからアンシャープデータ U DAT Aを差し 引いた差分データ D I F Fである。 この差分データ D I F Fに所定の係数 Gをか けたものと、 原データ 0 DAT Aとを足し合わせることによって、 輝度値の変化 を鋭敏化させたシャープデータを得ることができる。 図 1 1 (d) は、 それぞれ 異なる係数 Gを用いて得られるシャープデータの輝度値を示している。 S 1は比 較的小さい係数 G 1を用いたシャープデータを示し、 S 2は比較的大きい係数 G 2を用いたシャープデータを示している。 S 1、 S 2のいずれも、 輝度値の変化 が原データと比べて急になっており、 画像のシャープネスが強くなつている。 ま た、 S 1と S 2とを比較することでわかるように、 係数 Gの大きさを大きくする 程、 シャープネスを強く調整することができる。 係数 Gを 0に設定すると、 原デ 一夕 ODATAとシャープデータが等しくなり、 シャープネスの調整は行われな い。
シャープネスを弱くする方法としては、 上述のアンシャープデータ U D A T A を調整後のデータとする方法を用いることができる。 この場合、 アンシャープマ スクの幅を大きくする程、 より輝度値の変化がなまったアンシャープなデータを 得ることができる。
このように係数 Gやアンシャープマスクの幅を調整することで、 シャープネス 調整の度合いを変えることができる。
G. 自動画質調整処理の実施例:
G 1. 自動画質調整処理の第 1実施例:
図 1 2は、 本実施例における自動画質調整処理 (図 1 0においてはステップ S 340に相当する)の処理ルーチンを示すフローチヤ一卜である。 C P U 3 1 (図 7) は、 画像生成情報 G Iを解析し、 絞り値、 および、 露出プログラムのパラメ 一夕値を取得する (ステップ S 400)。次に、 ステップ S 4 Ί 0にて、 画像デー 夕の生成時の絞り値がマニュアル設定であるか否かの判定をおこなう。 この実施 例においては、 マニュアル設定として、 マニュアルの露出調整モードと、 絞り優 先の露出調整モードとを選択することができる。 マニュアルモードの場合は露出 プログラム (図 5 ) の値が 1であり、 絞り優先モードの場合は 3である。 C P U 3 1は、 露出プログラムの値が、 1又は 3であるかどうかの判定を実行する。 露出調整モードがマニュアルモードと、 絞り優先モードのいずれでもないと判 定した場合 (ステップ S 4 1 0 : N ) には、 ステップ S 4 3 0にて、 C P U 3 1 はシャープネス調整の度合いが標準である画質調整を行う。 露出調整モ一ドがマ ニュアルモード、 もしくは、 絞り優先モードである場合(ステップ S 4 1 0 : Y ) には、 絞り値がマニュアル設定されるので、 ユーザは画像の被写界深度を好まし いレベルに設定したいと意図していると判定できる。この場合は、 C P U 3 1は、 ステップ 4 2 0にて、 シャープネス調整の度合いが強である画質調整を、 絞りが 小さい (絞り値が大きい) ときに実行する。
図 1 3は、 シャープネス調整の度合いと絞り値との関係の一例を示す説明図で ある。 縦軸はシャープネス調整の度合い (以下、 シャープネス強度と呼ぶ) を示 し、 大きいほどシャープネスが強調されることを意味している。 横軸は絞り値 F を示している。 S T Dはディジタルスチルカメラ 1 2の標準撮影条件で絞り値が 設定された場合における画質調整のシャープネス強度 (以下 「標準シャープネス 強度」 と呼ぶ) を示し、 C 1は絞り値がマニュアル設定される場合における画質 調整のシャープネス強度 (以下 「高シャープネス強度」 と呼ぶ) を示している。 この実施例においては、 標準シャープネス強度 S T Dは、 露出調整モードがプロ グラム才ー卜と、 シャツ夕一スピード優先モードのいずれかである場合 (図 1 2 のステップ S 4 3 0 ) に使用され、 高シャープネス強度 C 1は、 露出調整モード がマニュアルモードと、 絞り優先モードのいずれかである場合 (図 1 2のステツ プ S 4 2 0 ) に使用される。 なお、 ディジタルスチルカメラ 1 2の標準撮影条件 とは、 ディジタルスチルカメラ〗 2の工場出荷時のデフオル卜の撮影条件を意味 しており、 通常はプログラムオートによる撮影条件に相当する。 シャツ夕一スピ 一ド優先モードの場合には、 標準シャープネス強度 S T Dとは異なるシャープネ ス強度での画質調整を行う構成としてもよい。
高シャープネス強度 C 1は、 絞り値が 8以上である場合に、 標準シャープネス 強度 S T Dよりも大きくなるように構成されている。 こうすることで、 ユーザが よりシャープな画像出力を意図して絞り値を大きい値に (絞りを小さく) 設定し た場合に、 効果的にシャープな画像を出力することができる。 高シャープネス強 度 C 1を標準シヤープネス強度 S T Dよりも大きくする絞り値の所定の値は 8に 限るものではなく、 予め任意の値に設定できる。 例えば、 4とすることで、 より シャープな画像を出力することができ、 例えば、 1 1とすることで、 よりソフト な画像を出力することができる。
標準シャープネス強度 S T Dとしては、 ディジタルスチルカメラ 1 2の標準的 な条件 (例えば、 プログラム才ー卜) で生成された画像の出力結果が最適となる ように予め設定された値を用いることができる。 その代わりに、 画像毎に画像の シャープネスを解析し、 画像のシャープネスがシャープネスの基準値に近づくよ うに、解析結果に応じて画像毎に標準シャープネス強度 S T Dを調整してもよい。 画像のシャープネスは、 例えば、 1つのピクセルと周りの所定のピクセルとの輝 度差の絶対値を 1つのピクセルのエッジ量として定義し、 全ピクセルのエッジ量 を平均化することによって得ることができる。 また、 エッジ量の大きいピクセル (すなわち、 画像におけるエッジに相当すると考えられるピクセル) の重みを大 きくして平均化した値をシャープネスとして定義してもよい。 なお、 シャープネ ス調整を行わないことを標準シャープネス強度 S T Dとして設定してもよい。 こ のように、 種々の方法によって標準シャープネス強度 S T Dが設定された場合に も、 高シャープネス強度 C 1は、 絞り値が所定の範囲に設定されているとき (こ の実施例では、 絞り値が 8以上である場合) には、 設定された標準シャープネス 強度 S T Dよりも大きくなるように構成される。 マニュアル設定における画質調整の高シャープネス強度 C 1は、 シャープネス 強の画質調整を行った画像データと、 同じ元の画像についてシャープネス標準の 画質調整を行った画像データとを、 画像のシャープネスの定量評価や、 出力結果 の感応評価に基づいて比較し、 画像の出力結果が最適となるように決めることが できる。 例えば、 同じ画像データについて、 露出プログラムのパラメ一夕値を 3 (絞り優先モード) に設定して出力した結果と、 露出プログラムのパラメ一夕値 を 2 (プログラム才ー卜) に設定して出力した結果とを、 比較して決めることが できる。 絞り値や露出に限らず、 画像生成時の各種パラメ一夕値を自動的に標準 的な値に調整する動作モードを画像データ生成装置において利用することができ る場合には、 その動作モード設定での出力結果と、 同じ元の画像データの絞り優 先モード設定での出力結果とを比較することによって、 シャープネス調整強度の 高低を調べることができる。 また、 この実施例では、 露出調整モードがマ二ユア ルモードである場合と、 絞り優先モードである場合とにおいて、 同じシャープネ ス強度を用いた画質調整を行っているが、 露出調整モードによってシャープネス 強度の異なる画質調整をそれぞれ実行しても良い。
G 2 . 自動画質調整処理の第 2実施例:
図 1 4は、 自動画質調整処理の第 2実施例における、 画質調整のシャープネス 強度と絞り値との関係を示す説明図である。 縦軸と横軸の意味と、 S T Dと C 1 の意味は、 図 1 3と同じである。
第 2実施例は、 図 1 3に示す第 1実施例と異なり、 標準シャープネス強度 S T Dが、 絞り値の増加に伴って連続的に増加している。 こうすることで、 シャープ ネス標準の画質調整を行う場合にも、 絞り値によるシャープネスの違いを表現す ることができる。 さらに、 絞り値が所定の値 (この実施例では 8 ) 以上である場 合の高シャープネス強度 C 1を標準シャープネス強度 S T Dよりも大きくするこ とで、 よりシャープな画像の出力を意図したユーザの要望にこたえることができ る。 なお、 標準シャープネス強度 S T Dは、 絞り値の増加に伴って、 複数の段階 にわけて階段状に増加する構成としてもよい。
G 3 . 自動画質調整処理の第 3実施例:
図 1 5は、 自動画質調整処理の第 3実施例における、 シャープネス強度と絞り 値との関係を示す説明図である。 第 3実施例は、 図 1 3に示す第 1実施例と異な り、 絞り値が所定の値 (この実施例では 8 ) 以上である場合に、 高シャープネス 強度 C 1が、 絞り値の増加に伴って連続的に増加している。 こうすることで、 シ ヤープネスの強調処理を絞り値に基づいてより細かく行うことができる。 なお、 高シャープネス強度 C 1は、 絞り値の増加に伴って、 複数の段階にわけて階段状 に増加する構成としてもよい。
G 4 . 自動画質調整処理の第 4実施例:
図 1 6は、 自動画質調整処理の第 4実施例における、 シャープネス強度と絞り 値との関係を示す説明図である。 第 4実施例は、 図 1 3に示す第 1実施例と異な り、 絞り値が取りうる全範囲において高シャープネス強度 C 1が、 絞り値の増加 に伴って連続的に増加している。 こうすることで、 シャープネスの強調処理を絞 リ値に基づいてより細かく行うことができる。なお、高シャープネス強度 C 1は、 絞り値の増加に伴って、複数の段階にわけて階段状に増加する構成としてもよい。
G 5 . 自動画質調整処理の第 5実施例:
図 1 7は、 自動画質調整処理の第 5実施例における、 シャープネス強度と絞り 値との関係を示す説明図である。 第 5実施例では、 絞り値が、 その画像を生成し た装置において利用可能な絞り値の最大値である場合に、 高シャープネス強度 C 1が、 標準シャープネス強度 S T Dよりも大きくなるように構成されている。 例 えば、 図 1 7に示す例では、 絞り値の最大値が 1 1であり、 絞り値が 1 1である 場合に、 高シャープネス強度 C 1が標準シャープネス強度 S T Dよりも大きくな るように構成されている。 そのため、 ユーザは、 絞り値を最大に設定するという 簡単な操作によって、 シャープな画像を出力することができる。
絞り値の最大値はディジタルスチルカメラ 1 2の機種 (より一般的には画像デ 一夕生成装置の機種) に応じて決まる値である。 画像ファイル G Fの画像生成情 報 G Iが絞り値の最大値を含んでいる場合には、 C P U 3 Ί (図 7 ) は、 その値 を取得して、 絞り値に応じたシャープネス強度の調整を行うことができる。 ある いは、 P R O M 3 2 (図 7 ) などのメモリに、 画像データ生成装置と絞り値の最 大値との組み合わせからなる絞り値テーブルを格納しても良い。 画像生成情報 G Iが、 絞り値の最大値に関する情報として、 例えば、 メーカ名とモデル名とを含 んでいる場合には、 C P U 3 1が、 メーカ名とモデル名を用いて、 絞り値テープ ルから絞り値の最大値を取得することができる。 なお、 絞り値テーブルは、 ネッ 卜ワーク等を介してオンラインで取得してもよい。 こうすることで、 絞り値テ一 ブルを最新の情報を含むテーブルに適宜更新することができる。 このように、 絞 り値の最大値に関する情報としては、 画像生成装置の機種を特定する情報を用い ることもできる。
H . 画像データ処理装置を用いる画像データ出力システムの構成:
図 1 8は、 本発明の一実施例としての画像データ処理装置を適用可能な画像デ 一夕出力システムの一例を示す説明図である。画像データ出力システム 1 0 Bは、 画像ファイルを生成する画像データ生成装置としてのディジ夕ルスチルカメラ 1 2と、 画像ファイルに基づいた画質調整処理を実行するコンピュータ P Cと、 画 像を出力する画像データ出力装置としてのプリンタ 2 0 Bとを備えている。 コン ピュー夕 P Cは、 一般的に用いられているタイプのコンピュータであり、 画像デ 一夕処理装置として機能する。 画像データ出力装置としては、 プリンタ 2 0 Bの 他に、 C R Tディスプレイ、 L C Dディスプレイ等のモニタ 1 4 B、 プロジェク タ等を用いることができる。 以下の説明では、 プリンタ 20 Bを画像データ出力 装置として用いるものとする。 本実施例では、 画質調整部を備える画像データ処 理装置と、 画像出力部を備える画像データ出力装置とを、 独立に構成している点 が、 上述の画像デ一夕出力システム実施例 (図 1 ) と異なる。 なお、 画像データ 処理装置としてのコンピュータ PCと画像出力部を備えたプリンタとは、 広義の 「出力装置」 と呼ぶことができる。
ディジタルスチルカメラ 1 2において生成された画像ファイルは、 ケーブル C Vを介したり、 画像ファイルが格納されたメモリカード MCをコンピュータ PC に直接挿入したりすることによって、 コンピュータ PCに送出される。 コンビュ 一夕 PCは、 読み込んだ画像ファイルに基づいた、 画像データの画質調整処理を 実行する。 画質調整処理によって生成された画像データは、 ケーブル CVを介し てプリンタ 20 Bに送出され、 プリン夕 20 Bによって出力される。
コンピュータ PCは、 '上述の画質調整処理を実現するプログラムを実行する C PU 1 50と、 C PU 1 50の演算結果や画像データ等を一時的に格納する R A M 1 5 1 と、 画質調整処理プログラムや、 ルックアップテ一プルや、 絞り値テー ブルなどの、画質調整処理に必要なデータを格納するハードディスクドライブ(H D D) 1 52を備えている。 C PU 1 50と、 RAM I 5 1と、 HDD 1 52と は、 画質調整部として機能する。 さらに、 コンピュータ PCは、 メモリカード M Cを装着するためのメモリカードスロット 1 53と、 ディジタルスチルカメラ 1 2等からの接続ケーブルを接続するための入出力端子 1 54とを備えている。 ディジタルスチルカメラ 1 2にて生成された画像ファイル G Fは、 ケーブルを 介して、 あるいは、 メモリカード MCを介してコンピュータ P Cに提供される。 ユーザの操作によって、 画像レタッチアプリケーション、 または、 プリン夕ドラ ィバといった画像データ処理アプリケーションプログラムが起動されると、 C P U 1 50は、 読み込んだ画像ファイル G Fを処理する画像処理ルーチン (図 9) を実行する。 また、 メモリカード MCのメモリカードスロット 1 53への差し込 み、 あるいは、 入出力端子 1 5 4に対するケーブルを介したディジタルスチルカ メラ 1 2の接続を検知することによって、 画像データ処理アプリケーションプロ グラムが自動的に起動する構成としてもよい。
C P U 1 5 0により処理された画像データは、 画像処理ルーチン (図 9 ) のス テツプ S 2 5 0にて出力される代わりに、 画像データ出力装置、 例えば、 プリン 夕 2 0 Bに送出され、 画像データを受け取った画像データ出力装置が画像の出力 を実行する。
この実施例では、 コンピュータ P Cが備える画質調整部を用いて画像処理を行 うので、 画質調整部を備えていない画像データ出力装置を用いることが可能であ る。 また、 画像データ出力装置が画質調整部を備えている場合には、 コンビユー 夕 P Cは画像処理を行わずに画像データを画像データ出力装置に送出し、 画像デ 一夕出力装置の画質調整部が画像処理を行う構成としてもよい。
以上、 説明したように、 上述の各実施例では、 画像ファイル G Fに含まれてい る画像生成情報 G Iを用いて自動的に画質を調整することができるので、 手軽に ユーザの意図を反映した、 高品質の出力結果を得ることができる。 特に、 ユーザ が絞り値を調整して生成した画像データを、 適切なシャープネス調整を実行して 出力することができる。
なお、 この発明は上記の実施例に限られるものではなく、 その要旨を逸脱しな い範囲において種々の形態において実施することが可能であり、 例えば、 次のよ うな変形も可能である。
I . 変形例:
I 1 . 第 1変形例:
画像ファイル G Fが、 画像データのガンマ値と色空間情報とを含まない場合に は、 図 1 0に示す画像処理ルーチンにおける色空間変換処理 (ステップ S 3 2 0 とステップ S 3 3 0 ) を省略することができる。 図 1 9は、 色空間変換処理を省 略した場合の画像処理ルーチンを示すフローチヤ一卜である。 ステップ S 5 0 0 にて取り出された画像データは、 ステップ S 5 1 0にて Y C b C r色空間に基づ く画像データから R G B色空間に基づく画像デ一夕に変換される。 次に、 ステツ プ S 5 2 0にて、 ステップ S 5 1 0で得られた画像データを用いた自動画質調整 処理が実行される。 次に、 S 5 3 0にて、 印刷のための C M Y K色変換処理、 お よび、 ハーフトーン処理が実行される。
I 2 . 第 2変形例:
上記各実施例では、 色空間の変換を実行した後に自動画質調整処理を実行して いるが、 自動画質調整処理を実行した後に色空間の変換を実行してもよい。 例え ば、 図 2 0に示すフローチャートに従って、 画像処理を実行してもよい。
I 3 . 第 3変形例:
上記各実施例では、 画像出力部としてプリンタを用いているが、 プリン夕以外 の画像出力部を用いることができる。 図 2 1は、 画像出力部として C R Tを利用 する場合の、 画像生成情報に基づく画像処理の処理ルーチンを示すフローチヤ一 卜である。 図 1 0に示したプリンタを画像出力部としたフローチャートとは異な り、 C M Y K色変換処理とハーフ I ^一ン処理が省略されている。また、 C R Tは、 マトリックス演算 (S ) を実行して得られる画像データの R G B色空間を表現す ることが可能であるため、 色空間変換処理も省略されている。 ステップ S 6 1 0 で得られる R G B色空間に基づく画像データが、 その R G B色空間の定義領域外 にデータを含む場合には、 定義領域外のデータがクリッピングされた後、 ステツ プ S 6 2 0が実行される。 画像出力部が利用可能な色空間が R G B色空間と異な る場合には、プリン夕を用いる場合に C M Y K色変換処理を実行するのと同様に、 画像出力部が利用可能な色空間への色変換処理を実行し、 その結果得られる画像 を、 画像出力部より出力する。 I 4 . 第 4変形例:
上記各実施例では、 絞り値の設定がユーザによるマニュアル設定である 2つの 動作モード(マニュアルモードと絞り優先モード)で生成された画像については、 同じシャープネス調整を行っている。 この代わりに、 絞り値がマニュアル設定さ れる複数の動作モード毎にシャープネス強度の異なる画質調整を行ってもよい。 この場合も、 それぞれの動作モードにおけるシャープネス強度は、 絞り値が所定 の比較的大きな値の範囲に設定されているときには、 標準シャープネス強度 S T よりも大きくなるように構成される。 所定の比較的大きな値の範囲としては、 動作モード毎に異なる範囲を設定しても良い。 こうすることで、 それぞれの動作 モードに適した画質調整を行うことができる。 また、 自動的に絞り値が調整され る動作モードが複数ある場合にも、 それぞれの動作モード毎にシャープネス強度 の異なる画質調整を行ってもよい。 例えば、 動作モード情報としての撮影シーン タイプ (図 5 ) のパラメ一夕値が、 人物を撮影するための人物モード (ポートレ 一卜モード) に設定されている場合には、 標準シャープネス強度 S T Dよりも弱 いシャープネス強度で画質調整を行うのが好ましい。 こうすることで、 よリソフ 卜な人物画像 (ポートレー卜) を出力することができる。 シャープネス強度と絞 リ値の関係については、 絞り値に依らずに標準シャープネス強度 S T Dよりも弱 くなるように構成してもよく、 また、 絞り値が所定の範囲に設定されているとき に、 標準シャープネス強度 S T Dよりも弱くなるように構成してもよい。 また、 シャープネスに関する画質調整を行わない構成としても良い。 こうすることで、 人物モード (ポートレ一卜モード) における画像処理を簡単なものにすることが できる。 撮影シーンタイプのパラメ一夕値が、 風景を撮影するための風景モード に設定されている場合には、 標準シャープネス強度 S T Dよりも強いシャープネ ス強度で画質調整を行うのが好ましい。 こうすることで、 よりシャープな風景画 像を出力することができる。 いずれの場合も、 シャープネス調整の度合いは、 絞 り値が大きいほど強いのが好ましい。 I 5 . 第 5変形例:
上記各実施例では、 動作モード情報として、 露出プログラムや撮影シーンタイ プを用いているが、 本発明に係る動作モード情報はこれらに限らず、 画像生成時 における画像生成装置の動作に関する情報を含んでいる情報であればよい。
I 6 . 第 6変形例:
シャープネスの調整処理は、全てのピクセルに対して実行することもできるが、 ェッジ量の比較的大きいピクセルを選択して実行してもよい。 こうすることで、 画像におけるエッジに相当しない考えられるピクセルを修正することなく、 シャ ープネスの調整を行うことができる。 また、 アンシャープマスクを用いたシヤー プネス調整においてシャープネスを強くする場合に、 係数 Gに限らず、 アンシャ ープマスクの幅を調整してシャープネス調整の度合いを調整してもよい。
I 7 . 第 7変形例:
上記実施例では、 画像ファイル G Fの具体例として E X i f 形式のファイルを 例にとって説明したが、 本発明に係る画像ファイルの形式はこれに限られない。 すなわち、 画像データ生成装置において生成された画像データと、 画像データの 生成時条件 (情報) を記述する画像生成情報 G I とが含まれている画像ファイル であれば良い。 このようなファイルであれば、 画像データ生成装置において生成 された画像データの画質を、 適切に自動調整して出力装置から出力することがで さる。
I 8 · 第 8変形例:
各数式におけるマトリックス S、 N -i、 Mの値は例示に過ぎず、 画像ファイル が基づく色空間や、 画像出力部が利用可能な色空間等に応じて適宜変更すること ができる。
I 9 . 第 9変形例:
上記実施例では、 画像データ生成装置としてディジタルスチルカメラ 1 2を用 いて説明したが、 この他にもスキャナ、 ディジタルビデオカメラ等の画像データ 生成装置を用いて画像ファイルを生成することができる。 なお、 画像生成装置が 画質調整部を備えている場合 (例えば、 デジタルカメラ 1 2が画質調整部を備え ている場合) には、 画像生成装置内でシャ プネス調整処理を行い、 処理済みの 画像データを直接プリンタやモニタなどの画像出力装置に送出するように画像生 成装置を構成してもよい。
I 1 0 . 第 1 0変形例:
上記実施例では、 画像データ G Dと画像生成情報 G I とが同一の画像ファイル G Fに含まれる場合を例にとって説明したが、 画像データ G Dと画像生成情報 G Iとは、 必ずしも同一のファイル内に格納される必要はない。 すなわち、 画像デ 一夕 G Dと画像生成情報 G I とが関連づけられていれば良く、 例えば、 画像デ一 夕 G Dと画像生成情報 G Iとを関連付ける関連付けデータを生成し、 1または複 数の画像データと画像生成情報 G I とをそれぞれ独立したファイルに格納し、 画 像データ G Dを処理する際に関連付けられた画像生成情報 G Iを参照しても良い。 かかる場合には、 画像データ G Dと画像生成情報 G I とが別ファイルに格納され ているものの、 画像生成情報 G Iを利用する画像処理の時点では、 画像データ G Dおよび画像生成情報 G Iとが一体不可分の関係にあり、 実質的に同一のフアイ ルに格納されている場合と同様に機能するからである。 すなわち、 少なくとも画 像処理の時点において、 画像データ G Dと画像生成情報 G Iとが関連付けられて いる態様は、 本実施例における画像ファイル G Fに含まれる。 さらに、 C D—R OM、 C D- R, DV D— R OM、 D V D— R A M等の光ディスクメディアに格 納されている動画像ファイルも含まれる。 産業上の利用可能性
この発明は、 パーソナルコンピュータ、 プリン夕、 ファクシミリ装置、 デジ夕 ルカメラなどの種々の画像処理装置に適用可能である。

Claims

請求の範囲
1 . 画像生成部で生成された画像データと、 前記画像データ生成時における絞 り情報と動作モード情報とを少なくとも含むと共に前記画像データに関連付けら れた画像生成情報とを用いて、 画像処理を行う画像処理装置であつて、
前記画像生成情報に含まれる前記絞り情報と前記動作モード情報とに基づいて、 前記画像データのシャープネスを調整する画質調整部を備える画像処理装置。
2 . 請求項 1 に記載の画像処理装置であって、
前記画質調整部は、
前記動作モード情報に基づいて、 前記画像データのシャープネスを調整する画 質調整を実行するか否かの判定を行うとともに、
前記画質調整を実行すると判定したときに、 シャープネス調整の度合いを前記 絞り情報に基づいて決定する、 画像処理装置。
3 . 請求項 1または請求項 2に記載の画像処理装置であつて、
前記画質調整部は、
前記動作モード情報に基づいて、 前記画像データ生成時における画像生成部の 動作モ一ドがポートレ一トモ一ドであるか否かを判定することが可能であり、 前記動作モードがポー卜レー卜モードであると判定した場合には、
a ) 前記画質調整を実行しない、
b ) 前記画像生成部の標準撮影条件で前記絞り値が設定される場合よりも弱いシ ヤープネス調整を実行する、
のいずれかの処理を実行する、 画像処理装置。
4 . 請求項 1または請求項 2に記載の画像処理装置であつて、 前記画質調整部は、
前記絞り情報から前記画像データ生成時に用いられた絞り値を取得すると共に、 前記絞り値がユーザによるマニュアル設定か否かを判定することが可能であり、 前記絞り値がマニュアル設定であると判定した場合には、 前記絞リ値が取り得 る全範囲のうちの少なくとも一部の所定の範囲に前記絞り値が設定されていると きに、 前記画像生成部の標準撮影条件で前記絞り値が設定される場合よりも強い シャープネス調整を実行する、 画像処理装置。
5 . 請求項 4に記載の画像処理装置であつて、
前記強いシャープネス調整は、 前記絞り値が所定の値以上である場合に実行さ れる、 画像処理装置。
6 . 請求項 4または請求項 5に記載の画像処理装置であって、
前記強いシャープネス調整におけるシャープネス調整の度合いは、 前記絞り値 が大きいほど強い、 画像処理装置。
7 . 請求項 4または請求項 5のいずれかに記載の画像処理装置であって、 前記画像生成情報は、 さらに、 前記画像データを生成した画像データ生成部に おいて利用可能な絞り値の最大値に関する情報を含み、
前記強いシャ一プネス調整は、 前記絞り値が前記絞り値の最大値である場合に 実行される、 画像処理装置。
8 . 画像生成部で生成された画像データと、 前記画像データ生成時における絞 り情報と動作モード情報とを少なくとも含むと共に前記画像データに関連付けら れた画像生成情報とを用いて画像処理を行う方法であつて、
前記画像生成情報に含まれる前記絞り情報と前記動作モード情報とに基づいて、 前記画像データのシャープネスを調整する工程を含む、 画像処理方法。
9 . 画像生成部で生成された画像データと、 前記画像データ生成時における絞 り情報と動作モ一ド情報とを少なくとも含むと共に前記画像データに関連付けら れた画像生成情報とを用いて、 画像データの画質を調整する処理をコンピュータ に実行させるためのコンピュータプログラムであって、
前記画像生成情報に含まれる前記絞り情報と前記動作モード情報とに基づいて、 前記画像データのシャープネスを調整する機能を、 前記コンピュータに実現させ るコンピュータプログラム。
PCT/JP2003/008809 2002-07-11 2003-07-10 画像データの出力画像調整 WO2004008753A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP03764166A EP1523181A4 (en) 2002-07-11 2003-07-10 PICTURE OUTPUT IMAGE ADJUSTMENT
JP2004521182A JP4007367B2 (ja) 2002-07-11 2003-07-10 画像データの出力画像調整
US10/503,843 US7379213B2 (en) 2002-07-11 2003-07-10 Output image adjustment of image data

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002-202632 2002-07-11
JP2002202632 2002-07-11

Publications (1)

Publication Number Publication Date
WO2004008753A1 true WO2004008753A1 (ja) 2004-01-22

Family

ID=30112634

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2003/008809 WO2004008753A1 (ja) 2002-07-11 2003-07-10 画像データの出力画像調整

Country Status (5)

Country Link
US (1) US7379213B2 (ja)
EP (1) EP1523181A4 (ja)
JP (1) JP4007367B2 (ja)
CN (1) CN100448283C (ja)
WO (1) WO2004008753A1 (ja)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7747655B2 (en) 2001-11-19 2010-06-29 Ricoh Co. Ltd. Printable representations for time-based media
US7861169B2 (en) 2001-11-19 2010-12-28 Ricoh Co. Ltd. Multimedia print driver dialog interfaces
JP4228641B2 (ja) * 2002-09-20 2009-02-25 セイコーエプソン株式会社 出力対象画像データ選択
US7277126B2 (en) * 2003-07-11 2007-10-02 Seiko Epson Corporation Image data quality adjustment
US8077341B2 (en) 2003-09-25 2011-12-13 Ricoh Co., Ltd. Printer with audio or video receiver, recorder, and real-time content-based processing logic
US7864352B2 (en) 2003-09-25 2011-01-04 Ricoh Co. Ltd. Printer with multimedia server
JP2005108230A (ja) 2003-09-25 2005-04-21 Ricoh Co Ltd オーディオ/ビデオコンテンツ認識・処理機能内蔵印刷システム
US8274666B2 (en) * 2004-03-30 2012-09-25 Ricoh Co., Ltd. Projector/printer for displaying or printing of documents
KR100555755B1 (ko) * 2004-05-04 2006-03-03 삼성전자주식회사 휘도 히스토그램을 이용한 영상 자동 보정 장치
JP2006115475A (ja) * 2004-09-15 2006-04-27 Seiko Epson Corp 画像処理装置、画像処理方法及び画像処理プログラム
JP4560430B2 (ja) * 2005-03-17 2010-10-13 株式会社リコー 画像形成装置、画像印刷システム、プログラムおよび画像合成出力方法
KR100662849B1 (ko) * 2005-12-29 2007-01-02 삼성전자주식회사 색상보정 기능을 갖는 화상형성장치 및 그 인쇄방법
JP4999392B2 (ja) * 2006-07-28 2012-08-15 キヤノン株式会社 画像処理装置及びその制御方法、並びに、コンピュータプログラム及びコンピュータ可読記憶媒体
US8442344B2 (en) * 2006-08-07 2013-05-14 Qualcomm Incorporated Adaptive spatial image filter for filtering image information
JP5263767B2 (ja) * 2008-09-26 2013-08-14 株式会社ザクティ 撮像装置及びモード適否判定方法
WO2015099683A1 (en) * 2013-12-23 2015-07-02 Empire Technology Development, Llc Suppression of real features in see-through display
US10157408B2 (en) * 2016-07-29 2018-12-18 Customer Focus Software Limited Method, systems, and devices for integrated product and electronic image fulfillment from database
CN108259819B (zh) * 2016-12-29 2021-02-23 财团法人车辆研究测试中心 动态影像特征加强方法与系统

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09116926A (ja) * 1995-10-19 1997-05-02 Toppan Printing Co Ltd デジタルスチルカメラ装置
JPH10191246A (ja) * 1996-10-22 1998-07-21 Fuji Photo Film Co Ltd デジタルカメラにより取得されたデジタル画像データを再生する画像再生方法及び装置並びにその方法に使用するデジタルカメラ
JP2000244941A (ja) * 1999-02-19 2000-09-08 Fuji Photo Film Co Ltd 画像処理方法およびシステム並びに記録媒体
JP2001128048A (ja) * 1999-08-19 2001-05-11 Fuji Photo Film Co Ltd 画像取得方法および装置、画像処理方法および装置並びに記録媒体
JP2001147481A (ja) * 1999-11-18 2001-05-29 Canon Inc カメラ、プリンタ装置及び写真プリントシステム
JP2001186297A (ja) * 1999-12-27 2001-07-06 Seiko Epson Corp 印刷画像データ処理方法およびプリンタ並びに印刷画像データ処理プログラムを記録した記録媒体
JP2003069872A (ja) * 2001-08-24 2003-03-07 Fuji Photo Film Co Ltd 撮像装置、画像出力装置、画像処理システム、画像出力方法、およびプログラム
JP2003111005A (ja) * 2001-09-26 2003-04-11 Fuji Photo Film Co Ltd 画像処理方法および装置並びにそのためのプログラム

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1065050C (zh) * 1997-02-14 2001-04-25 力捷电脑股份有限公司 多镜头光学自动调焦系统
JP3725454B2 (ja) * 2001-01-17 2005-12-14 セイコーエプソン株式会社 画像ファイルの出力画像調整

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09116926A (ja) * 1995-10-19 1997-05-02 Toppan Printing Co Ltd デジタルスチルカメラ装置
JPH10191246A (ja) * 1996-10-22 1998-07-21 Fuji Photo Film Co Ltd デジタルカメラにより取得されたデジタル画像データを再生する画像再生方法及び装置並びにその方法に使用するデジタルカメラ
JP2000244941A (ja) * 1999-02-19 2000-09-08 Fuji Photo Film Co Ltd 画像処理方法およびシステム並びに記録媒体
JP2001128048A (ja) * 1999-08-19 2001-05-11 Fuji Photo Film Co Ltd 画像取得方法および装置、画像処理方法および装置並びに記録媒体
JP2001147481A (ja) * 1999-11-18 2001-05-29 Canon Inc カメラ、プリンタ装置及び写真プリントシステム
JP2001186297A (ja) * 1999-12-27 2001-07-06 Seiko Epson Corp 印刷画像データ処理方法およびプリンタ並びに印刷画像データ処理プログラムを記録した記録媒体
JP2003069872A (ja) * 2001-08-24 2003-03-07 Fuji Photo Film Co Ltd 撮像装置、画像出力装置、画像処理システム、画像出力方法、およびプログラム
JP2003111005A (ja) * 2001-09-26 2003-04-11 Fuji Photo Film Co Ltd 画像処理方法および装置並びにそのためのプログラム

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1523181A4 *

Also Published As

Publication number Publication date
CN100448283C (zh) 2008-12-31
US7379213B2 (en) 2008-05-27
EP1523181A1 (en) 2005-04-13
CN1663251A (zh) 2005-08-31
US20050225781A1 (en) 2005-10-13
JPWO2004008753A1 (ja) 2005-11-17
EP1523181A4 (en) 2005-12-07
JP4007367B2 (ja) 2007-11-14

Similar Documents

Publication Publication Date Title
JP5246206B2 (ja) 画像ファイルの出力画像調整
EP1545135B1 (en) Adjusting output image of image data
JP4007367B2 (ja) 画像データの出力画像調整
WO2002065756A1 (fr) Procede et appareil de reglage d&#39;une image de sortie a partir de donnees d&#39;image
EP1292121A1 (en) Apparatus and method for adjusting output image from image data
WO2002075518A1 (fr) Commande d&#39;impression et commande de traitement d&#39;image
JP3882793B2 (ja) 画像データの出力画像調整
US7277126B2 (en) Image data quality adjustment
JP3520869B2 (ja) 画像データの出力画像調整
JP4428347B2 (ja) 画像データの出力画像調整
JP5067489B2 (ja) 画像データの出力画像調整
JP3960336B2 (ja) 画像データの画質調整
JP3797346B2 (ja) 画像データの出力画像調整
JP4205320B2 (ja) 画像ファイルの出力画像調整
JP3797347B2 (ja) 画像データの出力画像調整
JP4175004B2 (ja) 画像処理装置
JP4092882B2 (ja) 画像処理装置および画像処理方法
JP4360411B2 (ja) 画像データの画質調整
JP4375418B2 (ja) 画像データの画質調整
JP4042803B2 (ja) 画像データの出力画像調整
JP4636001B2 (ja) 画像ファイルの出力画像調整
JP5206741B2 (ja) 画像ファイルの生成および出力
JP4595965B2 (ja) 画像ファイルの出力画像調整
JP2010027077A (ja) カメラ、並びに画像の輝度調整方法及びプログラム

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): CN JP US

AL Designated countries for regional patents

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 IT LU MC NL PT RO SE SI SK TR

WWE Wipo information: entry into national phase

Ref document number: 2004521182

Country of ref document: JP

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2003764166

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 10503843

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 20038139162

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 2003764166

Country of ref document: EP