JP2011109360A - Imaging apparatus - Google Patents

Imaging apparatus Download PDF

Info

Publication number
JP2011109360A
JP2011109360A JP2009261645A JP2009261645A JP2011109360A JP 2011109360 A JP2011109360 A JP 2011109360A JP 2009261645 A JP2009261645 A JP 2009261645A JP 2009261645 A JP2009261645 A JP 2009261645A JP 2011109360 A JP2011109360 A JP 2011109360A
Authority
JP
Japan
Prior art keywords
setting
hue
image
color
change amount
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.)
Granted
Application number
JP2009261645A
Other languages
Japanese (ja)
Other versions
JP5482131B2 (en
Inventor
Kazuhiro Yoshida
和弘 吉田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2009261645A priority Critical patent/JP5482131B2/en
Publication of JP2011109360A publication Critical patent/JP2011109360A/en
Application granted granted Critical
Publication of JP5482131B2 publication Critical patent/JP5482131B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Color Television Image Signal Generators (AREA)
  • Processing Of Color Television Signals (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an imaging apparatus which easily corrects a specific color in a photographed image to a color of an actual object in detail in photographing. <P>SOLUTION: The imaging apparatus is provided with: a hue setting part 60 which sets a hue area to a color space; a hue rotation amount setting part 61 which sets a hue rotation amount to the color space; and a saturation change amount setting part 62 which sets a saturation change amount to the color space, and a specific color correction control part 63 changes a hue and saturation to the specific color in an image displayed on a liquid crystal monitor 9 on the basis of the hue rotation amount of the set hue area to be input and set saturation change amount setting information by setting an arbitrary hue area to the hue setting part 60, setting an arbitrary hue rotation amount to the hue rotation amount setting part 61, and further setting an arbitrary saturation change amount to the saturation change amount setting part 62 by pressing operations of a menu button 12 and a setting switching button 13. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、デジタルスチルカメラ、デジタルビデオカメラ等の撮像装置に関する。   The present invention relates to an imaging apparatus such as a digital still camera and a digital video camera.

デジタルスチルカメラ(以下、「デジタルカメラ」という)では、撮影レンズ系を通して被写体像がCCD等の撮像素子に入射されると、この撮像素子から出力される画像信号に対して信号処理部で所定の信号処理を行うことで、被写体像に応じた画像データを得ることができる。更に、得られた画像データに対して、表示部(モニター画面)に表示するための処理や、メモリ等に保存するため処理が行われる。   In a digital still camera (hereinafter referred to as “digital camera”), when a subject image is incident on an image sensor such as a CCD through a photographing lens system, a signal processing unit performs a predetermined process on an image signal output from the image sensor. By performing signal processing, image data corresponding to the subject image can be obtained. Further, processing for displaying the obtained image data on a display unit (monitor screen) and processing for saving in a memory or the like are performed.

また、最近では、撮影に関して専門的な知識を有していない初心者等であっても、様々な撮影シーンに応じて適切な画質の画像が簡単に得られるように、複数の撮影モードを有しているデジタルカメラも提案されている(例えば、特許文献1参照)。   In addition, recently, even a beginner who does not have specialized knowledge about shooting has a plurality of shooting modes so that images with appropriate image quality can be easily obtained according to various shooting scenes. A digital camera is also proposed (see, for example, Patent Document 1).

前記特許文献1のような撮像装置(カメラ装置)では、ユーザが所定の撮影モードを設定すると、その撮影モードに対応した画質パラメータ(彩度、色相、シャープネス、コントラスト、ホワイトバランスなど)に基づいて画像データ処理が行われる。ところで、前記画質パラメータ(彩度、色相、シャープネス、コントラスト、ホワイトバランスなど)は、複数の撮影モードに対応して最適な画質が得られるように初期設定されたパラメータ値として記憶されている。   In the imaging apparatus (camera apparatus) as in Patent Document 1, when a user sets a predetermined shooting mode, image quality parameters (saturation, hue, sharpness, contrast, white balance, etc.) corresponding to the shooting mode are set. Image data processing is performed. By the way, the image quality parameters (saturation, hue, sharpness, contrast, white balance, etc.) are stored as parameter values that are initially set so as to obtain an optimum image quality corresponding to a plurality of shooting modes.

このため、撮影状況等によって、表示部(モニター画面)に表示された撮影画像内の特定の色が実際の被写体の色と異なっている場合に、撮影時に撮影画像内の特定の色を実際の被写体の色に補正することができなかった。   For this reason, when the specific color in the captured image displayed on the display unit (monitor screen) differs from the actual subject color depending on the shooting conditions, the specific color in the captured image is actually The color of the subject could not be corrected.

そこで、本発明は、撮影時に撮影画像内の特定の色を、実際の被写体の色に容易にかつ詳細に補正することができる撮像装置を提供することを目的とする。   Accordingly, an object of the present invention is to provide an imaging apparatus that can easily and in detail correct a specific color in a captured image to an actual subject color at the time of shooting.

前記目的を達成するために請求項1に記載の撮像装置は、被写体像を撮像する撮像手段と、前記撮像手段から出力される撮像した被写体像に応じた画像データを取り込み、前記画像データに対して画像処理を行う画像処理手段と、前記画像処理手段により画像処理された画像を表示するための画像表示手段とを有する画像形成装置において、色空間に対して色相領域を設定する色相領域設定手段と、色空間に対して色相回転量を設定する色相回転量設定手段と、色空間に対して彩度変更量を設定する彩度変更量設定手段と、前記色相領域設定手段に対して任意の色相領域を設定させるための第1の設定入力手段と、前記色相回転量設定手段に対して任意の色相回転量を設定させるための第2の設定入力手段と、彩度変更量設定手段に対して任意の彩度変更量を設定させるための第3の設定入力手段と、前記画像表示手段に表示された画像内の特定の色に対して色相と彩度の変更を行う色補正制御手段とを備え、前記色補正制御手段は、前記第1の設定入力手段により前記色相領域設定手段に対して任意の色相領域を設定すると共に、前記第2の設定入力手段により前記色相回転量設定手段に対して任意の色相回転量を設定し、更に前記第3の設定入力手段により前記彩度変更量設定手段に対して任意の彩度変更量を設定することにより、入力される設定された前記色相領域の色相回転量と設定された前記彩度変更量設定情報とに基づいて、前記画像表示手段に表示された画像内の特定の色に対して色相と彩度の変更を行うことを特徴としている。   In order to achieve the above object, an imaging apparatus according to claim 1 captures image data corresponding to a captured subject image output from the imaging unit that captures a subject image, and outputs the image data to the image data. In an image forming apparatus having image processing means for performing image processing and image display means for displaying an image processed by the image processing means, a hue area setting means for setting a hue area with respect to a color space A hue rotation amount setting means for setting a hue rotation amount for the color space, a saturation change amount setting means for setting a saturation change amount for the color space, and an arbitrary value for the hue area setting means A first setting input means for setting a hue area; a second setting input means for setting an arbitrary hue rotation amount for the hue rotation amount setting means; and a saturation change amount setting means. Leave Third setting input means for setting the saturation change amount of the image, and color correction control means for changing the hue and saturation for a specific color in the image displayed on the image display means. The color correction control means sets an arbitrary hue area for the hue area setting means by the first setting input means, and sets the hue rotation amount setting means by the second setting input means. By setting an arbitrary hue rotation amount, and further setting an arbitrary saturation change amount with respect to the saturation change amount setting means by the third setting input means, the input of the set hue region to be input Based on the hue rotation amount and the set saturation change amount setting information, the hue and saturation are changed for a specific color in the image displayed on the image display means.

請求項2に記載の撮像装置は、前記第1の設定入力手段により前記色相領域設定手段に対して任意の色相領域を設定するときに、前記画像表示手段に色空間を示すチャートが表示され、表示された色空間チャート画面上で前記第1の設定入力手段により色相領域開始角度と終了角度の設定を行なうことを特徴としている。   The imaging apparatus according to claim 2, when an arbitrary hue region is set for the hue region setting unit by the first setting input unit, a chart indicating a color space is displayed on the image display unit, The hue area start angle and end angle are set by the first setting input means on the displayed color space chart screen.

請求項3に記載の撮像装置は、前記第2の設定入力手段により前記色相回転量設定手段に対して任意の色相回転量を設定するときに、前記画像表示手段に色空間を示すチャートが表示され、表示された色空間チャート画面上で前記第2の設定入力手段により色相回転後の色相領域開始角度と終了角度の設定を行なうことを特徴としている。   The imaging apparatus according to claim 3, wherein when an arbitrary hue rotation amount is set for the hue rotation amount setting unit by the second setting input unit, a chart indicating a color space is displayed on the image display unit. The hue area start angle and end angle after the hue rotation are set by the second setting input means on the displayed color space chart screen.

請求項4に記載の撮像装置は、前記第3の設定入力手段により前記彩度変更量設定手段に対して任意の彩度変更量を設定するときに、前記画像表示手段に彩度変更量を示すパーセンテージが表示され、表示された彩度変更量パーセンテージ画面上で前記第3の設定入力手段により彩度変更量の設定を行なうことを特徴としている。   The image pickup apparatus according to claim 4, wherein an arbitrary saturation change amount is set for the saturation change amount setting unit by the third setting input unit, and a saturation change amount is set in the image display unit. The displayed percentage is displayed, and the saturation change amount is set by the third setting input means on the displayed saturation change amount percentage screen.

請求項1に記載の撮像装置によれば、画像表示手段に表示された撮影画像に対して、撮影状況等によってこの撮影画像内の特定の色が実際の被写体の色と異なっている場合でも、撮影画像内の特定の色を被写体の色に容易に補正することができる。   According to the imaging device of claim 1, even when the specific color in the captured image differs from the actual subject color depending on the captured state or the like for the captured image displayed on the image display unit, A specific color in the captured image can be easily corrected to the color of the subject.

請求項2に記載の撮像装置によれば、画像表示手段に表示された色空間チャート画面上で第1の設定入力手段により色相領域開始角度と終了角度の設定を行なうことにより、ユーザが表示された色空間チャート画面を見ながら設定することができ、設定操作を容易に行うことが可能となる。   According to the imaging apparatus of the second aspect, the user is displayed by setting the hue region start angle and end angle by the first setting input means on the color space chart screen displayed on the image display means. It is possible to make settings while viewing the color space chart screen.

請求項3に記載の撮像装置によれば、画像表示手段に表示された色空間チャート画面上で第2の設定入力手段により色相回転後の色相領域開始角度と終了角度の設定を行なうことにより、ユーザが表示された色空間チャート画面を見ながら設定することができ、設定操作を容易に行うことが可能となる。   According to the imaging apparatus of claim 3, by setting the hue region start angle and the end angle after the hue rotation on the color space chart screen displayed on the image display means by the second setting input means, The user can make settings while viewing the displayed color space chart screen, and the setting operation can be easily performed.

請求項4に記載の撮像装置によれば、画像表示手段に表示された彩度変更量パーセンテージ画面上で第3の設定入力手段により彩度変更量の設定を行なうことにより、ユーザが表示された彩度変更量パーセンテージ画面を見ながら設定することができ、設定操作を容易に行うことが可能となる。   According to the imaging apparatus of the fourth aspect, the user is displayed by setting the saturation change amount by the third setting input means on the saturation change amount percentage screen displayed on the image display means. This can be set while looking at the saturation change amount percentage screen, and the setting operation can be easily performed.

(a)は、本発明の実施形態1に係る撮像装置の一例としてのデジタルカメラを示す正面図、(b)は、その上面図、(c)は、その背面図。(A) is a front view which shows the digital camera as an example of the imaging device which concerns on Embodiment 1 of this invention, (b) is the top view, (c) is the back view. 本発明の実施形態1に係る撮像装置の一例としてのデジタルカメラ内のシステム構成の概要を示すブロック図。1 is a block diagram showing an outline of a system configuration in a digital camera as an example of an imaging apparatus according to Embodiment 1 of the present invention. 画像データ処理部の構成を示すブロック図。The block diagram which shows the structure of an image data process part. (a)は、γ補正処理部で入出力変換処理を行う際のγ補正曲線の一例を示す図、(b)は、画像出力装置での入力信号に対する出力信号の出力特性の一例を示す図。(A) is a figure which shows an example of the gamma correction curve at the time of performing input-output conversion processing in a gamma correction process part, (b) is a figure which shows an example of the output characteristic of the output signal with respect to the input signal in an image output device. . CbCr色空間の一例を示す図。The figure which shows an example of CbCr color space. エッジ強調処理部の構成を示すブロック図。The block diagram which shows the structure of an edge emphasis processing part. 制御部内に設けられた色相設定部、色相回転量設定部、彩度変更量設部、特定色補正制御部を示すブロック図。The block diagram which shows the hue setting part, the hue rotation amount setting part, the saturation change amount setting part, and the specific color correction control part which were provided in the control part. 本実施形態における特定色に対する色補正制御を示すフローチャート。5 is a flowchart showing color correction control for a specific color in the present embodiment. 本実施形態における色相の変更設定処理を示すフローチャート。6 is a flowchart illustrating hue change setting processing according to the present embodiment. (a)は、CbCr色空間において色相変更前の領域設定の一例を示した図、(b)は、CbCr色空間において色相変更後の領域設定の一例を示した。(A) is a diagram showing an example of area setting before hue change in the CbCr color space, and (b) shows an example of area setting after hue change in the CbCr color space. (a)は、CbCr色空間において色相変更前領域と色相変更後領域のサイズが同じ場合の一例を示した図、(b)は、CbCr色空間において色相変更前領域と色相変更後領域のサイズが異なっている場合の一例を示した図。(A) is a diagram showing an example in which the size of the pre-hue change area and the post-hue change area is the same in the CbCr color space, and (b) is the size of the pre-hue change area and the post-hue change area in the CbCr color space. The figure which showed an example when is different.

以下、本発明を図示の実施形態に基づいて説明する。図1は、本発明の実施形態に係る撮像装置の一例としてのデジタルカメラを示す正面図、図1(b)は、その上面図、図1(c)は、その背面図、図2は、図1(a),(b),(c)に示したデジタルカメラ内のシステム構成の概要を示すブロック図である。   Hereinafter, the present invention will be described based on the illustrated embodiments. 1 is a front view showing a digital camera as an example of an imaging apparatus according to an embodiment of the present invention, FIG. 1B is a top view thereof, FIG. 1C is a rear view thereof, and FIG. It is a block diagram which shows the outline | summary of the system configuration | structure in the digital camera shown to Fig.1 (a), (b), (c).

(デジタルカメラの外観構成)
図1(a),(b),(c)に示すように、本実施形態に係るデジタルカメラ1の上面側には、レリーズボタン(シャッタボタン)2、電源ボタン3、撮影・再生切替ダイアル4が設けられており、デジタルカメラ1の正面(前面)側には、撮影レンズ系5を有する鏡胴ユニット6、ストロボ発光部(フラッシュ)7、光学ファインダ8が設けられている。
(Appearance structure of digital camera)
As shown in FIGS. 1A, 1B, and 1C, a release button (shutter button) 2, a power button 3, a shooting / playback switching dial 4 are provided on the upper surface side of the digital camera 1 according to the present embodiment. In the front (front) side of the digital camera 1, a lens barrel unit 6 having a photographing lens system 5, a strobe light emitting unit (flash) 7, and an optical viewfinder 8 are provided.

デジタルカメラ1の背面側には、液晶モニタ(LCD)9、前記光学ファインダ8の接眼レンズ部8a、広角側ズーム(W)スイッチ10、望遠側ズーム(T)スイッチ11、メニュー(MENU)ボタン12、設定切替ボタン13等が設けられている。また、デジタルカメラ1の側面内部には、撮影した画像データを保存するためのメモリカード14(図2参照)を収納するメモリカード収納部15が設けられている。   On the back side of the digital camera 1, there are a liquid crystal monitor (LCD) 9, an eyepiece 8 a of the optical viewfinder 8, a wide-angle zoom (W) switch 10, a telephoto zoom (T) switch 11, and a menu (MENU) button 12. , A setting switching button 13 and the like are provided. Further, a memory card storage unit 15 for storing a memory card 14 (see FIG. 2) for storing captured image data is provided inside the side surface of the digital camera 1.

(デジタルカメラのシステム構成)
図2に示すように、このデジタルカメラ1は、鏡胴ユニット6の撮影レンズ系5を通して入射される被写体像が受光面上に結像する固体撮像素子としてのCCD20、CCD20から出力される電気信号(アナログRGB画像信号)をデジタル信号に処理するアナログフロントエンド部(以下、「AFE部」という)21、AFE部21から出力されるデジタル信号を処理する信号処理部22、データを一時的に格納するSDRAM23、制御プログラム等が記憶されたROM24、鏡胴ユニット6を駆動するモータドライバ25等を有している。
(Digital camera system configuration)
As shown in FIG. 2, the digital camera 1 includes a CCD 20 serving as a solid-state imaging device on which a subject image incident through a photographing lens system 5 of a lens barrel unit 6 is formed on a light receiving surface, and electrical signals output from the CCD 20. An analog front-end unit (hereinafter referred to as “AFE unit”) 21 that processes (analog RGB image signal) into a digital signal, a signal processing unit 22 that processes a digital signal output from the AFE unit 21, and temporarily stores data SDRAM 23 for controlling, ROM 24 for storing a control program, a motor driver 25 for driving the lens barrel unit 6 and the like.

鏡胴ユニット6は、ズームレンズやフォーカスレンズ等を有する撮影レンズ系5、絞りユニット26、メカシャッタユニット27を備えており、撮影レンズ系5、絞りユニット26、メカシャッタユニット27の各駆動ユニットは、モータドライバ25によって駆動される。モータドライバ25は、信号処理部22の制御部(CPU)28からの駆動信号により駆動制御される。   The lens barrel unit 6 includes a photographic lens system 5 having a zoom lens, a focus lens, and the like, an aperture unit 26, and a mechanical shutter unit 27. The drive units of the photographic lens system 5, the aperture unit 26, and the mechanical shutter unit 27 are as follows. It is driven by the motor driver 25. The motor driver 25 is driven and controlled by a drive signal from a control unit (CPU) 28 of the signal processing unit 22.

CCD20は、CCD20を構成する複数の画素上にRGB原色フィルタ(不図示)が配置されており、RGB3原色に対応した電気信号(アナログRGB画像信号)が出力される。   In the CCD 20, RGB primary color filters (not shown) are arranged on a plurality of pixels constituting the CCD 20, and electrical signals (analog RGB image signals) corresponding to the three primary colors of RGB are output.

AFE部21は、CCD20を駆動するTG(タイミング信号発生部)30、CCD20から出力される電気信号(アナログRGB画像信号)をサンプリングするCDS(相関2重サンプリング部)31、CDS31にてサンプリングされた画像信号のゲインを調整するAGC(アナログ利得制御部)32、AGC32でゲイン調整された画像信号をデジタル信号(以下、「RAW−RGBデータ」という)に変換するA/D変換部33を備えている。   The AFE unit 21 is sampled by a TG (timing signal generating unit) 30 that drives the CCD 20, a CDS (correlated double sampling unit) 31 that samples an electrical signal (analog RGB image signal) output from the CCD 20, and the CDS 31. An AGC (analog gain controller) 32 that adjusts the gain of the image signal, and an A / D converter 33 that converts the image signal gain-adjusted by the AGC 32 into a digital signal (hereinafter referred to as “RAW-RGB data”) are provided. Yes.

信号処理部22は、AFE部21のTG30からの画面水平同期信号(HD)と画面垂直同期信号(VD)、および画素転送クロック(ピクセルクロック)の出力を受け、これらの同期信号に合わせて、AFE部21のA/D変換部33から出力されるRAW−RGBデータを取り込むCCDインターフェース(以下、「CCDI/F」という)34と、SDRAM23を制御するメモリコントローラ35と、取り込んだRAW−RGBデータを表示や記録が可能な画像データに変換処理する画像データ処理部36と、表示や記録される画像データのサイズに合わせて画像サイズを変更処理するリサイズ処理部37と、画像データを液晶モニタ(LCD)9に表示出力するための表示出力制御部38と、画像データをJPEG形成などで記録するためのデータ圧縮部39と、画像データをメモリカード14へ書き込み、又はメモリカード14に書き込まれた画像データを読み出すメディアインターフェース(以下、「メディアI/F」という)40と、操作部41からの操作入力情報に基づき、ROM24に記憶された制御プログラムに基づいてデジタルカメラ1全体のシステム制御等を行う制御部28を備えている。   The signal processing unit 22 receives the output of the screen horizontal synchronization signal (HD), the screen vertical synchronization signal (VD), and the pixel transfer clock (pixel clock) from the TG 30 of the AFE unit 21, and in accordance with these synchronization signals, A CCD interface (hereinafter referred to as “CCD I / F”) 34 that captures RAW-RGB data output from the A / D converter 33 of the AFE unit 21, a memory controller 35 that controls the SDRAM 23, and the captured RAW-RGB data Is converted into image data that can be displayed and recorded, a resizing processor 37 that changes the image size according to the size of the image data to be displayed and recorded, and the image data is displayed on a liquid crystal monitor ( LCD) Display output control unit 38 for display output and image data recorded by JPEG formation or the like A data compression unit 39 for writing, a media interface (hereinafter referred to as “media I / F”) 40 for reading image data to the memory card 14 or reading image data written to the memory card 14, and an operation unit 41. And a control unit 28 that performs system control of the entire digital camera 1 based on a control program stored in the ROM 24 based on the operation input information.

操作部41は、デジタルカメラ1(図1(a),(b),(c)参照)の外観表面に設けられているレリーズボタン2、電源ボタン3、撮影・再生切替ダイアル4、広角側ズームスイッチ10、望遠側ズームスイッチ11、メニューボタン12、設定切替ボタン13等であり、撮影者の操作によって所定の動作指示信号が制御部28に入力される。   The operation unit 41 includes a release button 2, a power button 3, a shooting / playback switching dial 4, and a wide-angle zoom provided on the external surface of the digital camera 1 (see FIGS. 1A, 1B, and 1C). The switch 10, the telephoto zoom switch 11, the menu button 12, the setting switch button 13, and the like. A predetermined operation instruction signal is input to the control unit 28 by the photographer's operation.

SDRAM23には、CCDI/F34に取り込まれたRAW−RGBデータが保存されると共に、画像データ処理部36で変換処理されたYUVデータ(RAW−RGBデータを、輝度データ(Y)と色差成分画像データ(Cb、Cr)に変換処理したYCbCrデータ)が保存され、更に、データ圧縮部39で圧縮処理されたJPEG形成などの画像データが保存される。   The SDRAM 23 stores the RAW-RGB data captured by the CCD I / F 34 and converts the YUV data (RAW-RGB data, luminance data (Y) and color difference component image data converted by the image data processing unit 36. (YCbCr data converted into (Cb, Cr)) is stored, and further, image data such as JPEG formation compressed by the data compression unit 39 is stored.

(被写体撮影時の画像データ処理)
次に、前記したデジタルカメラ1の被写体撮影時における画像データ処理について説明する。
(Image data processing during subject shooting)
Next, image data processing at the time of subject shooting by the digital camera 1 will be described.

ユーザ(撮影者)が電源ボタン3をONし、撮影・再生切替ダイアル4を撮影モードに設定することで、デジタルカメラ1が記録モードで起動する。電源ボタン3がONされて、撮影・再生切替ダイアル4が撮影モードに設定されたことを制御部28が検知すると、制御部28はモータドライバ25に制御信号を出力して、鏡胴ユニット6を撮影可能位置に移動させ、かつCCD20、AFE部21、信号処理部22、SDRAM23、ROM24、液晶モニタ9等を起動させる。   When the user (photographer) turns on the power button 3 and sets the photographing / playback switching dial 4 to the photographing mode, the digital camera 1 is activated in the recording mode. When the control unit 28 detects that the power button 3 is turned on and the shooting / playback switching dial 4 is set to the shooting mode, the control unit 28 outputs a control signal to the motor driver 25 to switch the lens barrel unit 6. The camera 20 is moved to a photographing position, and the CCD 20, AFE unit 21, signal processing unit 22, SDRAM 23, ROM 24, liquid crystal monitor 9 and the like are activated.

そして、鏡胴ユニット6の撮影レンズ系5を被写体に向けることにより、撮影レンズ系5を通して入射される被写体像がCCD20の各画素の受光面上に結像する。そして、CCD20から出力される被写体像に応じた電気信号(アナログRGB画像信号)は、CDS31、AGC32を介してA/D変換部33に入力され、A/D変換部33によりRAW−RGBデータに変換する。このRAW−RGBデータは、信号処理部22のCCDI/F34に取り込まれてメモリコントローラ35を介してSDRAM23に保存される。   Then, by directing the photographic lens system 5 of the barrel unit 6 toward the subject, a subject image incident through the photographic lens system 5 is formed on the light receiving surface of each pixel of the CCD 20. Then, an electrical signal (analog RGB image signal) corresponding to the subject image output from the CCD 20 is input to the A / D conversion unit 33 via the CDS 31 and the AGC 32, and is converted into RAW-RGB data by the A / D conversion unit 33. Convert. This RAW-RGB data is taken into the CCD I / F 34 of the signal processing unit 22 and stored in the SDRAM 23 via the memory controller 35.

そして、信号処理部22のCCDI/F34は、取り込まれたRAW−RGBデータより、AF(自動合焦)評価値、AE(自動露出)評価値、AWB(オートホワイトバランス)評価値を算出する。   The CCD I / F 34 of the signal processing unit 22 calculates an AF (automatic focus) evaluation value, an AE (automatic exposure) evaluation value, and an AWB (auto white balance) evaluation value from the captured RAW-RGB data.

AF評価値は、例えば高周波成分抽出フィルタの出力積分値や、近接画素の輝度差の積分値によって算出される。合焦状態にあるときは、被写体のエッジ部分がはっきりとしているため、高周波成分が一番高くなる。これを利用して、AF動作時(合焦検出動作時)には、撮影レンズ系5の各フォーカス位置におけるAF評価値を取得して、その極大になる点を合焦検出位置としてAF動作が実行される。   The AF evaluation value is calculated by, for example, the output integrated value of the high frequency component extraction filter or the integrated value of the luminance difference between adjacent pixels. When in the in-focus state, the edge portion of the subject is clear, so the high frequency component is the highest. By utilizing this, at the time of AF operation (at the time of focus detection operation), an AF evaluation value at each focus position of the taking lens system 5 is acquired, and the AF operation is performed with the point where the maximum is obtained as the focus detection position. Executed.

AE評価値とAWB評価値は、RAW−RGBデータにおけるRGB値のそれぞれの積分値から算出される。例えば、CCD20の全画素の受光面に対応した画面を256エリアに等分割(水平16分割、垂直16分割)し、それぞれのエリアのRGB積算を算出する。そして、制御部28は、算出されたRGB積算値を読み出し、AE処理では、画面のそれぞれのエリアの輝度を算出して、輝度分布から適正な露光量を決定する。決定した露光量に基づいて、露光条件(CCD20の電子シャッタ回数、絞りユニット26の絞り値等)を設定する。また、AWB処理では、RGBの分布から被写体の光源の色に合わせたAWBの制御値を決定する。   The AE evaluation value and the AWB evaluation value are calculated from the integrated values of the RGB values in the RAW-RGB data. For example, the screen corresponding to the light receiving surfaces of all the pixels of the CCD 20 is equally divided into 256 areas (16 horizontal divisions and 16 vertical divisions), and the RGB integration of each area is calculated. Then, the control unit 28 reads the calculated RGB integrated value, and in the AE process, calculates the luminance of each area of the screen and determines an appropriate exposure amount from the luminance distribution. Based on the determined exposure amount, exposure conditions (the number of electronic shutters of the CCD 20, the aperture value of the aperture unit 26, etc.) are set. In the AWB process, an AWB control value that matches the color of the light source of the subject is determined from the RGB distribution.

そして、レリーズボタン2が押圧(半押しから全押し)操作される静止画撮影動作が開始されると静止画記録処理が行われる。   When a still image shooting operation in which the release button 2 is pressed (half-pressed to fully pressed) is started, a still image recording process is performed.

即ち、レリーズボタン2が押圧(半押しから全押し)操作されると、制御部28からモータドライバ25への駆動指令により撮影レンズ系5のフォーカスレンズが移動し、例えば、いわゆる山登りAFと称されるコントラスト評価方式のAF動作が実行される。AF(合焦)対象範囲が無限から至近までの全領域であった場合、撮影レンズ系5のフォーカスレンズは、至近から無限、又は無限から至近までの間の各フォーカス位置に移動し、CCDI/F34で算出されている各フォーカス位置における前記AF評価値を制御部28が読み出す。そして、各フォーカス位置のAF評価値が極大になる点を合焦位置としてフォーカスレンズを合焦位置に移動させ、合焦させる。   That is, when the release button 2 is pressed (half-pressed to full-pressed), the focus lens of the photographing lens system 5 is moved by a drive command from the control unit 28 to the motor driver 25, and is referred to as so-called hill-climbing AF, for example. The contrast evaluation AF operation is executed. When the AF (focusing) target range is the entire region from infinity to close, the focus lens of the photographing lens system 5 moves to each focus position from close to infinity, or from infinity to close, and CCDI / The control unit 28 reads out the AF evaluation value at each focus position calculated in F34. Then, the focus lens is moved to the in-focus position with the point where the AF evaluation value at each focus position is maximized as the in-focus position, and in-focus.

そして、前記したAE処理が行われ、露光完了時点で、制御部28からモータドライバ25への駆動指令によりメカシャッタユニット27が閉じられ、CCD20から静止画用のアナログRGB画像信号が出力される。そして、AFE部21のA/D変換部33によりRAW−RGBデータに変換される。   Then, the AE process described above is performed, and when the exposure is completed, the mechanical shutter unit 27 is closed by a drive command from the control unit 28 to the motor driver 25, and an analog RGB image signal for a still image is output from the CCD 20. Then, it is converted into RAW-RGB data by the A / D conversion unit 33 of the AFE unit 21.

そして、このRAW−RGBデータは、信号処理部22のCCDI/F34に取り込まれ、後述する画像データ処理部36でYUVデータに変換されて、メモリコントローラ35を介してSDRAM23に保存される。そして、このYUVデータはSDRAM23から読み出されて、リサイズ処理部37で記録画素数に対応するサイズに変換され、データ圧縮部39でJPEG形式等の画像データへと圧縮される。圧縮されたJPEG形式等の画像データは、SDRAM23に書き戻された後にメモリコントローラ35を介してSDRAM23から読み出され、メディアI/F40を介してメモリカード14に保存される。   The RAW-RGB data is taken into the CCD I / F 34 of the signal processing unit 22, converted into YUV data by an image data processing unit 36 described later, and stored in the SDRAM 23 via the memory controller 35. The YUV data is read from the SDRAM 23, converted into a size corresponding to the number of recorded pixels by the resizing processing unit 37, and compressed into image data such as JPEG format by the data compression unit 39. The compressed image data such as JPEG format is written back to the SDRAM 23, read out from the SDRAM 23 through the memory controller 35, and stored in the memory card 14 through the media I / F 40.

画像データ処理部36には、図3に示すように、取り込んだRAW−RGBデータを表示や記録が可能な画像データに変換処理して出力するための、ホワイトバランス(WB)処理部50、γ補正処理部51、補間処理部52、YCbCr変換処理部53、色補正処理部54、エッジ強調処理部55を有している。   As shown in FIG. 3, a white balance (WB) processing unit 50, γ for converting the captured RAW-RGB data into image data that can be displayed and recorded and outputting the image data to the image data processing unit 36. A correction processing unit 51, an interpolation processing unit 52, a YCbCr conversion processing unit 53, a color correction processing unit 54, and an edge enhancement processing unit 55 are provided.

ホワイトバランス(WB)処理部50は、CCDI/F34で算出された前記AWB評価値に基づいて、CCD20の全画素上に配置されているRGBフィルタの分布から被写体の光源の色に合わせたホワイトバランスの制御値を決定するWB処理を行って、ホワイトバランスを合わせる。   Based on the AWB evaluation value calculated by the CCD I / F 34, the white balance (WB) processing unit 50 adjusts the white balance according to the color of the light source of the subject from the distribution of the RGB filters arranged on all the pixels of the CCD 20. WB processing for determining the control value is performed to adjust the white balance.

即ち、被写体からの光量を蓄積するCCD20の各画素には、R(レッド)、G(グリーン)、B(ブルー)のいずれか1色のカラーフィルタがベイヤ配置されているが、カラーフィルタの色によって透過する光量が変わってくるため、各画素に蓄積される電荷量が異なっている。ベイヤ配置のRGBカラーフィルタでは、最も画素感度が高いのはGフィルタで、RフィルタとBフィルタはGフィルタと比較すると約半分程度の画素感度である。よって、WB処理では、これらのカラーフィルタの画素感度差を補い、撮影画像の中の白色を白く見せるために、RフィルタとBフィルタの画素からの出力にゲインを掛ける処理を行う。   That is, a color filter of any one of R (red), G (green), and B (blue) is Bayer-arranged in each pixel of the CCD 20 that accumulates the amount of light from the subject. Since the amount of transmitted light varies depending on the amount of charge, the amount of charge accumulated in each pixel differs. In the RGB color filter with the Bayer arrangement, the G filter has the highest pixel sensitivity, and the R and B filters have about half the pixel sensitivity compared to the G filter. Therefore, in the WB processing, processing for multiplying the output from the R filter and B filter pixels is performed in order to compensate for the pixel sensitivity difference between these color filters and to make white in the captured image appear white.

また、物の色は、光源色(例えば、太陽光、蛍光灯など)によって変わってくるため、ホワイトバランス(WB)処理部50は、光源が変わっても白色を白く見せるように、RフィルタとBフィルタの画素からの出力に掛けるゲインを変更し、制御する機能を有している。   In addition, since the color of the object changes depending on the light source color (for example, sunlight, fluorescent lamp, etc.), the white balance (WB) processing unit 50 is configured to use an R filter so that the white color looks white even if the light source changes. It has a function of changing and controlling the gain applied to the output from the pixel of the B filter.

γ補正処理部51は、ホワイトバランス(WB)処理部50でホワイトバランスが合わされた各画素出力データに対して、例えば、図4(a)に示すようなγ補正の曲線によって入出力変換処理を行う。なお、図4(a)の横軸は入力信号、縦軸は出力信号である。   The γ correction processing unit 51 performs input / output conversion processing on each pixel output data whose white balance is adjusted by the white balance (WB) processing unit 50 by using, for example, a γ correction curve as shown in FIG. Do. In FIG. 4A, the horizontal axis is an input signal, and the vertical axis is an output signal.

即ち、このデジタルカメラ1の液晶モニタ(LCD)9などの画像出力装置では、例えば、図4(b)に示すように、入力信号に対して出力信号は非線形な特性で出力される。なお、図4(b)の横軸は入力信号、縦軸は出力信号である。このような非線形な出力の場合、表示される画像の階調性が異なったものとなる。そこで、画像出力装置の出力特性が線形性を保つように予め入力信号に対してγ補正処理を行なう。   That is, in the image output device such as the liquid crystal monitor (LCD) 9 of the digital camera 1, for example, as shown in FIG. 4B, the output signal is output with nonlinear characteristics with respect to the input signal. In FIG. 4B, the horizontal axis represents the input signal, and the vertical axis represents the output signal. In the case of such a non-linear output, the gradation of displayed images is different. Therefore, a γ correction process is performed on the input signal in advance so that the output characteristics of the image output apparatus maintain linearity.

補間処理部52は、1画素に1色のデータしか持っていないRAWデータに対して、足りない他の2色のデータを補うためにその周辺の画素から補間する補間演算処理を行う。   The interpolation processing unit 52 performs an interpolation calculation process for interpolating from the surrounding pixels in order to supplement the missing two colors of data with respect to the raw data having only one color of data per pixel.

YCbCr変換処理部53は、RGBデータを表示や記録が可能なYUVデータ(以下、「YCbCrデータ」という)に変換する処理を行う。   The YCbCr conversion processing unit 53 performs processing for converting RGB data into YUV data (hereinafter referred to as “YCbCr data”) that can be displayed and recorded.

即ち、デジタルカメラ等で一般的に用いられているファイル形式のJPEG画像では、YCbCrデータから画像が作成されるため、RGBデータをYCbCrデータに変換する必要がある。この変換式としては、例えば、下記の式を用いることができる。
Y = 0.299×R+0.587×G+0.114×B
Cb=−0.299×R+0.587×G+0.886×B
Cr= 0.701×R−0.587×G−0.114×B
That is, in a JPEG image of a file format generally used in a digital camera or the like, an image is created from YCbCr data, so it is necessary to convert RGB data to YCbCr data. As this conversion formula, for example, the following formula can be used.
Y = 0.299 × R + 0.587 × G + 0.114 × B
Cb = −0.299 × R + 0.587 × G + 0.886 × B
Cr = 0.701 × R−0.587 × G−0.114 × B

色補正処理部54で行う色補正処理としては、彩度設定、色相設定、部分的な色相変更設定、色抑圧設定などが挙げられる。   Examples of color correction processing performed by the color correction processing unit 54 include saturation setting, hue setting, partial hue change setting, and color suppression setting.

彩度設定は、色の濃さを決定するパラメータ設定処理であり、例えば、図5に示すようなCbCr色空間において、第2象限でR(レッド)の色に対して原点からR(レッド)のドットまでのベクトルの長さが長いほど、色の濃さは濃くなる。色相設定は、色合いを決定するパラメータ設定処理であり、例えば、図5のCbCr色空間において、第3象限でG(グリーン)の色に対してベクトルの長さが同じであっても、ベクトルの向きが異なると色合いが変わってくる。   Saturation setting is a parameter setting process for determining color intensity. For example, in the CbCr color space as shown in FIG. 5, R (red) from the origin with respect to the color of R (red) in the second quadrant. The longer the vector length to the dot, the darker the color. The hue setting is a parameter setting process for determining a hue. For example, in the CbCr color space of FIG. 5, even if the vector length is the same for the G (green) color in the third quadrant, The hue changes if the orientation is different.

部分的な色相変更設定は、例えば、図5のCbCr色空間において、第4象限に示すように部分的に色領域を回転させる処理である。また、彩度が強いと色が濃くなる一方で、色ノイズが強くなる傾向にある。そこで、色抑圧設定は、例えば輝度信号に対して閾値を設けて、この閾値よりも低い又は高い領域に対して彩度を抑えることにより色ノイズを抑える処理である。   The partial hue change setting is, for example, a process of partially rotating the color area as shown in the fourth quadrant in the CbCr color space of FIG. Further, when the saturation is strong, the color becomes darker, while the color noise tends to become stronger. Therefore, the color suppression setting is a process for suppressing color noise by setting a threshold value for a luminance signal, for example, and suppressing saturation for an area lower or higher than the threshold value.

エッジ強調処理部55は、YCbCr変換処理部53で変換されたYCbCrデータも対して画像に合わせたエッジ強調を行う処理である。エッジ強調処理部55は、図6に示すように、画像の輝度(Y)信号からエッジ部分を抽出するエッジ抽出フィルタ部56と、エッジ抽出フィルタ部56により抽出されたエッジに対してゲインを掛けるゲイン乗算部57と、エッジ抽出フィルタ部56でのエッジ抽出と並行して画像のノイズを除去するローパスフィルタ(LPF)部58と、ゲイン乗算後のエッジ抽出データとローパスフィルタ処理後の画像データを加算する加算部59を有している。   The edge enhancement processing unit 55 is a process for performing edge enhancement in accordance with the image on the YCbCr data converted by the YCbCr conversion processing unit 53. As shown in FIG. 6, the edge enhancement processing unit 55 extracts an edge portion from the luminance (Y) signal of the image, and multiplies the edge extracted by the edge extraction filter unit 56 with a gain. The gain multiplication unit 57, the low-pass filter (LPF) unit 58 that removes image noise in parallel with the edge extraction in the edge extraction filter unit 56, the edge extraction data after gain multiplication and the image data after low-pass filter processing An adder 59 for adding is provided.

なお、エッジの強弱は、ゲイン乗算部57のゲインによって決まり、ゲインが大きい場合にはエッジが強くなり、ゲインが小さい場合にはエッジが弱くなる。   Note that the strength of the edge is determined by the gain of the gain multiplier 57, and the edge becomes stronger when the gain is large, and the edge becomes weak when the gain is small.

前記した通常の撮影時には、制御部28による制御によって画像データ処理部36で前記した画像データ処理(ホワイトバランス(WB)処理、γ補正処理、補間処理、YCbCr変換処理、色補正処理、エッジ強調処理)が自動的に行なわれる。   During the normal photographing, the image data processing unit 36 controls the image data (white balance (WB) processing, γ correction processing, interpolation processing, YCbCr conversion processing, color correction processing, edge enhancement processing) under the control of the control unit 28. ) Is automatically performed.

また、本実施形態では、被写体を撮影して上記した画像データ処理後に表示出力制御部38を介して液晶モニタ9に表示された撮影画像に対して、この撮影画像内の特定の色(以下、「特定色」という)に対して色補正(色相、彩度の変更)ができるように、図7に示すように、デジタルカメラ1の制御部28に、色空間に対して色相領域を設定する色相設定部60と、色空間に対して色相回転量を設定する色相回転量設定部61と、色空間に対して彩度変更量を設定する彩度変更量設定部62と、液晶モニタ9に表示された撮影画像内の特定色に対して色補正制御を行う特定色補正制御部63を有している。   In the present embodiment, a specific color (hereinafter, referred to as “color”) in the captured image is captured with respect to the captured image displayed on the liquid crystal monitor 9 via the display output control unit 38 after the subject is captured and the image data is processed. As shown in FIG. 7, a hue region is set for the color space in the control unit 28 of the digital camera 1 so that color correction (change of hue and saturation) can be performed for “specific color”. The hue setting unit 60, the hue rotation amount setting unit 61 that sets the hue rotation amount with respect to the color space, the saturation change amount setting unit 62 that sets the saturation change amount with respect to the color space, and the liquid crystal monitor 9 A specific color correction control unit 63 that performs color correction control on a specific color in the displayed captured image is provided.

また、本実施形態では、特定色に対して色補正を行うときに、デジタルカメラ1のメニューボタン12及び設定切替ボタン13の押圧操作により「特定色補正設定モード」を設定すると、液晶モニタ9にCbCr色空間を示すチャートと、彩度変更量を示すパーセンテージを表示することができる。なお、本実施形態では、第1、第2、第3の各設定入力手段がメニューボタン12及び設定切替ボタン13に相当する。   In the present embodiment, when the “specific color correction setting mode” is set by pressing the menu button 12 and the setting switching button 13 of the digital camera 1 when performing color correction on a specific color, the liquid crystal monitor 9 is set. A chart indicating the CbCr color space and a percentage indicating the saturation change amount can be displayed. In the present embodiment, the first, second, and third setting input means correspond to the menu button 12 and the setting switching button 13.

(特定色に対する色補正(色相、彩度の変更)制御)
本実施形態における特定色に対する色補正(色相、彩度の変更)制御を、図8に示すフローチャートを参照して説明する。
(Color correction (change of hue and saturation) control for specific colors)
Color correction (change of hue and saturation) control for a specific color in the present embodiment will be described with reference to a flowchart shown in FIG.

ユーザが前記デジタルカメラ1で被写体を撮影すると、前記した画像データ処理によって表示出力制御部38を介して液晶モニタ9に撮影画像が表示される。この際、撮影状況等によって、液晶モニタ9に表示された撮影画像内の特定色が、ユーザが直接見ている実際の被写体の色と異なっている場合がある。   When the user photographs a subject with the digital camera 1, the photographed image is displayed on the liquid crystal monitor 9 through the display output control unit 38 by the image data processing described above. At this time, the specific color in the captured image displayed on the liquid crystal monitor 9 may be different from the color of the actual subject directly viewed by the user depending on the shooting situation or the like.

そこで、このような場合に、液晶モニタ9に表示された撮影画像内の特定色を、この撮影時にユーザが実際の被写体の色と合うように、撮影画像内の特定色の色を補正したいと判断すると、メニューボタン12及び設定切替ボタン13を押圧操作して、液晶モニタ9の画面上で「特定色補正設定モード」に切替える(ステップS1)。そして、ステップS1で「特定色補正設定モード」に切替えられると、先ず色相の変更設定が行われる(ステップS2)。   Therefore, in such a case, the user wants to correct the color of the specific color in the captured image so that the user matches the actual color of the subject at the time of shooting with the specific color in the captured image displayed on the liquid crystal monitor 9. When the determination is made, the menu button 12 and the setting switch button 13 are pressed to switch to the “specific color correction setting mode” on the screen of the liquid crystal monitor 9 (step S1). When the mode is switched to the “specific color correction setting mode” in step S1, hue change setting is first performed (step S2).

ステップS2での色相の変更設定処理は、図9に示すフローチャートに示すように、最初に変更する色相領域を設定するために変更前の開始角度設定と変更前の終了角度設定を行なう(ステップS11)。即ち、例えば、図10(a)に示すような、CbCr色空間が液晶モニタ9の画面上に表示され、ユーザがメニューボタン12及び設定切替ボタン13を押圧操作することにより、色相設定部60は、この画面上のCbCr色空間(図では、第1象限)の中で色相を変更する領域の開始角度θ1と終了角度θ2を設定する。   In the hue change setting process in step S2, as shown in the flowchart of FIG. 9, in order to set the hue area to be changed first, the start angle setting before the change and the end angle setting before the change are performed (step S11). ). That is, for example, as shown in FIG. 10A, a CbCr color space is displayed on the screen of the liquid crystal monitor 9, and when the user presses the menu button 12 and the setting switch button 13, the hue setting unit 60 Then, the start angle θ1 and end angle θ2 of the region in which the hue is changed in the CbCr color space (the first quadrant in the figure) on this screen are set.

そして、ユーザがステップS11で設定した変更前の開始角度A1と変更前の終了角度A2の間の領域でOKあると判断すると(ステップS12)、図10(b)に示すように、次に色相をどこまで変更させるかを、変更後の開始角度θ3と変更後の終了角度θ4で設定する(ステップS13)。そして、撮影者がステップS13で設定した変更後の開始角度θ3と変更後の終了角度θ4との間の領域でOKであると判断する(ステップS14)。   Then, when it is determined that there is OK in the region between the start angle A1 before change and the end angle A2 before change set in step S11 (step S12), as shown in FIG. Is set with the changed start angle θ3 and the changed end angle θ4 (step S13). Then, it is determined that the area is between the changed start angle θ3 and the changed end angle θ4 set by the photographer in step S13 (step S14).

そして、ステップS2での色相変更設定が終了すると(ステップS3)、次に、彩度の変更設定を行なう(ステップS4)。即ち、ユーザがメニューボタン12及び設定切替ボタン13を押圧操作して、液晶モニタ9の画面上に現在の彩度に対する彩度変更量を設定し、設定した彩度変更量をパーセンテージで表示させる。   When the hue change setting in step S2 is completed (step S3), the saturation change setting is then performed (step S4). That is, the user presses the menu button 12 and the setting switch button 13 to set the saturation change amount for the current saturation on the screen of the liquid crystal monitor 9 and display the set saturation change amount as a percentage.

そして、ステップS4での彩度変更設定が終了すると(ステップS5)、特定色補正制御部63は、入力されるステップS2で設定された色相回転量設定情報とステップS4で設定された彩度変更設定情報とに基づいて、特定色に対する色補正(色相、彩度の変更)制御を行い、撮影画像内の特定色の色を実際の被写体の色と合うように補正する(ステップS6)。ステップS6で特定色に対する色補正が行われた後、液晶モニタ9に特定色の色を実際の被写体の色と合うように色補正された撮影画像が表示される。   When the saturation change setting in step S4 ends (step S5), the specific color correction control unit 63 inputs the hue rotation amount setting information set in step S2 and the saturation change set in step S4. Based on the setting information, color correction (change in hue and saturation) is controlled for a specific color, and the specific color in the photographed image is corrected to match the actual subject color (step S6). After the color correction for the specific color is performed in step S6, a photographed image whose color is corrected so that the color of the specific color matches the color of the actual subject is displayed on the liquid crystal monitor 9.

なお、ステップS6での特定色の色補正(特定色に対する色相、彩度の変更)方法としては、例えば、図11(a)に示すように、色相を変更する前の領域(色相変更前の開始角度θ1と終了角度θ2との間の領域)と色相を変更した後の領域(色相変更後の開始角度θ3と終了角度θ4との間の領域)のサイズが同じ場合は、単純な色相回転を行なう。そして、色相変更前領域の開始角度θ1と色相変更後領域の開始角度θ3との間の角度をθ5とし、色補正前の色情報をCb、Cr、色補正後の色情報をCb′、Cr′、彩度変更量をA(%)とすると、特定色の色補正後の色情報(Cb′、Cr′)は、下記の式から算出することができる。
Cb′=(cosθ5×Cb−sinθ5×Cr)×A/100
Cr′=(sinθ5×Cb+cosθ5×Cr)×A/100
As a method for correcting the color of the specific color in step S6 (changing the hue and saturation for the specific color), for example, as shown in FIG. 11A, an area before changing the hue (before changing the hue). Simple hue rotation when the size of the area after the hue change (the area between the start angle θ1 and the end angle θ2) and the area after the hue change (area between the start angle θ3 and the end angle θ4 after the hue change) are the same To do. The angle between the start angle θ1 of the region before hue change and the start angle θ3 of the region after hue change is θ5, the color information before color correction is Cb, Cr, and the color information after color correction is Cb ′, Cr When the saturation change amount is A (%), the color information (Cb ′, Cr ′) after the color correction of the specific color can be calculated from the following equation.
Cb ′ = (cos θ5 × Cb−sin θ5 × Cr) × A / 100
Cr ′ = (sin θ5 × Cb + cos θ5 × Cr) × A / 100

また、例えば、図11(b)に示すように、色相を変更する前の領域(色相変更前の開始角度θ1と終了角度θ2との間の領域)と色相を変更した後の領域(色相変更後の開始角度θ3と終了角度θ4との間の領域)のサイズが異なる場合(図11(b)では、色相変更後領域の方が大きい)は、 以下のようにして算出することができる。   Further, for example, as shown in FIG. 11B, the area before the hue change (area between the start angle θ1 and the end angle θ2 before the hue change) and the area after the hue change (hue change). When the sizes of the subsequent start angle θ3 and the end angle θ4 are different (in FIG. 11B, the post-hue change area is larger), the calculation can be performed as follows.

即ち、色相変更前領域の開始角度θ1と終了角度θ2の間の角度をθa、色相変更後領域の開始角度θ3と終了角度θ4の間の角度をθb、色補正する色情報の角度をθとし、色補正前の色情報をCb、Cr、色補正後の色情報をCb′、Cr′、彩度変更量をA(%)とすると、特定色の色補正後の色情報(Cb′、Cr′)は、下記の式から算出することができる。
Cb′=(cosθ6×Cb−sinθ6×Cr)×A/100
Cr′=(sinθ6×Cb+cosθ6×Cr)×A/100
ただし、θ6=(θ−θ1)×θb/θa+(θ3−θ1)
That is, the angle between the start angle θ1 and the end angle θ2 of the region before hue change is θa, the angle between the start angle θ3 and the end angle θ4 of the region after hue change is θb, and the angle of color information for color correction is θ. Assuming that the color information before color correction is Cb, Cr, the color information after color correction is Cb ′, Cr ′, and the saturation change amount is A (%), the color information (Cb ′, Cr ′) can be calculated from the following equation.
Cb ′ = (cos θ6 × Cb−sin θ6 × Cr) × A / 100
Cr ′ = (sin θ6 × Cb + cos θ6 × Cr) × A / 100
However, θ6 = (θ−θ1) × θb / θa + (θ3−θ1)

このように、本実施形態によれば、ユーザがデジタルカメラ1で被写体を撮影したときに、画像データ処理によって表示出力制御部38を介して液晶モニタ9に表示された撮影画像に対して、撮影状況等によってこの撮影画像内の特定色が実際の被写体の色と異なっている場合でも、ユーザが任意の色空間領域を設定して、色相回転量と彩度変更量を液晶モニタ9の画面上で設定しながら変更することができるので、撮影画像内の特定色を、被写体の色に合わせて容易にかつ詳細に補正することができる。よって、忠実な色再現性を得ることができる。   As described above, according to the present embodiment, when a user captures a subject with the digital camera 1, a captured image displayed on the liquid crystal monitor 9 via the display output control unit 38 by image data processing is captured. Even if the specific color in the photographed image differs from the actual subject color depending on the situation or the like, the user sets an arbitrary color space region and displays the hue rotation amount and saturation change amount on the screen of the liquid crystal monitor 9. Therefore, the specific color in the captured image can be corrected easily and in detail according to the color of the subject. Therefore, faithful color reproducibility can be obtained.

なお、前記実施形態では、色空間をCbCr空間で説明したが、これに限定されるものではない。   In the above embodiment, the color space is described as the CbCr space, but the present invention is not limited to this.

1 デジタルカメラ(撮像装置)
5 撮影レンズ系
9 液晶モニタ
12 メニューボタン
13 設定切替ボタン
20 CCD
21 アナログフロントエンド部
22 信号処理部
28 制御部
36 画像データ処理部
60 色相設定部
61 色相回転量設定部
62 彩度変更量設定部
63 特定色補正制御部
1 Digital camera (imaging device)
5 Shooting Lens System 9 LCD Monitor 12 Menu Button 13 Setting Switch Button 20 CCD
21 Analog front end unit 22 Signal processing unit 28 Control unit 36 Image data processing unit 60 Hue setting unit 61 Hue rotation amount setting unit 62 Saturation change amount setting unit 63 Specific color correction control unit

特開2004−48786号公報JP 2004-48786 A

Claims (4)

被写体像を撮像する撮像手段と、前記撮像手段から出力される撮像した被写体像に応じた画像データを取り込み、前記画像データに対して画像処理を行う画像処理手段と、前記画像処理手段により画像処理された画像を表示するための画像表示手段とを有する画像形成装置において、
色空間に対して色相領域を設定する色相領域設定手段と、
色空間に対して色相回転量を設定する色相回転量設定手段と、
色空間に対して彩度変更量を設定する彩度変更量設定手段と、
前記色相領域設定手段に対して任意の色相領域を設定させるための第1の設定入力手段と、
前記色相回転量設定手段に対して任意の色相回転量を設定させるための第2の設定入力手段と、
彩度変更量設定手段に対して任意の彩度変更量を設定させるための第3の設定入力手段と、
前記画像表示手段に表示された画像内の特定の色に対して色相と彩度の変更を行う色補正制御手段とを備え、
前記色補正制御手段は、前記第1の設定入力手段により前記色相領域設定手段に対して任意の色相領域を設定すると共に、前記第2の設定入力手段により前記色相回転量設定手段に対して任意の色相回転量を設定し、更に前記第3の設定入力手段により前記彩度変更量設定手段に対して任意の彩度変更量を設定することにより、入力される設定された前記色相領域の色相回転量と設定された前記彩度変更量設定情報とに基づいて、前記画像表示手段に表示された画像内の特定の色に対して色相と彩度の変更を行うことを特徴とする画像形成装置。
An imaging unit that captures a subject image, an image processing unit that captures image data corresponding to the captured subject image output from the imaging unit, and performs image processing on the image data, and image processing by the image processing unit In an image forming apparatus having an image display means for displaying a processed image,
A hue area setting means for setting a hue area for the color space;
A hue rotation amount setting means for setting a hue rotation amount with respect to the color space;
A saturation change amount setting means for setting a saturation change amount for the color space;
First setting input means for causing the hue area setting means to set an arbitrary hue area;
A second setting input means for causing the hue rotation amount setting means to set an arbitrary hue rotation amount;
Third setting input means for causing the saturation change amount setting means to set an arbitrary saturation change amount;
Color correction control means for changing the hue and saturation for a specific color in the image displayed on the image display means,
The color correction control means sets an arbitrary hue area for the hue area setting means by the first setting input means, and arbitrarily sets the hue rotation amount setting means by the second setting input means. The hue rotation amount of the set hue area to be input is set by setting an arbitrary saturation change amount for the saturation change amount setting means by the third setting input means. An image formation characterized by changing a hue and saturation for a specific color in an image displayed on the image display means based on a rotation amount and the set saturation change amount setting information apparatus.
前記第1の設定入力手段により前記色相領域設定手段に対して任意の色相領域を設定するときに、前記画像表示手段に色空間を示すチャートが表示され、表示された色空間チャート画面上で前記第1の設定入力手段により色相領域開始角度と終了角度の設定を行なうことを特徴とする請求項1に記載の画像形成装置。   When an arbitrary hue area is set for the hue area setting means by the first setting input means, a chart showing a color space is displayed on the image display means, and the chart showing the color space is displayed on the displayed color space chart screen. 2. The image forming apparatus according to claim 1, wherein the hue area start angle and end angle are set by the first setting input means. 前記第2の設定入力手段により前記色相回転量設定手段に対して任意の色相回転量を設定するときに、前記画像表示手段に色空間を示すチャートが表示され、表示された色空間チャート画面上で前記第2の設定入力手段により色相回転後の色相領域開始角度と終了角度の設定を行なうことを特徴とする請求項1に記載の画像形成装置。   When an arbitrary hue rotation amount is set for the hue rotation amount setting means by the second setting input means, a chart showing a color space is displayed on the image display means, and the displayed color space chart screen 2. The image forming apparatus according to claim 1, wherein the hue area start angle and end angle after hue rotation are set by the second setting input means. 前記第3の設定入力手段により前記彩度変更量設定手段に対して任意の彩度変更量を設定するときに、前記画像表示手段に彩度変更量を示すパーセンテージが表示され、表示された彩度変更量パーセンテージ画面上で前記第3の設定入力手段により彩度変更量の設定を行なうことを特徴とする請求項1に記載の画像形成装置。   When an arbitrary saturation change amount is set for the saturation change amount setting means by the third setting input means, a percentage indicating the saturation change amount is displayed on the image display means, and the displayed saturation is displayed. The image forming apparatus according to claim 1, wherein a saturation change amount is set by the third setting input unit on a degree change amount percentage screen.
JP2009261645A 2009-11-17 2009-11-17 Imaging device Active JP5482131B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009261645A JP5482131B2 (en) 2009-11-17 2009-11-17 Imaging device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009261645A JP5482131B2 (en) 2009-11-17 2009-11-17 Imaging device

Publications (2)

Publication Number Publication Date
JP2011109360A true JP2011109360A (en) 2011-06-02
JP5482131B2 JP5482131B2 (en) 2014-04-23

Family

ID=44232377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009261645A Active JP5482131B2 (en) 2009-11-17 2009-11-17 Imaging device

Country Status (1)

Country Link
JP (1) JP5482131B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013156045A (en) * 2012-01-27 2013-08-15 Ckd Corp Three-dimensional measuring device
JP2017034629A (en) * 2015-08-06 2017-02-09 株式会社日立国際電気 Imaging apparatus and view finder

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003289549A (en) * 2002-03-28 2003-10-10 Nikon Corp Image processing system, imaging device, and parameter deciding program for the device
JP2004201106A (en) * 2002-12-19 2004-07-15 Sony Corp Imaging apparatus, color adjustment device, and color adjustment method
JP2009194690A (en) * 2008-02-15 2009-08-27 Konica Minolta Business Technologies Inc Image processing apparatus, and color converting method
JP2010124281A (en) * 2008-11-20 2010-06-03 Kyocera Mita Corp Device, method and program of color adjustment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003289549A (en) * 2002-03-28 2003-10-10 Nikon Corp Image processing system, imaging device, and parameter deciding program for the device
JP2004201106A (en) * 2002-12-19 2004-07-15 Sony Corp Imaging apparatus, color adjustment device, and color adjustment method
JP2009194690A (en) * 2008-02-15 2009-08-27 Konica Minolta Business Technologies Inc Image processing apparatus, and color converting method
JP2010124281A (en) * 2008-11-20 2010-06-03 Kyocera Mita Corp Device, method and program of color adjustment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013156045A (en) * 2012-01-27 2013-08-15 Ckd Corp Three-dimensional measuring device
JP2017034629A (en) * 2015-08-06 2017-02-09 株式会社日立国際電気 Imaging apparatus and view finder

Also Published As

Publication number Publication date
JP5482131B2 (en) 2014-04-23

Similar Documents

Publication Publication Date Title
JP5347707B2 (en) Imaging apparatus and imaging method
JP5660341B2 (en) Imaging apparatus and imaging method
JP5123137B2 (en) Imaging apparatus and imaging method
JP5553230B2 (en) Imaging apparatus and imaging processing method
JP5458937B2 (en) IMAGING DEVICE, IMAGING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING PROGRAM FOR EXECUTING THE IMAGING METHOD
JP5223686B2 (en) Imaging apparatus and imaging method
JP5256947B2 (en) IMAGING DEVICE, IMAGING METHOD, AND COMPUTER-READABLE RECORDING MEDIUM RECORDING PROGRAM FOR EXECUTING THE METHOD
JP5720913B2 (en) Image generating apparatus and method, and imaging apparatus
JP2008278354A (en) Imaging device
JP5948997B2 (en) Imaging apparatus and imaging method
US9282257B2 (en) Image apparatus and imaging method
JP5146015B2 (en) Imaging apparatus and imaging method
JP5482131B2 (en) Imaging device
JP5487942B2 (en) Image processing apparatus, image processing method, and image input apparatus
JP4680022B2 (en) Imaging device
JP5310331B2 (en) Imaging apparatus and imaging method
JP2010068331A (en) Imaging device and imaging method
JP5123010B2 (en) Imaging apparatus, imaging method, and program for causing computer included in imaging apparatus to execute imaging method
JP5091734B2 (en) Imaging apparatus and imaging method
JP2010068064A (en) Imaging device and imaging method
JP5708048B2 (en) Imaging device
JP5145876B2 (en) Imaging apparatus and imaging method
JP5169540B2 (en) Imaging apparatus and imaging method
JP5849532B2 (en) Imaging apparatus and imaging method
JP2007006103A (en) Photographing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120911

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130924

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131029

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131224

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140121

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140203

R151 Written notification of patent or utility model registration

Ref document number: 5482131

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151