JP2015053557A - Imaging apparatus, method for controlling the same, program, and storage medium - Google Patents

Imaging apparatus, method for controlling the same, program, and storage medium Download PDF

Info

Publication number
JP2015053557A
JP2015053557A JP2013184334A JP2013184334A JP2015053557A JP 2015053557 A JP2015053557 A JP 2015053557A JP 2013184334 A JP2013184334 A JP 2013184334A JP 2013184334 A JP2013184334 A JP 2013184334A JP 2015053557 A JP2015053557 A JP 2015053557A
Authority
JP
Japan
Prior art keywords
image data
memory
image
reading
imaging apparatus
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
JP2013184334A
Other languages
Japanese (ja)
Inventor
敬明 横井
Takaaki Yokoi
敬明 横井
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 JP2013184334A priority Critical patent/JP2015053557A/en
Publication of JP2015053557A publication Critical patent/JP2015053557A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Studio Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently perform access to a memory, when reading image data from the memory and correcting distortion generated in an optical system in the image data.SOLUTION: An imaging apparatus includes an imaging element photoelectrically converting an object image formed through the optical system, signal processing means for processing an image signal read from the imaging element, to generate the image data, the memory storing the signal-processed image data, distortion correction means for reading the image data from the memory, to correct the distortion generated in the optical system in the image data, and control means for controlling the writing and reading of the image data into and from the memory. The control means controls the writing of the image data into the memory, so that the pixel of an optical center in the image data is stored in the top address of an access unit with respect to the memory.

Description

本発明は、光学系で発生する歪を補正する撮像装置に関する。   The present invention relates to an imaging apparatus that corrects distortion generated in an optical system.

近年、半導体プロセスの微細化に伴い、システム制御用のCPUと画像処理回路を搭載したシステムLSIが開発されており、デジタルスチルカメラやビデオカメラなどの撮像装置でも用いられている。このようなシステムLSIを使用したカメラにおいては、近年、取り扱う画像データのデータ量が増加し、画像処理のためのメモリの帯域も増加している。そのため、メモリへのデータの転送効率を向上させる技術が各種提案されている(例えば、特許文献1参照)。また、光学系による画像の歪みをシステムLSIにより補正する技術も提案されている。   In recent years, with the miniaturization of semiconductor processes, system LSIs equipped with a CPU for system control and an image processing circuit have been developed, and are also used in imaging devices such as digital still cameras and video cameras. In a camera using such a system LSI, the amount of image data to be handled has increased in recent years, and the memory bandwidth for image processing has also increased. For this reason, various techniques for improving the transfer efficiency of data to the memory have been proposed (see, for example, Patent Document 1). In addition, a technique for correcting image distortion caused by an optical system using a system LSI has also been proposed.

特開2008−005084号公報JP 2008-005084 A

光学系による画像の歪みをシステムLSIにより補正しようとした場合、メモリに対して効率よくアクセスすることが必要である。   When an image distortion caused by an optical system is to be corrected by the system LSI, it is necessary to efficiently access the memory.

本発明は、メモリから画像データを読み出して、画像データにおいて光学系で発生する歪みを補正する際に、メモリへのアクセスを効率的に行えるようにすることを目的とする。   An object of the present invention is to make it possible to efficiently access a memory when image data is read from the memory and distortion generated in an optical system in the image data is corrected.

上記課題を解決し、目的を達成するために、本発明の撮像装置は、光学系を介して結像された被写体像を光電変換する撮像素子と、前記撮像素子から読み出される画像信号を処理して画像データを生成する信号処理手段と、前記信号処理された画像データを記憶するメモリと、前記メモリから画像データを読み出して、前記画像データにおいて前記光学系で発生する歪みを補正する歪補正手段と、前記メモリに対する画像データの書き込みおよび読み出しを制御する制御手段と、を備え、前記制御手段は、前記画像データにおける光学中心の画素が前記メモリに対するアクセス単位の先頭のアドレスに記憶されるように前記メモリへの画像データの書き込みを制御する。   In order to solve the above problems and achieve the object, an imaging apparatus of the present invention processes an image sensor that photoelectrically converts a subject image formed through an optical system, and an image signal read from the image sensor. A signal processing unit for generating image data, a memory for storing the signal processed image data, and a distortion correction unit for reading out the image data from the memory and correcting distortion generated in the optical system in the image data And control means for controlling writing and reading of the image data to and from the memory, wherein the control means stores the optical center pixel in the image data at the head address of the access unit to the memory. The writing of image data to the memory is controlled.

本発明によれば、メモリから画像データを読み出して、画像データにおいて光学系で発生する歪みを補正する際に、メモリへのアクセスを効率的に行うことができる。   According to the present invention, when image data is read from the memory and distortion occurring in the optical system in the image data is corrected, the memory can be accessed efficiently.

実施形態1の装置構成を示すブロック図。FIG. 2 is a block diagram illustrating a device configuration according to the first embodiment. 画像の光学中心の位置とメモリから読み出す画像との関係を示す図。The figure which shows the relationship between the position of the optical center of an image, and the image read from memory. 実施形態2の手振れ補正方法を説明する図。FIG. 9 is a diagram for explaining a camera shake correction method according to the second embodiment. 実施形態2の装置構成を示すブロック図。FIG. 3 is a block diagram showing a device configuration of a second embodiment. 歪の影響による結像位置の変化について説明する図。The figure explaining the change of the imaging position by the influence of distortion.

以下に、本発明を実施するための形態について詳細に説明する。尚、以下に説明する実施の形態は、本発明を実現するための一例であり、本発明が適用される装置の構成や各種条件によって適宜修正又は変更されるべきものであり、本発明は以下の実施の形態に限定されるものではない。また、後述する各実施形態の一部を適宜組み合わせて構成しても良い。   Hereinafter, embodiments for carrying out the present invention will be described in detail. The embodiment described below is an example for realizing the present invention, and should be appropriately modified or changed according to the configuration and various conditions of the apparatus to which the present invention is applied. It is not limited to the embodiment. Moreover, you may comprise combining suitably one part of each embodiment mentioned later.

[実施形態1]以下、本発明の撮像装置を、例えば、デジタルスチルカメラやデジタルビデオカメラ(以下、カメラ)に適用した実施形態について説明する。   [Embodiment 1] An embodiment in which the imaging apparatus of the present invention is applied to, for example, a digital still camera or a digital video camera (hereinafter referred to as a camera) will be described below.

<概要の説明>本実施形態のカメラは、後述する現像処理部106、メモリコントローラ107、CPU108、歪補正部110、および符号化部111が一つの半導体チップに組み込まれたシステムLSIとして構成されている。この場合、システムLSIの各回路からメモリ109に対して多数のアクセスがあるため、アクセスの競合が起きる。このため、システムLSI内部の各回路とメモリコントローラ107の間のローカルバスに対してメモリコントローラ107とメモリ109のメモリバスを広帯域化し、アクセスが競合しても内部の処理が中断しないように構成される。しかし、メモリバスを広帯域とした場合は、最小のアクセス単位がローカルバスに対して大きくなるため、メモリ109へのアクセスの仕方によっては帯域を無駄に消費する場合がある。   <Overview> The camera of this embodiment is configured as a system LSI in which a development processing unit 106, a memory controller 107, a CPU 108, a distortion correction unit 110, and an encoding unit 111, which will be described later, are incorporated in one semiconductor chip. Yes. In this case, since there are a large number of accesses to the memory 109 from each circuit of the system LSI, an access conflict occurs. Therefore, the memory buses of the memory controller 107 and the memory 109 are widened with respect to the local bus between each circuit in the system LSI and the memory controller 107, and the internal processing is not interrupted even if access conflicts. The However, when the memory bus has a wide bandwidth, the minimum access unit becomes larger than that of the local bus, so that the bandwidth may be wasted depending on how the memory 109 is accessed.

これに対して、光学系で発生する歪を信号処理で補正する方法がある。以下、図5を参照して、歪の影響による結像位置の変化について説明する。   On the other hand, there is a method of correcting distortion generated in the optical system by signal processing. Hereinafter, with reference to FIG. 5, the change in the imaging position due to the influence of distortion will be described.

図5において、点線の矩形510は実際の被写体像、実線の矩形520は歪の影響を受けて撮像素子に結像された被写体像をそれぞれ示している。点線の矩形510で示した被写体像の4隅の画素を、光学中心の画素500を実線の●、時計周りに点線の○511、512、513で左下、左上、右下の画素を示す。実線の矩形520で示した歪の影響を受けた被写体像の画素を実線の○521、522、523で左下、左上、右下の画素示す。ここで、光学中心の画素500は歪の影響を受けないので同じ位置となる。歪の影響は光学中心からの距離に比例するため、距離が遠い点線の○512の画素が最も影響を受ける。また、光学中心に対してX軸、Y軸上の画素511、513は歪の影響を受けてもX軸、Y軸上に結像される。   In FIG. 5, a dotted-line rectangle 510 indicates an actual subject image, and a solid-line rectangle 520 indicates a subject image formed on the image sensor due to the influence of distortion. Pixels at the four corners of the subject image indicated by the dotted rectangle 510 are shown as solid lines ● for the optical center pixel 500, and dots 511, 512, and 513 in the clockwise direction as lower left, upper left, and lower right pixels. Pixels of the subject image affected by the distortion indicated by the solid line rectangle 520 are indicated by the solid line circles 521, 522, and 523 at the lower left, upper left, and lower right pixels. Here, the optical center pixel 500 is not affected by the distortion, and thus is at the same position. Since the influence of the distortion is proportional to the distance from the optical center, the dotted line ◯ 512 pixel that is far away is most affected. Further, the pixels 511 and 513 on the X axis and Y axis with respect to the optical center are imaged on the X axis and Y axis even if they are affected by distortion.

一方、上述したように歪の影響を受けた画像を処理する場合は光学中心の画素のアドレスによって読み出し時のアクセス効率が変化するため、画像を分割して歪補正を行う方法がある。以下、図2を参照して、画像を分割して歪補正を行う方法について説明する。   On the other hand, when processing an image affected by distortion as described above, there is a method of correcting distortion by dividing an image because the access efficiency at the time of reading varies depending on the address of the pixel at the optical center. Hereinafter, a method for correcting distortion by dividing an image will be described with reference to FIG.

図2は歪補正を行う画像の光学中心の位置とメモリ109から読み出す画像との関係を示しており、光学中心の画素位置を●、メモリ109のアクセス単位の境界を点線で示している。図2(a)は実際の被写体像であり、説明の便宜のため格子状の模様を付している。図2(b)は歪の影響を受けて撮像素子に結像された被写体像である。歪の影響は光学中心からの距離に比例するので被写体像の4隅が最も影響を受けている。ここで、図2(a)に示すように画像を格子状に複数の矩形に分割し、矩形ごとに補正前の画像を歪補正する場合の、メモリ109からの画像データの読み出し方法について、光学中心200を中心とした4つの矩形201〜204を用いて説明する。図2(c)と図2(d)はそれぞれ、メモリ109に記憶された被写体像のデータの記憶位置(アドレス)を示している。図2(c)は、光学中心のデータがメモリ109のアクセス単位の境界となるアドレスとは異なるアドレスに記憶された場合の説明図である。メモリ109に保持されている画像データは、メモリコントローラ107により決められたデータ量(ビット数)のアクセス単位で読み出される。歪補正を行う際には補正に必要な矩形範囲をすべて読み出す必要がある。つまり、矩形201、203の画像データを読み出すためには、アドレスx1からx3までの領域にアクセスする必要があり、また、矩形202、204の画像データを読み出すためには、アドレスx2からx4までの領域にアクセスする必要がある。   FIG. 2 shows the relationship between the position of the optical center of the image on which distortion correction is performed and the image read from the memory 109. The pixel position of the optical center is indicated by ● and the boundary of the access unit of the memory 109 is indicated by a dotted line. FIG. 2A shows an actual subject image, and a lattice pattern is given for convenience of explanation. FIG. 2B shows a subject image formed on the image sensor under the influence of distortion. Since the influence of distortion is proportional to the distance from the optical center, the four corners of the subject image are most affected. Here, as shown in FIG. 2A, an image is read out from the memory 109 in a case where an image is divided into a plurality of rectangles in a grid pattern, and the image before correction is corrected for each rectangle. A description will be given using four rectangles 201 to 204 with the center 200 as the center. FIG. 2C and FIG. 2D respectively show storage positions (addresses) of subject image data stored in the memory 109. FIG. 2C is an explanatory diagram in a case where the optical center data is stored at an address different from the address serving as the boundary of the access unit of the memory 109. The image data held in the memory 109 is read in an access unit having a data amount (number of bits) determined by the memory controller 107. When performing distortion correction, it is necessary to read out all rectangular areas necessary for correction. That is, in order to read out the image data of the rectangles 201 and 203, it is necessary to access the area from the address x1 to x3, and in order to read out the image data of the rectangles 202 and 204, from the address x2 to x4 Need to access the area.

次に、図2(d)を参照して、光学中心のデータがメモリ109のアクセス単位の境界となるアドレスに記憶された場合について説明する。図2(d)では、矩形201、203の画像データを読み出すためには、アドレスx1からx2までの領域にアクセスし、矩形202、204の画像データを読み出すためには、アドレスx2からx3までの領域にアクセスすれば良い。このように、メモリ109に対する画像データの記憶アドレスによって、歪み補正を行うために画像データをメモリ109から読み出す際のアクセス効率が変化する。   Next, with reference to FIG. 2D, a case where optical center data is stored at an address that is a boundary between access units in the memory 109 will be described. In FIG. 2D, in order to read the image data of the rectangles 201 and 203, the area from the address x1 to x2 is accessed, and in order to read the image data of the rectangles 202 and 204, the address x2 to x3 is read. What is necessary is just to access an area. As described above, the access efficiency at the time of reading image data from the memory 109 in order to perform distortion correction varies depending on the storage address of the image data in the memory 109.

そして、本実施形態では、画像データをメモリ109に書き込む際にメモリ109のアクセス単位に合わせて画像データを書き込むアドレスを制御することで、読み出し時のアクセス効率の向上を図っている。   In this embodiment, when the image data is written in the memory 109, the address at which the image data is written is controlled in accordance with the access unit of the memory 109, thereby improving the access efficiency at the time of reading.

<装置構成>図1を参照して、本実施形態のカメラの構成及び機能について説明する。   <Apparatus Configuration> With reference to FIG. 1, the configuration and functions of the camera of this embodiment will be described.

図1において、固定レンズ101および絞り102を経て入射する被写体の光像は、フォーカスレンズ103により焦点距離が調整されて、撮像素子104の撮像面に結像される。絞り102は、被写体の光像の入射光量を調整する。撮像素子104はCCDやCMOSなどのイメージセンサであり、フォーカスレンズ103により結像された被写体像を光電変換する。   In FIG. 1, an optical image of a subject incident through the fixed lens 101 and the diaphragm 102 is focused on the imaging surface of the image sensor 104 with the focal length adjusted by the focus lens 103. The diaphragm 102 adjusts the amount of incident light of the optical image of the subject. The image sensor 104 is an image sensor such as a CCD or CMOS, and photoelectrically converts a subject image formed by the focus lens 103.

AFE(アナログフロントエンド)105は、撮像素子104から出力されるアナログ画素信号から信号レベルを取り出すためのCDS(相関二重サンプリング)回路、並びにアナログ画素信号をデジタル信号に変換するA/D変換部を含むアナログ信号処理回路である。AFE105は、レンズの収差を補正したり、撮像素子104の欠陥画素信号を補正したり、映像信号を電気的に増幅させる。   An AFE (analog front end) 105 includes a CDS (correlated double sampling) circuit for extracting a signal level from an analog pixel signal output from the image sensor 104, and an A / D converter that converts the analog pixel signal into a digital signal. Is an analog signal processing circuit. The AFE 105 corrects lens aberrations, corrects defective pixel signals of the image sensor 104, and electrically amplifies video signals.

AFE105で処理されたデジタル画像信号は、現像処理部106へ出力されてアパーチャ補正、ガンマ補正、及びホワイトバランス補正などの現像処理が施され、生成された画像データはメモリコントローラ107に出力される。   The digital image signal processed by the AFE 105 is output to the development processing unit 106 and subjected to development processing such as aperture correction, gamma correction, and white balance correction, and the generated image data is output to the memory controller 107.

CPU108は、ファームウェアのプログラムなどに従って装置全体の動作を制御する。システム制御用のCPU108は、特に、予め登録されているレンズの歪情報に応じて、歪補正パラメータと光学中心の位置情報をメモリコントローラ107と歪補正部110へ出力する。   The CPU 108 controls the operation of the entire apparatus according to a firmware program or the like. In particular, the system control CPU 108 outputs distortion correction parameters and optical center position information to the memory controller 107 and the distortion correction unit 110 in accordance with lens distortion information registered in advance.

メモリ109はSDRAM等の半導体メモリを有し、現像処理部106で生成された画像データや、その他のデータを一時的に保持する。メモリ109へのアクセスはメモリコントローラ107により制御される。歪補正部110で歪補正を行うためにメモリコントローラ107により画像データの書き込みおよび読み出しが制御される。   The memory 109 has a semiconductor memory such as SDRAM, and temporarily holds image data generated by the development processing unit 106 and other data. Access to the memory 109 is controlled by the memory controller 107. In order to perform distortion correction by the distortion correction unit 110, writing and reading of image data is controlled by the memory controller 107.

メモリコントローラ107は、メモリ109に対し、所定のデータ量(ビット数)を単位として、データの書き込み及び読み出しを行う。メモリコントローラ107は、図2(d)を用いて説明したように、歪補正を行うためにメモリ109から読み出す画像データの光学中心の画素200がメモリ109の最小アクセス単位の先頭のアドレスに記憶されるようにメモリ109への書き込みアドレスを制御する。   The memory controller 107 writes and reads data to and from the memory 109 in units of a predetermined amount of data (number of bits). As described with reference to FIG. 2D, the memory controller 107 stores the optical center pixel 200 of the image data read from the memory 109 to perform distortion correction at the head address of the minimum access unit of the memory 109. Thus, the write address to the memory 109 is controlled.

また、1画面の画像データの各画素のデータを、メモリ109において、画面内の各画素の位置に対応したアドレスに記憶するように、メモリコントローラ107によりメモリ109の書き込みアドレスを制御する。   Further, the memory controller 107 controls the write address of the memory 109 so that the data of each pixel of the image data of one screen is stored in the memory 109 at an address corresponding to the position of each pixel in the screen.

歪補正部110は、図2(a)に示すように画像を複数の矩形に分割し、矩形ごとに補正後の位置情報と光学中心からの距離に応じて補正に必要な画像領域を算出する。そして、歪補正部110は、算出された画像領域のデータが記憶されたメモリ109のアドレスを指定し、メモリコントローラ107により現像処理が施された歪補正前の画像データを読み出す。   The distortion correction unit 110 divides the image into a plurality of rectangles as illustrated in FIG. 2A, and calculates an image area necessary for correction according to the corrected position information and the distance from the optical center for each rectangle. . Then, the distortion correction unit 110 specifies the address of the memory 109 in which the calculated image area data is stored, and reads out the image data before distortion correction subjected to the development processing by the memory controller 107.

このとき、歪補正部110は、図2(d)に示すように、メモリ109のアクセス単位に基づいて、算出された画像領域を含む、アクセス単位の先頭のアドレス及び読み出すデータ量(ビット数)を指定してメモリコントローラに送る。   At this time, as shown in FIG. 2D, the distortion correction unit 110 includes the calculated start address of the access unit including the calculated image area based on the access unit of the memory 109 and the data amount (number of bits) to be read. Is sent to the memory controller.

例えば、図2(d)のように画像データがメモリ109に記憶されており、画像領域201の画像データを読み出す場合、歪補正部110は、columnアドレスとして、アクセス単位の先頭となるアドレスx2を指定し、読み出すデータ量として、x2からx3までのビット数を指定する。   For example, as shown in FIG. 2D, when image data is stored in the memory 109 and the image data in the image area 201 is read, the distortion correction unit 110 uses the address x2 that is the head of the access unit as the column address. Designate and designate the number of bits from x2 to x3 as the amount of data to be read.

歪補正部110は、メモリ109から読み出された画像データに対し、所定の歪補正パラメータを用いて歪補正処理を実行し、メモリコントローラ107を介してメモリ109に書き戻す。歪補正後の画像データは、符号化部111により符号化処理が施され、記録媒体112に書き込まれる。   The distortion correction unit 110 performs distortion correction processing on the image data read from the memory 109 using a predetermined distortion correction parameter, and writes it back to the memory 109 via the memory controller 107. The image data after distortion correction is encoded by the encoding unit 111 and written to the recording medium 112.

本実施形態によれば、光学系の歪の影響を受けた画像について、歪補正を行うための画像データの読み出しアドレスが変化しない光学中心の垂直ライン上の画素がメモリのアクセス単位の境界に合うように書き込みアドレスを制御することで、不要な領域からの読み出しを低減し、アクセス効率を向上することができる。   According to the present embodiment, with respect to an image affected by the distortion of the optical system, the pixel on the vertical line at the optical center where the read address of the image data for performing distortion correction does not change matches the boundary of the memory access unit. By controlling the write address in this way, reading from unnecessary areas can be reduced and access efficiency can be improved.

なお、図2(d)では、一つの矩形が一つのアクセス単位の範囲に記憶されているが、一つの矩形が複数のアクセス単位にわたって記憶されることもある。このような場合、歪補正部110は、必要な画像領域を含むアクセス単位の先頭のアドレスを指定し、読み出すデータ量として、一つの矩形の画像データに対応したデータ量を指定する。   In FIG. 2D, one rectangle is stored in the range of one access unit, but one rectangle may be stored over a plurality of access units. In such a case, the distortion correction unit 110 specifies the head address of the access unit including the necessary image area, and specifies the data amount corresponding to one rectangular image data as the data amount to be read.

また、撮影される画像データの1画面の画素数を変更可能な構成とした場合、CPU108は、ユーザにより設定された画素数に応じて、現像処理部106から出力される画像データの画素数を変更する。現像処理部106から出力される画像データにおける光学中心の画面端部からの位置(画素数)は、画像データの画素数によって変わる。そのため、CPU108は、現像処理部106から出力される画像データの画素数に応じて、光学中心となる画素の位置を決定し、この光学中心の画素が、メモリ109のアクセス単位の先頭アドレスに記憶されるように、メモリコントローラ107に指示する。   Further, when the configuration is such that the number of pixels of one screen of the image data to be captured can be changed, the CPU 108 sets the number of pixels of the image data output from the development processing unit 106 according to the number of pixels set by the user. change. The position (number of pixels) from the screen edge of the optical center in the image data output from the development processing unit 106 varies depending on the number of pixels of the image data. Therefore, the CPU 108 determines the position of the pixel serving as the optical center according to the number of pixels of the image data output from the development processing unit 106, and stores the pixel at the optical center at the start address of the access unit in the memory 109. The memory controller 107 is instructed.

[実施形態2]次に、図3および図4を参照して、実施形態2として、装置の手振れを検出し、検出された手振れ量に応じて撮像素子からの画像データの読み出しアドレスを制御することで手振れを補正する方法について説明する。   [Embodiment 2] Next, referring to FIG. 3 and FIG. 4, as Embodiment 2, camera shake is detected, and the read address of image data from the image sensor is controlled according to the detected amount of camera shake. A method for correcting camera shake will be described.

図3は、本実施形態の手振れ補正の概要説明図であり、水平方向と垂直方向の中心位置を点線で示している。   FIG. 3 is a schematic explanatory diagram of camera shake correction according to the present embodiment, and the horizontal and vertical center positions are indicated by dotted lines.

図3(a)において、301は撮像素子の全撮像領域、302は撮像領域のうち実際に読み出しを行う切り出し枠である。303は撮影者が撮影している被写体である。   In FIG. 3A, reference numeral 301 denotes an entire imaging region of the imaging element, and 302 denotes a cutout frame that is actually read out of the imaging region. Reference numeral 303 denotes a subject photographed by the photographer.

図3(b)は撮影者が黒矢印304で示す方向にカメラを揺らしてしまったときのカメラの動きの方向を示している。この場合、被写体303は黒矢印304とは反対方向の白矢印305に移動した状態で撮像素子に結像される。ここで、白矢印305の動き量と同じだけ切り出し枠302を移動させることで実際に読み出される領域間では動きが打ち消される。しかしながら、撮像素子からの切り出し位置が変化すると、現像処理部106に入力される画像信号の光学中心の位置が変化する。   FIG. 3B shows the direction of camera movement when the photographer shakes the camera in the direction indicated by the black arrow 304. In this case, the subject 303 is imaged on the image sensor while moving in the white arrow 305 in the direction opposite to the black arrow 304. Here, by moving the cutout frame 302 by the same amount as the movement of the white arrow 305, the movement is canceled between the areas that are actually read. However, when the cutout position from the image sensor changes, the position of the optical center of the image signal input to the development processing unit 106 changes.

そこで、本実施形態では、撮像素子104からの画像信号の切り出し位置から光学中心の位置を算出し、歪補正を行う画像データの光学中心の画素がメモリのアクセス単位の境界に合うように制御する。   Therefore, in the present embodiment, the position of the optical center is calculated from the cutout position of the image signal from the image sensor 104, and control is performed so that the optical center pixel of the image data for which distortion correction is performed matches the boundary of the memory access unit. .

図4は、本実施形態の装置構成を示しており、図1の実施形態1の構成と同一の要素には、同一の符号を付して示している。   FIG. 4 shows an apparatus configuration of the present embodiment, and the same elements as those of the first embodiment of FIG. 1 are denoted by the same reference numerals.

ジャイロセンサ113は、カメラの動きを検出し、CPU108と読み出し範囲制御部114に出力する。読み出し範囲制御部114は、カメラの動きと反対方向に切り出し位置を設定し、撮像素子104からの画像信号の読み出し範囲を制御する。CPU108はカメラの動きに基づいて撮像素子104から入力される画像信号の光学中心の位置を算出し、メモリコントローラ107に出力する。メモリコントローラ107は歪補正を行う画像データの光学中心の画素がメモリ109の最小アクセス単位の境界に合うように書き込みアドレスを制御する。   The gyro sensor 113 detects the movement of the camera and outputs it to the CPU 108 and the readout range control unit 114. The readout range control unit 114 sets the cutout position in the opposite direction to the camera movement, and controls the readout range of the image signal from the image sensor 104. The CPU 108 calculates the position of the optical center of the image signal input from the image sensor 104 based on the movement of the camera, and outputs it to the memory controller 107. The memory controller 107 controls the write address so that the pixel at the optical center of the image data for which distortion correction is performed matches the boundary of the minimum access unit of the memory 109.

本実施形態によれば、撮像素子104から画像信号を切り出す位置を制御することで手振れを補正する場合に、画像信号を切り出す位置の変化に応じて光学中心の位置を補正することで、読み出し時のアクセス効率を向上することができる。   According to the present embodiment, when camera shake is corrected by controlling the position where the image signal is cut out from the image sensor 104, the position of the optical center is corrected according to the change in the position where the image signal is cut out. Access efficiency can be improved.

[他の実施形態]本発明は、以下の処理を実行することによっても実現される。即ち、上記実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。   [Other Embodiments] The present invention is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads and executes the program code. It is processing to do. In this case, the program and the storage medium storing the program constitute the present invention.

Claims (8)

光学系を介して結像された被写体像を光電変換する撮像素子と、
前記撮像素子から読み出される画像信号を処理して画像データを生成する信号処理手段と、
前記信号処理された画像データを記憶するメモリと、
前記メモリから画像データを読み出して、前記画像データにおいて前記光学系で発生する歪みを補正する歪補正手段と、
前記メモリに対する画像データの書き込みおよび読み出しを制御する制御手段と、を備え、
前記制御手段は、前記画像データにおける光学中心の画素が前記メモリに対するアクセス単位の先頭のアドレスに記憶されるように前記メモリへの画像データの書き込みを制御することを特徴とする撮像装置。
An image sensor that photoelectrically converts a subject image formed through an optical system;
Signal processing means for processing image signals read from the image sensor to generate image data;
A memory for storing the signal processed image data;
Distortion correction means for reading image data from the memory and correcting distortion generated in the optical system in the image data;
Control means for controlling writing and reading of image data to and from the memory,
The image pickup apparatus, wherein the control unit controls writing of image data into the memory so that a pixel at an optical center in the image data is stored at a head address of an access unit for the memory.
前記制御手段は、前記画像データにおける光学中心の画素が前記メモリに対してアクセスが可能な最小アクセス単位の先頭のアドレスに記憶されるように前記メモリへの画像データの書き込みを制御することを特徴とする請求項1に記載の撮像装置。   The control means controls writing of the image data to the memory so that the optical center pixel in the image data is stored at the head address of the minimum access unit accessible to the memory. The imaging apparatus according to claim 1. 前記撮像装置の動きを検出する検出手段と、
前記検出手段により検出された動きに応じて、前記撮像素子から画像信号を読み出す範囲を制御する読み出し範囲制御手段と、をさらに有し、
前記制御手段は、前記画像信号の読み出し範囲に基づいて、前記読み出し範囲の画像データにおける前記光学中心の画素の位置を検出することを特徴とする請求項1または2に記載の撮像装置。
Detecting means for detecting movement of the imaging device;
Read range control means for controlling a range in which an image signal is read from the image sensor in accordance with the movement detected by the detection means;
3. The image pickup apparatus according to claim 1, wherein the control unit detects a position of a pixel at the optical center in image data in the readout range based on a readout range of the image signal.
前記検出手段はジャイロセンサであり、
前記読み出し範囲制御手段は、前記撮像装置の動きと反対方向に前記撮像素子から画像信号の読み出す範囲を設定することを特徴とする請求項3に記載の撮像装置。
The detecting means is a gyro sensor;
The imaging apparatus according to claim 3, wherein the reading range control unit sets a range in which an image signal is read from the imaging element in a direction opposite to the movement of the imaging apparatus.
前記信号処理手段、前記歪補正手段および前記制御手段は、それぞれの機能を有する回路が一つの半導体チップに組み込まれたシステムLSIとして構成され、
前記制御手段は、前記システムLSIから前記メモリへのアクセスを制御することを特徴とする請求項1ないし4のいずれか1項に記載の撮像装置。
The signal processing means, the distortion correction means, and the control means are configured as a system LSI in which circuits having respective functions are incorporated in one semiconductor chip,
The imaging apparatus according to claim 1, wherein the control unit controls access from the system LSI to the memory.
光学系を介して結像された被写体像を光電変換する撮像素子と、前記撮像素子から読み出される画像信号を処理して画像データを生成する信号処理手段と、前記信号処理された画像データを記憶するメモリと、前記メモリから画像データを読み出して、前記画像データにおいて前記光学系で発生する歪を補正する歪補正手段と、前記メモリに対する画像データの書き込みおよび読み出しを制御する制御手段と、を備える撮像装置の制御方法であって、
前記制御手段が、前記画像データにおける光学中心の画素が前記メモリに対するアクセス単位の先頭のアドレスに記憶されるように前記メモリへの画像データの書き込みを制御する工程を有することを特徴とする撮像装置の制御方法。
An image sensor that photoelectrically converts a subject image formed through an optical system, a signal processing unit that processes image signals read from the image sensor to generate image data, and stores the signal processed image data A memory for reading out image data from the memory and correcting distortion generated in the optical system in the image data, and control means for controlling writing and reading of image data to and from the memory. A method for controlling an imaging apparatus,
The image pickup apparatus comprising: a step of controlling the writing of the image data to the memory so that the control means stores the optical center pixel in the image data at a head address of an access unit to the memory. Control method.
コンピュータを、請求項1ないし5のいずれか1項に記載された撮像装置の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the imaging device described in any one of Claims 1 thru | or 5. コンピュータを、請求項1ないし5のいずれか1項に記載された撮像装置の各手段として機能させるためのプログラムを記憶した記憶媒体。   A storage medium storing a program for causing a computer to function as each unit of the imaging apparatus according to any one of claims 1 to 5.
JP2013184334A 2013-09-05 2013-09-05 Imaging apparatus, method for controlling the same, program, and storage medium Pending JP2015053557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013184334A JP2015053557A (en) 2013-09-05 2013-09-05 Imaging apparatus, method for controlling the same, program, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013184334A JP2015053557A (en) 2013-09-05 2013-09-05 Imaging apparatus, method for controlling the same, program, and storage medium

Publications (1)

Publication Number Publication Date
JP2015053557A true JP2015053557A (en) 2015-03-19

Family

ID=52702287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013184334A Pending JP2015053557A (en) 2013-09-05 2013-09-05 Imaging apparatus, method for controlling the same, program, and storage medium

Country Status (1)

Country Link
JP (1) JP2015053557A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018512819A (en) * 2015-04-06 2018-05-17 ワールドビュー・サテライツ・リミテッド Elevation angle estimation system and method for arranging user terminals

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018512819A (en) * 2015-04-06 2018-05-17 ワールドビュー・サテライツ・リミテッド Elevation angle estimation system and method for arranging user terminals
CN108283005A (en) * 2015-04-06 2018-07-13 世界卫星有限公司 Elevation estimate system and method for user terminal location

Similar Documents

Publication Publication Date Title
JP5746521B2 (en) IMAGING DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
JP2008118306A (en) Distortion aberration correction processing apparatus, imaging apparatus, and imaging system
JP2012114611A (en) Imaging apparatus, image processing method, and program
JP2005311473A (en) Imaging apparatus, signal processing method, its program and recording medium
JP5976315B2 (en) Imaging device
US10223031B2 (en) Memory control apparatus and memory control method
US9247168B2 (en) Imaging device including focusing pixels
JP5996418B2 (en) Imaging apparatus and imaging method
JP2015018084A (en) Imaging apparatus, image processing method, and image processing program
JP2009135713A (en) Method and device for correcting image distortion generated by blurring of imaging apparatus
JP4418342B2 (en) Image processing apparatus and electronic camera
JP2015053557A (en) Imaging apparatus, method for controlling the same, program, and storage medium
US10244179B2 (en) Image processing apparatus, image capturing apparatus, control method, and recording medium
JP2018157371A (en) Imaging apparatus and method of correcting defective pixels
JP2013238779A (en) Image capturing device, image capturing lens unit, and image capturing unit
KR101646673B1 (en) An apparatus and a method for processing image, and a computer-readable medium storing a computer program for performing the method
US10015431B2 (en) Image processing apparatus and image processing method including control whether or not to permit a readout request
JP2008312169A (en) Image processing apparatus and method, and imaging apparatus
JP5968145B2 (en) Image processing apparatus and control method thereof
US11729506B2 (en) Imaging element with processor configured to receive vibration information, imaging apparatus, operation method of imaging element, and program
JP2013126101A (en) Imaging device and imaging method
JP6440465B2 (en) Image processing apparatus, image processing method, and program
JP6218408B2 (en) Image processing apparatus, image processing method, and program
JP2009033498A (en) Optical distortion correction device, method and program therefor, and imaging apparatus
JP2011082634A (en) Imaging apparatus