JP5822606B2 - Image processing apparatus and image processing apparatus control method - Google Patents

Image processing apparatus and image processing apparatus control method Download PDF

Info

Publication number
JP5822606B2
JP5822606B2 JP2011189138A JP2011189138A JP5822606B2 JP 5822606 B2 JP5822606 B2 JP 5822606B2 JP 2011189138 A JP2011189138 A JP 2011189138A JP 2011189138 A JP2011189138 A JP 2011189138A JP 5822606 B2 JP5822606 B2 JP 5822606B2
Authority
JP
Japan
Prior art keywords
image data
image
output
addition
pixel
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 - Fee Related
Application number
JP2011189138A
Other languages
Japanese (ja)
Other versions
JP2013051584A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2011189138A priority Critical patent/JP5822606B2/en
Publication of JP2013051584A publication Critical patent/JP2013051584A/en
Application granted granted Critical
Publication of JP5822606B2 publication Critical patent/JP5822606B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、複数回の撮影により得られた複数の画像を複数の合成方法によって合成が可能な画像処理装置及び画像処理装置の制御方法に関する。   The present invention relates to an image processing apparatus capable of combining a plurality of images obtained by a plurality of photographing operations using a plurality of combining methods, and a control method for the image processing apparatus.

近年、デジタルカメラは、受光した光信号を電気信号に変換し蓄積することが可能な固体撮像素子をもちいて、静止画や動画を撮影、記録するものが一般的である。
しかし、この固体撮像素子は長時間露光を行うと熱等により発生する暗電流により、信号電荷より多い暗電流が蓄積されることがある。そのため、固体撮像素子を用いて長時間露光を行うとS/N比が低下し画質が低下してしまう。
In recent years, digital cameras generally use a solid-state imaging device that can convert received light signals into electrical signals and store them, and shoot and record still images and moving images.
However, when this solid-state imaging device is exposed for a long time, dark current more than signal charge may be accumulated due to dark current generated by heat or the like. For this reason, when long-time exposure is performed using a solid-state imaging device, the S / N ratio is lowered and the image quality is lowered.

また、固体撮像素子の内部に蓄積できる電荷量は非常に少ないため、長時間露光により暗電流が大量に蓄積されることは、カメラのダイナミックレンジを狭くすることにもなり画質の低下につながる。   In addition, since the amount of charge that can be accumulated inside the solid-state imaging device is very small, the accumulation of a large amount of dark current due to long-time exposure also narrows the dynamic range of the camera, leading to degradation of image quality.

そこで、固体撮像素子を用いて長時間露光を実現するために
例えば特許文献1では、複数回露光による撮像データを読み出して累積することにより画質の劣化を来たすことなく、長時間露光に相当する技術が公開されている。
Therefore, in order to realize long exposure using a solid-state imaging device, for example, in Patent Document 1, a technique corresponding to long exposure without causing deterioration in image quality by reading and accumulating imaging data obtained by multiple exposures. Is published.

特開平5−236422号公報JP-A-5-236422

しかしながら、特許文献1では、撮影条件によっては固体撮像素子一個あたりの電荷量が大きくなり、複数枚の画像データを加算するだけでは、露出オーバーになる場合がある。   However, in Patent Document 1, depending on the shooting conditions, the amount of charge per solid-state image sensor increases, and adding only a plurality of pieces of image data may result in overexposure.

上記課題に鑑み、本発明は、複数枚の画像データを加算して合成するかあるいは選択的に出力して合成するかを選択可能であり、かつこれらの合成を1つの回路で実現する画像処理装置または画像処理装置の制御方法を提供することを目的とする。   In view of the above problems, the present invention can select whether to add and synthesize a plurality of pieces of image data or selectively output and synthesize the image data, and to perform the synthesis with a single circuit. It is an object of the present invention to provide a control method for an apparatus or an image processing apparatus.

上記の課題を解決するために、本発明の画像処理装置は、請求項1に記載の通り、第1及び第2の画像データを取得する取得手段と、前記第1の画像データから前記第2の画像データを加算、または減算する加減算手段と、前記加減算手段からの出力を用いて前記第1及び前記第2の画像データを比較し、比較結果に応じて前記第1及び前記第2の画像データのいずれか1つを選択して出力する比較手段と、撮影モードに応じて、前記比較手段の出力と前記加減算手段の出力のいずれか1つを選択して出力する第1の選択手段と、を有し、前記比較手段は、前記加減算手段からの出力の符号を示す値とレジスタの値との排他的論理和を出力する排他手段と、前記排他手段からの出力に基づいて前記第1及び前記第2の画像データのいずれか1つを出力する第2の選択手段と、前記レジスタの値を撮影モードに応じて制御する制御手段と、を有することを特徴とする。 In order to solve the above-described problems, an image processing apparatus according to the present invention includes an acquisition unit that acquires first and second image data and the second image data from the first image data. The first and second image data are compared by using the output from the addition / subtraction means and the addition / subtraction means for adding or subtracting the image data, and according to the comparison result Comparing means for selecting and outputting any one of the data; and first selecting means for selecting and outputting any one of the output of the comparing means and the output of the addition / subtraction means according to the photographing mode; , it has a, said comparison means includes an exclusive means for outputting an exclusive OR between values of a register that indicates the sign of the output from the subtraction means, the first based on the output from the exclusive means And any one of the second image data A second selection means for outputting a, characterized by chromatic and control means for controlling in response to the shooting mode the value of the register.

また、本発明の画像処理装置の制御方法は、請求項9に記載の通り、取得手段が、第1及び第2の画像データを取得する取得ステップと、加減算手段が、前記第1の画像データから前記第2の画像データを加算、または減算する加減算ステップと、比較手段が、前記加減算手段からの出力を用いて前記第1及び前記第2の画像データを比較し、比較結果に応じて前記第1及び前記第2の画像データのいずれか1つを選択して出力する比較ステップと、選択手段が、撮影モードに応じて前記比較手段の出力と前記加減算手段の出力のいずれか1つを選択して出力する選択ステップと、を有し、前記比較手段はさらに、前記加減算手段からの出力の符号を示す値とレジスタの値との排他的論理和を出力する排他ステップと、前記排他ステップでの出力に基づいて前記第1及び前記第2の画像データのいずれか1つを出力する第2の選択ステップと、前記レジスタの値を撮影モードに応じて制御する制御ステップと、を有することを特徴とする。 According to the control method of the image processing apparatus of the present invention, as described in claim 9, the acquisition unit acquires the first and second image data, and the addition / subtraction unit includes the first image data. And an addition / subtraction step for adding or subtracting the second image data from, and a comparison means, using the output from the addition / subtraction means, to compare the first and second image data, and according to a comparison result, A comparison step of selecting and outputting any one of the first and second image data, and a selection unit that outputs either one of the output of the comparison unit and the output of the addition / subtraction unit according to the shooting mode. It possesses a selection step of selecting and outputting, wherein the comparison means further includes an exclusive step for outputting an exclusive OR between values of a register that indicates the sign of the output from the subtraction means, the exclusion step In A second selection step of outputting one of said first and second image data on the basis of the force, to have a, and a control step of controlling according to the shooting mode the value of the register Features.

本発明によれば、多重露光撮影において、撮影モードに応じて、画素値比較による画像合成と、画素加算による多重合成を選択することが可能となり、かつこのような合成を達成する回路を小規模で得ることができる。   According to the present invention, in multiple exposure photography, it is possible to select image composition based on pixel value comparison and multiple composition based on pixel addition according to the photographing mode, and a circuit that achieves such composition is small-scale. Can be obtained at

撮像装置のブロック図Block diagram of imaging device デジタル信号処理部のブロック図Block diagram of digital signal processor 画像合成部のブロック図Block diagram of the image composition unit 加算比較のブロック図Addition comparison block diagram 比較明モードの合成処理のイメージ図Image diagram of compositing process in comparative light mode 比較暗モードの合成処理のイメージ図Image diagram of compositing process in comparative dark mode 加算、加算平均モードの合成処理のイメージ図Image diagram of composition processing in addition and addition average mode 画素値の説明図Illustration of pixel value

(第1の実施形態)
以下、本発明を適用した具体例について、図面を参照しながら詳細に説明する。
(First embodiment)
Hereinafter, specific examples to which the present invention is applied will be described in detail with reference to the drawings.

本実施形態の中で説明のために用いる言葉として、撮像データとはセンサ出力のAD変換後のデジタルデータを指す。現像データとは撮像データを基にベイヤー画像の同時化およびRGBからYCrCb変換後のデータをさし、圧縮画像データは現像データを例えばJPEG圧縮処理などで圧縮したデータをさす。   As words used for explanation in the present embodiment, imaging data refers to digital data after AD conversion of sensor output. Development data refers to data obtained by synchronizing Bayer images and converting RGB to YCrCb based on imaging data, and compressed image data refers to data obtained by compressing development data by, for example, JPEG compression processing.

図1は、第1の実施形態における画像処理装置の一例である撮像装置の全体構成を示すブロック図である。本発明の適用できる画像処理装置としてはこれに限らず、PCや携帯端末などでも、後述するような複数の画像合成方法が達成できるような装置であればよい。   FIG. 1 is a block diagram illustrating an overall configuration of an imaging apparatus that is an example of an image processing apparatus according to the first embodiment. The image processing apparatus to which the present invention can be applied is not limited to this, but may be a PC or a portable terminal as long as it can achieve a plurality of image composition methods as described later.

光学系(100)によって結像される被写体像を、撮像素子(101)にて画素毎に電気信号に変換する(撮像する)。撮像素子(101)から出力された電気信号はA/D変換部(102)にて、デジタル信号に変換される。このようにして取得された撮像データは、デジタル信号処理部(104)にて現像データに変換される。   A subject image formed by the optical system (100) is converted into an electrical signal for each pixel by the image sensor (101). The electrical signal output from the image sensor (101) is converted into a digital signal by the A / D converter (102). The imaging data acquired in this way is converted into development data by the digital signal processing unit (104).

また、操作部(103)には撮影モードの切り替えスイッチやシャッター釦が装備されており、CPU(107)で操作部(103)の設定状態を判断することで、撮影モード(例えば多重露光において比較明、比較暗、多重加算など)の切り替えを行う。   Further, the operation unit (103) is equipped with a shooting mode changeover switch and a shutter button, and the CPU (107) determines the setting state of the operation unit (103), thereby comparing the shooting mode (for example, in multiple exposure). (Bright, comparative dark, multiple addition, etc.).

またCPU(107)は、撮影モードによって、デジタル信号処理部(104)のパラメータを切り替える。   The CPU (107) switches the parameters of the digital signal processing unit (104) depending on the shooting mode.

デジタル信号処理部(104)から出力される撮像データ、または現像データは、DATAバス(108)とメモリ制御部(109)を介して、一旦、メモリ(110)に記録される。   The imaging data or the development data output from the digital signal processing unit (104) is temporarily recorded in the memory (110) via the DATA bus (108) and the memory control unit (109).

データ圧縮/伸長部(111)では、例えばJPEG圧縮処理が行われ、圧縮画像データとしてメモリ(110)に記録されている現像データを圧縮し出力する。圧縮画像データはDATAバス(108)および記録制御部(112)を介して記録媒体(113)に記録される。   In the data compression / decompression unit (111), for example, JPEG compression processing is performed, and the development data recorded in the memory (110) as compressed image data is compressed and output. The compressed image data is recorded on the recording medium (113) via the DATA bus (108) and the recording control unit (112).

表示制御部(114)は、DATAバス(108)を介して入力される現像データにリサイズ、ガンマ補正等の所定の処理を施し、表示部115に表示させる。   The display control unit (114) performs predetermined processing such as resizing and gamma correction on the development data input via the DATA bus (108) and causes the display unit 115 to display the data.

なお、図示していないが、メモリ制御部(109)、記録制御部(112)、表示制御部(114)を含めた各部はCPU(107)の制御信号により動作する。   Although not shown, each unit including the memory control unit (109), the recording control unit (112), and the display control unit (114) operates according to a control signal from the CPU (107).

図2は図1におけるデジタル信号処理部(104)の内部構成を示したブロック図である。   FIG. 2 is a block diagram showing an internal configuration of the digital signal processing unit (104) in FIG.

A/D変換部(102)から入力される撮像データは、センサ補正部(203)で、光学部(100)で生じる色収差や撮像素子(101)が持つ素子のゲインバラツキの補正、欠陥画素の判別と補正などが施される。センサ補正部(203)から出力される撮像データはDATAバス(108)を介してメモリ(110)に記録されることが可能である。センサ補正部(203)から出力される撮像データは、画像合成部(201)に入力される。画像合成部(201)ではDATAバス(108)を介してメモリ(110)に記録されている撮像データを読み出し、センサ補正部(203)から入力される撮像データと画素毎に合成処理を行う。   The imaging data input from the A / D conversion unit (102) is corrected by the sensor correction unit (203) to correct chromatic aberration generated in the optical unit (100) and gain variation of the element of the imaging element (101), and to detect defective pixels. Discrimination and correction are performed. The imaging data output from the sensor correction unit (203) can be recorded in the memory (110) via the DATA bus (108). The imaging data output from the sensor correction unit (203) is input to the image composition unit (201). The image composition unit (201) reads the image data recorded in the memory (110) via the DATA bus (108), and performs composition processing for each pixel with the image data input from the sensor correction unit (203).

多重化された撮像データは、現像処理部(202)において現像処理を行い現像データが生成される。ここで現像処理とは、例えばベイヤー画像を同時化処理(補間処理)、ガンマ補正処理、色空間変換処理などを行いRGBからYCrCb変換後の現像データを生成することを指す。現像処理部(202)で生成された現像データはDATAバス(108)を介してメモリ(110)に記録される。   The multiplexed imaging data is subjected to development processing in the development processing unit (202) to generate development data. Here, the development processing refers to generating development data after RGB to YCrCb conversion by performing, for example, a Bayer image synchronization processing (interpolation processing), gamma correction processing, color space conversion processing, and the like. The development data generated by the development processing unit (202) is recorded in the memory (110) via the DATA bus (108).

本実施形態では、デジタル信号処理部の各ブロックはハードで実現されているが、加算比較部(302)以外の構成はソフトウェアモジュールとして実現するようにしてもよい。
ここで、多重露出撮影モードにおける撮影処理の流れを説明する。ユーザにより設定された、あるいはシーン判別等により自動で決定された露出、フォーカス等の撮影条件に従って、CPU(107)は制御信号によりタイミングジェネレータ(106)、センサ駆動制御部(105)を介して撮像素子(101)を駆動する。またCPU(107)は、レンズ駆動制御部(116)を介して光学系(100)を駆動する。撮像素子からの電気信号は、その後A/D変換部(102)を介して撮像データとしてデジタル信号処理部(104)に入力される。
In this embodiment, each block of the digital signal processing unit is realized by hardware, but the configuration other than the addition comparison unit (302) may be realized as a software module.
Here, the flow of shooting processing in the multiple exposure shooting mode will be described. The CPU (107) captures an image through the timing generator (106) and the sensor drive control unit (105) according to a control signal in accordance with photographing conditions such as exposure and focus set by the user or automatically determined by scene discrimination or the like. The element (101) is driven. The CPU (107) drives the optical system (100) via the lens drive control unit (116). The electrical signal from the image sensor is then input to the digital signal processor (104) as image data via the A / D converter (102).

デジタル信号処理部(104)ではセンサ補正部(203)において光学部(100)で生じる色収差や撮像素子(101)が持つ素子のゲインバラツキの補正、欠陥画素の判別、補正処理等を行う。多重露出撮影モードにおいて、1枚目に撮影された撮像データは、一旦、DATAバス(108)を介してメモリ(110)に記録される。   In the digital signal processing unit (104), the sensor correction unit (203) performs correction of chromatic aberration generated in the optical unit (100) and gain variation of the element of the image sensor (101), discrimination of defective pixels, correction processing, and the like. In the multiple-exposure shooting mode, the image data shot on the first image is temporarily recorded in the memory (110) via the DATA bus (108).

2枚目以降に撮影された撮像データは、1枚目と同様に処理され、センサ補正部(203)から出力されると画像合成部(201)に図3における画像2として入力される。前回までに撮像、合成され、メモリ110に記録されている撮像データが画像1として画像合成部(201)に入力され、画像合成部(201)では各モードに応じた合成方法で画像の合成処理が行われる。画像合成部(201)から出力された合成画像データは現像処理部202で現像され、現像された現像データは、データ圧縮/伸長部(111)で圧縮され、記録制御部(112)を介して記録媒体(113)に記録される。あるいは、現像データは表示制御部(114)を介して表示部115に表示される。   The imaging data photographed after the second image is processed in the same manner as the first image, and when it is output from the sensor correction unit (203), it is input to the image composition unit (201) as the image 2 in FIG. Imaging data that has been captured and combined up to the previous time and recorded in the memory 110 is input as an image 1 to the image combining unit (201), and the image combining unit (201) performs image combining processing according to a combining method according to each mode. Is done. The composite image data output from the image composition unit (201) is developed by the development processing unit 202, and the developed development data is compressed by the data compression / decompression unit (111), via the recording control unit (112). Recording is performed on the recording medium (113). Alternatively, the development data is displayed on the display unit 115 via the display control unit (114).

次に、画像合成部(201)における画像合成処理の詳細を説明する。   Next, details of the image composition processing in the image composition unit (201) will be described.

図3は図2における画像合成部(201)の内部構成を示したブロック図である。画像合成部(201)は二つの入力口を持ち、画像1(第1の画像データ)と画像2(第2の画像データ)を画像合成部(300)に入力する。第1のゲイン調整部(300)、第2のゲイン調整部(301)ではそれぞれ入力される画像1、画像2に対してゲインが掛けられる。具体的には、加算平均処理において、例えば画像1が3枚目までの合成画像、画像2が4枚目の画像であった場合には、画像1:画像2=3:1となるようにゲインが掛けられる。加算比較部(302)では入力された二つの画像を、比較、加算といった画素毎の合成処理を行い第3のゲイン調整部(303)に合成画像を出力する。第3のゲイン調整部(303)では、例えば加算比較部(302)からの前述したような3枚目までの合成画像と4枚目を合成した合成画像に、1/4のゲインを掛けることで、後述する加算平均処理を行うことが可能になる。   FIG. 3 is a block diagram showing an internal configuration of the image composition unit (201) in FIG. The image composition unit (201) has two input ports, and inputs image 1 (first image data) and image 2 (second image data) to the image composition unit (300). The first gain adjustment unit (300) and the second gain adjustment unit (301) multiply the input image 1 and image 2, respectively. Specifically, in the averaging process, for example, when image 1 is a composite image up to the third image and image 2 is the fourth image, image 1: image 2 = 3: 1. Gain is multiplied. The addition comparison unit (302) performs pixel-by-pixel combination processing such as comparison and addition on the two input images, and outputs a combined image to the third gain adjustment unit (303). In the third gain adjusting unit (303), for example, a gain of ¼ is applied to the synthesized image obtained by synthesizing the third and fourth synthesized images from the addition comparing unit (302) as described above. Thus, it is possible to perform the addition averaging process described later.

図4は図3における加算比較部(302)の内部構成について示した図である。
加算比較部(302)では、図1に示したCPU(107)からのパラメータを基に、加算、加算平均、比較明、比較暗といった合成処理が可能であり、本実施形態では、多重露出撮影モードとして加算モード、加算平均モード、比較明モード、比較暗モードを備える。
FIG. 4 is a diagram showing the internal configuration of the addition comparison unit (302) in FIG.
Based on the parameters from the CPU (107) shown in FIG. 1, the addition comparison unit (302) can perform synthesis processing such as addition, addition average, comparatively bright, and comparatively dark. In the present embodiment, multiple exposure shooting is performed. The mode includes an addition mode, an addition average mode, a comparatively bright mode, and a comparatively dark mode.

合成前の画像のそれぞれの画素値をI_i(x,y)(i=1〜N,x,yは画面内の座標を表す)、それらのN枚の画像の合成後の画像の画素値をI(x,y)とする。このとき、加算モードは、
I(x,y)=I_1(x,y)+I_2(x,y)+・・・+I_N(x,y)
で表され、画素別にN枚の画像の画素値の加算処理がなされたものが合成画像データとなる。加算平均モードは、
I(x,y)=(I_1(x,y)+I_2(x,y)+・・・+I_N(x,y))/N
で表され、画素別にN枚の画像の画素値の平均値処理がなされたものが合成画像データとなる。比較明モードは、
I(x,y)=max(I_1(x,y),I_2(x,y),・・・,I_N(x,y))
で表され、画素別にN枚の画像の画素値の最大値が選択されたものが合成画像データとなる。比較暗モードは、
I(x,y)=min(I_1(x,y),I_2(x,y),・・・,I_N(x,y))
で表され、画素別にN枚の画像の画素値の最小値が選択されたものが合成画像データとなる。
I_i (x, y) (i = 1 to N, x, y represents the coordinates in the screen), and the pixel values of the image after the synthesis of these N images. Let I (x, y). At this time, the addition mode is
I (x, y) = I_1 (x, y) + I_2 (x, y) +... + I_N (x, y)
The sum of the pixel values of N images for each pixel is combined image data. The averaging mode is
I (x, y) = (I_1 (x, y) + I_2 (x, y) +... + I_N (x, y)) / N
The result of the average processing of the pixel values of N images for each pixel is composite image data. The comparative light mode is
I (x, y) = max (I_1 (x, y), I_2 (x, y),..., I_N (x, y))
The maximum value of the pixel values of N images selected for each pixel is the composite image data. The comparative dark mode is
I (x, y) = min (I_1 (x, y), I_2 (x, y),..., I_N (x, y))
The minimum value of the pixel values of N images selected for each pixel is composite image data.

本実施形態では、加算比較部(302)による2枚の合成処理を繰り返すことでN枚の合成画像を生成する。すなわち、加算モードでは、
I2(x,y)=I_1(x,y)+I_2(x,y),
I3(x,y)=I2(x,y)+I_3(x,y),
‥‥
I(x,y)=IN(x,y)=IN−1(x,y)+I_N(x,y)
となる。また、加算平均モードでは、
I2(x,y)=(I_1(x,y)+I_2(x,y))/2,
I3(x,y)=I2(x,y)/3+I_3(x,y)/3,
‥‥
I(x,y)=IN(x,y)=IN−1(x,y)/N+I_N(x,y)/N
となる。また、比較明モードでは、
I2(x,y)=max(I_1(x,y),I_2(x,y)),
I3(x,y)=max(I2(x,y),I_3(x,y)),
‥‥
I(x,y)=IN(x,y)=max(IN−1(x,y),I_N(x,y)),
となる。また、比較暗モードでは、
I2(x,y)=min(I_1(x,y),I_2(x,y)),
I3(x,y)=min(I2(x,y),I_3(x,y)),
‥‥
I(x,y)=IN(x,y)=min(IN−1(x,y),I_N(x,y))
となる。
In the present embodiment, N composite images are generated by repeating two composite processes by the addition comparison unit (302). That is, in addition mode,
I2 (x, y) = I_1 (x, y) + I_2 (x, y),
I3 (x, y) = I2 (x, y) + I_3 (x, y),
...
I (x, y) = IN (x, y) = IN-1 (x, y) + I_N (x, y)
It becomes. In addition, in addition average mode,
I2 (x, y) = (I_1 (x, y) + I_2 (x, y)) / 2
I3 (x, y) = I2 (x, y) / 3 + I_3 (x, y) / 3,
...
I (x, y) = IN (x, y) = IN-1 (x, y) / N + I_N (x, y) / N
It becomes. In comparative light mode,
I2 (x, y) = max (I_1 (x, y), I_2 (x, y)),
I3 (x, y) = max (I2 (x, y), I_3 (x, y)),
...
I (x, y) = IN (x, y) = max (IN−1 (x, y), I_N (x, y)),
It becomes. In comparative dark mode,
I2 (x, y) = min (I_1 (x, y), I_2 (x, y)),
I3 (x, y) = min (I2 (x, y), I_3 (x, y)),
...
I (x, y) = IN (x, y) = min (IN−1 (x, y), I_N (x, y))
It becomes.

加減算回路(400)は入力1及び入力2を加算あるいは減算する回路であり、またEXOR(401)には減算結果の符号であるMSB(Most Significant Bit)を出力する。EXOR(401)は加減算回路(400)からのMSBとCMP_SELの入力に対する排他的論理和を出力する論理回路である。セレクタ1(402)(第2の選択手段)、セレクタ2(403)(第1の選択手段)は入力のいずれかを選択的に出力する。CMP_SEL及びSUB_SELはレジスタから出力される値であり、各モードに応じてCPU(107)からの制御信号により設定される値である。   The addition / subtraction circuit (400) is a circuit for adding or subtracting the input 1 and the input 2, and outputs an MSB (Most Significant Bit) which is a sign of the subtraction result to EXOR (401). EXOR (401) is a logic circuit that outputs an exclusive OR with respect to the input of MSB and CMP_SEL from the addition / subtraction circuit (400). The selector 1 (402) (second selection means) and the selector 2 (403) (first selection means) selectively output one of the inputs. CMP_SEL and SUB_SEL are values output from the registers, and are values set by control signals from the CPU (107) in accordance with each mode.

ここで、各モードにおける加算比較部(302)内の各部の動作について詳細に説明する。   Here, the operation of each unit in the addition comparison unit (302) in each mode will be described in detail.

加算モードと加算平均モードでは、前後の第1乃至第3のゲイン調整部(300、301,303)において各画像データに掛けられるゲインが異なるだけで、加算比較部(302)における処理は変わらない。入力1から入力される画像1と、入力2から入力される画像2に対して加減算回路(400)において加算処理が行われる。SUB_SELには‘1’が設定されるため、CMP_SELの設定に依らず、セレクタ2(403)からは、画像1と画像2の加算結果が合成処理の結果として画素毎に出力される。   In the addition mode and the addition average mode, the gain applied to each image data in the first and third gain adjustment units (300, 301, 303) before and after is different, and the processing in the addition comparison unit (302) does not change. . An addition process is performed on the image 1 input from the input 1 and the image 2 input from the input 2 in the addition / subtraction circuit (400). Since “1” is set in SUB_SEL, the addition result of image 1 and image 2 is output for each pixel as a result of the synthesis process from selector 2 (403) regardless of the setting of CMP_SEL.

比較明モードでは、入力1から入力される画像1と、入力2から入力される画像2に対して加減算回路(400)において減算処理が行われる。ここで加減算回路(400)は例えば、加算時は入力1と入力2の値をそのまま加算器で加算を行い、減算時は入力2の値を反転して‘1’を足してから、入力1と加算器により加算をすることで一つの加算器で加減算を実現している。その後、加減算回路(400)の減算結果よりMSBがEXOR(401)に入力される。比較明モードでは、CMP_SELは‘0’が設定されているので、セレクタ1(402)は加減算回路(400)の減算結果におけるMSBに基づいて、入力1と入力2のうち、小さくない方の値を選択して出力する。また、SUB_SELは‘0’が設定されているため、セレクタ2(403)からは、セレクタ1(402)からの出力、すなわち、画像1と画像2を画素毎に値を比較し小さくない方の値が合成処理の結果として画素毎に出力される。   In the comparatively bright mode, the addition / subtraction circuit (400) performs subtraction processing on the image 1 input from the input 1 and the image 2 input from the input 2. Here, for example, the addition / subtraction circuit (400) adds the values of the input 1 and the input 2 as they are with an adder at the time of addition. Addition and subtraction are realized by a single adder. Thereafter, the MSB is input to EXOR (401) from the subtraction result of the addition / subtraction circuit (400). In the comparatively bright mode, CMP_SEL is set to '0', so that the selector 1 (402) is the smaller value of the input 1 and the input 2 based on the MSB in the subtraction result of the addition / subtraction circuit (400). Select to output. Since SUB_SEL is set to “0”, the output from the selector 1 (402) from the selector 2 (403), that is, the value of the image 1 and the image 2 is compared for each pixel and not smaller. A value is output for each pixel as a result of the synthesis process.

比較暗モードでは、入力1から入力される画像1と、入力2から入力される画像2に対して加減算回路(400)において減算処理が行われる。その後、加減算回路(400)の減算結果よりMSBがEXOR(401)に入力される。比較暗モードでは、CMP_SELは‘1’が設定されているので、セレクタ1(402)にはMSBを反転させた結果が入力され、セレクタ1(402)は、入力1と入力2のうち、大きくない方の値を選択して出力する。また、SUB_SELは‘0’が設定されているため、セレクタ2(403)からは、セレクタ1(402)からの出力、すなわち、画像1と画像2を画素毎に値を比較し大きくない方の値が合成処理の結果として画素毎に出力される。   In the comparative dark mode, the addition / subtraction circuit (400) performs subtraction processing on the image 1 input from the input 1 and the image 2 input from the input 2. Thereafter, the MSB is input to EXOR (401) from the subtraction result of the addition / subtraction circuit (400). In the comparative dark mode, since CMP_SEL is set to “1”, the result of inverting the MSB is input to the selector 1 (402), and the selector 1 (402) Select the value that does not exist and output it. Since SUB_SEL is set to “0”, the output from the selector 1 (402) from the selector 2 (403), that is, the value obtained by comparing the values of the image 1 and the image 2 for each pixel is not large. A value is output for each pixel as a result of the synthesis process.

図5を用いて比較明における画像1と画像2の合成内容を説明する。   The composition of image 1 and image 2 in comparatively bright will be described with reference to FIG.

図5の(a)は画像合成部(201)に入力される画像1のイメージ図で、図5の(b)は画像2のイメージ図である。   5A is an image diagram of the image 1 input to the image composition unit 201, and FIG. 5B is an image diagram of the image 2. FIG.

図5で示した画素は8bit(0〜255)の値をとるものとし、図8に示したように白抜きした画素は、画素値X(例えば8Bitデータとする)が200≦Xの画素値を持つ。また、斜線の画素は100≦X<200の画素値を持ち、点模様の画素はX<100の画素値を持つとする。   The pixel shown in FIG. 5 takes a value of 8 bits (0 to 255), and the white pixel as shown in FIG. 8 has a pixel value X (for example, 8 bit data) whose pixel value is 200 ≦ X. have. Further, it is assumed that the hatched pixels have a pixel value of 100 ≦ X <200, and the dot pattern pixels have a pixel value of X <100.

それぞれの画像は、左上(A1)の画素から入力され水平方向に順次入力される。
つまりA1,B1,C1・・・M1,N1,A2,B2,C2・・・の順でN8までの画素データが入力される。
Each image is input from the upper left (A1) pixel and sequentially input in the horizontal direction.
That is, pixel data up to N8 is input in the order of A1, B1, C1... M1, N1, A2, B2, C2.

例えば図4において入力1には図5(a)のK1画素(白抜き画素)が、入力2には図5(b)のK1画素(点模様画素)が入力される場合を説明する。
その場合、図4の加減算回路(400)とEXOR(401)、セレクタ1(402)によって、入力された二つの画素が比較され、値が大きい方、つまり入力1の図5(a)のK1画素が画像合成部(300)より出力される。
For example, in FIG. 4, a case where the K1 pixel (outlined pixel) in FIG. 5A is input to the input 1 and the K1 pixel (dotted pattern pixel) in FIG.
In this case, the two input pixels are compared by the addition / subtraction circuit (400) of FIG. 4, EXOR (401), and selector 1 (402), and the larger value, that is, K1 of FIG. Pixels are output from the image composition unit (300).

図5(c)はK1における画素比較結果のイメージを図示したものである。   FIG. 5C illustrates an image of a pixel comparison result at K1.

図5(d)は同様に画像1、画像2のF1画素における値を比較したイメージ図である。この場合、画像2のF1画素が大きい値を持つため、比較の結果、画像2の画素が選択されて出力する。   FIG. 5D is an image diagram in which the values in the F1 pixel of the image 1 and the image 2 are similarly compared. In this case, since the F1 pixel of the image 2 has a large value, the pixel of the image 2 is selected and output as a result of the comparison.

複数回の撮影によって、図5(a)と図5(b)のような画像が得られた場合の比較明における画像合成結果をイメージ図で示したのが図5(e)になる。   FIG. 5E shows an image composition result in comparatively bright when images as shown in FIG. 5A and FIG.

以上より、例えば1回目の撮影では、被写体の右下からライティングして撮影し、2回目の撮影では被写体の左上からライティングして撮影を行う。すると、本実施形態の比較明による画像合成により、右下、左上共にライティングによってより階調の出た画像が得られる。これが単純な加算処理では露出オーバーになったり、加算平均処理ではゲイン調整などでダイナミックレンジが低減されたりしてしまう。   Thus, for example, in the first shooting, lighting is performed from the lower right of the subject, and in the second shooting, shooting is performed from the upper left of the subject. Then, an image with higher gradation is obtained by lighting in both the lower right and the upper left by the image composition based on comparatively bright light according to the present embodiment. If this is a simple addition process, the overexposure will be overexposed. In the addition average process, the dynamic range will be reduced by gain adjustment or the like.

図6を用いて比較暗における画像1と画像2の合成内容を説明する。   The composite content of image 1 and image 2 in comparative darkness will be described with reference to FIG.

図6の(a)は画像合成部(201)に入力される画像1のイメージ図で、図6の(b)は画像2のイメージ図である。   6A is an image diagram of the image 1 input to the image composition unit 201, and FIG. 6B is an image diagram of the image 2. FIG.

それぞれの画像は、左上(A1)の画素から入力され水平方向に順次入力される。
つまりA1,B1,C1・・・M1,N1,A2,B2,C2・・・の順でN8までの画素データが入力される。
Each image is input from the upper left (A1) pixel and sequentially input in the horizontal direction.
That is, pixel data up to N8 is input in the order of A1, B1, C1... M1, N1, A2, B2, C2.

例えば図4において入力1には図6(a)のE2画素が、入力2には図6(b)のE2画素が入力され、入力1のE2画素の方が小さい値を持つとする。   For example, in FIG. 4, it is assumed that the E2 pixel of FIG. 6A is input to the input 1 and the E2 pixel of FIG. 6B is input to the input 2, and the E2 pixel of the input 1 has a smaller value.

この場合、図4の加減算回路(400)とEXOR(401)、セレクタ1(402)によって、入力された二つの画素が比較され、値が小さい方、つまり入力1の図6(b)のE2画素が画像合成部(300)より出力される。   In this case, the two input pixels are compared by the addition / subtraction circuit (400) of FIG. 4, EXOR (401), and selector 1 (402), and the smaller value, that is, E2 of FIG. Pixels are output from the image composition unit (300).

図6(c)はE2における画素比較結果のイメージを図示したものである。   FIG. 6C illustrates an image of a pixel comparison result in E2.

図6(d)は同様に画像1、画像2のE8画素における値を比較したイメージ図である。この場合、画像2のE8画素が小さい値を持つため、比較の結果、画像2の画素が選択されて出力する。   FIG. 6D is an image diagram in which the values at the E8 pixel of image 1 and image 2 are similarly compared. In this case, since the E8 pixel of the image 2 has a small value, the pixel of the image 2 is selected and output as a result of the comparison.

複数回の撮影によって、図6(a)と図6(b)のような画像が得られた場合の比較暗における画像合成結果をイメージ図で示したのが図6(e)になる。   FIG. 6E shows an image composition result in comparative dark when images such as FIG. 6A and FIG. 6B are obtained by a plurality of photographings, in an image diagram.

以上より、例えば1回目の撮影で露出オーバーな画素が生じてしまったような場合に、その露出オーバーが解消されるようなライティングの撮影条件下で2回目の撮影を行う。これらに比較暗による画像合成を行うことにより、露出オーバーの内良好な画像を得ることができる。このとき単純な加算処理では露出オーバーな画素がそのまま存在してしまうし、加算平均処理ではやはりゲイン調整によってダイナミックレンジを低減してしまう。   As described above, for example, when an overexposed pixel is generated in the first shooting, the second shooting is performed under a lighting shooting condition in which the overexposure is eliminated. By performing image synthesis using comparative darkness on these, it is possible to obtain a good image of overexposure. At this time, in a simple addition process, an overexposed pixel remains as it is, and in an addition average process, the dynamic range is also reduced by gain adjustment.

図7を用いて加算合成における画像1と画像2の合成内容を説明する。   The composition contents of image 1 and image 2 in the addition composition will be described with reference to FIG.

図7の(a)は画像合成部(201)に入力される画像1のイメージ図で、図7の(b)は画像2のイメージ図である。   7A is an image diagram of the image 1 input to the image composition unit 201, and FIG. 7B is an image diagram of the image 2. FIG.

それぞれの画像は、左上(A1)の画素から入力され水平方向に順次入力される。
つまりA1,B1,C1・・・M1,N1,A2,B2,C2・・・の順でN8までの画素データが入力される。
Each image is input from the upper left (A1) pixel and sequentially input in the horizontal direction.
That is, pixel data up to N8 is input in the order of A1, B1, C1... M1, N1, A2, B2, C2.

例えば図4において入力1には図7(a)のA1画素が、入力2には図7(b)のA1画素が入力されるとする。   For example, in FIG. 4, it is assumed that the A1 pixel in FIG. 7A is input to the input 1 and the A1 pixel in FIG.

その場合、図4の加減算回路(400)によって、入力された二つの画素が加算され、加算結果がA1の画素として画像合成部(300)より出力される。図7(c)はA1における画素加算結果のイメージを図示したものである。   In this case, the two input pixels are added by the addition / subtraction circuit (400) in FIG. 4, and the addition result is output from the image composition unit (300) as the pixel of A1. FIG. 7C illustrates an image of the pixel addition result in A1.

複数回の撮影によって得られた画像1、つまり図7の(a)と、画像2、つまり図7の(b)が加算された画像合成結果をイメージ図で示したのが図7(d)になる。   FIG. 7 (d) shows an image composition result obtained by adding the image 1 obtained by a plurality of times of photographing, that is, FIG. 7A and the image 2, that is, FIG. 7B. Become.

また画像合成部(300)より出力される画像を図3に記載のゲイン調整部(301)において1/2倍にすることで加算平均処理として画像合成部(201)から合成結果を出力する事も可能である。   Further, the image output from the image composition unit (300) is output by the image synthesis unit (201) as an averaging process by halving the image output from the image composition unit (300) in the gain adjustment unit (301) shown in FIG. Is also possible.

以上のように、本実施形態では、多重露光撮影において、撮影モードに応じて、画素値比較による画像合成と、画素加算による多重合成を選択することが可能となり、かつこのような合成を達成する回路を小規模で得ることができる。   As described above, according to the present embodiment, in multiple exposure shooting, it is possible to select image composition by pixel value comparison and multiple composition by pixel addition according to the shooting mode, and achieve such composition. A circuit can be obtained on a small scale.

本実施形態では、画像合成の対象画像として画像合成部(300)に入力される画像データをセンサ補正部(203)からの出力画像データとした。しかし、これに限らず、例えば図5等で示したベイヤー配列の撮像データに同時化処理で各画素毎にRGBの画素値を持つようにした状態の画像データでも良い。また、ガンマ補正、色空間変換などの現像処理を行って例えばYCrCbの形式に変換された、すなわち現像処理後の画像データを合成してもよい。その場合、図2において、現像処理部(202)で処理される処理の一部(同時化処理を含む)あるいは全部を行う処理ブロックが、画像合成部(201)の前段でありセンサ補正部(203)の直後である位置に設けられることになる。   In the present embodiment, the image data input to the image composition unit (300) as an image composition target image is output image data from the sensor correction unit (203). However, the present invention is not limited to this. For example, image data in a state in which the image data of the Bayer array shown in FIG. Alternatively, development processing such as gamma correction and color space conversion may be performed to convert the data into, for example, YCrCb format, that is, image data after development processing may be combined. In this case, in FIG. 2, a processing block that performs a part (including synchronization processing) or all of the processing processed by the development processing unit (202) is a front stage of the image composition unit (201) and is a sensor correction unit ( 203).

(他の実施形態)
本発明の目的は以下のようにしても達成できる。すなわち、前述した各実施形態の機能を実現するための手順が記述されたソフトウェアのプログラムコードを記録した記憶媒体を、システムまたは装置に供給する。そしてそのシステムまたは装置のコンピュータ(またはCPU、MPU等)が記憶媒体に格納されたプログラムコードを読み出して実行するのである。
(Other embodiments)
The object of the present invention can also be achieved as follows. That is, a storage medium in which a program code of software in which a procedure for realizing the functions of the above-described embodiments is described is recorded is supplied to the system or apparatus. The computer (or CPU, MPU, etc.) of the system or apparatus reads out and executes the program code stored in the storage medium.

この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体およびプログラムは本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the novel function of the present invention, and the storage medium and program storing the program code constitute the present invention.

また、プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスクなどが挙げられる。また、CD−ROM、CD−R、CD−RW、DVD−ROM、DVD−RAM、DVD−RW、DVD−R、磁気テープ、不揮発性のメモリカード、ROM等も用いることができる。   Examples of the storage medium for supplying the program code include a flexible disk, a hard disk, an optical disk, and a magneto-optical disk. Further, a CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD-R, magnetic tape, nonvolatile memory card, ROM, or the like can also be used.

また、コンピュータが読み出したプログラムコードを実行可能とすることにより、前述した各実施形態の機能が実現される。さらに、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した各実施形態の機能が実現される場合も含まれる。   Further, by making the program code read by the computer executable, the functions of the above-described embodiments are realized. Furthermore, when the OS (operating system) running on the computer performs part or all of the actual processing based on the instruction of the program code, the functions of the above-described embodiments are realized by the processing. Is also included.

更に、以下の場合も含まれる。まず記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれる。その後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行う。   Furthermore, the following cases are also included. First, the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Thereafter, based on the instruction of the program code, the CPU or the like provided in the function expansion board or function expansion unit performs part or all of the actual processing.

100 光学系
101 撮像素子
102 A/D変換部
103 操作部
104 デジタル信号処理部
105 センサ駆動制御部
106 タイミングジェネレータ
107 CPU
108 DATAバス
109 メモリ制御部
110 メモリ
111 データ圧縮/伸張部
112 記録制御部
113 記録媒体
201 センサ補正部
202 画像合成部
203 現像処理部
300 画像合成部
301 ゲイン調整部
400 加減算回路
401 EXOR回路
402 セレクタ1
403 セレクタ2
DESCRIPTION OF SYMBOLS 100 Optical system 101 Image pick-up element 102 A / D conversion part 103 Operation part 104 Digital signal processing part 105 Sensor drive control part 106 Timing generator 107 CPU
DESCRIPTION OF SYMBOLS 108 DATA bus 109 Memory control part 110 Memory 111 Data compression / decompression part 112 Recording control part 113 Recording medium 201 Sensor correction part 202 Image composition part 203 Development processing part 300 Image composition part 301 Gain adjustment part 400 Addition / subtraction circuit 401 EXOR circuit 402 Selector 1
403 Selector 2

Claims (11)

第1及び第2の画像データを取得する取得手段と、
前記第1の画像データから前記第2の画像データを加算、または減算する加減算手段と、
前記加減算手段からの出力を用いて前記第1及び前記第2の画像データを比較し、
比較結果に応じて前記第1及び前記第2の画像データのいずれか1つを選択して出力する比較手段と、
撮影モードに応じて前記比較手段の出力と前記加減算手段の出力のいずれか1つを選択して出力する第1の選択手段と、を有し、
前記比較手段は、前記加減算手段からの出力の符号を示す値とレジスタの値との排他的論理和を出力する排他手段と、
前記排他手段からの出力に基づいて前記第1及び前記第2の画像データのいずれか1つを出力する第2の選択手段と、
前記レジスタの値を撮影モードに応じて制御する制御手段と、を有することを特徴とする画像処理装置。
Acquisition means for acquiring first and second image data;
Addition / subtraction means for adding or subtracting the second image data from the first image data;
Compare the first and second image data using the output from the addition and subtraction means,
A comparing means for selecting and outputting one of the first and second image data according to a comparison result;
Have a, first selection means for selecting and outputting one of the output of said adder means and an output of the comparing means in accordance with the imaging mode,
The comparing means outputs an exclusive OR of a value indicating a sign of an output from the adding and subtracting means and a register value;
Second selection means for outputting one of the first and second image data based on the output from the exclusion means;
The image processing apparatus characterized by chromatic and control means for controlling in response to the shooting mode the value of the register.
前記比較手段は、前記第1及び前記第2の画像データの画素値を画素ごとに比較し、当該画素値の小さくない方の値を出力することを特徴とする請求項1に記載の画像処理装置。   2. The image processing according to claim 1, wherein the comparison unit compares the pixel values of the first and second image data for each pixel and outputs a value that is not smaller than the pixel value. apparatus. 前記比較手段は、前記第1及び前記第2の画像データの画素値を画素ごとに比較し、当該画素値の大きくない方の値を出力することを特徴とする請求項1または2に記載の画像処理装置。   The said comparison means compares the pixel value of the said 1st and said 2nd image data for every pixel, and outputs the value which is not the said pixel value large. Image processing device. 撮影モードが加算あるいは加算平均モードである場合、前記加減算手段は前記第1及び第2の画像データを加算し、前記第1の選択手段は前記加減算手段の出力を選択して出力し、When the photographing mode is addition or addition average mode, the addition / subtraction means adds the first and second image data, the first selection means selects and outputs the output of the addition / subtraction means,
撮影モードが比較明あるいは暗モードである場合、前記加減算手段は前記第1及び第2の画像データを減算し、前記第2の選択手段は前記比較手段の出力を選択して出力することを特徴とする請求項1乃至3のいずれか1つに記載の画像処理装置。When the photographing mode is a comparatively bright or dark mode, the addition / subtraction means subtracts the first and second image data, and the second selection means selects and outputs the output of the comparison means. The image processing apparatus according to any one of claims 1 to 3.
前記第1及び第2の画像データは、それぞれベイヤー配列の画素値で構成される画像データであることを特徴とする請求項1乃至4のいずれか1つに記載の画像処理装置。   5. The image processing apparatus according to claim 1, wherein each of the first and second image data is image data including pixel values in a Bayer array. 前記第1及び第2の画像データは、それぞれベイヤー配列の画素値で構成される画像データに補間処理を施した画像データであることを特徴とする請求項1乃至4のいずれか1つに記載の画像処理装置。   5. The image data according to claim 1, wherein the first image data and the second image data are image data obtained by performing interpolation processing on image data each composed of pixel values in a Bayer array. 6. Image processing apparatus. 前記第1及び第2の画像データは、それぞれ現像処理後の画像データであることを特徴とする請求項1乃至4のいずれか1つに記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the first and second image data are image data after development processing. 被写体像を撮像し、前記第1及び第2の画像データを出力する撮像手段と、
請求項1乃至7のいずれか1つに記載の画像処理装置と、
前記第1の選択手段からの出力に所定の処理を施し、前記第1及び第2の画像データの合成画像データとして記録媒体に記録する記録手段と、を有することを特徴とする撮像装置。
Imaging means for capturing a subject image and outputting the first and second image data;
An image processing apparatus according to any one of claims 1 to 7,
An image pickup apparatus comprising: a recording unit that performs a predetermined process on an output from the first selection unit and records the output as a composite image data of the first and second image data on a recording medium.
取得手段が、第1及び第2の画像データを取得する取得ステップと、
加減算手段が、前記第1の画像データから前記第2の画像データを加算、または減算する加減算ステップと、
比較手段が、前記加減算手段からの出力を用いて前記第1及び前記第2の画像データを比較し、比較結果に応じて前記第1及び前記第2の画像データのいずれか1つを選択して出力する比較ステップと、
選択手段が、撮影モードに応じて前記比較手段の出力と前記加減算手段の出力のいずれか1つを選択して出力する選択ステップと、を有し、
前記比較手段はさらに、前記加減算手段からの出力の符号を示す値とレジスタの値との排他的論理和を出力する排他ステップと、
前記排他ステップでの出力に基づいて前記第1及び前記第2の画像データのいずれか1つを出力する第2の選択ステップと、
前記レジスタの値を撮影モードに応じて制御する制御ステップと、を有することを特徴とする画像処理装置の制御方法。
An acquisition step in which the acquisition means acquires the first and second image data;
An addition / subtraction step, wherein an addition / subtraction means adds or subtracts the second image data from the first image data;
The comparison means compares the first and second image data using the output from the addition / subtraction means, and selects one of the first and second image data according to the comparison result. A comparison step to output
Selection means, have a, a selection step of selecting and outputting one of the outputs of said subtracting means of said comparison means in accordance with the imaging mode,
The comparing means further outputs an exclusive OR of a value indicating a sign of the output from the adding and subtracting means and a register value;
A second selection step of outputting any one of the first and second image data based on the output in the exclusion step;
Method of controlling an image processing apparatus characterized by chromatic and a control step of controlling the value of the register according to the photographing mode.
請求項9に記載の画像処理装置の制御方法の手順が記述されたコンピュータで実行可能なプログラム。   A computer-executable program in which a procedure of a control method for an image processing apparatus according to claim 9 is described. コンピュータに、請求項9に記載の画像処理装置の制御方法の各ステップを実行させるためのプログラムが記憶されたコンピュータが読み取り可能な記憶媒体。   A computer-readable storage medium storing a program for causing a computer to execute each step of the control method of the image processing apparatus according to claim 9.
JP2011189138A 2011-08-31 2011-08-31 Image processing apparatus and image processing apparatus control method Expired - Fee Related JP5822606B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011189138A JP5822606B2 (en) 2011-08-31 2011-08-31 Image processing apparatus and image processing apparatus control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011189138A JP5822606B2 (en) 2011-08-31 2011-08-31 Image processing apparatus and image processing apparatus control method

Publications (2)

Publication Number Publication Date
JP2013051584A JP2013051584A (en) 2013-03-14
JP5822606B2 true JP5822606B2 (en) 2015-11-24

Family

ID=48013314

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011189138A Expired - Fee Related JP5822606B2 (en) 2011-08-31 2011-08-31 Image processing apparatus and image processing apparatus control method

Country Status (1)

Country Link
JP (1) JP5822606B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6096041B2 (en) * 2013-04-18 2017-03-15 オリンパス株式会社 Imaging apparatus and imaging method
JP6218520B2 (en) * 2013-09-11 2017-10-25 キヤノン株式会社 Image processing apparatus, image processing method, and program
EP3393117A4 (en) 2015-12-15 2018-11-14 Ricoh Company, Ltd. Image-processing device and image-processing method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6274186A (en) * 1985-09-27 1987-04-04 Hitachi Ltd Image processor
JP3092577B2 (en) * 1998-02-06 2000-09-25 日本電気株式会社 Digital camera multiplex photography device

Also Published As

Publication number Publication date
JP2013051584A (en) 2013-03-14

Similar Documents

Publication Publication Date Title
US7509042B2 (en) Digital camera, image capture method, and image capture control program
JP5898466B2 (en) Imaging device, control method thereof, and program
JP4973719B2 (en) Imaging apparatus, imaging method, and imaging program
JP5053724B2 (en) Image display apparatus, imaging apparatus, image reproduction apparatus, and image display method
JP5968068B2 (en) Imaging apparatus for controlling exposure, control method for imaging apparatus, program, and recording medium
JP5787648B2 (en) Image processing apparatus and image processing apparatus control method
JP5123137B2 (en) Imaging apparatus and imaging method
US20100141823A1 (en) Image Processing Apparatus And Electronic Appliance
JP6304293B2 (en) Image processing apparatus, image processing method, and program
JP5804857B2 (en) Image processing apparatus, image processing method, and program
JP2017022610A (en) Image processing apparatus and image processing method
JP5084366B2 (en) IMAGING DEVICE AND IMAGING DEVICE CONTROL METHOD
JP5984975B2 (en) Imaging apparatus, imaging method, and program
JP5822606B2 (en) Image processing apparatus and image processing apparatus control method
KR20120024448A (en) Imaging apparatus, signal processing method, and program
JP4817529B2 (en) Imaging apparatus and image processing method
JP2010283504A (en) Imaging device, imaging method, and imaging program
JP4705146B2 (en) Imaging apparatus and imaging method
JP5299159B2 (en) Imaging apparatus and program
JP2014049882A (en) Imaging apparatus
JP6075829B2 (en) IMAGING DEVICE, CAMERA SYSTEM, IMAGING DEVICE CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2021117748A (en) Image processing apparatus, image processing method, and program
JP2003333381A (en) Imaging apparatus with image evaluation function
JP6025555B2 (en) Image processing apparatus, image processing method, and program
JP5515653B2 (en) Imaging apparatus and image processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140901

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150602

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150803

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: 20150908

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20151006

R151 Written notification of patent or utility model registration

Ref document number: 5822606

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees