JP2021150925A - Imaging apparatus and image processing method - Google Patents

Imaging apparatus and image processing method Download PDF

Info

Publication number
JP2021150925A
JP2021150925A JP2020051847A JP2020051847A JP2021150925A JP 2021150925 A JP2021150925 A JP 2021150925A JP 2020051847 A JP2020051847 A JP 2020051847A JP 2020051847 A JP2020051847 A JP 2020051847A JP 2021150925 A JP2021150925 A JP 2021150925A
Authority
JP
Japan
Prior art keywords
star
color
image
replacement
unit
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.)
Pending
Application number
JP2020051847A
Other languages
Japanese (ja)
Inventor
隆志 赤羽
Takashi Akaha
隆志 赤羽
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 JP2020051847A priority Critical patent/JP2021150925A/en
Publication of JP2021150925A publication Critical patent/JP2021150925A/en
Pending legal-status Critical Current

Links

Images

Abstract

To solve the problem in which, when photographing a small star, if an input signal to a sensor is a single-pixel wide, R or B information may be missing, causing false colors in the star.SOLUTION: By looking for pixels that have been exposed to the same star from a sequentially numbered image and using color information from the pixel with the highest signal level to compensate for the lack of color information, false colors in small stars can be prevented.SELECTED DRAWING: Figure 1

Description

本発明は撮像画像の偽色低減処理方法に関する。 The present invention relates to a false color reduction processing method for captured images.

コストダウンや解像力重視の流れから、コンパクトカメラや初・中級者向けの一眼カメラに光学LPFレス機が増えている。またデジタルカメラの撮像素子の感度が向上し、S/Nも改善されてきていることから、星空を手軽に撮影できるモードを搭載するモデルも存在する。満点の星空を撮影するモードや、星が時間とともに移動する日周運動の軌跡を撮影するモードなどがある。 Due to the trend of cost reduction and emphasis on resolution, the number of optical LPF-less cameras is increasing for compact cameras and single-lens cameras for beginners and intermediate users. In addition, since the sensitivity of the image sensor of a digital camera has been improved and the S / N has also been improved, there is also a model equipped with a mode that allows easy shooting of the starry sky. There is a mode to shoot a perfect starry sky and a mode to shoot the trajectory of diurnal motion in which stars move with time.

星空の軌跡を撮影するモードは複数回撮影を行い、撮影画像間で軌跡の途切れが発生しない比較明合成を行う手法が特許文献1にて提案されている。 Patent Document 1 proposes a mode in which the trajectory of the starry sky is photographed a plurality of times, and comparative bright composition is performed in which the trajectory is not interrupted between the captured images.

特開2015‐233238号公報JP-A-2015-233238

しかし文献1の方法で星空の軌跡を撮影すると、特に光学LPFレスの機種もしくは縦横いずれか一方向にのみ光学LPFが入っている機種において、上記手法で星空軌跡画像を撮影する場合、小さな星については、センサーへの入力信号が単画素幅となる場合があるため、RもしくはBの情報が欠落し、偽色が発生してしまうという課題があった。 However, when the trajectory of the starry sky is photographed by the method of Document 1, especially in a model without an optical LPF or a model in which an optical LPF is included in only one of the vertical and horizontal directions, when the starry sky trajectory image is photographed by the above method, about a small star. Since the input signal to the sensor may have a single pixel width, there is a problem that R or B information is lost and false color is generated.

本発明は、星空撮影を行った場合に、偽色の発生を抑えて、本来の星の色を再現した星空画像を撮影することができる撮像装置を提供することを目的とする。 An object of the present invention is to provide an imaging device capable of capturing a starry sky image that reproduces the original star color by suppressing the generation of false colors when the starry sky is photographed.

上記課題を解決するために、本発明の撮像装置は、連写撮影して連番画像を得る撮像部2と、前記連番画像を合成して星空軌跡画像を得る合成部12と、前記連番画像を用いて前記星空軌跡画像における星画素を判定し、前記星画素に対して同一の星に属する画素をグルーピングする星判定部203と、前記同一の星に属する星画素について、プレーン毎に同一の星に属する星画素の色情報を用いて、置きかえに用いる置換色情報を算出し、前記同一の星に属する星画素について、前記置換色情報を用いて対象画素の色情報を置き換える色信号置換部205と、を備え、前記色信号置換部205は、下記の式1を用いて、色代表値Col(xmax, ymax)を色代表値と同じ位置のOG(xmax, ymax)のレベルで正規化することによって、置換色情報Col(x,y)を算出することを特徴とする。
Col(x,y) = Col(xmax,ymax) × OG(x,y) / OG(xmax,ymax)・・・式1
In order to solve the above problems, the image pickup apparatus of the present invention includes an imaging unit 2 that obtains serial number images by continuous shooting, a synthesis unit 12 that synthesizes the serial number images to obtain a starry sky trajectory image, and the series. The star determination unit 203 that determines the star pixels in the starry sky trajectory image using the number image and groups the pixels belonging to the same star with respect to the star pixels, and the star pixels belonging to the same star for each plane. A color signal that calculates replacement color information to be used for replacement using the color information of star pixels belonging to the same star, and replaces the color information of the target pixel with the replacement color information for the star pixel belonging to the same star. The color signal replacement unit 205 includes a replacement unit 205, and the color signal replacement unit 205 uses the following formula 1 to set a color representative value Col (xmax, ymax) at the level of OG (xmax, ymax) at the same position as the color representative value. It is characterized in that the replacement color information Col (x, y) is calculated by normalization.
Col (x, y) = Col (xmax, ymax) × OG (x, y) / OG (xmax, ymax) ・ ・ ・ Equation 1

なお、その他の本発明の特徴は、添付図面及び以下の発明を実施するための形態における記載によって更に明らかになるものである。 In addition, other features of the present invention will be further clarified by the accompanying drawings and the description in the form for carrying out the following invention.

本発明によれば、特に光学LPFの効果が少ないカメラで星空撮影を行った場合に、偽色の発生を抑えて、本来の星の色を再現した星空画像を得ることが可能となる。 According to the present invention, it is possible to obtain a starry sky image that reproduces the original star color by suppressing the occurrence of false colors, particularly when the starry sky is photographed with a camera having little effect of the optical LPF.

本発明のブロック図である。It is a block diagram of this invention. 星空軌跡撮影モードのフローを示した図である。It is a figure which showed the flow of the starry sky trajectory shooting mode. 星判定結果を示す星情報テーブルである。It is a star information table which shows a star determination result. 偽色低減部13のブロック図である。It is a block diagram of the false color reduction part 13. 星空の撮影モードを選択する画面である。This is the screen for selecting the shooting mode of the starry sky. 本発明の偽色低減処理のフローを示した図である。It is a figure which showed the flow of the false color reduction processing of this invention. 星空軌跡撮影モードで撮影された連番画像と本発明を適用した画像の模式図である。It is a schematic diagram of the serial number image taken in the starry sky locus photography mode, and the image to which this invention is applied. 図7の連番画像に対応する星情報テーブルである。It is a star information table corresponding to the serial number image of FIG.

(第1の実施形態)
以下、本発明の好適な実施形態について説明する。
(First Embodiment)
Hereinafter, preferred embodiments of the present invention will be described.

本実施形態では、本発明を適用できる画像処理装置の一例としてデジタルカメラ、スキャナ等の撮像系を有する画像処理装置を挙げる。しかし、これに限らず、画像データを処理できる画像処理装置であれば特に実施の形態は限定されない。すなわち、画像処理装置としては、パーソナルコンピュータ等の情報処理装置であってもよいし、携帯型の情報端末、プリンタ等の画像形成装置などでもよい。これは以下の各実施形態でも同様である。 In the present embodiment, as an example of an image processing device to which the present invention can be applied, an image processing device having an imaging system such as a digital camera or a scanner will be mentioned. However, the present invention is not limited to this, and the embodiment is not particularly limited as long as it is an image processing device capable of processing image data. That is, the image processing device may be an information processing device such as a personal computer, or an image forming device such as a portable information terminal or a printer. This also applies to each of the following embodiments.

(画像処理装置100の基本構成)
図1は、本実施形態における画像処理装置100の一例であるデジタルカメラのブロック図である。
(Basic configuration of image processing device 100)
FIG. 1 is a block diagram of a digital camera which is an example of the image processing device 100 in the present embodiment.

画像処理装置100において、不図示の被写体はレンズユニット1の撮像光学系により撮像素子2に結像する。フォーカスレンズ101は、被写体の距離に応じてピント調整を行うために不図示のオートフォーカス(AF)機構や手動のマニュアルフォーカス機構によりレンズの位置が制御される。絞り102は、Fナンバーの撮影状態設定としてその開口径が制御される。ズームレンズ103は、被写体の像倍率を調整するために不図示の手動マニュアルズーム機構によりレンズの位置が制御される。レンズ特性情報記録部104は、レンズIDやレンズの焦点距離、離散的な補正値などの情報を記録している。 In the image processing device 100, a subject (not shown) is imaged on the image sensor 2 by the image pickup optical system of the lens unit 1. In the focus lens 101, the position of the lens is controlled by an autofocus (AF) mechanism (not shown) or a manual manual focus mechanism in order to adjust the focus according to the distance of the subject. The aperture diameter of the aperture 102 is controlled as an F-number shooting state setting. The position of the zoom lens 103 is controlled by a manual manual zoom mechanism (not shown) in order to adjust the image magnification of the subject. The lens characteristic information recording unit 104 records information such as a lens ID, a focal length of a lens, and discrete correction values.

撮像素子2は、例えば、一般的な原色カラーフィルタを備える単板カラー撮像素子とする。原色カラーフィルタは、各々650nm、550nm、450nm近傍に透過主波長帯を持つ3種類の色フィルタからなり、各々R(赤)、G(緑)、B(青)の各バンドに対応する色プレーンを撮影する。単板カラー撮像素子では、この色フィルタを画素毎にモザイク状に空間的に配列し、各画素が単一の色プレーンにおける強度を得るので、撮像素子2からは色モザイク画像が出力されることになる。 The image sensor 2 is, for example, a single-plate color image sensor provided with a general primary color filter. The primary color filters consist of three types of color filters having transmission main wavelength bands near 650 nm, 550 nm, and 450 nm, respectively, and color planes corresponding to the R (red), G (green), and B (blue) bands, respectively. To shoot. In the single-plate color image sensor, the color filters are spatially arranged in a mosaic pattern for each pixel, and each pixel obtains the intensity in a single color plane. Therefore, the image sensor 2 outputs a color mosaic image. become.

A/D変換部3は、撮像素子2により得られた電気信号をデジタル画像信号に変換する。本実施形態では、この時点で12bitの画像データが画素毎に生成される。 The A / D conversion unit 3 converts the electric signal obtained by the image sensor 2 into a digital image signal. In the present embodiment, 12-bit image data is generated for each pixel at this point.

同時化部4は、A/D変換部3から出力されるデジタル画像信号に対して、同時化処理を行う。 The simultaneous unit 4 performs simultaneous processing on the digital image signal output from the A / D conversion unit 3.

合成部12は、同時化部4から出力されるデジタル画像信号とメモリ11から読み出したデジタル画像信号の比較明合成処理を行う。 The compositing unit 12 performs a comparative bright compositing process of the digital image signal output from the simultaneous unit 4 and the digital image signal read from the memory 11.

偽色低減部13は、同時化部4から出力されるデジタル画像信号を用いて、合成部12から出力される比較明合成画像信号の偽色低減処理を行う。 The false color reduction unit 13 uses the digital image signal output from the simultaneous unit 4 to perform false color reduction processing on the comparatively bright composite image signal output from the synthesis unit 12.

現像処理部5は、偽色低減部13から出力されるデジタル画像信号に対して、レンズ光学補正処理、輝度信号処理、及び色信号処理などの一連の現像処理を行う。本実施形態では、現像処理部5の処理でR、G、Bの色空間から8bitの輝度(Y)データ、色差(U、V)データの色空間に変換され、YUVデータとして現像処理部5から出力されるものとする。 The development processing unit 5 performs a series of development processing such as lens optical correction processing, brightness signal processing, and color signal processing on the digital image signal output from the false color reduction unit 13. In the present embodiment, the color space of R, G, and B is converted into the color space of 8-bit luminance (Y) data and color difference (U, V) data by the processing of the development processing unit 5, and the development processing unit 5 is converted into YUV data. It shall be output from.

出力処理部6は、現像処理がなされた画像データに対して、リサイズ処理などを行い、出力部7へ供給する。出力部7は、HDMIなどの出力インタフェースへの出力、半導体メモリカードなどの記録メディアへの記録、画像処理装置100の表示装置(図示せず)への出力の1つ以上を行う。 The output processing unit 6 performs resizing processing or the like on the developed image data and supplies the image data to the output unit 7. The output unit 7 performs one or more of output to an output interface such as HDMI, recording to a recording medium such as a semiconductor memory card, and output to a display device (not shown) of the image processing device 100.

UI部9は、スイッチ、ボタン、表示装置(図示せず)に設けられたタッチパネルなどの入力機器を1つ以上有し、ユーザーによる指示などの外部からの操作は、UI部9を介して画像処理装置100へと入力され、制御部10はこれを受けて演算を行ったり、各部を制御したりする。 The UI unit 9 has one or more input devices such as switches, buttons, and a touch panel provided on a display device (not shown), and external operations such as instructions by the user are imaged via the UI unit 9. It is input to the processing device 100, and the control unit 10 receives this input to perform an calculation or controls each unit.

制御部10は、バス8を介して各部を制御し、また適宜必要な演算処理を行う。 The control unit 10 controls each unit via the bus 8 and performs necessary arithmetic processing as appropriate.

メモリ11は、各処理部で用いられる画像データや、絞り値、シャッタースピード、ISO感度、ホワイトバランスゲイン値、s−RGBなどの色域の設定などの撮影時情報のデータを記憶する。記憶されているデータは、制御部10の指示によって適宜読み出され、使用される。図1に示す各構成要素は、バス8を介して互いに通信可能に接続されている。 The memory 11 stores image data used in each processing unit and data of information at the time of shooting such as aperture value, shutter speed, ISO sensitivity, white balance gain value, and color gamut setting such as s-RGB. The stored data is appropriately read out and used according to the instruction of the control unit 10. Each component shown in FIG. 1 is communicably connected to each other via a bus 8.

(星空軌跡撮影処理の詳細)
図5は、星空の撮影モードを選択する画面である。
(Details of starry sky trajectory shooting process)
FIG. 5 is a screen for selecting a shooting mode of the starry sky.

ユーザーはUI部9を操作して、星空の撮影モードを選択することができる。撮影画像中の星を流れることなく星空を撮影したい場合は、星空夜景モードを選択し、星が移動する軌跡を撮影したい場合には、星空軌跡モードを選択する。 The user can operate the UI unit 9 to select the shooting mode of the starry sky. If you want to shoot the starry sky without flowing the stars in the captured image, select the starry night view mode, and if you want to shoot the trajectory of the moving stars, select the starry sky trajectory mode.

選択されたモードは制御部10がメモリ11にモード情報を書き込み、ユーザーが選択したモードを記憶させる。本実施形態では、星空軌跡モードが選択されたものとする。 In the selected mode, the control unit 10 writes the mode information to the memory 11 and stores the mode selected by the user. In this embodiment, it is assumed that the starry sky trajectory mode is selected.

図2は、星空軌跡撮影モードのフローを示した図である。 FIG. 2 is a diagram showing the flow of the starry sky trajectory shooting mode.

ユーザーがUI部9を操作して撮影指示がなされたら、制御部10はメモリ11に記憶されたモードを読み出し、指定された撮影モードの撮影処理を行う。 When the user operates the UI unit 9 to give a shooting instruction, the control unit 10 reads the mode stored in the memory 11 and performs the shooting process of the designated shooting mode.

記憶された撮影モードが星空軌跡モードであるならば、S201でユーザーは予め撮影時間を設定する。星の軌跡を長く写したいときには長い撮影時間を設定し、短い軌跡を撮影したい場合は、短い撮影時間を設定する。通常1〜2時間の撮影時間が設定される場合が多い。 If the stored shooting mode is the starry sky trajectory mode, the user sets the shooting time in advance in S201. Set a long shooting time when you want to shoot a long trajectory of a star, and set a short shooting time when you want to shoot a short trajectory. Usually, a shooting time of 1 to 2 hours is often set.

S202で測光結果に基づいた絞り・シャッター速度・ISO感度を設定する。S203ではS202で設定された露出制御に基づき静止画の撮影を行い、S204で撮影画像の比較明合成処理を行う。S206では撮影された画像に対して偽色低減部13を使用して偽色低減処理を行う。S205での偽色低減処理が本発明のポイントとなるので、詳細に後述する。 In S202, the aperture, shutter speed, and ISO sensitivity are set based on the light measurement result. In S203, a still image is photographed based on the exposure control set in S202, and a comparative bright composition process of the photographed image is performed in S204. In S206, the false color reduction process is performed on the captured image by using the false color reduction unit 13. Since the false color reduction process in S205 is the point of the present invention, it will be described in detail later.

S207では撮影された画像に対して現像処理部5を使用して現像処理を行い、S208で画像を半導体メモリカードなどの記録メディアへ書き込みを行う。 In S207, the photographed image is developed by using the developing processing unit 5, and in S208, the image is written to a recording medium such as a semiconductor memory card.

(偽色低減処理の詳細)
以下、画像処理装置100が実行する偽色低減処理の方法、及びそれを実現する画像処理回路の構成について説明する。
(Details of false color reduction processing)
Hereinafter, a method of false color reduction processing executed by the image processing apparatus 100 and a configuration of an image processing circuit that realizes the method will be described.

図3は、星情報テーブル208である。星情報テーブル208は、連番画像の全画素について、星判定の結果を記録することができる。星情報テーブル208は、電源入時、あるいは撮影モードの切り替わり等のタイミングで、制御部10が作成する。また、偽色低減部13は、連番画像が1フレームずつ入力される毎に、星判定結果を追加および更新する。 FIG. 3 is a star information table 208. The star information table 208 can record the result of star determination for all pixels of the serial number image. The star information table 208 is created by the control unit 10 when the power is turned on or when the shooting mode is switched. Further, the false color reduction unit 13 adds and updates the star determination result every time the serial number image is input frame by frame.

図4は、偽色低減部13のブロック図である。偽色低減部13は、連番画像が1枚ずつ入力される毎に、同時化後の画像データに対して画素毎に星情報を算出し、星情報テーブル208に星情報を追加および更新する。また、星空軌跡画像の作成に必要な全ての連番画像が入力され、合成部12によって連番画像の全フレームの画像を比較明合成した画像が出力された後、偽色低減部13は、星情報テーブル208を用いて、比較明合成後の画像データに発生した偽色信号を別の色信号で置換する。 FIG. 4 is a block diagram of the false color reduction unit 13. The false color reduction unit 13 calculates star information for each pixel with respect to the image data after simultaneousization each time a serial number image is input one by one, and adds and updates the star information to the star information table 208. .. Further, after all the serial number images necessary for creating the starry sky trajectory image are input and the composite unit 12 outputs a comparatively bright composite image of all frames of the serial number image, the false color reduction unit 13 sets the false color reduction unit 13. Using the star information table 208, the false color signal generated in the image data after the comparative bright composition is replaced with another color signal.

本実施形態では、偽色低減部13が比較明合成された星空軌跡画像に対して偽色信号の置換処理を行う。これにより、偽色の発生を抑えて、本来の星の色を再現した星空軌跡画像を得ることが可能となる。 In the present embodiment, the false color reduction unit 13 performs a false color signal replacement process on the comparatively brightly synthesized starry sky trajectory image. This makes it possible to suppress the occurrence of false colors and obtain a starry sky trajectory image that reproduces the original star color.

同時化部4は、A/D変換部3から出力されるデジタル画像信号を同時化し、同時化されたプレーン画像信号を合成部10、星判定部203、動き判定部204、およびメモリ11に出力する。 The simultaneous unit 4 simultaneousizes the digital image signals output from the A / D conversion unit 3, and outputs the simultaneous plain image signals to the synthesis unit 10, the star determination unit 203, the motion determination unit 204, and the memory 11. do.

星判定部203は、同時化部4から出力されたプレーン画像信号に対して画素毎に星情報を算出し、メモリ11に格納された星情報テーブル208に追加する。 The star determination unit 203 calculates star information for each pixel with respect to the plain image signal output from the simultaneous unit 4, and adds it to the star information table 208 stored in the memory 11.

動き判定部204は、メモリ11からnフレーム目のプレーン画像信号207aとnフレーム目のプレーン画像に関する星情報208nを読み出し、同時化部4から出力されたn+1フレーム目のプレーン画像信号および星判定部203から出力されたn+1フレーム目の星情報を用いて、星情報208nを更新する。 The motion determination unit 204 reads out the plane image signal 207a in the nth frame and the star information 208n regarding the plane image in the nth frame from the memory 11, and outputs the plane image signal in the n + 1th frame and the star determination unit in the simultaneous unit 4. The star information 208n is updated using the star information in the n + 1th frame output from 203.

合成部12は、連写撮影によって得られた連番画像信号の比較明合成処理を行う。また、全フレームの連番画像信号が入力され、比較明合成処理が終了した後で、比較明合成後の画像信号を輝度信号処理用の画像信号として現像処理部5に出力し、色信号処理用の画像信号として色信号置換部205に出力する。 The compositing unit 12 performs comparative bright compositing processing of serial number image signals obtained by continuous shooting. Further, after the serial number image signals of all frames are input and the comparative bright composition processing is completed, the image signal after the comparative bright composition is output to the development processing unit 5 as an image signal for brightness signal processing to perform color signal processing. It is output to the color signal replacement unit 205 as an image signal for use.

色信号置換部205は、合成部12から比較明合成画像が入力されたタイミングで、メモリ11から星情報テーブル208を読み出し、星情報テーブルに記載された情報を用いて、比較明合成画像に対して偽色信号を低減するための色信号置換処理を行い、色信号処理用の画像信号として現像処理部5に出力する。 The color signal replacement unit 205 reads the star information table 208 from the memory 11 at the timing when the comparative bright composite image is input from the composite unit 12, and uses the information described in the star information table to refer to the comparative bright composite image. The color signal replacement process is performed to reduce the false color signal, and the image signal is output to the development processing unit 5 as an image signal for color signal processing.

上記のように構成された撮像装置において、偽色低減処理についてさらに詳しく説明する。図6は、本実施例における偽色低減処理方法を示すフローチャートである。 The false color reduction process will be described in more detail in the image pickup apparatus configured as described above. FIG. 6 is a flowchart showing a false color reduction processing method in this embodiment.

まず、連番画像の1フレーム目の画像がA/D変換部3から出力された際のフローを図6と図4(a)を用いて説明する。図4(a)は連番画像の1フレーム目の画像が出力された際の偽色低減処理に係るブロックとデータフローを示すブロック図である。 First, the flow when the image of the first frame of the serial number image is output from the A / D conversion unit 3 will be described with reference to FIGS. 6 and 4 (a). FIG. 4A is a block diagram showing a block and a data flow related to false color reduction processing when the image of the first frame of the serial number image is output.

ステップS602では、同時化部4はA/D変換部3から出力された連番画像の1フレーム目の画像信号を同時化し、メモリ11、合成部12および星判定部203に出力する。同時化部4から出力された連番画像の1フレーム目の画像は、画像207aとしてメモリ11に保存される。 In step S602, the simultaneous unit 4 simultaneously synchronizes the image signal of the first frame of the serial number image output from the A / D conversion unit 3 and outputs it to the memory 11, the synthesis unit 12, and the star determination unit 203. The image of the first frame of the serial number image output from the simultaneous unit 4 is stored in the memory 11 as the image 207a.

ステップS603では、合成部12は入力されたデジタル画像信号に手を加えずそのまま比較明合成画像206としてメモリ11に保存する。 In step S603, the compositing unit 12 stores the input digital image signal as a comparative bright composite image 206 in the memory 11 as it is without modifying it.

ステップS604では、星判定部203が星画素判定処理を行う。星画素判定処理について図6(a)および図3を用いて詳細に説明する。 In step S604, the star determination unit 203 performs the star pixel determination process. The star pixel determination process will be described in detail with reference to FIGS. 6A and 3A.

星判定部203は、ステップS6011で同時化部4から出力された連番画像の1フレーム目の画像を読み出し、ステップS6012で星画素判定を行う。星判定部203は、例えば背景に対して十分に信号レベルが高い画素を星とみなす。 The star determination unit 203 reads out the image of the first frame of the serial number image output from the simultaneous unit 4 in step S6011, and performs star pixel determination in step S6012. The star determination unit 203 considers, for example, a pixel having a sufficiently high signal level with respect to the background as a star.

ステップS6013では、星判定部203は、星画素判定の結果を星情報テーブル208に追加する。星情報テーブル208の内容を図3に示す。星情報テーブル208は横軸が入力画像の幅、縦軸が入力画像の高さに対応しており、入力画像における各画素が星であるか否かを示すフラグが記載されている。ステップS6013では、図3(a)に示す前記連番画像における1フレーム目の星判定結果が追加される。 In step S6013, the star determination unit 203 adds the result of the star pixel determination to the star information table 208. The contents of the star information table 208 are shown in FIG. In the star information table 208, the horizontal axis corresponds to the width of the input image and the vertical axis corresponds to the height of the input image, and a flag indicating whether or not each pixel in the input image is a star is described. In step S6013, the star determination result of the first frame in the serial number image shown in FIG. 3A is added.

ステップS6014、ステップS6015およびステップS6016では、同時化部204から出力されたフレームが連番画像の1フレーム目である場合は、何も処理されずに星画素判定処理を終了する。 In step S6014, step S6015, and step S6016, if the frame output from the simultaneous unit 204 is the first frame of the serial number image, nothing is processed and the star pixel determination process is terminated.

次に、連番画像の2フレーム目の画像がA/D変換部3から出力された際のフローを図6と図4(b)を用いて説明する。図4(b)は連番画像の2フレーム目の画像が出力された際の偽色低減処理に係るブロックとデータフローを示すブロック図である。 Next, the flow when the image of the second frame of the serial number image is output from the A / D conversion unit 3 will be described with reference to FIGS. 6 and 4 (b). FIG. 4B is a block diagram showing a block and a data flow related to false color reduction processing when the image of the second frame of the serial number image is output.

ステップS602では、同時化部4はA/D変換部3から出力された連番画像の2フレーム目の画像信号を同時化し、メモリ11、合成部12、星判定部203および動き判定部204に出力する。同時化部4から出力された連番画像の2フレーム目の画像は、画像207bとしてメモリ11に保存される。 In step S602, the simultaneous unit 4 simultaneously synchronizes the image signals of the second frame of the serial number images output from the A / D conversion unit 3 with the memory 11, the compositing unit 12, the star determination unit 203, and the motion determination unit 204. Output. The second frame image of the serial number image output from the simultaneous unit 4 is stored in the memory 11 as the image 207b.

ステップS603では、合成部12は、メモリ11から読み出した比較明合成画像206と同時化部4から出力された連番画像の2フレーム目の画像を比較明合成し、比較明合成画像206としてメモリ11に保存する。 In step S603, the compositing unit 12 performs comparative bright compositing of the comparative bright composite image 206 read from the memory 11 and the second frame image of the serial number image output from the simultaneous unit 4, and stores the comparative bright composite image 206 as the comparative bright composite image 206. Save to 11.

ステップS604では、星判定部203が星画素判定処理を行う。星画素判定処理について図6(b)および図3を用いて詳細に説明する。 In step S604, the star determination unit 203 performs the star pixel determination process. The star pixel determination process will be described in detail with reference to FIGS. 6 (b) and 3.

星判定部203は、ステップS6011で同時化部4から出力された連番画像の2フレーム目の画像を読み出し、ステップS6012で星画素判定を行い、ステップS6013で星画素判定結果を星情報テーブル208に追加する。連番画像の2フレーム目の星判定結果を図3(b)に示す。 The star determination unit 203 reads out the image of the second frame of the serial number image output from the simultaneous unit 4 in step S6011, performs star pixel determination in step S6012, and determines the star pixel determination result in step S6013 in the star information table 208. Add to. The star determination result of the second frame of the serial number image is shown in FIG. 3 (b).

動き判定部204は、ステップS6014で星情報テーブル208を用いて星と判断された画素の動き判定を行い、ステップS6015で星情報テーブル208を更新する。図3(a)と図3(b)は、それぞれ連番画像の1フレーム目の画像207aと連番画像の2フレーム目の画像207bに対する星判定結果である。 The motion determination unit 204 determines the motion of the pixel determined to be a star by using the star information table 208 in step S6014, and updates the star information table 208 in step S6015. 3A and 3B are star determination results for the first frame image 207a of the serial number image and the second frame image 207b of the serial number image, respectively.

例えば、図3に示す通り、画像左上を起点(0、0)として、画素の位置を起点からの距離(横距離、縦距離)で表す場合、図3(a)における画素(1、1)の値は1であり星が存在すると判定されているが、図3(b)における同じ位置の画素(1、1)および画素(1、1)に隣接する8つ全ての画素の値も0であり星が存在しないと判定されている。もし図3(a)における画素(1、1)の信号が星ならば、連番画像の次のフレームである図3(b)では同じ位置もしくは隣接画素に移動しているはずである。したがって、いずれにも該当しない図3(a)における画素(1、1)の信号は星ではないことがわかるため、値を0として星が存在しないと判定を見直す必要がある。 For example, as shown in FIG. 3, when the position of the pixel is represented by the distance (horizontal distance, vertical distance) from the starting point with the upper left of the image as the starting point (0, 0), the pixel (1, 1) in FIG. The value of is 1 and it is determined that a star exists, but the values of the pixels (1, 1) at the same position in FIG. 3 (b) and the values of all eight pixels adjacent to the pixels (1, 1) are also 0. It is determined that there are no stars. If the signal of the pixel (1, 1) in FIG. 3 (a) is a star, it should have moved to the same position or an adjacent pixel in FIG. 3 (b), which is the next frame of the serial number image. Therefore, since it can be seen that the signals of the pixels (1, 1) in FIG. 3A, which do not correspond to any of the above, are not stars, it is necessary to set the value to 0 and review the determination that the stars do not exist.

一方、同じく値が1であり星が存在すると判定されている図3(a)における画素(1、y−2)の信号については、図3(b)における同じ位置の値も1であり星が存在すると判定されているため、判定を見直す必要がない。また、図3(a)における画素(x−2、1)の信号については、図3(b)における同じ位置(x−2,1)の値は0であるが、隣接する位置(x−1、1)の値が1であり、フレーム間で星が移動したと考えられるため、判定を見直す必要がない。 On the other hand, for the signal of the pixel (1, y-2) in FIG. 3 (a), which also has a value of 1 and is determined to have a star, the value at the same position in FIG. 3 (b) is also 1 and the star. Since it is determined that there is, there is no need to review the determination. Regarding the signal of the pixel (x-2, 1) in FIG. 3A, the value of the same position (x-2,1) in FIG. 3B is 0, but the value of the adjacent position (x−1) is 0. Since the values of 1 and 1) are 1, and it is considered that the star has moved between the frames, there is no need to review the judgment.

動き判定部204は、上述した方法で図3(a)の全画素について星判定結果を見直す。図3(a)の判定を見直した結果を図3(c)に示す。後述する色信号置換処理に必要なデータは、連番画像の全フレームを比較明合成した画像についての星判定結果のみである。よって動き判定部204は、図3(b)と図3(c)の論理和を取ってそれをメモリ11に保存する。図3(b)と図3(c)の論理和を取って作成した星情報テーブルを図3(d)に示す。 The motion determination unit 204 reviews the star determination result for all the pixels in FIG. 3A by the method described above. The result of reviewing the judgment of FIG. 3 (a) is shown in FIG. 3 (c). The data required for the color signal replacement process described later is only the star determination result for the image obtained by comparatively brightly synthesizing all the frames of the serial number image. Therefore, the motion determination unit 204 takes the logical sum of FIGS. 3 (b) and 3 (c) and stores it in the memory 11. A star information table created by ORing the logical sums of FIGS. 3 (b) and 3 (c) is shown in FIG. 3 (d).

なお、合成部12から出力された連番画像の2フレーム目の画像207bを用いて、メモリ11から読み出した連番画像の1フレーム目の画像207aの各画素に対する動き判定を行い、その結果を用いて星判定結果を更新しても良い。 Using the image 207b of the second frame of the serial number image output from the compositing unit 12, motion determination is performed for each pixel of the image 207a of the first frame of the serial number image read from the memory 11, and the result is obtained. You may use it to update the star determination result.

上述のように動き判定結果を用いて星判定結果を見直すことにより、例えば連番画像における特定のフレームにだけ発生する撮像素子起因のノイズや画素欠陥、飛行機などの被写体など、星以外の不要な信号による誤判定を回避することができる。 By reviewing the star judgment result using the motion judgment result as described above, for example, noise and pixel defects caused by the image sensor that occur only in a specific frame in the serial number image, subjects such as airplanes, etc. are unnecessary other than stars. It is possible to avoid erroneous determination by a signal.

連番画像の全てのフレームについて、ステップS601からステップS605の処理が終わった後、ステップS606では、比較明合成画像が合成部12から偽色低減部13に出力され、偽色低減部13は、色系処理用の信号に色信号置換処理を施した上で現像処理部5に出力する。輝度系処理用の信号に対しては偽色低減部13では何も処理を行わずに現像処理部5に出力する。色信号置換処理について、図6(c)、図4(c)、図7および図8を用いて詳細に説明する。 After the processing of steps S601 to S605 is completed for all the frames of the serial number image, in step S606, the comparative bright composite image is output from the composite unit 12 to the false color reduction unit 13, and the false color reduction unit 13 The signal for color system processing is subjected to color signal replacement processing and then output to the development processing unit 5. The false color reduction unit 13 outputs the signal for luminance processing to the development processing unit 5 without performing any processing. The color signal replacement process will be described in detail with reference to FIGS. 6 (c), 4 (c), 7 and 8.

図4(c)は、連番画像の総フレーム数をN+1とした時、連番画像のN+1フレーム目の画像が出力された際の偽色低減処理に係るブロックとデータフローを示すブロック図である。ステップS605までの処理によって、メモリ11には、連番画像のN+1フレーム目までの比較明合成画像206と、比較明合成画像206の全画素に対する星判定結果を示す星情報テーブルが保存されている。図7は、星空軌跡撮影モードで撮影された連番画像と本発明を適用した画像の模式図である。図7(a)、(b)、(c)は、それぞれ連番画像のkフレーム目、k+1フレーム目、k+2フレーム目の画像であり、図7(d)は連番画像の比較明合成結果である。本実施例では、図7(d)に示すような画面左上から画面右下に伸びる1画素幅の星空軌跡が入力される。図8は、図7(d)の比較明合成画像に対応する星情報テーブルである。 FIG. 4C is a block diagram showing a block and a data flow related to false color reduction processing when the N + 1th frame image of the serial number image is output when the total number of frames of the serial number image is N + 1. be. By the processing up to step S605, the memory 11 stores the comparative bright composite image 206 up to the N + 1th frame of the serial number image and the star information table showing the star determination results for all the pixels of the comparative bright composite image 206. .. FIG. 7 is a schematic view of serial number images taken in the starry sky trajectory shooting mode and images to which the present invention is applied. 7 (a), (b), and (c) are images of the k-th frame, k + 1-th frame, and k + 2nd frame of the serial number image, respectively, and FIG. 7 (d) is a comparative bright composition result of the serial number image. Is. In this embodiment, a starry sky locus with a pixel width extending from the upper left of the screen to the lower right of the screen as shown in FIG. 7D is input. FIG. 8 is a star information table corresponding to the comparative bright composite image of FIG. 7 (d).

ステップS6021では、色信号変換部205は、メモリ11から星情報テーブル208を読み出し、星判定された画素を探す。例えば、画像左上を起点(0、0)とし、画像右下にかけて一画素ずつ探索しても良い。星判定された画素が見つかった場合はステップS6022に進む。全ての画素を探索しても星判定された画素が見つからなかった場合は、ステップS6026に進む。 In step S6021, the color signal conversion unit 205 reads the star information table 208 from the memory 11 and searches for the star-determined pixel. For example, the upper left corner of the image may be the starting point (0, 0), and the search may be performed pixel by pixel toward the lower right corner of the image. If a star-determined pixel is found, the process proceeds to step S6022. If no star-determined pixel is found even after searching all the pixels, the process proceeds to step S6026.

ステップS6022では、色信号変換部205は、ステップS6021で見つかった星判定された画素と同一の星に属する星画素をグルーピングする。グルーピングは、公知の輪郭追跡手法を使って行えば良い。 In step S6022, the color signal conversion unit 205 groups star pixels belonging to the same star as the star-determined pixel found in step S6021. Grouping may be performed using a known contour tracking method.

色信号変換部205は、合成部12から出力されたBayer形式の比較明合成画像をRGBプレーンに分解する。RGBプレーンに分解された比較明合成画像を図7(e)に示す。本実施例における星空軌跡は1画素幅であるため、R画素とB画素を2行おきにしか配置できないBayer配列の原理上、RGBプレーンに分解すると、星空軌跡が通った画素においてRまたはBのいずれかの情報が必ず欠落してしまう。色信号変換部205は、次にRGBプレーン画像に色補完処理を施す。色補完処理は公知の手法を用いれば良いが、本実施例では、例えばGプレーンについては0挿入後に縦横エッジ判別結果を用いた適応補完を行い、RプレーンとBプレーンについては0挿入後に縦横の隣接画素の平均値を用いている。 The color signal conversion unit 205 decomposes the Bayer-format comparative bright composite image output from the composite unit 12 into RGB planes. A comparatively bright composite image decomposed into RGB planes is shown in FIG. 7 (e). Since the starry sky locus in this embodiment has a pixel width, R pixels and B pixels can be arranged only every two rows. Therefore, when decomposed into RGB planes, R or B pixels in the pixels through which the starry sky locus passes are Any information will always be missing. The color signal conversion unit 205 then performs color complement processing on the RGB plain image. A known method may be used for the color complement processing, but in this embodiment, for example, adaptive complementation is performed using the vertical and horizontal edge discrimination results after 0 insertion for the G plane, and vertical and horizontal after 0 insertion for the R plane and B plane. The average value of adjacent pixels is used.

色補完後の比較明合成画像を図7(f)に示す。RGBプレーンに分解した時点で欠落したRまたはBのいずれかの情報は色補完後も欠落したままであり、このまま現像すると本来の星の色とは異なる偽色が発生してしまう。そこで本実施例では、前記グルーピングされた同一の星に属する星画素については、そのRプレーンおよびBプレーンの代表値を選択し、選択された代表値を用いて欠落したRまたはBの情報を置換する。 A comparatively bright composite image after color complementation is shown in FIG. 7 (f). The information of either R or B that was missing at the time of decomposition into the RGB plane remains missing even after color complementation, and if the development is performed as it is, a false color different from the original star color will be generated. Therefore, in this embodiment, for the star pixels belonging to the same grouped star, the representative values of the R plane and the B plane are selected, and the missing R or B information is replaced by using the selected representative values. do.

ステップS6023では、色信号変換部205は、前記グルーピングされた同一の星に属する星画素の色代表値を選択する。Rプレーンの色代表値を選択する場合は、図7(f)に示す色補完後のRプレーンを図8に示す星情報テーブル208でマスクし、抽出されたR画素の最大値をRプレーンの色代表値R(xmax, ymax)とする。本実施例では図7(f)中に丸で囲ったR画素の値をRプレーンの色代表値とする。Bプレーンも同様に図7(f)に示す色補完後のBプレーンを図8に示す星情報テーブル208でマスクし、抽出されたB画素の最大値をBプレーンの色代表値B(xmax, ymax)とする。本実施例では図7(f)中に丸で囲ったB画素の値をBプレーンの色代表値とする。 In step S6023, the color signal conversion unit 205 selects the color representative values of the star pixels belonging to the same grouped stars. When selecting the color representative value of the R plane, the R plane after color complementation shown in FIG. 7 (f) is masked by the star information table 208 shown in FIG. 8, and the maximum value of the extracted R pixels is set to the maximum value of the R plane. Let the color representative value R (xmax, ymax) be used. In this embodiment, the value of the R pixel circled in FIG. 7 (f) is used as the color representative value of the R plane. Similarly, for the B plane, the B plane after color complementation shown in FIG. 7 (f) is masked by the star information table 208 shown in FIG. 8, and the maximum value of the extracted B pixels is set as the color representative value B (xmax, xmax, ymax). In this embodiment, the value of the B pixel circled in FIG. 7 (f) is used as the color representative value of the B plane.

ステップS6024では、色信号変換部205は、前記色代表値を用いてRプレーンとBプレーンの置換色情報を算出し、星画素のRプレーンとBプレーンの情報を置き換える。Rプレーンの置換色情報を算出する際は、図7(f)に示す色補完後のRプレーンを図8に示す星情報テーブル208でマスクする。同一の星に属する星画素として抽出されたR画素について、色信号変換部205は、下記の式2を用いて、色代表値R(xmax, ymax)を色代表値と同じ位置のGプレーン信号G(xmax, ymax)のレベルで正規化することで置換色情報R(x、y)を算出し、この値でR画素の値を置き換える。
R(x,y) = R(xmax,ymax) × G(x,y) / G(xmax,ymax)・・・式2
In step S6024, the color signal conversion unit 205 calculates the replacement color information of the R plane and the B plane using the color representative value, and replaces the information of the R plane and the B plane of the star pixel. When calculating the replacement color information of the R plane, the R plane after color complementation shown in FIG. 7 (f) is masked by the star information table 208 shown in FIG. For the R pixel extracted as a star pixel belonging to the same star, the color signal conversion unit 205 uses the following equation 2 to set the color representative value R (xmax, ymax) to the G plane signal at the same position as the color representative value. The replacement color information R (x, y) is calculated by normalizing at the level of G (xmax, ymax), and the value of the R pixel is replaced with this value.
R (x, y) = R (xmax, ymax) × G (x, y) / G (xmax, ymax) ・ ・ ・ Equation 2

Bプレーンの置換色情報を算出する際は、図7(f)に示す色補完後のBプレーンを図8に示す星情報テーブル208でマスクする。同一の星に属する星画素として抽出されたB画素について、色信号変換部205は、下記の式3を用いて、色代表値B(xmax, ymax)を色代表値と同じ位置のGプレーン信号G(xmax, ymax)のレベルで正規化することで置換色情報B(x、y)を算出し、この値でB画素の値を置き換える。
B(x,y) = B(xmax,ymax) × G(x,y) / G(xmax,ymax)・・・式3
When calculating the replacement color information of the B plane, the B plane after color complementation shown in FIG. 7 (f) is masked by the star information table 208 shown in FIG. For the B pixel extracted as a star pixel belonging to the same star, the color signal conversion unit 205 uses the following formula 3 to set the color representative value B (xmax, ymax) to the G plane signal at the same position as the color representative value. The replacement color information B (x, y) is calculated by normalizing at the level of G (xmax, ymax), and the value of the B pixel is replaced with this value.
B (x, y) = B (xmax, ymax) × G (x, y) / G (xmax, ymax) ・ ・ ・ Equation 3

R画素とB画素の画素値を置換色情報で置き換えた結果を図7(g)に示す。色補完後の時点で欠落していたRまたはBのいずれかの情報が補われており、星空軌跡が通った場所についてはRGB全ての情報が存在している。これを現像した結果を図7(h)に示す。RGB全ての情報が存在しているため、偽色の発生が抑えられて星空軌跡の本来の色が再現される。 FIG. 7 (g) shows the result of replacing the pixel values of the R pixel and the B pixel with the replacement color information. The information of either R or B, which was missing at the time after color complementation, is supplemented, and all RGB information exists for the place where the starry sky trajectory passed. The result of developing this is shown in FIG. 7 (h). Since all the information of RGB exists, the generation of false color is suppressed and the original color of the starry sky trajectory is reproduced.

ステップS6025では、色信号変換部205は、S6022でグルーピングされた画素の星判定を0にするよう、星情報テーブル208を編集する。これによって、ある星に属する画素の色情報が、誤って別の星の色情報に使われることを防ぐ。 In step S6025, the color signal conversion unit 205 edits the star information table 208 so that the star determination of the pixels grouped in S6022 is set to 0. This prevents the color information of the pixels belonging to one star from being mistakenly used for the color information of another star.

ステップS6026では、色信号変換部205は、星判定された画素の探索が全画素に対して行われたか、つまり星情報テーブル208における全画素の値が0であるかを確認する。まだ探索が終了していない画素が存在する場合は、S6021に戻る。全画素に対して探索が終了した場合、色信号変換部205は、一連の偽色低減処理済の画像を現像処理部5に出力する。 In step S6026, the color signal conversion unit 205 confirms whether the search for the star-determined pixels has been performed for all the pixels, that is, whether the values of all the pixels in the star information table 208 are 0. If there is a pixel for which the search has not been completed, the process returns to S6021. When the search for all the pixels is completed, the color signal conversion unit 205 outputs a series of false color reduction processed images to the development processing unit 5.

本実施例では星空軌跡を撮影する場合を例にして説明を行ったが、星空軌跡以外でも応用は可能である。例えば、夜景撮影で車のライトの軌跡を撮影する場合や、動きのある被写体の撮影等では有効である。 In this embodiment, the case of photographing the starry sky trajectory has been described as an example, but it can be applied to other than the starry sky trajectory. For example, it is effective when shooting the trajectory of a car light in night view shooting, shooting a moving subject, and the like.

なお、本発明は、上記各実施形態に例示したものに限定されるものではなく、本発明の要旨を逸脱しない範囲において適宜変更可能である。 The present invention is not limited to those illustrated in each of the above embodiments, and can be appropriately modified without departing from the gist of the present invention.

(その他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above-described embodiment to a system or device via a network or storage medium, and one or more processors in the computer of the system or device reads and executes the program. It can also be realized by the processing to be performed. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

1 レンズユニット
2 撮像素子
3 A/D変換部
4 同時化部
5 現像処理部
6 出力処理部
7 出力部
9 UI部
10 制御部
12 合成部
13 偽色低減部
203 星判定部
205 色信号置換部
1 Lens unit 2 Image sensor 3 A / D conversion unit 4 Simultaneous unit 5 Development processing unit 6 Output processing unit 7 Output unit 9 UI unit 10 Control unit 12 Synthesis unit 13 False color reduction unit 203 Star determination unit 205 Color signal replacement unit

Claims (6)

連写撮影して連番画像を得る撮像部と、
前記連番画像を合成して星空軌跡画像を得る合成部と、
前記連番画像を用いて前記星空軌跡画像における星画素を判定し、前記星画素に対して同一の星に属する画素をグルーピングする星判定部と、
前記同一の星に属する星画素について、プレーン毎に同一の星に属する星画素の色情報を用いて、置きかえに用いる置換色情報を算出し、前記同一の星に属する星画素について、前記置換色情報を用いて対象画素の色情報を置き換える色信号置換部と、
を備え、
前記色信号置換部は、下記の式1を用いて、色代表値Col(xmax, ymax)を色代表値と同じ位置のOG(xmax, ymax)のレベルで正規化することによって、置換色情報Col(x,y)を算出することを特徴とする撮像装置。
Col(x,y) = Col(xmax,ymax) × OG(x,y) / OG(xmax,ymax)・・・式1
An imaging unit that takes continuous shots and obtains serial number images,
A compositing unit that synthesizes the serial number images to obtain a starry sky trajectory image,
A star determination unit that determines star pixels in the starry sky trajectory image using the serial number image and groups pixels belonging to the same star with respect to the star pixels.
For the star pixels belonging to the same star, the replacement color information used for replacement is calculated by using the color information of the star pixels belonging to the same star for each plane, and the replacement color is calculated for the star pixels belonging to the same star. A color signal replacement unit that replaces the color information of the target pixel using information,
With
The color signal replacement unit normalizes the color representative value Col (xmax, ymax) at the level of OG (xmax, ymax) at the same position as the color representative value using the following formula 1, thereby performing replacement color information. An imaging device characterized by calculating Col (x, y).
Col (x, y) = Col (xmax, ymax) × OG (x, y) / OG (xmax, ymax) ・ ・ ・ Equation 1
前記星判定部は、背景に対して十分に信号レベルが高く、隣接フレーム間で同じ場所または隣接し、フレーム間で画素面積が大きく変わらない画素を星画素と判定することを特徴とする請求項1に記載の撮像装置。 The claim is characterized in that the star determination unit determines as a star pixel a pixel having a sufficiently high signal level with respect to the background, adjacent frames at the same location or adjacent to each other, and the pixel area does not change significantly between frames. The imaging apparatus according to 1. 前記色信号置換部は、置き換え対象画素と同一の星に属する星画素の中で最大の画素値を置換色情報とすることを特徴とする請求項1に記載の撮像装置。 The imaging device according to claim 1, wherein the color signal replacement unit uses the largest pixel value among star pixels belonging to the same star as the pixel to be replaced as replacement color information. 前記色信号置換部は、置き換え対象画素と同一の星に属する星画素の中で最大の画素値を複数個取得し、そのメディアン値を置換色情報とすることを特徴とする請求項1に記載の撮像装置。 The first aspect of claim 1, wherein the color signal replacement unit acquires a plurality of maximum pixel values among star pixels belonging to the same star as the pixel to be replaced, and uses the median value as replacement color information. Imaging device. 前記色信号置換部は、置き換え対象画素と同一の星に属する星画素の中で閾値を超える画素値を複数個取得し、置き換え対象画素との距離で重みづけした値を置換色情報とすることを特徴とする請求項1に記載の撮像装置。 The color signal replacement unit acquires a plurality of pixel values exceeding the threshold value among the star pixels belonging to the same star as the replacement target pixel, and uses the value weighted by the distance from the replacement target pixel as the replacement color information. The imaging apparatus according to claim 1. 連番画像を得る入力手段と、
前記連番画像を合成して星空軌跡画像を得る合成手段と、
前記連番画像を用いて前記星空軌跡画像における星画素を判定し、前記星画素に対して同一の星に属する画素をグルーピングする星判定手段と、
前記同一の星に属する星画素について、プレーン毎に同一の星に属する星画素の色情報を用いて、置きかえに用いる置換色情報を算出し、前記同一の星に属する星画素について、前記置換色情報を用いて対象画素の色情報を置き換える色信号置換手段と、
を有し、
前記色信号置換手段は、下記の式1を用いて、色代表値Col(xmax, ymax)を色代表値と同じ位置のOG(xmax, ymax)のレベルで正規化することによって、置換色情報Col(x,y)を算出することを特徴とする画像処理方法。
Col(x,y) = Col(xmax,ymax) × OG(x,y) / OG(xmax,ymax)・・・式1



Input means to obtain serial number images and
A compositing means for synthesizing the serial number images to obtain a starry sky trajectory image,
A star determination means for determining star pixels in the starry sky trajectory image using the serial number image and grouping pixels belonging to the same star with respect to the star pixels.
For the star pixels belonging to the same star, the replacement color information used for replacement is calculated by using the color information of the star pixels belonging to the same star for each plane, and the replacement color is calculated for the star pixels belonging to the same star. A color signal replacement means that replaces the color information of the target pixel using information,
Have,
The color signal replacement means uses the following formula 1 to normalize the color representative value Col (xmax, ymax) at the level of OG (xmax, ymax) at the same position as the color representative value, thereby causing the replacement color information. An image processing method characterized by calculating Col (x, y).
Col (x, y) = Col (xmax, ymax) × OG (x, y) / OG (xmax, ymax) ・ ・ ・ Equation 1



JP2020051847A 2020-03-23 2020-03-23 Imaging apparatus and image processing method Pending JP2021150925A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020051847A JP2021150925A (en) 2020-03-23 2020-03-23 Imaging apparatus and image processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020051847A JP2021150925A (en) 2020-03-23 2020-03-23 Imaging apparatus and image processing method

Publications (1)

Publication Number Publication Date
JP2021150925A true JP2021150925A (en) 2021-09-27

Family

ID=77851406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020051847A Pending JP2021150925A (en) 2020-03-23 2020-03-23 Imaging apparatus and image processing method

Country Status (1)

Country Link
JP (1) JP2021150925A (en)

Similar Documents

Publication Publication Date Title
JP4315971B2 (en) Imaging device
JP4973719B2 (en) Imaging apparatus, imaging method, and imaging program
WO2021047345A1 (en) Image noise reduction method and apparatus, and storage medium and electronic device
JP4668956B2 (en) Image processing apparatus and method, and program
JP2014120844A (en) Image processing apparatus and imaging apparatus
JP6906947B2 (en) Image processing equipment, imaging equipment, image processing methods and computer programs
JP2004336106A (en) Image processing apparatus, image processing method, and imaging apparatus
JP2002354498A (en) Electronic camera
JP2015012480A (en) Image processing apparatus and image processing method
CN106878624A (en) Camera head and image capture method
KR20110089665A (en) Digital image process apparatus, method for image processing and storage medium thereof
JP2008099192A (en) Imaging apparatus, and program thereof
KR20120034412A (en) Digital photographing apparatus and control method thereof
CN105993164B (en) Solid state image sensor, electronic equipment and auto focusing method
JP2015136054A (en) Image synthesizing apparatus, image synthesizing method, and program
JP2004153691A (en) Image pickup device, image pickup method and program
JP4167200B2 (en) Signal processing apparatus, signal processing method, and digital camera
US20110187903A1 (en) Digital photographing apparatus for correcting image distortion and image distortion correcting method thereof
JP5446955B2 (en) Imaging device
JP2007043364A (en) Imaging device
JP2017046187A (en) Imaging apparatus, image processing apparatus, and image processing method
JP5822606B2 (en) Image processing apparatus and image processing apparatus control method
JP5160655B2 (en) Image processing apparatus and method, and program
JP2021150925A (en) Imaging apparatus and image processing method
JP2009182832A (en) Photographing device and through image displaying method