Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4926422B2 - Image processing apparatus and electronic apparatus using the same - Google Patents
[go: Go Back, main page]

JP4926422B2 - Image processing apparatus and electronic apparatus using the same - Google Patents

Image processing apparatus and electronic apparatus using the same Download PDF

Info

Publication number
JP4926422B2
JP4926422B2 JP2005216219A JP2005216219A JP4926422B2 JP 4926422 B2 JP4926422 B2 JP 4926422B2 JP 2005216219 A JP2005216219 A JP 2005216219A JP 2005216219 A JP2005216219 A JP 2005216219A JP 4926422 B2 JP4926422 B2 JP 4926422B2
Authority
JP
Japan
Prior art keywords
synchronization signal
image
signal
image data
frame
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
JP2005216219A
Other languages
Japanese (ja)
Other versions
JP2007033810A (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.)
Rohm Co Ltd
Original Assignee
Rohm Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2005216219A priority Critical patent/JP4926422B2/en
Publication of JP2007033810A publication Critical patent/JP2007033810A/en
Application granted granted Critical
Publication of JP4926422B2 publication Critical patent/JP4926422B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

本発明は、画像処理装置及びこれを用いた電子機器に関し、特に撮像素子が出力する画像信号に基づいた画像を表示させるものに関する。   The present invention relates to an image processing apparatus and an electronic apparatus using the same, and more particularly to an apparatus that displays an image based on an image signal output from an image sensor.

近年、デジタルカメラやカメラ付携帯電話機などの普及により、撮像素子により取り入れられた被写体の画像信号に処理を施し、被写体の画像をディスプレイ表示させる機器が多く用いられている。これによって、ユーザはディスプレイを通じた被写体のモニタが可能となり、機器の利便性は大きく向上している。   In recent years, with the widespread use of digital cameras, camera-equipped mobile phones, and the like, many devices that perform processing on an image signal of a subject taken in by an image sensor and display the image of the subject are used. As a result, the user can monitor the subject through the display, and the convenience of the device is greatly improved.

ここで画像処理の過程においては、撮像素子が被写体の1フレーム分の画素情報を取得(以下、「フレーム取得」とする)する際、並びに、一連の処理を経て形成された画像データからフレームを再度構築(以下、「フレーム構築」とする)する際は、水平走査のタイミングを示す水平同期信号(以下、「HS」とする)および垂直走査のタイミングを示す垂直同期信号(以下「VS」とする)が必要となる。   Here, in the process of image processing, when the image sensor acquires pixel information for one frame of the subject (hereinafter referred to as “frame acquisition”), a frame is extracted from image data formed through a series of processing. When reconstructing (hereinafter referred to as “frame construction”), a horizontal synchronization signal (hereinafter referred to as “HS”) indicating the timing of horizontal scanning and a vertical synchronization signal (hereinafter referred to as “VS”) indicating the timing of vertical scanning. Is required).

すなわち図4に概略を示すように、1フレーム分の被写体の画素信号(各画素情報の集合)は、HS及びVSに基づいた走査に従って取得される。そして順に得られる画像信号は一次元的に各種処理が施されて画像データが形成される。この段階では、画像データは各画素の輝度情報等を有するが、該画像データのどの部分が出力画像に係るフレームのどの位置(画素)に対応するかは未定である。そこで画像データに基づいて出力画像を構成させるためには、再度HS及びVSに基づき、画像データにフレーム上の位置情報を与える(フレーム構築をする)必要がある。具体的には、例えばフレーム上の位置に対応したアドレスの割当てられたフレームメモリに画像データを書込む際、HSのパルス信号を受ける度に次行に対応するアドレスへ移り、VSのパルス信号を受ける度に次のフレームに対応するアドレスへ移るというようにする。   That is, as schematically shown in FIG. 4, the pixel signal (collection of each pixel information) of the subject for one frame is acquired according to scanning based on HS and VS. The image signals obtained in order are subjected to various types of processing one-dimensionally to form image data. At this stage, the image data has luminance information and the like of each pixel, but it is undecided which part of the image data corresponds to which position (pixel) in the frame related to the output image. Therefore, in order to construct an output image based on the image data, it is necessary to give position information on the frame to the image data (frame construction) again based on HS and VS. Specifically, for example, when image data is written in a frame memory to which an address corresponding to a position on a frame is assigned, every time an HS pulse signal is received, the address moves to the address corresponding to the next row, and the VS pulse signal is changed. Every time it is received, it moves to the address corresponding to the next frame.

しかし、実際に機器が使用される際には、外的要因もしくは内的要因により、機器内部の各種信号にノイズの生じるおそれがある。特に、HSまたはVSにノイズが重畳した場合、このノイズが次に到来する予定であったHSまたはVSのパルス信号と認識され、そのノイズに対応して画像の行変更もしくはフレーム変更が実行されることとなる。そうすると、連続して画像を取り込む場合に画像出力の制御が難しくなり、数フレームに渡って画像の乱れが継続するなどの重大な問題となるおそれがある。   However, when the device is actually used, noise may occur in various signals inside the device due to external factors or internal factors. In particular, when noise is superimposed on HS or VS, this noise is recognized as an HS or VS pulse signal that is scheduled to arrive next, and image row change or frame change is executed in response to the noise. It will be. In this case, it is difficult to control image output when images are continuously captured, which may cause a serious problem such as continuous image disturbance over several frames.

またこの問題は、HS及びVSを発生させるタイミングジェネレータと、フレーム取得を行う装置若しくはフレーム構築を行う装置との間にノイズが発生し易い部分(例えば、ヒンジ機構を有する接続部など)が介在していた場合に、特に顕著となる。   In addition, this problem is caused by a portion where noise is likely to occur (for example, a connecting portion having a hinge mechanism) between the timing generator that generates HS and VS and the frame acquisition device or the frame construction device. This is particularly noticeable.

このような問題に対処するため、ノイズを除去するためのフィルタを機器内部に設け、事前にノイズの混入を防止する手法が考えられる。また、特許文献1には、同期信号の周期より十分短い周期を有するパルス列よりなる取り込み信号をもって、同期信号をフリップフロップ回路の直列回路よりなるパルス列記憶シフトに順次取り込み、この出力をAND回路等よりなる選択手段を通すことによりノイズを排除する手法が開示されている。
特開平5−150739号公報
In order to cope with such a problem, a method for preventing noise from being mixed in advance by providing a filter for removing noise in the apparatus can be considered. Further, in Patent Document 1, a synchronization signal is sequentially captured in a pulse train storage shift composed of a series circuit of flip-flop circuits with a capture signal composed of a pulse train having a cycle sufficiently shorter than the cycle of the synchronization signal, and this output is obtained from an AND circuit or the like. A technique for eliminating noise by passing through a selection means is disclosed.
Japanese Patent Laid-open No. 5-150393

しかし、ノイズを除去するためのフィルタを機器内部に設ける手法によれば、ノイズの混入をある程度抑制することができるものの、完全に排除することは困難である。特に、画像形成に係る同期信号は、僅かなノイズが混入することによっても画像の乱れを引き起こすおそれがあるため、このようなフィルタを設けるだけでは未だ十分とはいえない。また、フィルタの種類によっては、機器の小型化、低廉化を阻害する可能性がある。   However, according to the technique in which a filter for removing noise is provided inside the device, although mixing of noise can be suppressed to some extent, it is difficult to completely eliminate the noise. In particular, since a synchronization signal for image formation may cause image distortion even when a slight amount of noise is mixed in, it is not yet sufficient to provide such a filter. In addition, depending on the type of filter, there is a possibility of hindering downsizing and cost reduction of the device.

また特許文献1の記載のように、所定のパルス列記憶シフトを選択手段に通す手法においても、継続時間の比較的長いノイズが混入した場合にはノイズが除去されないため、依然として出力画像が悪影響を受けてしまうおそれがある。   In addition, as described in Patent Document 1, even in a method in which a predetermined pulse train storage shift is passed through the selection unit, when noise having a relatively long duration is mixed, the noise is not removed, so that the output image is still adversely affected. There is a risk that.

本発明は、上記の問題点に鑑み、HSまたはVSにノイズが重畳した場合であっても、出力画像における乱れ等の不具合を回避し得る画像処理装置及びこれを用いた電子機器を提供することを目的とする。   In view of the above problems, the present invention provides an image processing apparatus and an electronic apparatus using the image processing apparatus that can avoid problems such as disturbance in an output image even when noise is superimposed on HS or VS. With the goal.

上記目的を達成するために本発明に係る画像処理装置は、入力される画像信号、並びに、フレームサイズを定める水平同期信号及び垂直同期信号に基づいて、フレーム毎の画像データを生成・出力する画像処理装置において、前記水平同期信号及び垂直同期信号を発生させる信号発生手段と、前記水平同期信号及び/または垂直同期信号の実パルス周期を検出する検出手段と、前記水平同期信号及び/または垂直同期信号の目標パルス周期を設定する設定手段と、前記実パルス周期と前記目標パルス周期とを比較し、両周期が一致しているときの前記水平同期信号及び/または垂直同期信号を適正と判断する判断手段と、を有して成る構成(第1の構成)とする。   To achieve the above object, an image processing apparatus according to the present invention generates and outputs image data for each frame based on an input image signal, and a horizontal synchronization signal and a vertical synchronization signal that define a frame size. In the processing apparatus, signal generation means for generating the horizontal synchronization signal and vertical synchronization signal, detection means for detecting an actual pulse period of the horizontal synchronization signal and / or vertical synchronization signal, and the horizontal synchronization signal and / or vertical synchronization The setting means for setting the target pulse period of the signal is compared with the actual pulse period and the target pulse period, and the horizontal synchronization signal and / or the vertical synchronization signal when both periods coincide with each other are determined to be appropriate. And a determination unit (first configuration).

本構成によれば、実パルス周期と目標パルス周期とを比較することにより、水平同期信号及び/または垂直同期信号が(実パルス周期について)適正であるか否かを判断することができる。そのため、画像データのうち適正な同期信号によりフレーム構築されたもののみを選別して画像表示に用いるようにすれば、画像の乱れ等の不具合を回避し得る。   According to this configuration, it is possible to determine whether the horizontal synchronization signal and / or the vertical synchronization signal is appropriate (for the actual pulse period) by comparing the actual pulse period with the target pulse period. For this reason, if only the image data that has been constructed with a proper synchronization signal is selected and used for image display, problems such as image distortion can be avoided.

また上記第1の構成において、前記水平同期信号及び垂直同期信号に基づいて、画像データのフレーム構築をするフレーム構築手段と、前記判断手段により適正と判断された前記水平同期信号及び/または垂直同期信号に基づいてフレーム構築された画像データについては、その出力を許可する一方、適正と判断されなかった前記水平同期信号及び/または垂直同期信号に基づいてフレーム構築された画像データについては、出力を禁止する制御手段と、を有して成る構成(第2の構成)としてもよい。   Further, in the first configuration, a frame construction means for constructing a frame of image data based on the horizontal synchronization signal and the vertical synchronization signal, and the horizontal synchronization signal and / or vertical synchronization determined as appropriate by the determination means. The image data frame-constructed based on the signal is allowed to be output, while the image data frame-constructed based on the horizontal synchronization signal and / or the vertical synchronization signal that has not been determined to be appropriate is output. It is good also as a structure (2nd structure) which has a control means to prohibit.

本構成によれば、前記判断手段で適正と判断された同期信号に基づいてフレーム構築された画像データだけが出力を許可されるので、出力された画像データをそのまま画像表示に用いるだけで、画像の乱れ等の不具合を回避し得る。   According to this configuration, since output is permitted only for the image data that is constructed based on the synchronization signal determined to be appropriate by the determination means, the output image data can be used for image display as it is. It is possible to avoid problems such as disturbance.

また上記第2の構成において、少なくとも1フレーム分の前記画像データを格納する記憶手段を有し、前記制御手段は、前記判断手段で適正と判断された前記水平同期信号及び/または垂直同期信号に基づいてフレーム構築された画像データについては、前記記憶手段からの出力を許可する一方、適正と判断されなかった前記水平同期信号及び/または垂直同期信号に基づいてフレーム構築された画像データについては、前記記憶手段からの出力を禁止する構成(第3の構成)としてもよい。   In the second configuration, the image processing apparatus further includes a storage unit that stores the image data for at least one frame, and the control unit uses the horizontal synchronization signal and / or the vertical synchronization signal determined to be appropriate by the determination unit. For the image data constructed based on the frame, the output from the storage unit is permitted, while the image data constructed based on the horizontal synchronization signal and / or the vertical synchronization signal that has not been determined to be appropriate, A configuration (third configuration) for prohibiting output from the storage means may be adopted.

本構成によれば、少なくとも1フレーム分の画像データを記憶手段に格納させておくことができる。そのため、適切にフレーム構築された画像データが、少なくとも1フレーム分蓄積された段階で画像データの出力を行うようにすれば、適切な画像データがフレーム単位で出力されるので、より一層画像の乱れ等の不具合を回避し得る。   According to this configuration, at least one frame of image data can be stored in the storage unit. Therefore, if image data is output when at least one frame of image data that has been appropriately constructed is stored, the appropriate image data is output in units of frames, so that the image is further disrupted. Etc. can be avoided.

また、被写体の光学像を電気的な画像信号に変換して出力する撮像手段と;前記撮像手段から入力される画像信号、並びに、前記水平同期信号及び垂直同期信号に基づいて、フレーム毎の画像データを生成・出力する画像処理手段と;前記画像処理手段で生成される画像データに基づいて、画像表示を行う画像表示手段と;を有して成る電子機器であって、前記画像処理手段として、上記第2または第3の構成による画像処理装置を有した電子機器(第4の構成)としてもよい。   An image pickup unit that converts an optical image of the subject into an electrical image signal and outputs the image; and an image for each frame based on the image signal input from the image pickup unit, and the horizontal synchronization signal and the vertical synchronization signal. An image processing means for generating / outputting data; and an image display means for displaying an image based on image data generated by the image processing means, wherein the image processing means The electronic apparatus (fourth configuration) including the image processing apparatus according to the second or third configuration may be used.

本構成によれば、被写体の光学像を取り入れて画像表示を行う電子機器において、上記第2または第3の構成により得られる作用により、画像の乱れ等の不具合を極力抑えることができる。   According to this configuration, in an electronic apparatus that displays an image by taking an optical image of a subject, it is possible to suppress problems such as image distortion as much as possible by the action obtained by the second or third configuration.

また、前記信号発生手段と前記フレーム構築手段とが、ヒンジ機構による連結部を介して設けられている前記第4の構成に係る電子機器であって、前記検出手段は、前記連結部より下流側における前記水平同期信号及び/または垂直同期信号の実パルス周期を検出する電子機器(第5の構成)としてもよい。   The signal generation means and the frame construction means are the electronic apparatus according to the fourth configuration in which the connection means is provided by a hinge mechanism, and the detection means is downstream of the connection part. The electronic device (fifth configuration) for detecting the actual pulse period of the horizontal synchronizing signal and / or the vertical synchronizing signal in FIG.

ヒンジ機構による連結部を有した電子機器(例えば、二つ折り型の携帯電話機など)において、信号発生手段とフレーム構築手段とが連結部を介して設けられている場合、連結部では比較的ノイズが生じ易いことから、画像の乱れ等の不具合が特に問題となる。しかし本構成のようにすれば、仮に連結部において水平同期信号及び/または垂直同期信号にノイズが混入しても、このような同期信号に基づいてフレーム構築された画像データは出力が禁止されるから、画像の乱れ等の不具合を回避することができる。   In an electronic device having a connecting portion by a hinge mechanism (for example, a two-fold mobile phone), when the signal generating means and the frame constructing means are provided via the connecting portion, relatively noise is generated in the connecting portion. Since it tends to occur, problems such as image distortion are particularly problematic. However, according to this configuration, even if noise is mixed in the horizontal synchronization signal and / or the vertical synchronization signal in the connecting unit, output of image data constructed based on such a synchronization signal is prohibited. Therefore, problems such as image distortion can be avoided.

また上記第4または第5の構成において、前記撮像手段は、サンプリング信号のパルスに同期して前記画像信号を出力するものであり、前記検出手段は、前記水平同期信号及び/または垂直同期信号のパルスを検知する毎に、その次にパルスを検知するまでの間に到来する前記サンプリング信号のパルス数をカウントすることによって、前記水平同期信号及び/または垂直同期信号の実パルス周期を検出する構成(第6の構成)としてもよい。   In the fourth or fifth configuration, the imaging unit outputs the image signal in synchronization with a pulse of a sampling signal, and the detection unit is configured to output the horizontal synchronization signal and / or the vertical synchronization signal. A configuration for detecting the actual pulse period of the horizontal synchronizing signal and / or the vertical synchronizing signal by counting the number of pulses of the sampling signal that arrives until the next pulse is detected each time a pulse is detected. (Sixth configuration) may be adopted.

水平同期信号および垂直同期信号は、撮像画素の走査のタイミング(走査の改行またはフレームの更新のタイミング)を示すものである。そのため、水平同期信号及び/または垂直同期信号のパルスが到来してから次のパルスが到来するまでの間に発生するサンプリング信号のパルス数は、撮像画素数と密接な関係がある。従って上述のような構成とすれば、水平同期信号及び/または垂直同期信号の目標パルス周期を、撮像画素数の情報を用いて容易に設定することができる。   The horizontal synchronization signal and the vertical synchronization signal indicate scanning timing (scanning line feed or frame update timing) of the imaging pixels. For this reason, the number of pulses of the sampling signal generated between the arrival of the pulse of the horizontal synchronization signal and / or the vertical synchronization signal and the arrival of the next pulse is closely related to the number of imaging pixels. Therefore, with the above-described configuration, the target pulse period of the horizontal synchronization signal and / or the vertical synchronization signal can be easily set using information on the number of imaging pixels.

上述のように、本発明に係る画像処理装置であれば、実パルス周期と目標パルス周期とを比較することにより、水平同期信号及び/または垂直同期信号が(実パルス周期について)適正であるか否かを判断することができる。そのため、画像データのうち適正な同期信号によりフレーム構築されたもののみを選別して画像表示に用いるようにすれば、画像の乱れ等の不具合を回避し得る。   As described above, in the image processing apparatus according to the present invention, whether the horizontal synchronization signal and / or the vertical synchronization signal is appropriate (for the actual pulse period) by comparing the actual pulse period with the target pulse period. It can be determined whether or not. For this reason, if only the image data that has been constructed with a proper synchronization signal is selected and used for image display, problems such as image distortion can be avoided.

本発明の一実施形態として、被写体をリアルタイムにモニタすることのできる電子機器(撮像素子を有した二つ折り型の携帯電話機)の概要を、図1に示すブロック図を参照しながら説明する。   As an embodiment of the present invention, an outline of an electronic apparatus (a two-fold type mobile phone having an image sensor) that can monitor a subject in real time will be described with reference to a block diagram shown in FIG.

本実施形態は、撮像レンズ11、撮像素子12、画像データ形成部13a、13b、フレームメモリ14、VRAM15、画像表示部16、制御部21、センサ部側のタイミングジェネレータ22a、画像処理LSI部側のタイミングジェネレータ22b、HS周期カウンタ23a、VS周期カウンタ23b、判断部24、画素数設定手段25、モニタスイッチ26などを備える。また全体的な形態としては、撮像素子12などを含むセンサ部1と、制御部21やフレームメモリ14などを含む画像処理LSI部2とが、ヒンジ機構による連結部3を介して接続されている。   In the present embodiment, the imaging lens 11, the imaging device 12, the image data forming units 13a and 13b, the frame memory 14, the VRAM 15, the image display unit 16, the control unit 21, the timing generator 22a on the sensor unit side, and the image processing LSI unit side A timing generator 22b, an HS cycle counter 23a, a VS cycle counter 23b, a determination unit 24, a pixel number setting unit 25, a monitor switch 26, and the like are provided. As an overall configuration, the sensor unit 1 including the image pickup device 12 and the like and the image processing LSI unit 2 including the control unit 21 and the frame memory 14 are connected via a connecting unit 3 using a hinge mechanism. .

制御部21は、フレームメモリ14への画像データの書込み、フレームメモリ14からの画像データの転送などを含め、画像処理に関わる装置全体の制御を行う。また画像データのフレームメモリへの書込みに当たっては、タイミングジェネレータ22aから発せられるHS及びVSを継続的に受け取り、これらの信号情報を利用する。すなわち後述するように、これらのHS及びVSに基づいて画像データの改行時やフレーム更新時を判断し、画像データをフレームメモリ内の適切なアドレスに格納する。   The control unit 21 controls the entire apparatus related to image processing, including writing image data to the frame memory 14 and transferring image data from the frame memory 14. In writing image data to the frame memory, HS and VS emitted from the timing generator 22a are continuously received and the signal information is used. That is, as will be described later, it is determined when image data is changed or when a frame is updated based on these HS and VS, and the image data is stored at an appropriate address in the frame memory.

センサ部1に設けられているタイミングジェネレータ22aは、パルス信号であって、水平走査の時期を示す水平同期信号HSおよび垂直走査の時期を示す垂直同期信号VSを、撮像素子12および制御手段21に与える。またセンサ部1に存する画像データ形成部13aに対しては、駆動のタイミング及び画像信号のサンプリングの基準となる信号PCLK(サンプリング信号)を与える。これにより撮像素子12は、PCLKに同調して、HS及びVSに応じた画像サイズの画像信号を出力する。また該画像信号を受けて、画像データ形成部13aは連続的に(例えば1秒間に30フレーム)画像データを形成するよう作動する。   The timing generator 22 a provided in the sensor unit 1 is a pulse signal, and a horizontal synchronization signal HS indicating the timing of horizontal scanning and a vertical synchronization signal VS indicating the timing of vertical scanning are sent to the image sensor 12 and the control means 21. give. The image data forming unit 13a in the sensor unit 1 is supplied with a signal PCLK (sampling signal) serving as a reference for driving timing and sampling of the image signal. Accordingly, the image sensor 12 outputs an image signal having an image size corresponding to HS and VS in synchronization with PCLK. In response to the image signal, the image data forming unit 13a operates to form image data continuously (for example, 30 frames per second).

また画像処理LSI部2に設けられているタイミングジェネレータ22bは、画像処理LSI部2に存する画像データ形成部13bに対して、駆動のタイミングの基準となる信号SCLKを与える。なおタイミングジェネレータ22bは、SCLKと同期した信号CCLKをタイミングジェネレータ22aに伝送する。これによりセンサ部1側のタイミングジェネレータ22aと画像処理LSI2側のタイミングジェネレータ22bとの動作を協調させ、一連の画像データ形成が円滑に行われるようにしている。   The timing generator 22b provided in the image processing LSI unit 2 supplies a signal SCLK serving as a reference for driving timing to the image data forming unit 13b in the image processing LSI unit 2. The timing generator 22b transmits a signal CCLK synchronized with SCLK to the timing generator 22a. Thus, the operations of the timing generator 22a on the sensor unit 1 side and the timing generator 22b on the image processing LSI 2 side are coordinated so that a series of image data formation is performed smoothly.

また撮像素子12は、機器本体の裏側に設けられた撮像レンズ11を透過した被写体の光学像をその撮像面に結合させ、1フレーム分の画素ごとの受光量を表すアナログ信号(画像信号)を、PCLKに同期して出力する。   In addition, the imaging element 12 combines an optical image of a subject that has passed through the imaging lens 11 provided on the back side of the device main body with the imaging surface, and outputs an analog signal (image signal) that represents the amount of light received for each frame of pixels. , Output in synchronization with PCLK.

なお撮像素子12としてはCCD[Charge Coupled Devices:電荷結合素子]、CMOS[Complementary Metal Oxide Semiconductor]などが用いられる。また撮像素子12の各画素はマトリクス状に配列されており、画像信号の出力は、1フレームの最上段左端の画素から順に右方向に向かって行われ、一行分の出力が完了したら(HSのパルスを受けたら)逐次下段へ移るという順序で進められる。そして最下段右端の画素まで到達すれば(VSのパルスを受けたら)1フレーム分の画像信号の出力は完了し、引き続き次のフレームに移る。   As the imaging device 12, a CCD [Charge Coupled Device], a CMOS [Complementary Metal Oxide Semiconductor], or the like is used. The pixels of the image sensor 12 are arranged in a matrix, and the output of the image signal is performed in the right direction sequentially from the pixel at the leftmost stage of one frame, and when the output for one row is completed (HS If a pulse is received, the process proceeds in the order of successive steps. When the pixel reaches the rightmost pixel at the lowermost stage (when a VS pulse is received), the output of the image signal for one frame is completed, and the process proceeds to the next frame.

画像データ形成部13a、13bは、撮像素子12の出力する画像信号に対して相関二重サンプリングおよび自動ゲイン制御を行うアナログ信号処理部、得られた画像信号をデジタル信号に変換するADコンバータ、得られたデジタル信号に種々の処理を施すデジタル信号処理部などから構成される。これらが協調して作動することにより、入力される画像信号(アナログ情報)から画像データ(デジタル情報)を逐次形成する。なお画像データ形成部13a、13bから出力された時点の画像データは、各画素の輝度等を表す情報が、撮像素子にて走査された順に一次元的にならんだ形式となっている。   The image data forming units 13a and 13b include an analog signal processing unit that performs correlated double sampling and automatic gain control on the image signal output from the image sensor 12, an AD converter that converts the obtained image signal into a digital signal, The digital signal processing unit is configured to perform various processes on the received digital signal. By operating in cooperation with each other, image data (digital information) is sequentially formed from input image signals (analog information). Note that the image data at the time of output from the image data forming units 13a and 13b is in a format in which information representing the luminance and the like of each pixel is one-dimensionally aligned in the order scanned by the image sensor.

そして形成された画像データは、制御部21の指示により、少なくとも1フレーム分の画像データを格納できるフレームメモリ14に逐次書き込まれる。なおフレームメモリ14内には所定のアドレスが与えられており、ある特定のアドレスに書き込まれた画像データは、そのアドレスに対応した位置の画素を表すように出力される。   The formed image data is sequentially written into the frame memory 14 that can store image data for at least one frame, according to an instruction from the control unit 21. A predetermined address is given in the frame memory 14, and image data written at a specific address is output so as to represent a pixel at a position corresponding to the address.

画像データのフレームメモリ14への書込みに当たっては、画像データがフレームメモリ14に書き込み可能となっている状態において、制御部21がVSのパルスに合わせて、画像データのフレームメモリへの書込みを開始する。その後HSのパルスを受け取る度に、画像データが改行するように、フレームメモリ14の所定のアドレスに書き込んでいく。そして次にVSのパルスを受け取るまでに書き込まれた画像データが1フレームとなる。   When the image data is written to the frame memory 14, the control unit 21 starts writing the image data to the frame memory in accordance with the VS pulse in a state where the image data can be written to the frame memory 14. . After that, every time an HS pulse is received, the image data is written to a predetermined address in the frame memory 14 so that the line feeds. The image data written until the next VS pulse is received is one frame.

このように、画像データがフレームメモリ14内の所定のアドレスに書き込まれることによって、一次元的な形式の画像データをフレームとしての画像を表す画像データとする(フレーム構築する)ことが可能となる。   Thus, by writing the image data at a predetermined address in the frame memory 14, it is possible to convert the image data in a one-dimensional format into image data representing an image as a frame (frame construction). .

またフレームメモリ14に書き込まれた画像データは、後述する通り、判断部24において適正と判断されたHSおよびVSによってフレーム構築されたもののみが、VRAM15に転送される。そしてLCD等で構成されている画像表示部16は、VRAM15に逐次書き込まれる最新の画像データに基づいて画像を表示する。ユーザは画像表示部16を通じて、被写体をリアルタイムにモニタすることができる。   Further, as described later, only the image data written in the frame memory 14 by the HS and VS determined as appropriate by the determination unit 24 is transferred to the VRAM 15. The image display unit 16 constituted by an LCD or the like displays an image based on the latest image data sequentially written in the VRAM 15. The user can monitor the subject in real time through the image display unit 16.

HS周期カウンタ23aは、伝送されたHS及びPCLKに基づき、HSのパルスを検知する毎に、その次にHSのパルスを検知するまでの間に到来するPCLKのパルス数をカウントすることによって、HSの実パルス周期を検出する。また同様に、VS周期カウンタ23bはVSおよびPCLKを取り込み、VSのパルスを検知する毎に、その次にVSのパルスを検知するまでのPCLKのパルス数をカウントすることによって、VSの実パルス周期を検出する。なお以降の説明において、HS若しくはVSの実パルス周期とは、これらの信号の1周期の間に生成されるPCLKのパルス数を表すものとする。   The HS cycle counter 23a counts the number of PCLK pulses that arrive until the next HS pulse is detected each time an HS pulse is detected based on the transmitted HS and PCLK. The actual pulse period is detected. Similarly, the VS cycle counter 23b takes in VS and PCLK, and each time a VS pulse is detected, the number of PCLK pulses until the next VS pulse is detected is counted. Is detected. In the following description, the actual pulse period of HS or VS represents the number of PCLK pulses generated during one period of these signals.

そして判断部24では、各周期カウンタ23a、23bにおいて検出されたHS及びVSの実パルス周期と、HS及びVSが示すべきパルス周期(以下、「目標パルス周期」とする)とを比較する。そして両周期が一致しているときには、その実パルス周期は適正であると判断し、一致していないときには不適正であると判断する。実パルス周期が目標パルス周期と一致しない場合は、HS若しくはVSにノイズが混入し、これが不正なパルスとなって本来の周期を乱していると想定される。なお目標パルス周期は、画素数設定手段25による設定情報などに基づき判断部24において算出・設定されるものであり、その算出方法については後述する。   Then, the determination unit 24 compares the actual pulse period of HS and VS detected by each of the period counters 23a and 23b with the pulse period to be indicated by HS and VS (hereinafter referred to as “target pulse period”). When the two periods coincide with each other, it is determined that the actual pulse period is appropriate. When the both periods do not coincide with each other, it is determined that the actual pulse period is inappropriate. When the actual pulse period does not coincide with the target pulse period, it is assumed that noise is mixed in HS or VS, which becomes an illegal pulse and disturbs the original period. The target pulse period is calculated and set by the determination unit 24 based on setting information by the pixel number setting means 25, and the calculation method will be described later.

各周期カウンタ23a、23bが検知するHS、VS及びPCLKの各信号は、フレーム構築のためにタイミングジェネレータ22aから制御部21へ、信号線を通じて伝達されるものから分岐して得られるものである。従って上述した判断部24により、タイミングジェネレータ22aが発信してから分岐する前までの間に、HS及びVSにノイズが混入したか否かを検知することができる。   The HS, VS, and PCLK signals detected by the period counters 23a and 23b are obtained by branching from signals transmitted from the timing generator 22a to the control unit 21 through signal lines for frame construction. Therefore, the determination unit 24 described above can detect whether noise has been mixed in the HS and VS before the timing generator 22a transmits and before branching.

信号を分岐させる箇所は任意に選択可能であるが、より広い範囲でのノイズを検知するためには、できるだけ下流側で分岐させることが望ましい。特に本実施形態のように、HS及びVSを発生させるタイミングジェネレータ22aと、HS及びVSを受け取ってフレーム構築を実行する箇所(本実施形態では、制御部21)との間に、比較的ノイズの発生し易い箇所(本実施形態では、連結部3)がある場合は、その箇所に生ずるノイズをも検知するため、それより下流側(本実施形態では、画像処理LSI部2の側)で信号を分岐させることが好ましい。   The position where the signal is branched can be arbitrarily selected. However, in order to detect noise in a wider range, it is desirable that the signal is branched as much as possible on the downstream side. In particular, as in the present embodiment, there is relatively no noise between the timing generator 22a that generates HS and VS and the location (control unit 21 in the present embodiment) that receives HS and VS and executes frame construction. If there is a location that is likely to occur (in this embodiment, the connecting portion 3), noise generated at that location is also detected, so that a signal is transmitted downstream (in this embodiment, on the image processing LSI portion 2 side). Is preferably branched.

なお一般に二つ折り型の携帯電話機では、ユーザが連結部を介した一方の側(画像処理LSI部2の側)を手に持って被写体をモニタすることを想定している。そのため、撮像レンズ、撮像素子、画像表示部、並びに撮像素子に同期信号を与えるためのタイミングジェネレータ等についてはセンサ部1に設ける一方で、スペースの確保等の観点から、フレーム構築等の主な画像処理を実行する装置は画像処理LSI部2に設けることとしている。このように特に二つ折り型の携帯電話機等においては、同期信号を発生させるタイミングジェネレータと、同期信号を受け取ってフレーム構築を実行する箇所とをヒンジ機構を介して別々に設ける必要性が高い。   In general, it is assumed that a half-fold type mobile phone monitors a subject while holding one side (the image processing LSI unit 2 side) through a connecting unit. Therefore, an imaging lens, an imaging device, an image display unit, and a timing generator for providing a synchronization signal to the imaging device are provided in the sensor unit 1, while main images such as frame construction are provided from the viewpoint of securing space. An apparatus for executing processing is provided in the image processing LSI unit 2. As described above, particularly in the case of a two-fold type cellular phone, it is highly necessary to separately provide a timing generator that generates a synchronization signal and a portion that receives the synchronization signal and executes frame construction via a hinge mechanism.

画素数設定手段25は撮像画素数を設定し、その設定情報を制御部21及び判断部24に伝える。ここで撮像画素とは、撮像素子12の撮像面に配置されている複数の画素のうち、実際に画像信号の生成に関わるものとする。一般に画素数が多ければ精度の高い画像データが得られるが、それだけデータ保存に多くのメモリを要することとなるため、撮影目的に応じて画素数を変更できるようにしておくことが望ましい。画素数の設定方法としては、ユーザが画素数を直接指定する方法の他、例えばメモリ容量に応じて自動的に選択されるようにしても良い。   The pixel number setting unit 25 sets the number of imaging pixels and transmits the setting information to the control unit 21 and the determination unit 24. Here, the imaging pixel is actually related to generation of an image signal among a plurality of pixels arranged on the imaging surface of the imaging element 12. In general, if the number of pixels is large, highly accurate image data can be obtained. However, as much memory is required to store the data, it is desirable to be able to change the number of pixels according to the purpose of photographing. As a method of setting the number of pixels, in addition to a method in which the user directly specifies the number of pixels, for example, the number of pixels may be automatically selected according to the memory capacity.

モニタスイッチ26は、モニタのONとOFFを切り替えるためのものであり、ONにされている間は、モニタ処理を継続する。またモニタスイッチ26の切り替えはユーザが操作することとしても良く、その他例えば装置内に計時手段を設け、ユーザがONにした後に一定時間が経過したらOFFとするようにしても良い。   The monitor switch 26 is for switching the monitor ON and OFF, and continues the monitoring process while it is ON. Further, the switching of the monitor switch 26 may be operated by the user, or for example, a time measuring unit may be provided in the apparatus, and the monitor switch 26 may be turned OFF when a predetermined time has passed after the user turned ON.

以上のような構成により、本実施形態の電子機器は、被写体を画像表示部16によりリアルタイムにモニタすることができる。また特に判断部24などを備えることにより、適正な周期のHSおよびVSによってフレーム構築された画像データのみを選別して、画像表示させることができる。次に本実施形態における電子機器の作用について、図2を参照しながら説明する。   With the configuration as described above, the electronic apparatus of the present embodiment can monitor the subject in real time by the image display unit 16. In particular, by including the determination unit 24 and the like, it is possible to select only the image data that has been framed by HS and VS with an appropriate period and display the image. Next, the operation of the electronic device in the present embodiment will be described with reference to FIG.

モニタスイッチ26のONにより、タイミングジェネレータ22a、22bは制御部21からの指示を受け、撮像素子12に対してはHSおよびVSを、画像データ形成部13a、13bに対しては駆動信号であるPCLK若しくはSCLKを供給し、被写体の画像データの形成が開始される。   When the monitor switch 26 is turned on, the timing generators 22a and 22b receive instructions from the control unit 21, and HS and VS are received for the image sensor 12, and PCLK which is a drive signal for the image data forming units 13a and 13b. Alternatively, SCLK is supplied, and formation of image data of the subject is started.

またタイミングジェネレータ22aより供給されるHS、VS及びPCLKは、所定の信号線を介して制御部21及び各周期カウンタ23a、23bにも伝達される。これらの信号に基づき、HS周期カウンタ23aは、HSの実パルス周期を検出するためにPCLKのパルス数をカウントし、VS周期カウンタ23bは、VSの実パルス周期を検出するためにPCLKのパルス数をカウントする(ステップS1)。   Further, HS, VS and PCLK supplied from the timing generator 22a are also transmitted to the control unit 21 and each of the period counters 23a and 23b via a predetermined signal line. Based on these signals, the HS cycle counter 23a counts the number of PCLK pulses to detect the actual pulse cycle of HS, and the VS cycle counter 23b counts the number of PCLK pulses to detect the actual pulse cycle of VS. Is counted (step S1).

そしてHS周期カウンタ23aがHSの実パルス周期を検出したときは(ステップS2のY)、HS周期カウンタ23aはその検出結果を判断部24に報知する。判断部24はこの報知を受けて、HSの実パルス周期とHSの目標パルス周期との比較を行う(ステップS3)。   When the HS cycle counter 23a detects the actual HS pulse cycle (Y in step S2), the HS cycle counter 23a notifies the determination unit 24 of the detection result. The determination unit 24 receives this notification and compares the HS actual pulse period with the HS target pulse period (step S3).

またVS周期カウンタ23bがVSの実パルス周期を検出したときは(ステップS4のY)、VS周期カウンタ23bはその検出結果を判断部24に報知する。判断部24はこの報知を受けて、VSの実パルス周期とVSの目標パルス周期との比較を行う(ステップS5)   When the VS cycle counter 23b detects the actual pulse cycle of VS (Y in step S4), the VS cycle counter 23b notifies the determination unit 24 of the detection result. The determination unit 24 receives this notification and compares the actual pulse period of VS with the target pulse period of VS (step S5).

ここでHS及びVSの目標パルスの算出方法について、図3のタイミングチャートに基づいて説明する。まずHSのパルス周期は、図3のようにハイレベルを示す期間(走査の改行が行われる期間)とローレベルを示す期間(1行分の走査が行われる期間)から成る。HSは水平走査のタイミングを与えるものであるから、HSのローレベルを示す期間内のPCLKのパルス数は、水平方向の撮像画素数に一致するはずである。従って、HSの目標パルス周期をT(HS)とすると、T(HS)は次の(1)式に基づいて算出することができる。   Here, a method of calculating the target pulses of HS and VS will be described based on the timing chart of FIG. First, as shown in FIG. 3, the HS pulse period is composed of a period indicating a high level (period in which scanning line feed is performed) and a period indicating a low level (period in which scanning for one row is performed). Since HS gives the timing of horizontal scanning, the number of PCLK pulses within the period indicating the low level of HS should match the number of pixels in the horizontal direction. Accordingly, if the target pulse period of HS is T (HS), T (HS) can be calculated based on the following equation (1).

T(HS)=Pixel(H)+α ・・・(1)       T (HS) = Pixel (H) + α (1)

ここで、Pixel(H)は水平方向の撮像画素数を、αはHSがハイレベルを示す期間内に発生するPCLKのパルス数を表す。   Here, Pixel (H) represents the number of imaging pixels in the horizontal direction, and α represents the number of PCLK pulses generated within a period in which HS is at a high level.

次にVSのパルス周期は、図3のようにハイレベルを示す期間(フレームが更新される期間)とローレベルを示す期間(1フレーム分の走査が行われる期間)から成る。VSは垂直走査のタイミングを与えるものであるから、VSのローレベルを示す期間内のPCLKのパルス数は、上述のT(HS)と垂直方向の撮像画素数の積と一致するはずである。従って、VSの目標パルス周期をT(VS)とすると、T(VS)は次の(2)式に基づいて算出することができる。   Next, as shown in FIG. 3, the VS pulse cycle is composed of a period indicating a high level (period in which a frame is updated) and a period indicating a low level (a period in which scanning for one frame is performed). Since VS gives the timing of vertical scanning, the number of pulses of PCLK within the period indicating the low level of VS should match the above-mentioned product of T (HS) and the number of imaging pixels in the vertical direction. Therefore, if the target pulse period of VS is T (VS), T (VS) can be calculated based on the following equation (2).

T(VS)=T(HS)×Pixel(V)+β ・・・(2)       T (VS) = T (HS) × Pixel (V) + β (2)

ここで、Pixel(V)は垂直方向の撮像画素数を、βはVSがハイレベルを示す期間内に発生するPCLKのパルス数を表す。なお上述したαおよびβは、不図示のROMが記憶しているものを読み出すこと等で得られる。また上述の算出方法は一例であり、状況に応じて主旨を逸脱しない範囲での変更が可能である。   Here, Pixel (V) represents the number of pixels in the vertical direction, and β represents the number of PCLK pulses generated within a period in which VS is at a high level. Note that α and β described above are obtained by reading out data stored in a ROM (not shown). The above-described calculation method is an example, and can be changed within a range that does not depart from the gist according to the situation.

ステップS3における比較の結果、両者が一致していると判断された場合(ステップS3のY)は、HSの実パルス周期は正常であると認められる。この場合、画像データのフレームメモリ14への書込み処理はそのまま継続される。しかし両者が一致していないと判断された場合(ステップS3のN)は、HSの実パルス周期は異常であると認められる。   As a result of the comparison in step S3, when it is determined that they match (Y in step S3), it is recognized that the HS actual pulse cycle is normal. In this case, the writing process of the image data to the frame memory 14 is continued as it is. However, if it is determined that they do not match (N in step S3), it is recognized that the actual pulse period of HS is abnormal.

パルス周期が異常となる原因としてノイズの混入等が考えられるが、このような場合、ノイズ部分が次に到来する予定であったHSのパルスと認識され、フレーム構築において誤った改行がなされる。その結果、このような画像データに基づいて画像表示を行うと、画像の乱れ等の不具合を引き起こすことになる。   Noise may be mixed as a cause of an abnormal pulse period. In such a case, the noise part is recognized as an HS pulse that is scheduled to arrive next, and an erroneous line feed is made in frame construction. As a result, when an image is displayed based on such image data, problems such as image distortion are caused.

そこでステップS3において両者が一致していない場合、判断部24は制御部21に対して、現在フレーム構築されている1フレーム分の画像データを破棄するよう指示を出す(ステップS6)。制御部21はこの指示を受け、この1フレームについては既にフレームメモリ14に書込まれている画像データを破棄し、フレームメモリ14からVRAM15への出力を禁止する。   Therefore, if they do not match in step S3, the determination unit 24 instructs the control unit 21 to discard the image data for one frame that is currently constructed (step S6). The control unit 21 receives this instruction, discards the image data already written in the frame memory 14 for this one frame, and prohibits output from the frame memory 14 to the VRAM 15.

次にステップS5における比較の結果、両者が一致していると判断された場合(ステップS5のY)は、VSの実パルス周期は正常であると認められる。この場合、画像データのフレームメモリへの書き込み処理はそのまま継続される。しかし両者が一致していないと判断された場合(ステップS5のN)は、VSの実パルス周期は異常であると認められる。   Next, as a result of the comparison in step S5, if it is determined that they match (Y in step S5), it is recognized that the actual pulse period of VS is normal. In this case, the writing process of the image data to the frame memory is continued as it is. However, if it is determined that they do not match (N in step S5), it is recognized that the actual pulse period of VS is abnormal.

この場合もHSの実パルス周期が異常であったときと同様、判断部24は制御部21に対して、現在フレーム構築されている1フレーム分の画像データを破棄するよう指示を出す(ステップS6)。制御部21はこの指示を受け、この1フレームについては既にフレームメモリ14に書込まれている画像データを破棄し、フレームメモリ14からVRAM15への出力を禁止する。   In this case, as in the case where the actual pulse period of HS is abnormal, the determination unit 24 instructs the control unit 21 to discard the image data for one frame that is currently constructed (step S6). ). The control unit 21 receives this instruction, discards the image data already written in the frame memory 14 for this one frame, and prohibits output from the frame memory 14 to the VRAM 15.

なお上述したステップ3若しくはステップ5の判断処理は、誤った改行やフレーム更新のなされた画像データと、適正にフレーム構築された画像データとを選別する目的で行うものである。従って当該判断処理では、必ずしも実パルス周期と目標パルス周期の厳密な一致を要求する必要はなく、かかる目的を達成できる範囲内で許容誤差を設けても差し支えない。   Note that the above-described determination process in step 3 or step 5 is performed for the purpose of selecting image data that has been erroneously broken or updated, and image data that has been appropriately constructed. Therefore, in the determination process, it is not always necessary to strictly match the actual pulse period and the target pulse period, and an allowable error may be provided within a range in which such an object can be achieved.

以上に説明した処理を経て1フレーム分の画像形成処理が完了したら、次のフレームに移行して同様の処理を繰り返す。本実施形態によれば、フレーム構築をするためのHS若しくはVSの実パルス周期が異常となった場合でも、このようなHS若しくはVSに基づいてフレーム構築された画像データはフレームメモリ14からの出力は禁止される。そして適正な実パルス周期のHSおよびVSに基づいて形成された画像データのみがVRAM15に出力されるため、VRAM15内の画像データを用いる画像表示部16によれば、画像の乱れ等の不具合のない安定した画像の出力をすることができる。   When the image forming process for one frame is completed through the process described above, the process proceeds to the next frame and the same process is repeated. According to this embodiment, even when the actual pulse period of HS or VS for constructing a frame becomes abnormal, the image data constructed by the frame based on such HS or VS is output from the frame memory 14. Is forbidden. Since only the image data formed based on the HS and VS of the appropriate real pulse period is output to the VRAM 15, the image display unit 16 using the image data in the VRAM 15 does not have any problems such as image distortion. A stable image can be output.

なお上述のように1フレーム分の画像データの出力が禁止された場合、画像表示手段では、フレームの抜けた瞬間は前フレームの画像が引き続き表示されることになる。しかしこれを連続画像としてみた場合、通常フレームの抜けによって違和感を生じる程の不自然な表示とはならず、実際上は問題とならない。   If the output of image data for one frame is prohibited as described above, the image display means continues to display the image of the previous frame at the moment when the frame is missing. However, when this is viewed as a continuous image, the display is not unnatural enough to cause a sense of incongruity due to missing normal frames, and this is not a problem in practice.

また被写体のモニタ中に不図示の録画ボタンが押下されている間は、フレームメモリからVRAM15へ転送される画像データを、不図示のメモリカードにも転送させることとしてもよい。このようにすれば、モニタ表示されている画像のデータを、任意のタイミングでメモリカードに保存して他の機器で利用することもできる。   Further, while the recording button (not shown) is pressed while the subject is being monitored, the image data transferred from the frame memory to the VRAM 15 may be transferred to a memory card (not shown). In this way, the image data displayed on the monitor can be stored in the memory card at any timing and used in other devices.

また本実施形態では、HSとVSの双方の実パルス周期に基づいて画像データの採否を判断するものとしたが、HSとVSのうち何れか一方の実パルス周期のみに基づいて判断するようにしても良い。   In this embodiment, whether or not to accept image data is determined based on the actual pulse periods of both HS and VS. However, the determination is made based on only one of the actual pulse periods of HS and VS. May be.

また本発明の構成は、上記実施形態のほか、発明の主旨を逸脱しない範囲で種々の変更を加えることが可能である。更に本発明は、デジタルスチルカメラ、デジタルビデオカメラ、各種モニタ用機器など、種々の電子機器に対して広く適用することが可能である。   The configuration of the present invention can be variously modified in addition to the above embodiment without departing from the spirit of the invention. Furthermore, the present invention can be widely applied to various electronic devices such as a digital still camera, a digital video camera, and various monitor devices.

本実施形態の構成を示すブロック図である。It is a block diagram which shows the structure of this embodiment. 本実施形態の画像処理の流れを示す流れ図である。It is a flowchart which shows the flow of the image processing of this embodiment. 本実施形態における各パルス信号のタイミングチャートである。It is a timing chart of each pulse signal in this embodiment. 撮像素子を用いた被写体のモニタリングの概略を示す説明図である。It is explanatory drawing which shows the outline of the monitoring of the to-be-photographed object using an image sensor.

符号の説明Explanation of symbols

1 センサ部
2 画像処理LSI部
3 連結部
11 撮像レンズ
12 撮像素子
13a 画像データ形成部
13b 画像データ形成部
14 フレームメモリ(記憶手段)
15 VRAM
16 画像表示部(画像表示手段)
21 制御部(制御手段、フレーム構築手段)
22a タイミングジェネレータ(信号発生手段)
22b タイミングジェネレータ
23a HS周期カウンタ(検出手段)
23b VS周期カウンタ(検出手段)
24 判断部(判断手段、設定手段)
25 画素数設定手段
26 モニタスイッチ
DESCRIPTION OF SYMBOLS 1 Sensor part 2 Image processing LSI part 3 Connection part 11 Imaging lens 12 Image pick-up element 13a Image data formation part 13b Image data formation part 14 Frame memory (memory | storage means)
15 VRAM
16 Image display unit (image display means)
21 Control unit (control means, frame construction means)
22a Timing generator (signal generating means)
22b Timing generator 23a HS period counter (detection means)
23b VS cycle counter (detection means)
24 Judgment part (judgment means, setting means)
25 Pixel number setting means 26 Monitor switch

Claims (5)

入力される画像信号、並びに、フレームサイズを定める水平同期信号及び垂直同期信号に基づいて、フレーム毎の画像データを生成・出力する画像処理装置において、
前記水平同期信号及び垂直同期信号を発生させる信号発生手段と、
前記水平同期信号及び/または垂直同期信号の実パルス周期を検出する検出手段と、
前記水平同期信号及び/または垂直同期信号の目標パルス周期を設定する設定手段と、
前記実パルス周期と前記目標パルス周期とを比較し、両周期が一致しているときの前記水平同期信号及び/または垂直同期信号を適正と判断する判断手段と、
前記水平同期信号及び垂直同期信号に基づいて、画像データのフレーム構築をするフレーム構築手段と、
前記判断手段により適正と判断された前記水平同期信号及び/または垂直同期信号に基づいてフレーム構築された画像データについては、その出力を許可する一方、適正と判断されなかった前記水平同期信号及び/または垂直同期信号に基づいてフレーム構築された画像データについては、出力を禁止する制御手段と、
を有して成ることを特徴とする画像処理装置。
In an image processing apparatus that generates and outputs image data for each frame based on an input image signal, and a horizontal synchronization signal and a vertical synchronization signal that define a frame size,
Signal generating means for generating the horizontal synchronizing signal and the vertical synchronizing signal;
Detecting means for detecting an actual pulse period of the horizontal synchronizing signal and / or the vertical synchronizing signal;
Setting means for setting a target pulse period of the horizontal synchronization signal and / or the vertical synchronization signal;
A determination means for comparing the actual pulse period and the target pulse period, and determining that the horizontal synchronization signal and / or the vertical synchronization signal is appropriate when both periods match;
Frame construction means for constructing a frame of image data based on the horizontal synchronization signal and the vertical synchronization signal;
The image data constructed based on the horizontal synchronization signal and / or the vertical synchronization signal determined to be appropriate by the determination means is allowed to be output, while the horizontal synchronization signal and / Or, for image data framed based on the vertical synchronization signal, a control means for prohibiting output,
An image processing apparatus comprising:
少なくとも1フレーム分の前記画像データを格納する記憶手段を有し、
前記制御手段は、前記判断手段で適正と判断された前記水平同期信号及び/または垂直同期信号に基づいてフレーム構築された画像データについては、前記記憶手段からの出力を許可する一方、適正と判断されなかった前記水平同期信号及び/または垂直同期信号に基づいてフレーム構築された画像データについては、前記記憶手段からの出力を禁止することを特徴とする請求項1に記載の画像処理装置。
Storage means for storing the image data for at least one frame;
The control means permits the output from the storage means for the image data constructed based on the horizontal synchronization signal and / or the vertical synchronization signal determined to be appropriate by the determination means, while determining that the image data is appropriate. 2. The image processing apparatus according to claim 1 , wherein an output from the storage unit is prohibited for image data constructed based on the horizontal synchronization signal and / or the vertical synchronization signal that has not been performed .
被写体の光学像を電気的な画像信号に変換して出力する撮像手段と;前記撮像手段から入力される画像信号、並びに、前記水平同期信号及び垂直同期信号に基づいて、フレーム毎の画像データを生成・出力する画像処理手段と;前記画像処理手段で生成される画像データに基づいて、画像表示を行う画像表示手段と;を有して成る電子機器であって、前記画像処理手段として、請求項1または請求項2に記載の画像処理装置を有して成ることを特徴とする電子機器。  Imaging means for converting an optical image of an object into an electrical image signal and outputting the image data; and image data for each frame based on the image signal input from the imaging means, and the horizontal synchronization signal and the vertical synchronization signal. An electronic apparatus comprising: an image processing unit that generates and outputs; and an image display unit that displays an image based on image data generated by the image processing unit. An electronic apparatus comprising the image processing apparatus according to claim 1. 前記信号発生手段と前記フレーム構築手段とが、ヒンジ機構による連結部を介して設けられている請求項3に記載の電子機器であって、前記検出手段は、前記連結部より下流側における前記水平同期信号及び/または垂直同期信号の実パルス周期を検出することを特徴とする電子機器。 The electronic device according to claim 3, wherein the signal generation unit and the frame construction unit are provided via a connecting part by a hinge mechanism, and the detection means is the horizontal at the downstream side of the connecting part. An electronic device that detects an actual pulse period of a synchronization signal and / or a vertical synchronization signal . 前記撮像手段は、サンプリング信号のパルスに同期して前記画像信号を出力するものであり、前記検出手段は、前記水平同期信号及び/または垂直同期信号のパルスを検知する毎に、その次にパルスを検知するまでの間に到来する前記サンプリング信号のパルス数をカウントすることによって、前記水平同期信号及び/または垂直同期信号の実パルス周期を検出するものであることを特徴とする請求項3または請求項4に記載の電子機器。 The image pickup means outputs the image signal in synchronization with a pulse of the sampling signal, and the detection means detects the pulse of the horizontal synchronization signal and / or the vertical synchronization signal every time it detects the pulse. 4. The actual pulse period of the horizontal synchronizing signal and / or the vertical synchronizing signal is detected by counting the number of pulses of the sampling signal that arrives before detecting The electronic device according to claim 4 .
JP2005216219A 2005-07-26 2005-07-26 Image processing apparatus and electronic apparatus using the same Expired - Fee Related JP4926422B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005216219A JP4926422B2 (en) 2005-07-26 2005-07-26 Image processing apparatus and electronic apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005216219A JP4926422B2 (en) 2005-07-26 2005-07-26 Image processing apparatus and electronic apparatus using the same

Publications (2)

Publication Number Publication Date
JP2007033810A JP2007033810A (en) 2007-02-08
JP4926422B2 true JP4926422B2 (en) 2012-05-09

Family

ID=37793161

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005216219A Expired - Fee Related JP4926422B2 (en) 2005-07-26 2005-07-26 Image processing apparatus and electronic apparatus using the same

Country Status (1)

Country Link
JP (1) JP4926422B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11074843B2 (en) 2019-03-25 2021-07-27 Seiko Epson Corporation Drive circuit, electro-optical device, electronic apparatus including electro-optical device, and movable body including electronic apparatus

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5132419B2 (en) * 2008-05-20 2013-01-30 富士フイルム株式会社 Endoscope system and option board
JP6425115B2 (en) * 2014-07-03 2018-11-21 Tianma Japan株式会社 Timing controller and display device
CN109474768A (en) * 2017-09-08 2019-03-15 中兴通讯股份有限公司 A method and device for improving image fluency

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08125884A (en) * 1994-10-20 1996-05-17 Fujitsu General Ltd PLL circuit
JP3228179B2 (en) * 1997-05-15 2001-11-12 日本電気株式会社 Display device
JP3613725B2 (en) * 1999-04-12 2005-01-26 東京特殊電線株式会社 Sampling frequency / phase adjusting method, sampling frequency / phase adjusting device and LCD device
JP4154820B2 (en) * 1999-12-09 2008-09-24 三菱電機株式会社 Dot clock adjustment method and dot clock adjustment device for image display device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11074843B2 (en) 2019-03-25 2021-07-27 Seiko Epson Corporation Drive circuit, electro-optical device, electronic apparatus including electro-optical device, and movable body including electronic apparatus

Also Published As

Publication number Publication date
JP2007033810A (en) 2007-02-08

Similar Documents

Publication Publication Date Title
KR102023866B1 (en) Electronic device
JP5764740B2 (en) Imaging device
JP4424088B2 (en) Imaging device
CN109981978B (en) Image pickup apparatus
JP5829122B2 (en) Imaging apparatus and evaluation value generation apparatus
JP4926422B2 (en) Image processing apparatus and electronic apparatus using the same
JP2003348422A (en) Imaging apparatus, imaging method, program, and storage medium
JP4542962B2 (en) Digital camera
JP2007281555A (en) Imaging device
JP2004260265A (en) Pixel extraction circuit having pixel folding function and imaging device
JP2011066498A (en) Image processor and in-vehicle imaging system
JP3990059B2 (en) Apparatus and method for correcting defective pixel of imaging device
JP4292963B2 (en) Imaging device
KR101076372B1 (en) Monitoring system and apparatus using camera module
JP4606989B2 (en) Imaging device
JP6021556B2 (en) Image processing device
US20190052829A1 (en) Image pickup apparatus and method utilizing the same line rate for upscaling and outputting image
JP4211572B2 (en) Imaging device
JP2007043502A (en) Imaging device
JP4846394B2 (en) Imaging apparatus and imaging method
JP5343736B2 (en) Digital camera
JP4070550B2 (en) Image signal processing device
JP2012124624A (en) Imaging device
JPH0723302A (en) Solid state image pickup element for fetching strobe picture
JP2008028757A (en) Solid-state imaging device and camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080724

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110823

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111003

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120208

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

Free format text: PAYMENT UNTIL: 20150217

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4926422

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: R3D03

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees