JP4859938B2 - Image processing using subject information - Google Patents

Image processing using subject information Download PDF

Info

Publication number
JP4859938B2
JP4859938B2 JP2009021552A JP2009021552A JP4859938B2 JP 4859938 B2 JP4859938 B2 JP 4859938B2 JP 2009021552 A JP2009021552 A JP 2009021552A JP 2009021552 A JP2009021552 A JP 2009021552A JP 4859938 B2 JP4859938 B2 JP 4859938B2
Authority
JP
Japan
Prior art keywords
image
image processing
region
area
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2009021552A
Other languages
Japanese (ja)
Other versions
JP2009141975A (en
Inventor
至宏 中見
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2009021552A priority Critical patent/JP4859938B2/en
Publication of JP2009141975A publication Critical patent/JP2009141975A/en
Application granted granted Critical
Publication of JP4859938B2 publication Critical patent/JP4859938B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

本発明は、画像の主要被写体情報を利用する画像処理技術に関する。   The present invention relates to an image processing technique that uses main subject information of an image.

撮像装置によって撮像された画像データの画像処理(画像補正)の精度を向上させるために、画像を複数の領域に分割して、画像の重点領域を中心に画像補正を行う技術が知られている。一般的に、画像の重点領域と主要被写体の画像が含まれている領域とは一致するであろうとの判断から、通常、画像の中央領域が重点領域として用いられている。   In order to improve the accuracy of image processing (image correction) of image data captured by an imaging device, a technique is known in which an image is divided into a plurality of regions and image correction is performed centering on the priority region of the image. . Generally, the central area of the image is usually used as the priority area because it is determined that the priority area of the image and the area including the image of the main subject will match.

しかしながら、現実には、例えば、山並み等を背景に撮影する場合、主要被写体が画像の端の領域に置かれることもあり、主要被写体は、必ずしも画像の中央領域に位置するとは限らないという問題がある。主要被写体が画像の端の領域に置かれる場合には、画像の中央領域を重点領域とする従来の技術では、主要被写体に対する画像補正が精度良く行われず、意図した出力結果を得られないという問題があった。   However, in reality, for example, when shooting against a background of a mountain range or the like, the main subject may be placed in the end region of the image, and the main subject is not necessarily located in the center region of the image. is there. When the main subject is placed in the edge area of the image, the conventional technique with the central area of the image as the priority area does not perform image correction on the main subject with high accuracy, and the intended output result cannot be obtained. was there.

本発明は、上記問題を解決するためになされたものであり、画像データ毎に適切な重点領域を設定し、設定した重点領域を利用して画像処理の精度を向上させることを目的とする。   The present invention has been made to solve the above-described problem, and an object of the present invention is to set an appropriate emphasis area for each image data and improve the accuracy of image processing using the set emphasis area.

上記課題を解決するために本発明の第1の態様は、画像データと、画像データに対応付けられていると共に画像データに基づく画像上の主要な被写***置を示す被写体情報とを用いて画像処理を実行する画像処理装置を提供する。本発明の第1の態様に係る画像処理装置は、前記被写体情報を用いて画像処理の基準となる重点領域を決定する重点領域決定手段と、前記重点領域を基準にして前記画像データを解析し、解析結果に基づいて前記画像データに対する画像処理を実行する画像処理手段とを備えることを特徴とする。   In order to solve the above-described problem, a first aspect of the present invention is an image processing using image data and subject information that is associated with the image data and indicates a main subject position on the image based on the image data. An image processing apparatus for executing the above is provided. An image processing apparatus according to a first aspect of the present invention includes an important area determination unit that determines an important area as a reference for image processing using the subject information, and analyzes the image data based on the important area. And image processing means for performing image processing on the image data based on the analysis result.

本発明の第1の態様に係る画像処理装置によれば、被写体情報を用いてて画像処理の重点領域を決定し、決定した重点領域を基準にして画像データを解析し、その解析結果に基づいて画像データに対する画像処理を実行するので、画像データ毎に適切な重点領域を設定し、設定した重点領域を利用して画像処理の精度を向上させることができる。   According to the image processing device of the first aspect of the present invention, the priority area of the image processing is determined using the subject information, the image data is analyzed with reference to the determined priority area, and based on the analysis result. Thus, the image processing is performed on the image data, so that an appropriate emphasis area can be set for each image data, and the accuracy of image processing can be improved using the set emphasis area.

本発明の第1の態様に係る画像処理装置において、前記画像データに基づく画像を複数の領域に分割する分割手段を備え、前記重点領域は、前記複数の領域の中から決定されても良い。画像を複数の領域に分割することによって重点領域をより精度良く決定することができるとともに、重点領域を用いた画像処理の精度を向上させることができる。   The image processing apparatus according to the first aspect of the present invention may include a dividing unit that divides the image based on the image data into a plurality of areas, and the priority area may be determined from the plurality of areas. By dividing the image into a plurality of regions, the emphasis region can be determined with higher accuracy, and the accuracy of image processing using the emphasis region can be improved.

本発明の第1の態様に係る画像処理生成装置において、前記画像処理手段は、前記解析結果に基づいて前記重点領域および前記重点領域以外の複数の領域における領域画像特性値をそれぞれ取得する領域画像特性値取得手段を備え、前記重点領域における領域画像特性値、および前記重点領域近傍の複数の領域の領域画像特性値に基づいて前記画像データに対する画像処理を実行しても良い。かかる場合には、重点領域を基準とした解析結果に基づいた画像処理を行うことができるので、適切な画像処理を実行することができる。   In the image processing generation device according to the first aspect of the present invention, the image processing means acquires region image characteristic values in the important region and a plurality of regions other than the important region based on the analysis result, respectively. A characteristic value acquisition unit may be provided, and image processing may be performed on the image data based on a region image characteristic value in the important region and a region image characteristic value in a plurality of regions near the important region. In such a case, it is possible to perform image processing based on the analysis result with reference to the priority area, and therefore it is possible to execute appropriate image processing.

本発明の第1の態様に係る画像処理装置において、前記画像処理手段は、前記解析結果に基づいて前記重点領域および前記重点領域以外の複数の領域における領域画像特性値をそれぞれ取得する領域画像特性値取得手段と、前記重点領域に近づくにつれて、前記複数の領域における領域画像特性値に対する重み付けを大きくして前記画像全体の画像特性値を生成する画像特性値生成手段を備え、前記生成された画像特性値を用いて前記画像データに対する画像処理を実行する画像処理手段とを備えても良い。かかる場合には、さらに重点領域を基準とした解析結果に基づいた画像処理を行うことができるので、より正確な画像処理を実行することができる。   In the image processing device according to the first aspect of the present invention, the image processing means acquires area image characteristic values in the emphasis area and a plurality of areas other than the emphasis area based on the analysis result, respectively. A value acquisition unit, and an image characteristic value generation unit that generates an image characteristic value of the entire image by increasing the weighting of the region image characteristic values in the plurality of regions as approaching the priority region, and the generated image Image processing means for executing image processing on the image data using a characteristic value may be provided. In such a case, it is possible to perform image processing based on the analysis result with reference to the priority region, so that more accurate image processing can be performed.

本発明の第1の態様に係る画像処理装置において、前記画像特性値生成手段は、前記重点領域の領域画像特性値を利用して、前記重点領域を除く他の複数の一般領域を利用領域と非利用領域とに分ける領域区分手段を備え、前記重点領域の領域画像特性値と前記利用領域の領域画像特性値を用いて画像特性値を生成しても良い。かかる場合には、画像処理に際して用いられる画像特性値を重点領域を中心にして取得することができるので、ノイズ等の影響を低減して適切な画像処理を実行することができる。   In the image processing device according to the first aspect of the present invention, the image characteristic value generation means uses a plurality of general areas other than the important area as the use area using the area image characteristic value of the important area. An area classification unit that divides the area into non-use areas may be provided, and an image characteristic value may be generated using the area image characteristic value of the priority area and the area image characteristic value of the use area. In such a case, the image characteristic value used in the image processing can be acquired centering on the priority region, so that appropriate image processing can be executed while reducing the influence of noise and the like.

本発明の第1の態様に係る画像処理装置において、前記領域区分手段は、前記重点領域の領域画像特性値と前記一般領域の領域画像特性値との絶対差に基づいて前記利用領域と前記非利用領域とに分けても良い。   In the image processing device according to the first aspect of the present invention, the area segmenting means is configured to determine whether to use the use area and the non-use area based on an absolute difference between the area image characteristic value of the important area and the area image characteristic value of the general area. It may be divided into use areas.

本発明の第1の態様に係る画像処理装置において、前記重点領域の領域画像特性値と前記一般領域の領域画像特性値との絶対差に基づく領域区分は、前記重点領域の領域画像特性値と前記一般領域の領域画像特性値との絶対差が、所定値以上の場合には、その一般領域を非利用領域に区分し、所定値未満の場合には、その一般領域を利用領域に区分することによって実行されても良い。一般的に、重点領域の画像特性値との絶対差が大きくなるにつれて、その領域は重点領域とは関係が薄くなる、すなわち、画像の中心ではなくなる傾向になるので、そのような領域を非利用領域とすることにより、より適切な画像特性値を取得することができると共に、画像処理の精度を向上させることができる。   In the image processing apparatus according to the first aspect of the present invention, the region classification based on the absolute difference between the region image characteristic value of the important region and the region image characteristic value of the general region is the region image characteristic value of the important region. When the absolute difference from the area image characteristic value of the general area is greater than or equal to a predetermined value, the general area is divided into non-use areas, and when the absolute difference is less than the predetermined value, the general area is divided into use areas. It may be executed by. Generally, as the absolute difference from the image characteristic value of the emphasis area increases, the area becomes less related to the emphasis area, that is, it tends not to be the center of the image. By setting the area, a more appropriate image characteristic value can be acquired and the accuracy of image processing can be improved.

本発明の第1の態様に係る画像処理装置において、前記所定値は、前記重点領域と前記各一般領域との距離に応じて異なっても良い。画像の領域の重要度は、通常、重点領域からの距離に比例することが多いからである。   In the image processing device according to the first aspect of the present invention, the predetermined value may be different depending on a distance between the important region and each general region. This is because the importance of the image area is usually proportional to the distance from the priority area.

本発明の第1の態様に係る画像処理装置において、前記被写体情報は、前記画像データに基づく画像上におけるフォーカスが合わせられた位置を示す情報であっても良い。通常、撮影者(画像ファイル生成者)は、最も興味のある位置においてフォーカスを合わせるので、フォーカスが合わせられた位置を利用することによって画像上の重点領域を容易に決定することができる。   In the image processing apparatus according to the first aspect of the present invention, the subject information may be information indicating a focused position on an image based on the image data. Usually, the photographer (image file creator) focuses on the position of most interest, so that the focus area on the image can be easily determined by using the focused position.

本発明の第1の態様に係る画像処理装置において、前記画像処理は、前記取得された画像特性値と既定の画像処理基準値との絶対差を低減する処理であっても良い。   In the image processing apparatus according to the first aspect of the present invention, the image processing may be processing for reducing an absolute difference between the acquired image characteristic value and a predetermined image processing reference value.

本発明の第1の態様に係る画像処理装置において、前記画像ファイルには、さらに、画像処理装置における画像処理条件と、撮影シーンを画像処理に反映させるためのシーン指定情報とを含む画像処理制御情報が含まれており、前記シーン指定情報を反映して、前記生成された画像特性値と前記画像処理基準値との絶対差を低減するように前記画像処理が実行されても良い。かかる場合には、フォーカス位置情報を反映して撮影シーン指定情報に基づく画像処理を行うことにより、撮影シーンに応じた画像処理の精度を向上させることができる。   In the image processing device according to the first aspect of the present invention, the image file further includes image processing control including image processing conditions in the image processing device and scene designation information for reflecting a photographed scene in the image processing. Information may be included, and the image processing may be executed so as to reduce an absolute difference between the generated image characteristic value and the image processing reference value by reflecting the scene designation information. In such a case, the accuracy of the image processing according to the shooting scene can be improved by performing the image processing based on the shooting scene designation information reflecting the focus position information.

本発明の第2の態様は、画像データと、画像データと対応付けられていると共に画像データに基づく画像上の主要な被写***置を示す被写体情報とを用いて画像処理を実行する画像処理プログラムを提供する。本発明の第2の態様に係る画像処理プログラムは、前記被写体情報を用いて画像解析の基準となる重点領域を決定する機能と、前記重点領域を基準にして前記画像データを解析し、解析結果に基づいて前記画像データに対する画像処理を実行する機能とをコンピュータによって実行させることを特徴とする。   According to a second aspect of the present invention, there is provided an image processing program that executes image processing using image data and subject information that is associated with the image data and indicates a main subject position on the image based on the image data. provide. An image processing program according to a second aspect of the present invention includes a function for determining an important region as a reference for image analysis using the subject information, an analysis result of the image data based on the important region, and an analysis result And a function of executing image processing on the image data based on the image data.

本発明の第2の態様に係る画像処理プログラムによれば、本発明の第1の態様に係る画像処理装置と同様の作用効果を得ることができる。また、本発明の第2の態様に係る画像処理プログラムは、本発明の第1の態様に係る画像処理装置と同様にして種々の態様にて実現され得る。また、本発明の第2の態様に係る画像処理プログラムは、画像処理プログラムを記録したコンピュータ読み取り可能な記録媒体としても実現され得る。   According to the image processing program according to the second aspect of the present invention, it is possible to obtain the same effects as those of the image processing apparatus according to the first aspect of the present invention. The image processing program according to the second aspect of the present invention can be realized in various aspects in the same manner as the image processing apparatus according to the first aspect of the present invention. The image processing program according to the second aspect of the present invention can also be realized as a computer-readable recording medium on which the image processing program is recorded.

本発明の第3の態様は、画像データと、画像データと対応付けられていると共に画像データに基づく画像上の主要な被写***置を示す被写体情報とを用いて画像処理を実行する画像処理プログラムを提供する。本発明の第3の態様に係る画像ファイル生成プログラムは、前記画像データに基づく画像を複数の領域に分割する機能と、前記被写体情報に基づいて、前記複数の領域の中から画像解析の基準となる重点領域を決定する機能と、前記解析結果に基づいて前記複数の領域の領域画像特性値をそれぞれ取得する機能と、前記重点領域の領域画像特性値を利用して、前記重点領域を除く他の複数の一般領域を利用領域と非利用領域とに分ける機能と、前記重点領域の領域画像特性値と前記利用領域の領域画像特性値を用いて画像特性値を取得する機能と、前記画像特性値を用いて前記画像データに対する画像処理を実行する機能とをコンピュータによって実行させることを特徴とする。   According to a third aspect of the present invention, there is provided an image processing program that executes image processing using image data and subject information that is associated with the image data and indicates a main subject position on the image based on the image data. provide. An image file generation program according to a third aspect of the present invention includes a function for dividing an image based on the image data into a plurality of regions, and a reference for image analysis from the plurality of regions based on the subject information. A function for determining the important region, a function for obtaining region image characteristic values of the plurality of regions based on the analysis result, and a region image characteristic value for the important region, and removing the important region. A function of dividing a plurality of general areas into a use area and a non-use area, a function of acquiring an image characteristic value using a region image characteristic value of the priority area and a region image characteristic value of the use area, and the image characteristic A function of executing image processing on the image data using a value is executed by a computer.

本発明の第3の態様に係る画像処理プログラムによれば、本発明の第1の態様に係る画像処理装置と同様の作用効果を得ることができる。また、本発明の第3の態様に係る画像処理プログラムは、本発明の第1の態様に係る画像処理装置と同様にして種々の態様にて実現され得る。また、本発明の第3の態様に係る画像処理プログラムは、画像処理プログラムを記録したコンピュータ読み取り可能な記録媒体としても実現され得る。   According to the image processing program of the third aspect of the present invention, it is possible to obtain the same effects as those of the image processing apparatus according to the first aspect of the present invention. Further, the image processing program according to the third aspect of the present invention can be realized in various aspects in the same manner as the image processing apparatus according to the first aspect of the present invention. The image processing program according to the third aspect of the present invention can also be realized as a computer-readable recording medium recording the image processing program.

本発明の第4の態様は、画像データと、画像データと対応付けられていると共に画像処理装置における画像データの画像処理条件を指定する画像処理制御情報を生成する撮像装置を提供する。本発明の第4の態様に係る撮像装置は、前記画像データを生成する画像データ生成手段と、前記画像データに基づく画像上の主要な被写体を示す被写体情報を生成する被写体情報生成手段と、前記生成された被写体情報を含む画像処理制御情報を生成する画像処理制御情報生成手段とを備えることを特徴とする。   According to a fourth aspect of the present invention, there is provided an imaging device that generates image processing control information that is associated with image data and that specifies image processing conditions of the image data in the image processing device. An imaging apparatus according to a fourth aspect of the present invention includes an image data generating unit that generates the image data, a subject information generating unit that generates subject information indicating a main subject on an image based on the image data, And image processing control information generation means for generating image processing control information including the generated subject information.

本発明の第4の態様に係る画像ファイル生成装置によれば、画像データに基づく画像上の主要な被写体を示す被写体情報を有する画像処理制御情報を含む画像ファイルを生成することができる。   According to the image file generation device of the fourth aspect of the present invention, it is possible to generate an image file including image processing control information having subject information indicating main subjects on an image based on image data.

本発明の第4の態様に係る撮像装置はさらに、前記画像データに基づく画像上のフォーカスが合わせられたフォーカス位置を検出するフォーカス位置検出手段を備え、前記主要被写体識別情報の生成は、前記検出されたフォーカス位置に基づいて前記主要被写体識別情報を生成しても良い。かかる場合には、検出されたフォーカス位置に基づいて主要被写体情報を生成することができる。   The imaging device according to the fourth aspect of the present invention further includes a focus position detecting unit that detects a focused position on the image based on the image data, and the generation of the main subject identification information is performed by the detection. The main subject identification information may be generated based on the focused position. In such a case, main subject information can be generated based on the detected focus position.

本発明の第4の態様に係る撮像装置はさらに、撮影画像における前記主要被写体を指定する主要被写体指定手段を備え、前記主要被写体識別情報の生成は、前記主要被写体の指定情報に基づいて前記主要被写体識別情報を生成しても良い。かかる場合には、主要被写体指定手段によって、任意に、画像上の主要被写体を指定することができる。   The imaging device according to the fourth aspect of the present invention further includes main subject designating means for designating the main subject in a captured image, and the generation of the main subject identification information is based on the main subject designation information. Object identification information may be generated. In such a case, the main subject on the image can be arbitrarily specified by the main subject specifying means.

本発明の第4の態様に係る撮像装置はさらに、前記生成された画像データおよび前記画像処理制御情報を含む画像ファイルを生成する画像ファイル生成手段を備えても良い。かかる場合には、1つの画像ファイルによって画像データおよび画像処理制御情報を扱うことができる。本発明の第4の態様に係る撮像装置はさらに、撮影シーンを設定するための撮影シーン設定手段を備え、前記画像処理制御情報には、前記設定された撮影シーンを画像処理装置における画像処理に反映させるためのシーン指定情報を含んでも良い。かかる場合には、撮像装置にて設定された撮影シーンの情報を画像処理装置と共有することができるので、画像処理装置において撮影シーンを考慮した画像処理を実現させることができる。   The imaging device according to the fourth aspect of the present invention may further include image file generation means for generating an image file including the generated image data and the image processing control information. In such a case, image data and image processing control information can be handled by one image file. The imaging device according to the fourth aspect of the present invention further includes a shooting scene setting means for setting a shooting scene, and the image processing control information includes the set shooting scene for image processing in the image processing device. It may include scene designation information to be reflected. In such a case, information on the shooting scene set by the imaging apparatus can be shared with the image processing apparatus, so that image processing in consideration of the shooting scene can be realized in the image processing apparatus.

本実施例に係る画像処理装置および撮像装置を含む画像処理システムの一例を示す説明図である。It is explanatory drawing which shows an example of the image processing system containing the image processing apparatus and imaging device which concern on a present Example. 本実施例に従うディジタルスチルカメラ20の概略構成を模式的に示すブロック図である。It is a block diagram which shows typically schematic structure of the digital still camera 20 according to a present Example. Exifファイルフォーマットに従う、本実施例にて生成される画像ファイルの内部構成の一例を概念的に示す説明図である。It is explanatory drawing which shows notionally an example of the internal structure of the image file produced | generated in a present Example according to an Exif file format. 本実施例に従うパーソナルコンピュータ30の概略構成を模式的に示すブロック図である。It is a block diagram which shows typically schematic structure of the personal computer 30 according to a present Example. 本実施例に従うカラープリンタ40の概略構成を模式的に示すブロック図である。FIG. 2 is a block diagram schematically showing a schematic configuration of a color printer 40 according to the present embodiment. 本実施例に従うディジタルスチルカメラ20にて実行される画像ファイル生成処理の処理ルーチンを示すフローチャートである。It is a flowchart which shows the process routine of the image file production | generation process performed with the digital still camera 20 according to a present Example. 本実施例に従うパーソナルコンピュータ30によって実行される画像処理制御の処理ルーチンを示すフローチャートである。It is a flowchart which shows the processing routine of the image processing control performed by the personal computer 30 according to a present Example. 図7における画像処理制御情報に基づく画像処理に際して実行される処理ルーチンを示すフローチャートである。It is a flowchart which shows the process routine performed in the case of the image process based on the image process control information in FIG. 図8におけるフォーカス位置情報を用いた画質調整処理に際して実行される処理ルーチンを示すフローチャートである。FIG. 9 is a flowchart showing a processing routine executed in image quality adjustment processing using focus position information in FIG. 8. FIG. 重点領域座標からの各領域の中心座標までの距離と、各領域の利用・非利用の判定に用いられるしきい値との関係を示す説明図である。It is explanatory drawing which shows the relationship between the distance to the center coordinate of each area | region from an important area | region coordinate, and the threshold value used for the use / non-use determination of each area | region. 重点領域座標からの各領域の中心座標までの距離と重み付けWとの関係を示す説明図である。It is explanatory drawing which shows the relationship between the distance from the priority area | region coordinates to the center coordinate of each area | region, and the weighting W. FIG.

以下、本発明に係る画像処理装置、および撮像装置について以下の順序にて図面を参照しつつ、実施例に基づいて説明する。
A.画像処理装置、および撮像装置を含む画像処理システムの構成:
B.画像処理システムを構成する各装置の構成:
C.画像ファイル生成処理:
D.画像処理:
E.その他の実施例:
Hereinafter, an image processing apparatus and an imaging apparatus according to the present invention will be described based on examples with reference to the drawings in the following order.
A. Configuration of an image processing system including an image processing device and an imaging device:
B. Configuration of each device constituting the image processing system:
C. Image file generation processing:
D. Image processing:
E. Other examples:

A.画像処理装置を含む画像処理システムの構成:
本実施例に係る画像処理装置、および撮像装置を含む画像処理システムの構成について図1を参照して説明する。図1は本実施例に係る画像処理装置および撮像装置を含む画像処理システムの一例を示す説明図である。
A. Configuration of an image processing system including an image processing device:
A configuration of an image processing apparatus according to the present embodiment and an image processing system including an imaging apparatus will be described with reference to FIG. FIG. 1 is an explanatory diagram illustrating an example of an image processing system including an image processing apparatus and an imaging apparatus according to the present embodiment.

画像処理システム10は、画像データおよび画像処理装置における画像処理条件を指定する画像処理制御情報を含む画像ファイルを生成する撮像装置としてのディジタルスチルカメラ20、ディジタルスチルカメラ20にて生成された画像ファイルを用いて後述する画像処理を実行する画像処理装置としてのプリンタ30、並びにパーソナルコンピュータPCを備えている。ディジタルスチルカメラ20にて生成された画像ファイルは、接続ケーブルCVまたはメモリカードMCを介して、プリンタ30、またはパーソナルコンピュータPCに供給される。   An image processing system 10 includes a digital still camera 20 as an imaging device that generates image files including image data and image processing control information that specifies image processing conditions in the image processing device, and an image file generated by the digital still camera 20. Are provided with a printer 30 as an image processing apparatus that executes image processing to be described later, and a personal computer PC. The image file generated by the digital still camera 20 is supplied to the printer 30 or the personal computer PC via the connection cable CV or the memory card MC.

B.画像処理システムを構成する各装置の構成:
ディジタルスチルカメラ20は、CCDや光電子倍増管を用いて光の情報をアナログ電気信号に変換し、得られたアナログ電気信号をA/Dコンバータを用いてディジタル信号化することによりディジタルな画像データを生成するカメラである。図2を参照して、ディジタルスチルカメラ20の概略構成について説明する。図2は本実施例に従うディジタルスチルカメラ20の概略構成を模式的に示すブロック図である。ディジタルスチルカメラ20は、光情報を収集するための光学回路21、ディジタルデバイスを制御して画像を取得するための画像取得回路22、取得したディジタル画像を加工処理するための画像処理回路23、各回路を制御する制御回路24を備えている。ディジタルスチルカメラ20はまた、画像処理制御情報CIを選択、設定するための選択・決定ボタン25を備える。生成されたディジタル画像データは、通常、記憶装置としてのメモリカードMCに保存される。ディジタルスチルカメラ20における画像データの保存形式としては、JPEG形式が一般的であるが、この他にもTIFF形式、GIF形式、BMP形式、RAWデータ形式等の保存形式が用いられ得る。また、画像データとしては、静止画像の他に、例えば、ディジタルビデオカメラ(DVC)によって記録可能な動画像が用いられ得る。
B. Configuration of each device constituting the image processing system:
The digital still camera 20 converts light information into an analog electric signal using a CCD or photomultiplier tube, and converts the obtained analog electric signal into a digital signal using an A / D converter, thereby converting digital image data. It is a camera to generate. A schematic configuration of the digital still camera 20 will be described with reference to FIG. FIG. 2 is a block diagram schematically showing a schematic configuration of the digital still camera 20 according to the present embodiment. The digital still camera 20 includes an optical circuit 21 for collecting optical information, an image acquisition circuit 22 for controlling the digital device to acquire an image, an image processing circuit 23 for processing the acquired digital image, A control circuit 24 for controlling the circuit is provided. The digital still camera 20 also includes a selection / determination button 25 for selecting and setting the image processing control information CI. The generated digital image data is usually stored in a memory card MC as a storage device. As a storage format of image data in the digital still camera 20, a JPEG format is generally used, but other storage formats such as a TIFF format, a GIF format, a BMP format, and a RAW data format may be used. In addition to still images, for example, moving images that can be recorded by a digital video camera (DVC) can be used as the image data.

ディジタルスチルカメラ20において生成された画像ファイルは、通常、ディジタルスチルカメラ用の画像ファイルフォーマット規格(Exif)に従ったファイル構造を有している。Exifファイルの仕様は、電子情報技術産業協会(JEITA)によって定められている。本実施例に係るディジタルスチルカメラ20にて生成された画像ファイルは、フォーカス位置情報といった画像処理装置における画像処理条件を指定する画像処理制御情報CIを含んでいる。   The image file generated by the digital still camera 20 usually has a file structure in accordance with the image file format standard (Exif) for the digital still camera. Exif file specifications are defined by the Japan Electronics and Information Technology Industries Association (JEITA). The image file generated by the digital still camera 20 according to the present embodiment includes image processing control information CI for designating image processing conditions in the image processing apparatus such as focus position information.

図3を参照して、本実施例において用いられる画像ファイルの概略構成について説明する。なお、本実施例中におけるファイルの構造、データの構造、格納領域といった用語は、ファイルまたはデータ等が記憶装置内に格納された状態におけるファイルまたはデータのイメージを意味するものである。図3はExifファイルフォーマットに従う、本実施例にて生成される画像ファイルの内部構成の一例を概念的に示す説明図である。   With reference to FIG. 3, a schematic configuration of an image file used in the present embodiment will be described. Note that terms such as file structure, data structure, and storage area in this embodiment mean an image of a file or data in a state where the file or data is stored in the storage device. FIG. 3 is an explanatory diagram conceptually showing an example of the internal configuration of the image file generated in this embodiment according to the Exif file format.

図3に示すように、Exifファイルフォーマットに従う画像ファイルGFは、JPEG形式の画像データを格納するJPEG画像データ格納領域111と、格納されているJPEG画像データに関する各種情報を格納する付属情報格納領域112とを備えている。付属情報格納領域112には、撮影日時、露出、シャッター速度等といったJPEG画像の撮影条件に関する撮影時情報、JPEG画像データ格納領域111に格納されているJPEG画像のサムネイル画像データがTIFF形式にて格納されている。さらに、付属情報格納領域112は、DSC製造者に開放されている未定義領域であるMakernoteデータ格納領域113を備えており、本実施例では、フォーカス位置情報を始めとする画像処理装置における画像処理条件を指定する画像処理制御情報CIが格納されている。すなわち、本実施例において生成される画像ファイルGFは、Makernoteデータ格納領域113に画像処理制御情報CIを備える点で、通常のExif形式の画像ファイルと相違する。なお、当業者にとって周知であるように、Exif形式のファイルでは、各データを特定するためにタグが用いられており、Makernoteデータ格納領域113に格納されているデータに対してはタグ名としてMakernoteが割り当てられ、Makernoteタグと呼ばれている。   As shown in FIG. 3, the image file GF according to the Exif file format includes a JPEG image data storage area 111 for storing image data in JPEG format, and an attached information storage area 112 for storing various types of information related to the stored JPEG image data. And. The attached information storage area 112 stores shooting time information related to shooting conditions of JPEG images such as shooting date and time, exposure, shutter speed, and the like, and thumbnail image data of JPEG images stored in the JPEG image data storage area 111 in TIFF format. Has been. Further, the attached information storage area 112 includes a Makernote data storage area 113 which is an undefined area open to the DSC manufacturer. In this embodiment, image processing in an image processing apparatus including focus position information is performed. Stores image processing control information CI for specifying a condition. That is, the image file GF generated in this embodiment is different from a normal Exif format image file in that the Makernote data storage area 113 includes image processing control information CI. As is well known to those skilled in the art, tags are used to identify each data in an Exif format file, and for data stored in the Makernote data storage area 113, Makernote is used as a tag name. Is assigned and is called a Makernote tag.

なお、本実施例に係る画像ファイル生成装置において用いられ得る画像ファイルは、Exifファイルフォーマットに従う画像ファイルGFに限られず、ディジタルビデオカメラ、スキャナ等の入力装置によっても生成された画像ファイルをも用いることができる。ディジタルビデオカメラにて生成される場合には、例えば、静止画像データと画像処理制御情報とを格納する画像ファイル、あるいは、MPEG形式等の動画像データと画像処理制御情報とを含む動画像ファイルが生成される。この動画像ファイルが用いられる場合には、動画の全部または一部のフレームに対して画像処理制御情報に応じた画像処理制御が実行される。   The image file that can be used in the image file generation device according to the present embodiment is not limited to the image file GF that conforms to the Exif file format, and an image file that is also generated by an input device such as a digital video camera or a scanner is used. Can do. When generated by a digital video camera, for example, an image file storing still image data and image processing control information, or a moving image file including moving image data such as MPEG format and image processing control information is provided. Generated. When this moving image file is used, image processing control corresponding to the image processing control information is executed for all or some of the frames of the moving image.

図4を参照して、パーソナルコンピュータ30の概略構成について説明する。図4は本実施例に従うパーソナルコンピュータ30の概略構成を模式的に示すブロック図である。パーソナルコンピュータ30は、一般的に用いられているタイプのコンピュータであり、本発明に従う画像処理プログラムを実行するCPU300、CPU300における演算結果、画像データ等を一時的に格納するRAM301、画像処理プログラム、画像処理を施した画像データ等を格納するHDD302、CPU300における演算結果、画像データ等を表示するための表示装置31、CPU300に対するコマンド等を入力するための入力装置32等を備えている。パーソナルコンピュータPCは、メモリカードMCを装着するためのカードスロット33、ディジタルスチルカメラ20等からの接続ケーブルCVを接続するための入出力端子34を備えている。   A schematic configuration of the personal computer 30 will be described with reference to FIG. FIG. 4 is a block diagram schematically showing a schematic configuration of the personal computer 30 according to the present embodiment. The personal computer 30 is a commonly used type of computer. The CPU 300 executes an image processing program according to the present invention, the RAM 301 temporarily stores calculation results, image data, and the like in the CPU 300, an image processing program, and an image. An HDD 302 that stores processed image data and the like, a calculation device in the CPU 300, a display device 31 for displaying image data and the like, an input device 32 for inputting commands to the CPU 300, and the like are provided. The personal computer PC includes a card slot 33 for mounting a memory card MC, and an input / output terminal 34 for connecting a connection cable CV from the digital still camera 20 or the like.

図5を参照して、カラープリンタ40の概略構成について説明する。図5は本実施例に従うカラープリンタ40の概略構成を模式的に示すブロック図である。カラープリンタ40は、例えば、シアン(C)、マゼンタ(M)、イエロー(Y)、ブラック(K)の4色の色インクを印刷媒体上に噴射してドットパターンを形成することによって画像を形成するインクジェット方式のプリンタであり、あるいは、カラートナーを印刷媒体上に転写・定着させて画像を形成する電子写真方式のプリンタである。プリンタ40は、図5に示すように、印刷ヘッドまたは回転ドラム等を含み印刷媒体に対する印刷処理を実行する印刷部41と、記憶装置MCを収容するスロット42と、記憶装置MCから読み出した画像処理制御情報CIを解析し、解析した画像処理制御情報CIに基づいてプリンタ40の各部の動作を制御する制御装置43を備えている。制御装置43は、各種演算処理を実行する演算処理装置(CPU)430、CPU430にて実行されるプログラム等を不揮発的に格納するリードオンリメモリ(ROM)431、CPU430における演算処理結果、および取得したデータを一時的に格納するランダムアクセスメモリ(RAM)432を備えている。   The schematic configuration of the color printer 40 will be described with reference to FIG. FIG. 5 is a block diagram schematically showing a schematic configuration of the color printer 40 according to the present embodiment. The color printer 40 forms an image by, for example, ejecting four color inks of cyan (C), magenta (M), yellow (Y), and black (K) onto a print medium to form a dot pattern. Or an electrophotographic printer that forms an image by transferring and fixing color toner onto a printing medium. As shown in FIG. 5, the printer 40 includes a printing unit 41 that includes a print head or a rotating drum and executes a printing process on a printing medium, a slot 42 that houses the storage device MC, and an image process that is read from the storage device MC. A control device 43 that analyzes the control information CI and controls the operation of each unit of the printer 40 based on the analyzed image processing control information CI is provided. The control device 43 has an arithmetic processing device (CPU) 430 that executes various arithmetic processing, a read-only memory (ROM) 431 that stores programs executed by the CPU 430 in a nonvolatile manner, arithmetic processing results in the CPU 430, and the acquired A random access memory (RAM) 432 for temporarily storing data is provided.

C.画像ファイル生成処理:
本実施例に従うディジタルスチルカメラ20にて実行される画像ファイル生成処理について図6を参照して説明する。図6は本実施例に従うディジタルスチルカメラ20にて実行される画像ファイル生成処理の処理ルーチンを示すフローチャートである。
C. Image file generation processing:
An image file generation process executed by the digital still camera 20 according to the present embodiment will be described with reference to FIG. FIG. 6 is a flowchart showing a processing routine of image file generation processing executed by the digital still camera 20 according to the present embodiment.

ディジタルスチルカメラ20の制御回路24は、シャッターボタンの押し下げ等によって画像生成要求が発生すると本処理ルーチンを開始する。制御回路24は、撮影者によって設定された撮影シーンの設定情報である、プリセット画像処理制御情報を取得する(ステップS100)。撮影シーンの設定は、シャッターボタンの押し下げに先だって、図示しないダイヤルボタンを操作することにより、あるいは、選択・決定ボタン25を操作して図示しないモニタ画面上において任意のシーンを選択することによって実行される。撮影シーンには、通常の撮影シーンを示す通常モード、人物を中心とする被写体に適当なポートレートモード、近接撮影に有効なマクロモード等がある   The control circuit 24 of the digital still camera 20 starts this processing routine when an image generation request is generated by pressing the shutter button or the like. The control circuit 24 acquires preset image processing control information that is setting information of a shooting scene set by the photographer (step S100). The setting of the shooting scene is executed by operating a dial button (not shown) before pressing the shutter button or by selecting an arbitrary scene on a monitor screen (not shown) by operating the selection / decision button 25. The The shooting scene includes a normal mode indicating a normal shooting scene, a portrait mode suitable for a subject centering on a person, a macro mode effective for close-up shooting, and the like.

制御回路24は、CCDから得られた電圧情報に基づいて画像データを生成する(ステップS110)。続いて、制御回路24は、シャッターボタンの押し下げ時におけるフォーカス位置情報を取得する(ステップS120)。フォーカス位置情報は、撮影時における撮影フレームの中でフォーカスを合わせた位置を示す情報であり、例えば、撮影フレームを垂直方向(Y方向)および水平方向(X方向)にそれぞれ256分割して、左上位置を原点とする座標位置情報(X、Y)として表される。制御回路24は、プリセット画像処理制御情報以外の画像処理制御情報、例えば、画像処理時に用いる色空間情報を取得し(ステップS130)、取得したプリセット画像処理制御情報、フォーカス位置情報、画像処理制御情報と生成された画像データとを画像ファイルとしてメモリカードに格納する(ステップS140)。このとき、プリセット画像処理制御情報、フォーカス位置情報、画像処理制御情報は、Exifファイルの制御情報格納領域113に記録され、画像データはJPEGデータのフォーマットにてJPEG画像データ格納領域111に記録される。   The control circuit 24 generates image data based on the voltage information obtained from the CCD (step S110). Subsequently, the control circuit 24 acquires focus position information when the shutter button is pressed (step S120). The focus position information is information indicating the focus position in the shooting frame at the time of shooting. For example, the shooting frame is divided into 256 in the vertical direction (Y direction) and the horizontal direction (X direction), respectively, and the upper left It is expressed as coordinate position information (X, Y) with the position as the origin. The control circuit 24 acquires image processing control information other than the preset image processing control information, for example, color space information used at the time of image processing (step S130), and the acquired preset image processing control information, focus position information, and image processing control information. And the generated image data are stored in the memory card as an image file (step S140). At this time, the preset image processing control information, the focus position information, and the image processing control information are recorded in the control information storage area 113 of the Exif file, and the image data is recorded in the JPEG image data storage area 111 in the JPEG data format. .

制御回路24は、フォーカス位置の変更の有無を判定する(ステップS150)。本実施例に従うディジタルスチルカメラ20では、メモリカードMC上に格納された画像ファイルGFに含まれる画像データをモニタ画面に表示させて、選択・決定ボタン25を操作してモニタ画面上において、フォーカス位置を変更することができるので、フォーカス位置情報が変更された場合にはフォーカス位置情報を更新するためである。制御回路24は、フォーカス位置情報が変更されたと判定した場合には(ステップS150:Yes)、メモリカードMC上に格納されている画像ファイルGFの制御情報格納領域113に格納されているフォーカス位置情報を書き換えて(ステップS160)、本処理ルーチンを終了する。一方、制御回路24は、フォーカス位置情報が変更されていないと判定した場合には(ステップS150:No)、本処理ルーチンを終了する。   The control circuit 24 determines whether or not the focus position has been changed (step S150). In the digital still camera 20 according to the present embodiment, image data included in the image file GF stored on the memory card MC is displayed on the monitor screen, and the focus position is displayed on the monitor screen by operating the selection / determination button 25. This is because the focus position information is updated when the focus position information is changed. When the control circuit 24 determines that the focus position information has been changed (step S150: Yes), the focus position information stored in the control information storage area 113 of the image file GF stored on the memory card MC. Is rewritten (step S160), and this processing routine is terminated. On the other hand, when it is determined that the focus position information has not been changed (step S150: No), the control circuit 24 ends this processing routine.

D.画像処理:
画像処理装置としてのパーソナルコンピュータ30にて実行される画像処理について図7〜図9を参照して説明する。図7は本実施例に従うパーソナルコンピュータ30によって実行される画像処理制御の処理ルーチンを示すフローチャートである。図8は、図7における画像処理制御情報に基づく画像処理に際して実行される処理ルーチンを示すフローチャートである。図9は、図8におけるフォーカス位置情報を用いた画質調整処理に際して実行される処理ルーチンを示すフローチャートである。
D. Image processing:
Image processing executed by the personal computer 30 as the image processing apparatus will be described with reference to FIGS. FIG. 7 is a flowchart showing a processing routine of image processing control executed by the personal computer 30 according to the present embodiment. FIG. 8 is a flowchart showing a processing routine executed in image processing based on the image processing control information in FIG. FIG. 9 is a flowchart showing a processing routine executed in the image quality adjustment processing using the focus position information in FIG.

図7に示す処理ルーチンは、例えば、CPU300が、カードスロット33に対するメモリカードMCを装着を検出すると実行される。CPU300は、メモリカードMCから入力装置32を介して指定された画像ファイルGFを読み出す(ステップS200)。CPU300は、画像ファイルGFの制御情報格納領域113から画像処理制御情報CIを検索し(ステップS210)、画像処理制御情報CIを発見したときには(ステップS210:Yes)、フォーカス位置情報を含む画像処理制御情報CIを取得する(ステップS220)。CPU300は、取得した画像処理制御情報CIに基づいて画像処理を実行する(ステップS230)。   The processing routine illustrated in FIG. 7 is executed, for example, when the CPU 300 detects that the memory card MC is inserted into the card slot 33. The CPU 300 reads the image file GF designated via the input device 32 from the memory card MC (step S200). The CPU 300 retrieves the image processing control information CI from the control information storage area 113 of the image file GF (step S210). When the CPU 300 finds the image processing control information CI (step S210: Yes), the image processing control including the focus position information is performed. Information CI is acquired (step S220). The CPU 300 executes image processing based on the acquired image processing control information CI (step S230).

一方、CPU300は、画像ファイルGFの制御情報格納領域113から画像処理制御情報CIを発見できなかった場合には(ステップS210:No)、通常の画像処理を実行する(ステップS240)。通常の画像処理では、フォーカス位置情報を始めとする画像処理制御情報CIを用いることなく、パーソナルコンピュータ30のHDD302に格納されているアプリケーションの機能に基づいた画像処理が実行される。   On the other hand, when the CPU 300 cannot find the image processing control information CI from the control information storage area 113 of the image file GF (step S210: No), the CPU 300 executes normal image processing (step S240). In normal image processing, image processing based on application functions stored in the HDD 302 of the personal computer 30 is executed without using image processing control information CI including focus position information.

CPU300は、画像処理を終えると(ステップS230、S240)、処理された画像データをカラープリンタ40または表示装置31に対して出力して(ステップS250)、本処理ルーチンを終了する。   When the CPU 300 finishes the image processing (steps S230 and S240), it outputs the processed image data to the color printer 40 or the display device 31 (step S250), and ends this processing routine.

次に、図8を参照して画像処理制御情報に基づく画像処理を説明する。なお、フローチャート中に表示する英文字は、画像データを表す色空間を意味している。CPU300は、画像処理制御情報CIの中で指定色空間への色空間変換マトリクス値、ガンマ補正値を用いて画像データGDの色空間をYCbCr色空間からwRGB色空間へと変換する色空間変換処理を実行する(ステップS300)。この色空間変換処理では、CPU300は、先ず、YCbCr画像データをRGB画像データに変換するためのマトリクスSを用いて、JPEG形式で表される画像データの色空間を、例えば、sRGB画像データに変換する。続いて、CPU300は、指定された色空間変換マトリクス値により構成されるマトリクスMとHDD302に格納されている変換マトリクス(N-1)とを合成して、マトリクスN-1Mを生成する。CPU300は、指定されたガンマ補正値を用いてR、G、Bの各成分に対してガンマ補正を実行し、合成により得られたマトリクスN-1Mを用いて画像データの色空間をsRGBからwRGBへと変換する。CPU300は、得られたwRGB画像データに対して、HDD302に格納されているガンマ補正値を用いて逆ガンマ補正を実行する。 Next, image processing based on image processing control information will be described with reference to FIG. Note that English characters displayed in the flowchart mean a color space representing image data. The CPU 300 uses the color space conversion matrix value to the designated color space and the gamma correction value in the image processing control information CI to convert the color space of the image data GD from the YCbCr color space to the wRGB color space. Is executed (step S300). In this color space conversion process, the CPU 300 first converts the color space of the image data represented in the JPEG format into, for example, sRGB image data using the matrix S for converting the YCbCr image data into RGB image data. To do. Subsequently, the CPU 300 combines the matrix M configured by the designated color space conversion matrix values and the conversion matrix (N −1 ) stored in the HDD 302 to generate a matrix N −1 M. The CPU 300 executes gamma correction on each of the R, G, and B components using the designated gamma correction value, and changes the color space of the image data from sRGB using the matrix N −1 M obtained by the synthesis. Convert to wRGB. The CPU 300 performs inverse gamma correction on the obtained wRGB image data using the gamma correction value stored in the HDD 302.

CPU300は、画像処理制御情報CIにフォーカス位置情報が含まれているか否かを判定する(ステップS310)。CPU300は、フォーカス位置情報が含まれていると判定した場合には(ステップS310:Yes)、フォーカス位置情報を用いた画質調整処理を実行する(ステップS320)。CPU300は、画像処理制御情報CIにフォーカス位置情報が含まれていないと判定した場合には(ステップS310:No)、通常の画質調整処理を実行する(ステップS330)。なお、画質調整処理は、画像データの特性を解析してヒストグラムを生成し、生成されたヒストグラムに基づいて統計値を算出し、統計値と画像処理の基準値との偏差が低減または解消されるようにトーンカーブを調整し、調整されたトーンカーブを用いて画像データの入力値と出力値との関係を調整することにより実行される。画質調整処理にあたって調整される画質パラメータは、明度、コントラスト、カラーバランス、シャープネス、シャドーポイント、ハイライトポイントといった画質パラメータであり、各パラメータに対する基準値は、画像処理制御情報CIに含まれる制御パラメータ値によって変更される。画像処理制御情報CIは、既述のように、撮影時の撮影モードに対応する複数のパラメータ群からなる情報であっても良い。かかる場合には、撮影モードに適した画質調整処理を実現することができる。   The CPU 300 determines whether or not the focus position information is included in the image processing control information CI (step S310). When determining that the focus position information is included (step S310: Yes), the CPU 300 executes an image quality adjustment process using the focus position information (step S320). When the CPU 300 determines that the focus position information is not included in the image processing control information CI (step S310: No), the CPU 300 executes normal image quality adjustment processing (step S330). The image quality adjustment process analyzes the characteristics of the image data to generate a histogram, calculates a statistical value based on the generated histogram, and reduces or eliminates the deviation between the statistical value and the image processing reference value. The tone curve is adjusted in this manner, and the relationship between the input value and the output value of the image data is adjusted using the adjusted tone curve. The image quality parameters adjusted in the image quality adjustment processing are image quality parameters such as brightness, contrast, color balance, sharpness, shadow point, and highlight point, and the reference value for each parameter is a control parameter value included in the image processing control information CI. Will be changed by. As described above, the image processing control information CI may be information including a plurality of parameter groups corresponding to the shooting mode at the time of shooting. In such a case, image quality adjustment processing suitable for the shooting mode can be realized.

CPU300は、画像処理を終えた画像データを用いて印刷データ生成処理を実行して(ステップS340)、本処理ルーチンを終了する。印刷データ生成処理では、CPU300は、3次元ルックアップテーブルを用いて画像データの色空間をwRGBからCMYKへと変換し、さらに、ハーフトーン処理、ラスタ処理を実行して、印刷データをカラープリンタ40の制御回路43に転送する。   The CPU 300 executes print data generation processing using the image data that has been subjected to image processing (step S340), and ends this processing routine. In the print data generation process, the CPU 300 converts the color space of the image data from wRGB to CMYK using a three-dimensional lookup table, further executes halftone processing and raster processing, and print data is transferred to the color printer 40. To the control circuit 43.

図9を参照して、フォーカス位置情報を用いた画質調整処理について説明する。なお、説明を容易にするため、画像の明度を調整する場合について代表的に説明する。CPU300は、先ず、画像を複数領域、例えば、垂直方向、および水平方向にそれぞれ256の領域に分割する(ステップS3200)。分割した画像の各領域に対しては、左上位置を原点とする座標位置情報(X’,Y’)がそれぞれ(0〜255,0〜255)まで割り当てられる。CPU300は、各領域毎にヒストグラムを生成して輝度平均値Yave(領域画像特性値)を算出する(ステップS3210)。CPU300は、フォーカス位置情報を用いて、画像上のフォーカス位置を決定し、決定した位置に在る領域を重点領域に設定し、さらに、重点領域の輝度平均値Yaveを輝度判定値Ystdに設定する(ステップS3220)。本実施例におけるフォーカス位置情報は、既述のように左上位置を原点とする座標位置情報(X、Y)として表されているので、画像に対して割り当てられた座標位置情報(X’,Y’)と、フォーカス位置情報における座標位置情報(X,Y)とが一致する領域を重点領域に設定する。例えば、(X,Y)=(125,200)であれば、(X’,Y’)=(125,200)に相当する画像上の領域が重点領域に設定される。   With reference to FIG. 9, the image quality adjustment process using the focus position information will be described. For ease of explanation, the case of adjusting the brightness of an image will be representatively described. First, the CPU 300 divides the image into a plurality of regions, for example, 256 regions in the vertical direction and the horizontal direction (step S3200). Coordinate position information (X ′, Y ′) with the upper left position as the origin is assigned to each area of the divided image (0 to 255, 0 to 255). The CPU 300 generates a histogram for each region and calculates a luminance average value Yave (region image characteristic value) (step S3210). The CPU 300 determines the focus position on the image using the focus position information, sets the area at the determined position as the priority area, and further sets the brightness average value Yave of the focus area as the brightness determination value Ystd. (Step S3220). Since the focus position information in this embodiment is expressed as coordinate position information (X, Y) with the upper left position as the origin as described above, the coordinate position information (X ′, Y assigned to the image). ') And an area where the coordinate position information (X, Y) in the focus position information matches is set as the priority area. For example, if (X, Y) = (125, 200), an area on the image corresponding to (X ′, Y ′) = (125, 200) is set as the priority area.

CPU300は、設定した輝度判定値Ystdを用いて以降の画質調整において考慮にいれない非利用領域を決定する(ステップS3230)。すなわち、輝度判定値Ystdは、画質調整に用いられる画像全体の画質調整輝度平均値Y'ave(画像特性値)を算出する際に除外する領域(あるいは、考慮に入れる領域)を決定するために用いられる判定値である。より具体的には、輝度判定値Ystdと各領域の輝度平均値Yaveとの差分の絶対値がしきい値以上の場合には、不要な情報、または、ノイズ情報であると判断し、その領域を不要領域と判定する。このように、画質調整の際に、重点領域を基準にして画像のサンプリング値を計算することによって、重点領域を中心とする精度の高い画質調整を実現することができる。なお、本実施例中において重点領域とは、画像データの作成者(撮影者)が注目している領域に従い決定される領域であり、画像処理における画像解析の基準となる画像上の領域(注目領域)を意味する。   The CPU 300 uses the set luminance determination value Ystd to determine a non-use area that is not considered in the subsequent image quality adjustment (step S3230). That is, the brightness determination value Ystd is used to determine an area (or an area to be taken into account) to be excluded when calculating the image quality adjustment brightness average value Y′ave (image characteristic value) of the entire image used for image quality adjustment. This is the judgment value used. More specifically, when the absolute value of the difference between the luminance determination value Ystd and the average luminance value Yave of each area is equal to or greater than a threshold value, it is determined that the information is unnecessary information or noise information, and the area Are determined as unnecessary areas. As described above, when the image quality adjustment is performed, by calculating the sampling value of the image based on the priority area, it is possible to realize a high-accuracy image quality adjustment centering on the priority area. In the present embodiment, the priority area is an area determined according to an area focused on by the creator (photographer) of the image data, and is an area on the image that is a reference for image analysis in image processing (attention Area).

非利用領域の決定理論について詳細に説明する。重点領域の座標(フォーカス位置座標)を(Xf,Yf)とし、各領域の中心座標を(Xa,Ya)とすると、各領域の中心座標と重点領域座標との間の距離FDは、
FD=sqrt[(Xa−Xf)2+(Ya−Yf)2] ・・・式1
によって求められる。また、重点領域座標(フォーカス位置座標)からの各領域の中心座標までの距離と、各領域の利用・非利用の判定に用いられるしきい値とは、例えば、図10に示す特性線によって関連付けられる。したがって、式1の計算結果と図10に示す特性線とを用いることによって、非利用領域を決定することができる。
The determination theory of the non-use area will be described in detail. If the coordinates (focus position coordinates) of the emphasis area are (Xf, Yf) and the center coordinates of each area are (Xa, Ya), the distance FD between the center coordinates of each area and the emphasis area coordinates is
FD = sqrt [(Xa−Xf) 2 + (Ya−Yf) 2 ] Equation 1
Sought by. In addition, the distance from the focus area coordinates (focus position coordinates) to the center coordinates of each area and the threshold value used for determining whether each area is used or not are associated by, for example, the characteristic line shown in FIG. It is done. Therefore, the non-use area can be determined by using the calculation result of Expression 1 and the characteristic line shown in FIG.

ただし、本実施例では、処理簡略化のため、画像領域を重点領域および重点領域の隣接領域と、隣接領域の外周の他領域とに2分して、用いるしきい値も重点領域および隣接領域に対するしきい値Th1と、他領域に対するしきい値Th2との2つのしきい値とした。なお、隣接領域は重点領域の周囲に在り、主要な被写体の一部である可能性が高いのでTh1>Th2として、隣接領域が残り、他の領域が非利用領域として除外されやすいようにした。
隣接領域に対しては、|Ystd−Yave(i)|>Th1 ・・・式2
他の領域に対しては、|Ystd−Yave(i)|>Th2 ・・・式3
をそれぞれ用いて、左辺の絶対値がTh1、Th2よりも大きくなる輝度平均値Yave(i)に該当する領域が非利用領域に決定される。
However, in this embodiment, for simplification of processing, the image area is divided into two parts, the emphasis area and the adjacent area of the emphasis area, and the other area of the outer periphery of the adjacency area, and the threshold value to be used is also The threshold value Th1 is set to two threshold values, and the threshold value Th2 is set to another region. Since the adjacent area is around the priority area and is likely to be a part of the main subject, Th1> Th2, so that the adjacent area remains and other areas are easily excluded as unused areas.
For the adjacent region, | Ystd−Yave (i) |> Th1 (2)
For other regions, | Ystd−Yave (i) |> Th2 Equation 3
, The area corresponding to the luminance average value Yave (i) in which the absolute value of the left side is larger than Th1 and Th2 is determined as the unused area.

CPU300は、非利用領域として除外されなかった領域を用いて、領域の位置に応じた重み付けWを反映して画像全体の輝度平均値である画質調整輝度平均値Y'aveを算出し(ステップS3240)、算出した画質調整輝度平均値Y'aveを用いて明度補正を実行して(ステップS3250)、図8に示す処理ルーチンに戻る。明度補正では、CPU300は、画像処理制御情報CIに含まれている画質調整パラメータ、および撮影モードに応じた画質調整パラメータの内、明度パラメータを用いて、画質調整に際して用いる基準値Yrefを調整し、調整した基準値Y'refと画質調整輝度平均値Y'aveとを用いて画像データの入力値と出力値との関係を表すトーンカーブの特性を調整する。CPU300は、特性が調整されたトーンカーブを用いて画素単位にて画像データの値を調整していく。   The CPU 300 calculates the image quality adjustment luminance average value Y′ave, which is the luminance average value of the entire image, by reflecting the weighting W according to the position of the area using the area that is not excluded as the non-use area (step S3240). ), Brightness correction is executed using the calculated image quality adjustment luminance average value Y′ave (step S3250), and the process returns to the processing routine shown in FIG. In the brightness correction, the CPU 300 adjusts the reference value Yref used for image quality adjustment using the brightness parameter among the image quality adjustment parameters included in the image processing control information CI and the image quality adjustment parameters corresponding to the shooting mode, Using the adjusted reference value Y′ref and the image quality adjustment luminance average value Y′ave, the characteristics of the tone curve representing the relationship between the input value and the output value of the image data are adjusted. The CPU 300 adjusts the value of the image data in units of pixels using the tone curve whose characteristics have been adjusted.

重み付けWの決定理論について詳細に説明する。最大重み付けをWmaxとし、重み付け0とする各領域の中心座標と重点領域座標との間の距離をFDw0とすると、距離FDと重み付けWとは、例えば、図11に示す特性線によって関係づけられる。すなわち、各領域に対する重み付けWは、
W=Wmax−FD*(Wmax/FDw0)・・・式4
によって求められる。
The determination theory of the weight W will be described in detail. Assuming that the maximum weight is Wmax and the distance between the center coordinates of each area and the weight area coordinates where the weight is 0 is FDw0, the distance FD and the weight W are related by, for example, a characteristic line shown in FIG. That is, the weight W for each region is
W = Wmax−FD * (Wmax / FDw0) Equation 4
Sought by.

ただし、本実施例では、処理簡略化のため、画像領域を重点領域、隣接領域、他領域の3領域に区分し、重点領域に対してはW=3、隣接領域に対してはW=2、他領域に対してはW=1を割り当てる。こうして得られた重み付けWと各領域における輝度平均値Yaveとを用いて、輝度平均値の重み付け総和ΣYaveを以下の式から算出する。
ΣYave=Yave1*3+ΣYave2(i)*2+ΣYave3(i)・・・式5
なお、Yave1:重点領域の輝度平均値、Yave2(i):隣接領域の輝度平均値、Yave3(i):他領域の輝度平均値とする。
However, in this embodiment, for simplification of processing, the image area is divided into three areas of an important area, an adjacent area, and another area, W = 3 for the important area, and W = 2 for the adjacent area. W = 1 is assigned to other areas. Using the weighting W thus obtained and the luminance average value Yave in each region, a weighted sum ΣYave of luminance average values is calculated from the following equation.
ΣYave = Yave1 * 3 + ΣYave2 (i) * 2 + ΣYave3 (i) Equation 5
Yave1: Brightness average value of the priority area, Yave2 (i): Brightness average value of the adjacent area, Yave3 (i): Brightness average value of other areas.

画像全体の輝度平均値である画質調整輝度平均値Y'aveは、重み付け有効領域数をAnumとすると、
Y'ave=(ΣYave)/(Anum)・・・式6
によって求められる。なお、Anum=[重点領域数]×3+[隣接領域数]×2+[他領域数]×1である。
The image quality adjustment luminance average value Y′ave, which is the average luminance value of the entire image, is expressed as follows:
Y'ave = (ΣYave) / (Anum) Equation 6
Sought by. Note that Anum = [number of important areas] × 3 + [number of adjacent areas] × 2 + [number of other areas] × 1.

こうして得られた画質調整輝度平均値Y'aveと調整基準値Y'ref(画像処理基準値)とを用いた明度補正(トーンカーブの特性調整)の手順について詳述する。先ず明度補正量Yapfを次の式を用いて算出する。
Yapf=Int(sqrt{(Y'ref−Y'ave)*4})・・・式7
画像を明るくする場合には、トーンカーブの入力レベルの1/4ポイントに相当する出力レベルを得られた明度補正量Yapfだけ増加させ、画像を暗くする場合には、トーンカーブの入力レベルの3/4ポイントに相当する出力レベルを得られた明度補正量Yapfだけ減少させて、トーンカーブの特性を調整する。
The procedure of brightness correction (tone curve characteristic adjustment) using the image quality adjustment brightness average value Y′ave and the adjustment reference value Y′ref (image processing reference value) thus obtained will be described in detail. First, the brightness correction amount Yapf is calculated using the following equation.
Yapf = Int (sqrt {(Y′ref−Y′ave) * 4}).
When the image is brightened, the output level corresponding to 1/4 point of the tone curve input level is increased by the obtained brightness correction amount Yapf, and when the image is darkened, the tone curve input level 3 The output level corresponding to / 4 point is reduced by the obtained brightness correction amount Yapf, and the tone curve characteristics are adjusted.

以上説明したように、本実施例に係る画像処理装置によれば、画像ファイルGFに含まれるフォーカス位置情報を利用して画像解析の際に基準となる重点領域を決定することができるので、撮影者が重要であると考えている画像上の領域(ポイント)を正確に決定することができる。また、解析結果に基づき、撮影者の意図を反映した適切な画像処理を実現することができる。すなわち、通常、撮影者は、最も関心のある被写体にフォーカスを合わせるので、フォーカスを決めた位置に存在する被写体に重みを置いた画質調整を実行することにより、重点領域を基準とした正確な画質調整を実行することができる。   As described above, according to the image processing apparatus according to the present embodiment, the focus area information included in the image file GF can be used to determine a reference important region for image analysis. It is possible to accurately determine the region (point) on the image that the person considers important. Further, it is possible to realize appropriate image processing that reflects the photographer's intention based on the analysis result. In other words, since the photographer usually focuses on the subject of most interest, accurate image quality based on the priority area can be obtained by performing image quality adjustment that places a weight on the subject existing at the focus position. Adjustments can be performed.

E.その他の実施例:
上記実施例では、明度調整に対してフォーカス位置情報を利用した画質調整について説明したが、この他にも、例えば、シャープネス調整に対してフォーカス位置情報を利用しても良い。かかる場合には、ガウス分布の手法を利用して、フォーカス位置、すなわち、重点領域にある画像のシャープネスを強め、他領域にある画像のシャープネスを弱めることによって、背景を適当にぼかすことができる。特に、撮影モードとしてポートレートモードが選択されている時に有効な処理である。したがって、撮影モードとしてポートレートモードが選択されている場合には、特別な選択処理を伴うことなく画質調整に際してシャープネス調整を実行するようにしてもよい。なお、ポートレートモードの選択の有無の情報は、画像処理制御情報CIを解析することによって得ることができる。
E. Other examples:
In the above embodiment, image quality adjustment using focus position information for brightness adjustment has been described. However, for example, focus position information may be used for sharpness adjustment. In such a case, the background can be appropriately blurred by using the Gaussian distribution technique to increase the sharpness of the image in the focus position, that is, the important region, and to weaken the sharpness of the image in the other region. This is particularly effective when the portrait mode is selected as the shooting mode. Therefore, when the portrait mode is selected as the shooting mode, sharpness adjustment may be executed during image quality adjustment without special selection processing. It should be noted that the information on whether or not the portrait mode is selected can be obtained by analyzing the image processing control information CI.

また、上記実施例では、画像処理装置として、パーソナルコンピュータ30を用いた場合について説明したが、画像処理装置として、カラープリンタ40を用いても良い。カラープリンタ40がパーソナルコンピュータ30を必要としない、いわゆる、スタンドアローン型のプリンタの場合には、カラープリンタ40だけで、画像処理、印刷処理を実行することになる。したがって、上記説明した各処理を、カラープリンタ40の制御回路43によって実行するようにしても良い。   In the above embodiment, the case where the personal computer 30 is used as the image processing apparatus has been described. However, the color printer 40 may be used as the image processing apparatus. When the color printer 40 is a so-called stand-alone printer that does not require the personal computer 30, image processing and printing processing are executed only by the color printer 40. Therefore, each process described above may be executed by the control circuit 43 of the color printer 40.

上記実施例では、明度補正を実行する際に、トーンカーブを用いたが、次のようにルックアップテーブルを作成しても良い。明度補正値γを
γ=sqrt(Yref/Y'ave)・・・式8
から求め、補正後の輝度値Y''を
Y''=255×(Y/255)γ・・・式9
から求めて元画像の各輝度値Yに対する補正後の輝度値Y''に対するルックアップテーブルを作成し、作成したルックアップテーブルに基づいて画像の各画素について輝度補正を実行する。このとき、画像処理制御情報CIに基づいて、基準値Yrefのレベルが適宜変更され得ることは言うまでもない。
In the above embodiment, the tone curve is used when performing the brightness correction. However, a lookup table may be created as follows. The brightness correction value γ is expressed as γ = sqrt (Yref / Y'ave).
The brightness value Y ″ after correction is calculated from the following equation: Y ″ = 255 × (Y / 255) γ
A lookup table for the corrected luminance value Y ″ for each luminance value Y of the original image is created, and luminance correction is performed for each pixel of the image based on the created lookup table. At this time, it goes without saying that the level of the reference value Yref can be appropriately changed based on the image processing control information CI.

以上、実施例に基づき本発明に係る画像処理装置および画像ファイル生成装置を説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨並びに特許請求の範囲を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれることはもちろんである。   As described above, the image processing apparatus and the image file generation apparatus according to the present invention have been described based on the embodiments. However, the embodiments of the present invention described above are for facilitating understanding of the present invention. It is not limited. The present invention can be changed and improved without departing from the spirit and scope of the claims, and it is needless to say that the present invention includes equivalents thereof.

上記実施例では、フォーカス位置情報を用いて明度、シャープネスの補正を行う場合について説明したが、この他の画質特性、例えば、カラーバランス、シャドーポイント、ハイライトポイントの補正、調整を行う際に利用しても良い。かかる場合にも、フォーカス位置情報を用いることによって画像の重点領域を知ることができ、重点領域を中心とした画像の画質調整を実行することができる。   In the above embodiment, the case of correcting the brightness and sharpness using the focus position information has been described. However, it is used when correcting and adjusting other image quality characteristics such as color balance, shadow point, and highlight point. You may do it. Also in such a case, the focus area information can be used to know the priority area of the image, and image quality adjustment of the image centered on the priority area can be executed.

また、画像処理制御情報CIによって指定されるパラメータは、あくまでも例示に過ぎず、他のパラメータも適宜用いられ得ることはいうまでもない。   Further, the parameters specified by the image processing control information CI are merely examples, and it goes without saying that other parameters can be used as appropriate.

上記実施例では、撮像装置としてディジタルスチルカメラ20を用いて説明したが、この他にもスキャナ、ディジタルビデオカメラ等が用いられ得る。すなわち、本実施例に係る上記画像ファイルGFは、ディジタルスチルカメラ(DSC)の他に、ディジタルビデオカメラ(DVC)、スキャナ等の入力装置(画像ファイル生成装置)によって生成され得る。ディジタルビデオカメラにて生成される場合には、例えば、静止画像データと出力制御情報とを格納する画像ファイル、あるいは、MPEG形式等の動画像データと出力制御情報とを含む動画像ファイルが生成される。この動画像ファイルが用いられる場合には、動画の全部または一部のフレームに対して出力制御情報に応じた出力制御が実行される。   In the above-described embodiment, the digital still camera 20 has been described as the imaging device. However, a scanner, a digital video camera, or the like can be used. That is, the image file GF according to the present embodiment can be generated by an input device (image file generation device) such as a digital video camera (DVC) or a scanner in addition to the digital still camera (DSC). When generated by a digital video camera, for example, an image file storing still image data and output control information, or a moving image file including moving image data such as MPEG format and output control information is generated. The When this moving image file is used, output control according to the output control information is performed on all or some of the frames of the moving image.

上記実施例では画像を256×256分割したが、より細かく分割しても良く、より荒く分割しても良い。少なくとも2つの領域が構成されるように画像を分割すれば、重点領域と他領域とが生成される。より細かく分割することによって画像調整の精度は向上し、より荒く分割することによって画像調整に要する処理時間を短縮することができる。したがって、画像調整の結果得られる画像に要求される質に応じて画像の分割数を決定すれば良い。   In the above embodiment, the image is divided into 256 × 256. However, the image may be divided more finely or more roughly. If the image is divided so that at least two regions are formed, a priority region and another region are generated. By finely dividing the image, the accuracy of image adjustment is improved. By dividing more roughly, the processing time required for image adjustment can be shortened. Therefore, the number of image divisions may be determined according to the quality required for the image obtained as a result of image adjustment.

上記実施例では、画像ファイルGFの具体例としてExif形式のファイルを例にとって説明したが、本発明に係る撮像装置において用いられ得る画像ファイルの形式はこれに限られない。すなわち、出力装置によって出力されるべき画像データと、画像処理装置における画像データの画像処理条件を指定する画像処理制御情報CIとを含むことができるファイルであれば良い。このようなファイルであれば、撮像装置において画像データと画像処理制御情報CIとを含む画像ファイルを生成することができるからである。   In the above embodiment, the Exif format file has been described as a specific example of the image file GF, but the format of the image file that can be used in the imaging apparatus according to the present invention is not limited to this. That is, any file can be used as long as it can include image data to be output by the output device and image processing control information CI that specifies the image processing conditions of the image data in the image processing device. This is because with such a file, an image file including image data and image processing control information CI can be generated in the imaging apparatus.

なお、画像データと出力装置制御情報CIとが含まれる画像ファイルGFには、画像処理制御情報CIとを関連付ける関連付けデータを生成し、画像データと画像処理制御情報CIとをそれぞれ独立したファイルに格納し、画像処理の際に関連付けデータを参照して画像データと画像処理制御情報CIとを関連付け可能なファイルも含まれる。かかる場合には、画像データと画像処理制御情報CIとが別ファイルに格納されているものの、画像処理制御情報CIを利用する画像処理の時点では、画像データおよび画像処理制御情報CIとが一体不可分の関係にあり、実質的に同一のファイルに格納されている場合と同様に機能するからである。すなわち、少なくとも画像処理の時点において、画像データと画像処理制御情報CIとが関連付けられて用いられる態様は、本実施例における画像ファイルGFに含まれる。さらに、CD−ROM、CD−R、DVD−ROM、DVD−RAM等の光ディスクメディアに格納されている動画像ファイルも含まれる。   For the image file GF including the image data and the output device control information CI, association data for associating the image processing control information CI is generated, and the image data and the image processing control information CI are stored in independent files. In addition, a file that can associate image data with image processing control information CI by referring to association data at the time of image processing is also included. In such a case, although the image data and the image processing control information CI are stored in separate files, the image data and the image processing control information CI are inseparably integrated at the time of image processing using the image processing control information CI. This is because they function in the same manner as when they are stored in substantially the same file. That is, an aspect in which image data and image processing control information CI are used in association with each other at least at the time of image processing is included in the image file GF in the present embodiment. Furthermore, a moving image file stored in an optical disc medium such as a CD-ROM, a CD-R, a DVD-ROM, a DVD-RAM is also included.

10…画像処理システム
20…ディジタルスチルカメラ
21…光学回路
22…画像取得回路
23…画像処理回路
24…制御回路
25…選択・決定ボタン
30…パーソナルコンピュータ
31…表示装置
32…入力装置
33…カードスロット
34…入出力端子
300…CPU
301…RAM
40…カラープリンタ
41…印刷部
42…スロット
43…制御装置
430…CPU
431…ROM
432…ランダムアクセスメモリ
111…JPEG画像データ格納領域
112…付属情報格納領域
113…制御情報格納領域
GF…画像ファイル(Exifファイル)
CV…接続ケーブル
MC…メモリカード
DESCRIPTION OF SYMBOLS 10 ... Image processing system 20 ... Digital still camera 21 ... Optical circuit 22 ... Image acquisition circuit 23 ... Image processing circuit 24 ... Control circuit 25 ... Selection / decision button 30 ... Personal computer 31 ... Display device 32 ... Input device 33 ... Card slot 34 ... Input / output terminal 300 ... CPU
301 ... RAM
DESCRIPTION OF SYMBOLS 40 ... Color printer 41 ... Printing part 42 ... Slot 43 ... Control apparatus 430 ... CPU
431 ... ROM
432 ... Random access memory 111 ... JPEG image data storage area 112 ... Attached information storage area 113 ... Control information storage area GF ... Image file (Exif file)
CV ... Connection cable MC ... Memory card

Claims (4)

像装置において撮像より生成された画像データと、前記画像データに対応付けられ、前記撮像に用いられたフォーカス位置情報とを、画像ファイルから取得する取得手段と、
前記取得手段により取得された画像データに対する画像処理条件を決定し、前記取得された画像データに対する画像処理を実行する画像処理手段と、
前記画像処理された画像データを印刷する印刷手段と、
を備えた印刷装置であって、
前記画像処理手段は、前記画像処理条件を決定する際、
前記取得手段により取得された画像データに基づく画像を複数の領域に分割し、
前記複数の領域における領域画像特性値をそれぞれ取得し、
前記フォーカス位置情報に基づいて、前記複数の領域から重点領域を決定し、
前記決定した重点領域における前記領域画像特性値と、前記複数の領域における前記領域画像特性値とに基づいて、前記複数の領域を利用領域と非利用領域とに分け、
前記重点領域における前記領域画像特性値と、前記利用領域における前記領域画像特性値とに基づいて、画像全体の画像特性値を生成し、
前記画像全体の前記画像特性値を用いて前記取得された画像データに対する前記画像処理条件を決定することを特徴とする印刷装置。
And image data generated from the image pickup in the imaging device, associated with the image data, and a focus position information used in the image pickup, obtaining means for obtaining from the image file,
Image processing means for determining image processing conditions for the image data acquired by the acquisition means, and executing image processing for the acquired image data;
Printing means for printing the image processed image data;
A printing apparatus comprising:
When the image processing means determines the image processing conditions,
Dividing an image based on the image data acquired by the acquisition means into a plurality of regions;
Each of the region image characteristic values in the plurality of regions is acquired,
Based on the focus position information, determine a priority area from the plurality of areas,
Based on the region image characteristic value in the determined priority region and the region image characteristic value in the plurality of regions, the plurality of regions are divided into use regions and non-use regions,
Based on the region image characteristic value in the priority region and the region image characteristic value in the use region, an image characteristic value of the entire image is generated,
The printing apparatus, wherein the image processing condition for the acquired image data is determined using the image characteristic value of the entire image.
前記印刷手段は、インクジェット方式の印刷手段であることを特徴とする請求項1に記載の印刷装置。 Said printing means, a printing apparatus according to claim 1, characterized in that the printing means of an ink jet system. 撮像装置において撮像より生成された画像データと、前記画像データに対応付けられ、前記撮像に用いられたフォーカス位置情報とを、画像ファイルから取得する工程と
前記取得された画像データに基づく画像を複数の領域に分割する工程と、
前記複数の領域における領域画像特性値をそれぞれ取得する工程と、
前記取得されたフォーカス位置情報に基づいて、前記複数の領域から重点領域を決定する工程と、
前記決定した重点領域における前記領域画像特性値と、前記複数の領域における前記領域画像特性値とに基づいて、前記複数の領域を利用領域と非利用領域とに分ける工程と、
前記重点領域における前記領域画像特性値と、前記利用領域における前記領域画像特性値とに基づいて、画像全体の画像特性値を生成する工程と、
前記画像全体の前記画像特性値を用いて前記画像データに対する前記画像処理条件を決定する工程と
前記決定した画像処理条件に基づいて前記画像データに対する画像処理を実行する工程と、
を備えることを特徴とする画像処理方法。
A step of acquiring the image data generated from the image pickup, corresponding to the image data, and a focus position information used in the imaging, the image file in an imaging device,
Dividing the image based on the acquired image data into a plurality of regions;
Obtaining each of the region image characteristic values in the plurality of regions;
Determining an emphasis region from the plurality of regions based on the acquired focus position information ;
Dividing the plurality of regions into use regions and non-use regions based on the region image characteristic values in the determined priority region and the region image characteristic values in the plurality of regions;
Generating an image characteristic value of the entire image based on the area image characteristic value in the priority area and the area image characteristic value in the use area;
And determining the image processing conditions for pre-outs image data by using the image characteristic value of the entire image,
A step for executing image processing for the previous outs image data based on the determined image processing condition,
An image processing method comprising:
画像処理プログラムであって、
撮像装置において撮像より生成された画像データと、前記画像データに対応付けられ、前記撮像に用いられたフォーカス位置情報とを、画像ファイルから取得する機能と、
前記取得された画像データに基づく画像を複数の領域に分割する機能と、
前記複数の領域における領域画像特性値をそれぞれ取得する機能と、
前記取得されたフォーカス位置情報に基づいて、前記複数の領域から重点領域を決定する機能と、
前記決定した重点領域における前記領域画像特性値と、前記複数の領域における前記領域画像特性値とに基づいて、前記複数の領域を利用領域と非利用領域とに分ける機能と、
前記重点領域における前記領域画像特性値と、前記利用領域における前記領域画像特性値とに基づいて、画像全体の画像特性値を生成する機能と、
前記画像全体の前記画像特性値を用いて前記画像データに対する前記画像処理条件を決定する機能と
前記決定した画像処理条件に基づいて前記画像データに対する画像処理を実行する機能と、
をコンピュータに実現させる画像処理プログラム。
An image processing program,
And image data generated from the image pickup in the image pickup device, associated with the image data, and a focus position information used in the imaging, and to that feature acquired from the image file,
A function of dividing an image based on the acquired image data into a plurality of regions;
A function of acquiring region image characteristic values in the plurality of regions,
A function of determining a focus area from the plurality of areas based on the acquired focus position information ;
A function of dividing the plurality of regions into a use region and a non-use region based on the region image characteristic value in the determined priority region and the region image characteristic value in the plurality of regions;
A function of generating an image characteristic value of the entire image based on the area image characteristic value in the priority area and the area image characteristic value in the use area;
And ability to determine the image processing conditions for pre-outs image data by using the image characteristic value of the entire image,
And ability to perform image processing for the previous outs image data based on the determined image processing condition,
An image processing program for realizing a computer.
JP2009021552A 2001-09-11 2009-02-02 Image processing using subject information Expired - Lifetime JP4859938B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009021552A JP4859938B2 (en) 2001-09-11 2009-02-02 Image processing using subject information

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001275153 2001-09-11
JP2001275153 2001-09-11
JP2009021552A JP4859938B2 (en) 2001-09-11 2009-02-02 Image processing using subject information

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002250045A Division JP4281311B2 (en) 2001-09-11 2002-08-29 Image processing using subject information

Publications (2)

Publication Number Publication Date
JP2009141975A JP2009141975A (en) 2009-06-25
JP4859938B2 true JP4859938B2 (en) 2012-01-25

Family

ID=40439410

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2008223014A Withdrawn JP2009037625A (en) 2001-09-11 2008-09-01 Image processing using object information
JP2009021552A Expired - Lifetime JP4859938B2 (en) 2001-09-11 2009-02-02 Image processing using subject information

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2008223014A Withdrawn JP2009037625A (en) 2001-09-11 2008-09-01 Image processing using object information

Country Status (1)

Country Link
JP (2) JP2009037625A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009037625A (en) * 2001-09-11 2009-02-19 Seiko Epson Corp Image processing using object information
JP2010015607A (en) * 2003-11-05 2010-01-21 Seiko Epson Corp Image processing apparatus and image processing method
KR101256094B1 (en) 2011-06-10 2013-04-23 (주)프리소프트 Apparatus for improving image comprising motion object
KR101238249B1 (en) * 2011-06-13 2013-02-27 삼성테크윈 주식회사 Method of Improving Contrast and Apparatus using the method
WO2014175483A1 (en) 2013-04-24 2014-10-30 전자부품연구원 Object detecting method using image characteristic-based division technique and image processing apparatus applying same

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04243376A (en) * 1991-01-18 1992-08-31 Canon Inc Color picture processing unit
JP3253707B2 (en) * 1992-10-30 2002-02-04 株式会社リコー Image processing device
JPH06291936A (en) * 1993-04-01 1994-10-18 Fuji Photo Film Co Ltd Picture reader
JP3649468B2 (en) * 1995-05-31 2005-05-18 株式会社日立製作所 Electronic album system with shooting function
JP3344884B2 (en) * 1995-12-19 2002-11-18 富士写真フイルム株式会社 Image processing device
JPH09198494A (en) * 1996-01-23 1997-07-31 Canon Inc Picture processing method and device therefor
DE59701885D1 (en) * 1996-03-26 2000-07-20 Mannesmann Ag OPTOELECTRONIC IMAGE SYSTEM FOR INDUSTRIAL APPLICATIONS
JP3492151B2 (en) * 1996-09-10 2004-02-03 大日本スクリーン製造株式会社 Image sharpness processing method and apparatus, and storage medium storing program
US6115078A (en) * 1996-09-10 2000-09-05 Dainippon Screen Mfg. Co., Ltd. Image sharpness processing method and apparatus, and a storage medium storing a program
JPH11136568A (en) * 1997-10-31 1999-05-21 Fuji Photo Film Co Ltd Touch panel operation-type camera
JPH11243493A (en) * 1998-02-24 1999-09-07 Fuji Photo Film Co Ltd Image processor
JPH11275360A (en) * 1998-03-20 1999-10-08 Fuji Photo Film Co Ltd Image processing method
JPH11353477A (en) * 1998-04-08 1999-12-24 Fuji Photo Film Co Ltd Image processor, image processing method and recording medium recorded with software to execute the method
JP2000069277A (en) * 1998-06-11 2000-03-03 Fuji Photo Film Co Ltd Image processing unit
JP4253396B2 (en) * 1999-04-12 2009-04-08 オリンパス株式会社 Electronic camera device
JP2001036763A (en) * 1999-07-22 2001-02-09 Minolta Co Ltd Picture processor
JP2001128044A (en) * 1999-10-26 2001-05-11 Minolta Co Ltd Digital camera, reproduced picture display device and filing method of picture data
JP2001147481A (en) * 1999-11-18 2001-05-29 Canon Inc Camera, printer and photographic print system
JP2001223941A (en) * 1999-12-01 2001-08-17 Ricoh Co Ltd Image pickup device and image pickup method
JP4212741B2 (en) * 1999-12-09 2009-01-21 株式会社リコー Image processing device
JP3777922B2 (en) * 1999-12-09 2006-05-24 コニカミノルタフォトイメージング株式会社 Digital imaging apparatus, image processing system including the same, image processing apparatus, digital imaging method, and recording medium
JP3960137B2 (en) * 2001-02-09 2007-08-15 セイコーエプソン株式会社 Output image adjustment of image data
JP3539394B2 (en) * 2001-03-26 2004-07-07 ミノルタ株式会社 Image processing apparatus, program, and recording medium
JP2009037625A (en) * 2001-09-11 2009-02-19 Seiko Epson Corp Image processing using object information
JP4281311B2 (en) * 2001-09-11 2009-06-17 セイコーエプソン株式会社 Image processing using subject information

Also Published As

Publication number Publication date
JP2009141975A (en) 2009-06-25
JP2009037625A (en) 2009-02-19

Similar Documents

Publication Publication Date Title
JP4281311B2 (en) Image processing using subject information
JP4406195B2 (en) Output image adjustment of image data
JP3520859B2 (en) Image file output image adjustment
JP4666090B2 (en) Output image adjustment of image data
JP4859938B2 (en) Image processing using subject information
JP4036156B2 (en) Judgment of backlight image
JP2004088345A (en) Image forming method, image processor, print preparation device, and storage medium
JP2004145287A (en) Red-eye effect compensating method, picture processing method, printing method and printer
JP3915755B2 (en) Output image adjustment of image data
JP2006203528A (en) Image processor, image processing program, and recording medium
JP4600503B2 (en) Output image adjustment of image data
JP2003052002A (en) Output image adjustment of image file
JP4232854B2 (en) Output image adjustment for image files
JP3922223B2 (en) Output image adjustment of image data
JP4311465B2 (en) Output image adjustment of image data
JP4600474B2 (en) Output image adjustment of image data
JP2006174471A (en) Output image adjustment of image data
JP2005236903A (en) Image processing method, image processor, image forming apparatus, and computer program
JP4232571B2 (en) Output image adjustment of image data
JP2008092609A (en) Image data output image adjustment
JP2007135225A (en) Output image adjustment of image data

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100420

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100706

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101004

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20101015

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20101210

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110927

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111101

R150 Certificate of patent or registration of utility model

Ref document number: 4859938

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20141111

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term