JP2003140637A - Data array converting device, image processing system, and image input device - Google Patents

Data array converting device, image processing system, and image input device

Info

Publication number
JP2003140637A
JP2003140637A JP2001335353A JP2001335353A JP2003140637A JP 2003140637 A JP2003140637 A JP 2003140637A JP 2001335353 A JP2001335353 A JP 2001335353A JP 2001335353 A JP2001335353 A JP 2001335353A JP 2003140637 A JP2003140637 A JP 2003140637A
Authority
JP
Japan
Prior art keywords
data
input
array conversion
image
line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2001335353A
Other languages
Japanese (ja)
Other versions
JP3566687B2 (en
Inventor
Masaya Yagi
政哉 八木
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 JP2001335353A priority Critical patent/JP3566687B2/en
Publication of JP2003140637A publication Critical patent/JP2003140637A/en
Application granted granted Critical
Publication of JP3566687B2 publication Critical patent/JP3566687B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a data array converting device which can reduce memory capacity used for data array conversion. SOLUTION: Provided are an input port to which data having pixel data of two odd and even horizontal lines regularly arrayed in one horizontal period is inputted and a memory part which stores the data inputted to the input port and the memory part comprises three blocks 31 to 33 each having storage capacity for input data of one line; and one of odd-line and even-line input data is saved in one specified block among the three blocks and the other input data is stored in the remaining two blocks alternately by lines. An array converting means 15 is provided to read the stored data out of the three blocks one after another and converts the data array.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、書画等の撮影対象
物を撮像してその撮影像を外部表示装置に表示可能とす
る画像入力装置等に好適なデータ配列変換装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data array conversion device suitable for an image input device or the like that can pick up an object to be photographed such as a document and display the photographed image on an external display device.

【0002】[0002]

【従来の技術】書画等の撮影対象物を撮像し、プロジェ
クタ等を用いてその撮影像を外部モニタやスクリーンに
表示させる画像入力装置においては、撮像データにホワ
イトバランス、色補正等の画像処理を施した後、撮像デ
ータを輝度(Y)信号および色差(UV)信号に分離す
る。
2. Description of the Related Art In an image input device for picking up an image of an object to be photographed such as a document and displaying the image on an external monitor or screen using a projector or the like, image processing such as white balance and color correction is performed on the imaged data. After the application, the image pickup data is separated into a luminance (Y) signal and a color difference (UV) signal.

【0003】そして、分離されたY信号およびUV信号
のそれぞれについて、1水平(H)期間内にodd,e
venの2水平ライン分の画素データが交互に点順次に
配列されたデータを、解像度変換手段などの外部接続さ
れた表示装置の画角に適合させる手段に受け渡すため
に、YUV422に代表されるデータ配列形式に変換す
る装置が用いられている。
Then, for each of the separated Y signal and UV signal, odd, e within one horizontal (H) period.
In order to transfer data in which pixel data for two horizontal lines of ven are alternately arranged in a dot-sequential manner to a means for adapting the angle of view of an externally connected display device such as a resolution converting means, it is represented by YUV422. A device for converting into a data array format is used.

【0004】また、被写体を1枚の鏡で反射させてから
CCD等の撮像素子に取り込む画像入力装置において
は、一度鏡で左右反転した画像を、左右線対称のデータ
に変換して表示装置に送信する必要がある。
Further, in an image input device in which an object is reflected by one mirror and then captured by an image pickup device such as a CCD, an image which has been horizontally inverted once by the mirror is converted into left-right symmetric data and displayed on a display device. Need to send.

【0005】このため、上記データ配列変換装置から読
み出す1水平ライン分の出力データを、データ入力保存
時とは逆から読み出すことによって、左右線対称のデー
タを得る方法が提案されている。
For this reason, a method has been proposed in which the output data for one horizontal line read from the data array conversion device is read from the reverse of the case of storing the data input, thereby obtaining the data which is bilaterally symmetrical.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来例において、1枚の鏡により左右反転した像を撮像し
て得られた画素データであって、さらにodd,eve
nの2水平ライン分の画素データが点順次等、規則的に
配列されているものをodd,evenを分離し、さら
に1ラインごとに左右対称の配列変換を行うには、従
来、4ライン分以上のメモリ容量を必要としている。
However, in the above-mentioned conventional example, the pixel data obtained by picking up an image which is horizontally inverted by one mirror, and further includes odd, eve.
In order to separate odd and even from pixel data of n horizontal lines that are regularly arranged, such as dot sequential, and to perform symmetric array conversion for each line, conventionally four lines are required. The above memory capacity is required.

【0007】このため、メモリ一体型のASIC(appl
ication spesified IC)化を図る場合など、ICサイズ
が内蔵メモリの容量に大きく左右されてしまい、コスト
的、サイズ的に有利といわれている省サイズASICを
実現することが難しい。
Therefore, a memory-integrated ASIC (appl
In the case of ication spesified IC), the IC size greatly depends on the capacity of the built-in memory, and it is difficult to realize a size-saving ASIC that is said to be advantageous in terms of cost and size.

【0008】そこで、本発明は、データ配列変換に用い
るメモリ容量を削減することが可能なデータ配列変換装
置を提供することを目的としている。
Therefore, it is an object of the present invention to provide a data array conversion device capable of reducing the memory capacity used for data array conversion.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に本発明のデータ配列変換装置では、1水平期間内にo
dd(奇数)およびeven(偶数)の2水平ライン分
の画素データが規則的に配列されたデータが入力される
入力ポートと、この入力ポートに入力されたデータを保
存するメモリ部とを設け、メモリ部を、それぞれ1ライ
ン分の入力データの保存容量を持つ3個のブロックで構
成し、これら3個のブロックのうち1個の特定ブロック
にoddラインおよびevenラインのうちの一方の入
力データを保存し、残りの2個のブロックに、他方の入
力データを1ライン分ごとに交互に保存するとともに、
上記3個のブロックから順次保存データを読み出してデ
ータ配列を変換する配列変換手段を設けている。
In order to achieve the above object, the data array conversion apparatus of the present invention uses o within one horizontal period.
An input port to which data in which pixel data for two horizontal lines of dd (odd number) and even (even) are regularly arranged is input, and a memory unit for storing the data input to this input port are provided. The memory section is configured by three blocks each having a storage capacity of input data for one line, and one specific block of these three blocks is provided with one input data of the odd line and the even line. Save and save the other input data for each line alternately in the remaining two blocks.
Arrangement conversion means for converting the data arrangement by sequentially reading the stored data from the three blocks is provided.

【0010】例えば、上記特定ブロックに対しては、2
水平ラインのうち第1のラインの上記一方のデータを正
方向に書き込んだ後、このデータを逆方向に読み出すと
ともに、第2のラインの上記一方のデータを逆方向に書
き込んだ後、このデータを正方向に読み出し、上記他の
2個のブロックに対しては、第1および第2のラインの
上記他方の入力データを正方向に書き込んだ後、逆方向
に読み出すようにする。 これにより、1水平期間内に
oddおよびevenの2水平ライン分の画素データが
規則的に配列されたデータの1ラインごとの左右対称配
列変換を3ライン分のメモリ容量を用いて行うことが可
能となる。このため、メモリ一体型のICの小型化に有
効である。
For example, for the specific block, 2
After writing the above-mentioned one data of the first line of the horizontal line in the forward direction, reading this data in the reverse direction, and writing the above-mentioned one data of the second line in the reverse direction, and then writing this data For the other two blocks, the data is read in the positive direction, and the other input data of the first and second lines is written in the positive direction and then read in the reverse direction. As a result, it is possible to perform a left-right symmetric array conversion for each line of data in which pixel data for two horizontal lines of odd and even are regularly arrayed within one horizontal period using a memory capacity of three lines. Becomes Therefore, it is effective for downsizing a memory integrated IC.

【0011】なお、輝度信号のデータと色差信号のデー
タとを処理する画像処理システムには、上記データ配列
変換装置を2つ設けてこれらを同時に動作させ、一方の
データ配列変換装置により輝度信号の配列変換を行い、
他方のデータ配列変換装置により色差信号の配列変換を
行うようにするとよい。
An image processing system for processing the data of the luminance signal and the data of the color difference signal is provided with two of the above-mentioned data array conversion devices, and these are operated at the same time. Array conversion,
The other data array conversion device may be used to perform array conversion of the color difference signals.

【0012】そして、反射部材によって左右反転された
像を撮像する画像入力装置に上記データ配列変換装置を
用いることにより、左右が正しく補正された表示画像を
得ることが可能となる。
By using the data array conversion device as an image input device for picking up an image that is horizontally inverted by the reflecting member, it is possible to obtain a display image in which the left and right are correctly corrected.

【0013】[0013]

【発明の実施の形態】(第1実施形態)図1には、本発
明の実施形態である画像入力装置としての書画カメラを
示している。また、図2には、上記書画カメラに備えら
れた画像入力システムの構成を示している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (First Embodiment) FIG. 1 shows a document camera as an image input device according to an embodiment of the present invention. In addition, FIG. 2 shows a configuration of an image input system provided in the document camera.

【0014】図1において、1は書画カメラであり、2
は原稿台である。この原稿台2上には、書類100等の
撮影対象物が載置される。
In FIG. 1, 1 is a document camera, and 2
Is a manuscript table. An object to be photographed such as the document 100 is placed on the original table 2.

【0015】5は原稿台2の上方に配置された鏡(反射
部材)であり、3は撮像部である。この撮像部3には、
図示しない撮影光学ユニットおよびCCD等の撮像素子
が収納されている。また、撮像部3は、撮影光学ユニッ
トのAE、AF制御等を行う撮影制御部を有する。
Reference numeral 5 is a mirror (reflecting member) arranged above the original table 2, and 3 is an image pickup section. In this image pickup unit 3,
An image pickup optical unit (not shown) and an image pickup device such as a CCD are housed. Further, the image pickup unit 3 has a shooting control unit that performs AE, AF control, and the like of the shooting optical unit.

【0016】4は原稿台2の左右上方に配置された照明
部であり、原稿台2に載置された撮影対象物を照明す
る。20は各種操作スイッチが設けられた操作部であ
る。
Reference numeral 4 denotes an illuminating unit disposed above and below the document table 2 and illuminates an object to be photographed placed on the document table 2. Reference numeral 20 is an operation unit provided with various operation switches.

【0017】このように構成された書画カメラ1におい
ては、撮影対象物からの光束が鏡5によって左右反転さ
れて撮像部3に入射する。撮像部3に入射した光束は撮
像素子上に結像し、左右が反転した撮影対象物の像が撮
像される。
In the document camera 1 thus constructed, the light flux from the object to be photographed is horizontally inverted by the mirror 5 and is incident on the image pickup section 3. The light flux that has entered the image pickup unit 3 forms an image on the image pickup device, and an image of the image pickup object whose left and right are inverted is picked up.

【0018】図10において、10は画像処理部であ
り、撮像部3によって撮像(光電変換)された画像信号
を取り込み、その画像信号の振幅、ホワイトバランス、
周波数特性に関する処理を行い、デジタル化した画像信
号Aとして出力する。
In FIG. 10, reference numeral 10 denotes an image processing unit, which takes in an image signal imaged (photoelectrically converted) by the image pickup unit 3, and outputs the amplitude and white balance of the image signal.
The processing relating to the frequency characteristic is performed and output as a digitized image signal A.

【0019】15は配列変換部であり、上記画像信号A
はこの配列変換部15で後述するデータ配列変換処理を
受け、メモリ(RAM)14に一時保管される。なお、
配列変換部15は、図には1つのみ記載しているが、実
際には、輝度信号用と色差信号用の2つが設けられてい
る。
Reference numeral 15 denotes an array conversion unit, which is the image signal A described above.
Is subjected to data array conversion processing, which will be described later, in the array conversion unit 15, and is temporarily stored in the memory (RAM) 14. In addition,
Although only one array conversion unit 15 is shown in the drawing, actually two array conversion units 15 are provided for the luminance signal and the color difference signal.

【0020】12はROM13に格納されたプログラム
に基づいて各処理を実行するCPUである。CPU12
は、システムバス21に接続された各デバイスを統括的
に制御する。
Reference numeral 12 denotes a CPU that executes each process based on a program stored in the ROM 13. CPU12
Controls the devices connected to the system bus 21 in a centralized manner.

【0021】11はRAMであり、CPU12の主メモ
リ、ワークエリア等として機能する。22は照明制御部
であり、CPU12からの制御命令を受けて照明部4の
ON、OFF制御を行う。
Reference numeral 11 denotes a RAM, which functions as a main memory, a work area, etc. of the CPU 12. An illumination control unit 22 receives a control command from the CPU 12 and performs ON / OFF control of the illumination unit 4.

【0022】また、16は入力された予め規定されたサ
イズおよび予め規定された速さ(例えば15フレーム/
秒)の画像を、図示しないモニターやプロジェクタ等の
出力装置に入力可能なサイズおよび速さ(例えば60フ
レーム/秒)で出力を可能にする、解像度、速度変換I
C等のスキャンコンバータに代表される解像度変換部で
ある。
Reference numeral 16 denotes an input pre-specified size and pre-specified speed (for example, 15 frames /
Resolution, speed conversion I that enables output of an image of (second) at a size and speed (for example, 60 frames / second) that can be input to an output device such as a monitor or a projector (not shown).
A resolution conversion unit represented by a scan converter such as C.

【0023】19は解像度変換部16から出力されたデ
ータをモニタやプロジェクタ等の画像表示装置に出力す
る出力部インターフェースである。
An output unit interface 19 outputs the data output from the resolution conversion unit 16 to an image display device such as a monitor or a projector.

【0024】さらに、17は操作部20に設けられたス
イッチ等からの信号に応じてシステムバス21に接続さ
れた各デバイスに信号を送る操作部コントローラであ
る。
Reference numeral 17 denotes an operation unit controller which sends a signal to each device connected to the system bus 21 in response to a signal from a switch or the like provided in the operation unit 20.

【0025】次に、配列変換部15(メモリ14を含
む)のより詳細な構成について、図5を用いて説明す
る。図5は輝度(Y)信号用の配列変換部15とメモリ
14の構成を示すブロック図であり、図示しないが、色
差(UV:Cr、Cb)信号用の配列変換部15も同じ
構成となっている。
Next, a more detailed structure of the array converter 15 (including the memory 14) will be described with reference to FIG. FIG. 5 is a block diagram showing the configuration of the array conversion unit 15 for the luminance (Y) signal and the memory 14. Although not shown, the array conversion unit 15 for the color difference (UV: Cr, Cb) signals also has the same configuration. ing.

【0026】図5において、30はメモリコントローラ
であり、メモリ14内のブロックとしてのデュアルポー
トメモリA(31)、デュアルポートメモリB(32)
およびデュアルポートメモリC(33)のアドレス、チ
ップセレクト等の制御信号をコントロールして、各メモ
リ31〜33へのデータの入出力コントロールを行う。
In FIG. 5, reference numeral 30 denotes a memory controller, which is a dual port memory A (31) and a dual port memory B (32) as blocks in the memory 14.
Also, control signals such as the address of the dual port memory C (33) and chip select are controlled to control the input / output of data to / from the memories 31 to 33.

【0027】34はセレクタであり、各メモリ31〜3
3からのデータの読み出しを、図6に示すデータ出力タ
イミングに適合するように選択的に行わせる。
Reference numeral 34 is a selector, which is a memory 31-3.
The data read from the data No. 3 is selectively performed so as to match the data output timing shown in FIG.

【0028】図3には、配列変換部15に対する画像処
理部10からの入力データの配列をタイミングチャート
として示している。また、図4には、配列変換部15か
ら出力されるデータの配列(ここでは、YUV422フ
ォーマットの配列)をタイミングチャートとして示して
いる。
FIG. 3 is a timing chart showing the arrangement of input data from the image processing unit 10 to the arrangement conversion unit 15. Further, in FIG. 4, an array of data output from the array conversion unit 15 (here, an array in the YUV422 format) is shown as a timing chart.

【0029】次に、配列変換部15のデータ配列変換動
作について図6および図7を用いて説明する。図6は輝
度(Y)信号用の配列変換部15でのデータ書き込みと
読み出し動作を表すタイミングチャートであり、図示し
ないが、色差(UV)信号用の配列変換部15も同じ動
作を行う。また、図7はデータ配列変換動作のうちメモ
リA〜C(31〜33)へのデータ書き込みシーケンス
を示すフローチャートであり、図8はメモリA〜C(3
1〜33)からのデータ読み出しシーケンスを示すフロ
ーチャートである。なお、色差(UV)信号用の配列変
換部15でも同じ動作が、輝度(Y)信号用の配列変換
部15の動作と同時に行われる。
Next, the data array conversion operation of the array conversion unit 15 will be described with reference to FIGS. 6 and 7. FIG. 6 is a timing chart showing the data writing and reading operations in the array conversion unit 15 for the luminance (Y) signal, and although not shown, the array conversion unit 15 for the color difference (UV) signal also performs the same operation. Further, FIG. 7 is a flowchart showing a data writing sequence in the memories A to C (31 to 33) in the data array conversion operation, and FIG.
3 is a flowchart showing a data reading sequence from 1 to 33). The same operation is performed in the color difference (UV) signal arrangement conversion unit 15 at the same time as the operation of the luminance (Y) signal arrangement conversion unit 15.

【0030】まず、図7に示したメモリA〜C(31〜
33)へのデータ書き込みシーケンスを説明する。
First, the memories A to C (31 to 31 shown in FIG.
The data write sequence to 33) will be described.

【0031】図7のステップ(図ではSと略す)0で書
き込みシーケンスをスタートすると、ステップ1で垂直
同期信号を検知する。
When the write sequence is started at step 0 (abbreviated as S in the figure) of FIG. 7, a vertical synchronizing signal is detected at step 1.

【0032】次に、ステップ2で水平同期信号を検知す
るのを待ち、検知したときはステップ3に進む。
Next, in step 2, the process waits until the horizontal synchronizing signal is detected, and when it is detected, the process proceeds to step 3.

【0033】ステップ3,4では、データ書き込みタイ
ミングまでの時間をカウントし、ステップ4でカウンタ
値Cが規定値LastKに達したときはステップ5に進
む。
In steps 3 and 4, the time until the data write timing is counted, and when the counter value C reaches the specified value LastK in step 4, the process proceeds to step 5.

【0034】ステップS5では、上記カウンタの値Cを
リセットするとともに、メモリ書き込みアドレスの初期
値を設定する。
In step S5, the counter value C is reset and the initial value of the memory write address is set.

【0035】そして、ステップ6では、図6に示すよう
に、Yodd画素のデータをメモリA(31)に書き込
む。また、これと同時にステップ7では、Yeven画
素のデータをメモリB(32)に書き込む。このとき、
両データはそれぞれ、メモリA(31),B(32)に
正方向(アドレスのカウント値ADが増加していく方
向)に書き込まれる。
Then, in step 6, as shown in FIG. 6, the data of the Yodd pixel is written in the memory A (31). At the same time, in step 7, the data of the Even pixel is written in the memory B (32). At this time,
Both data are respectively written in the memories A (31) and B (32) in the positive direction (the direction in which the address count value AD increases).

【0036】ステップ8では、ステップ6,7を実行す
るごとにメモリ書き込みアドレスのカウント値ADをア
ップする。
In step 8, the count value AD of the memory write address is incremented every time steps 6 and 7 are executed.

【0037】そして、ステップ9でメモリ書き込みアド
レスが最終画素のアドレスLastADに達したか否か
を判定し、最終画素のアドレスに達していないときはス
テップ6に戻り、最終画素のアドレスに達するとステッ
プ10に進む。図6においては、スタートからここまで
でメモリA(31),B(32)への1ライン目のYo
dd,Yeven画素データ(Y1odd,Y1eve
n)の書き込みが終了する。
Then, in step 9, it is judged whether or not the memory write address has reached the address LastAD of the last pixel. If the address of the last pixel has not been reached, the process returns to step 6, and if the address of the last pixel is reached, the step is performed. Go to 10. In FIG. 6, Yo of the first line to the memories A (31) and B (32) from the start to here
dd, Even pixel data (Y1odd, Y1eve
The writing of n) is completed.

【0038】ステップ10では、所定のブランキング期
間をカウントするためのカウンタ値Bを初期値(0)に
設定する。
In step 10, the counter value B for counting the predetermined blanking period is set to the initial value (0).

【0039】次に、ステップ11では、ブランキング期
間カウント用のカウンタ値Bをアップする。そして、ス
テップ12で、ブランキング期間カウンタ値Bが規定値
LastBに達したか否かを判定し、達していないとき
はステップ11に戻ってカウントを続行し、達したとき
はステップ13に進む。
Next, at step 11, the counter value B for counting the blanking period is increased. Then, in step 12, it is determined whether or not the blanking period counter value B has reached the specified value LastB. If it has not reached, the process returns to step 11 to continue counting, and if it has reached, the process proceeds to step 13.

【0040】ステップ13では、メモリ書き込みアドレ
スの初期値設定と規定値LastADの設定を行う。そ
して、S14では、次のラインのYodd画素データを
メモリA(31)に最終アドレス側から(すなわち、逆
方向から)順に書き込む。これは、画像データを左右反
転させるために、後述する読み出しシーケンスにおいて
メモリA(31)に書き込まれたデータを最終アドレス
側から読み出して空きアドレスとするからである。
In step 13, the initial value of the memory write address and the specified value LastAD are set. Then, in S14, the Yodd pixel data of the next line is sequentially written into the memory A (31) from the final address side (that is, from the reverse direction). This is because the data written in the memory A (31) in the later-described read sequence is read from the final address side and set as an empty address in order to horizontally reverse the image data.

【0041】ステップ15では、メモリA(31)の書
き込みアドレスのカウント値AD_Aをダウンする。
In step 15, the count value AD_A of the write address of the memory A (31) is decreased.

【0042】また、ステップ13と同時に、ステップ1
6では、次のラインのYeven画素データをメモリC
(33)に正方向に書き込む。そして、ステップ17で
は、メモリC(33)の書き込みアドレスのカウント値
ADをアップする。
At the same time as step 13, step 1
6, the even pixel data of the next line is stored in the memory C.
Write in the positive direction in (33). Then, in step 17, the count value AD of the write address of the memory C (33) is increased.

【0043】そして、ステップ18では、メモリC(3
3)の書き込みアドレスが最終画素のアドレスLast
ADに達した(メモリAの書き込みアドレスが最初の画
素のアドレスに達した)か否かを判定し、達していない
ときはステップ14に戻り、達したときはステップ19
に進む。図6においては、最初のブランキング期間後か
らここまででメモリA(31),C(33)への2ライ
ン目のYodd,Yeven画素データ(Y2odd,
Y2even)の書き込みが終了する。
Then, in step 18, the memory C (3
The write address of 3) is the address Last of the last pixel
It is determined whether AD has been reached (the write address of the memory A has reached the address of the first pixel). If not reached, the procedure returns to step 14, and if reached, step 19 is performed.
Proceed to. In FIG. 6, the Yodd and Yeven pixel data (Y2odd, Y2odd, Y) of the second line to the memories A (31) and C (33) from the first blanking period up to this point.
Writing of (Y2even) is completed.

【0044】次に、ステップ19で、ブランキング期間
のカウント値Bを初期値設定し、ステップ20でブラン
キング期間のカウント値Bをアップする。
Next, in step 19, the count value B of the blanking period is set to an initial value, and in step 20, the count value B of the blanking period is increased.

【0045】次に、ステップ21では、垂直同期信号を
検知したか否かを判定し、検知していないときはステッ
プ22に進んで、ブランキング期間のカウンタ値Bが規
定値LastBに達したか(ブランキング期間が終了し
たか)否かを判定する。終了しなければステップ20に
戻り、終了していればステップ2に戻って、次の2ライ
ン分のデータ書き込みを行う。
Next, at step 21, it is judged whether or not the vertical synchronizing signal is detected, and if not detected, the routine proceeds to step 22, where the counter value B of the blanking period has reached the specified value LastB. It is determined whether (the blanking period has ended). If not completed, the process returns to step 20, and if completed, the process returns to step 2 to write data for the next two lines.

【0046】以上の書き込みシーケンスを繰り返すこと
により、撮像素子の全水平ラインの画素データのメモリ
A〜C(31〜33)への書き込みが順次行われる。
By repeating the above write sequence, the pixel data of all horizontal lines of the image pickup device are sequentially written to the memories A to C (31 to 33).

【0047】次に、図8に示したメモリA〜C(31〜
33)からのデータ読み出しシーケンスを説明する。
Next, the memories A to C (31 to 31 shown in FIG.
The data read sequence from 33) will be described.

【0048】図8のステップ100で読み出しシーケン
スをスタートすると、ステップ101で垂直同期信号を
検知する。
When the read sequence is started in step 100 of FIG. 8, a vertical sync signal is detected in step 101.

【0049】次に、ステップ102で、メモリA(3
1)への1ライン分のデータ書き込みが終了したことを
検知するまで待ってステップ103に進む。
Next, at step 102, the memory A (3
The process waits until it is detected that the writing of data for 1 line to 1) is completed, and the process proceeds to step 103.

【0050】ステップ103では、メモリ読み出しアド
レスのカウンタ値ADを初期設定するとともに、規定値
LastADを設定する。
In step 103, the counter value AD of the memory read address is initialized and the specified value LastAD is set.

【0051】次に、ステップ104では、メモリA(3
1)から、最終アドレス側から(逆方向に)データを読
み出す。このように書き込みシーケンスで正方向に書き
込まれたデータを、逆方向から読み出すことにより、左
右反転した画像データが得られることになる。図6にお
いては、1ライン目のYodd画素データ(Y1od
d)がメモリA(31)に書き込まれた後、この1ライ
ン目のYodd画素データが逆方向に読み出される。
Next, at step 104, the memory A (3
From 1), data is read from the final address side (in the reverse direction). By thus reading the data written in the forward direction in the writing sequence from the reverse direction, the image data which is horizontally inverted is obtained. In FIG. 6, the Yodd pixel data of the first line (Y1od
After d) is written in the memory A (31), the Yodd pixel data of the first line is read in the reverse direction.

【0052】そして、ステップ105では、メモリA
(31)の読み出しアドレスのカウント値ADをダウン
し、次のステップ106では、カウンタ値が最初画素の
アドレスに達したか否かを判定して、達していないとき
はステップ104に戻り、達したときはステップ107
に進む。図6においては、メモリA(31)からの1ラ
イン目のYodd画素データの読み出し開始後、ここま
でで同画素データの読み出しが終了する。
Then, in step 105, the memory A
The count value AD of the read address of (31) is decreased, and in the next step 106, it is determined whether or not the counter value has reached the address of the first pixel. If not, the process returns to step 104 and is reached. When step 107
Proceed to. In FIG. 6, after the reading of the Yodd pixel data of the first line from the memory A (31) is started, the reading of the same pixel data is completed up to this point.

【0053】ステップ107では、ブランキング期間を
カウントするためのカウンタ値BLの初期値設定を行
い、次のステップ108ではカウンタ値BLをアップす
る。
In step 107, the initial value of the counter value BL for counting the blanking period is set, and in the next step 108, the counter value BL is increased.

【0054】そして、ステップ109では、カウンタ値
BLが規定値LastBLに達したか否かを判定し、達
していなければステップ108に戻り、達していればス
テップ110に進む。
Then, in step 109, it is determined whether or not the counter value BL has reached the specified value LastBL. If it has not reached, the process returns to step 108, and if it has reached, the process proceeds to step 110.

【0055】ステップ110では、メモリ読み出しアド
レスのカウンタ値ADを初期設定するとともに、規定値
LastADを設定する。
In step 110, the counter value AD of the memory read address is initialized and the specified value LastAD is set.

【0056】次に、ステップ111では、メモリB(3
2)から、最終アドレス側から(逆方向に)データを読
み出す。図6においては、1ライン目のYodd画素デ
ータ(Y1odd)の読み出し終了後、ブランキング期
間を経て、1ライン目のYeven画素データ(Y1e
ven)がメモリB(32)から逆方向に読み出され
る。
Next, in step 111, the memory B (3
From 2), the data is read from the final address side (in the reverse direction). In FIG. 6, after the reading of the Yodd pixel data (Y1odd) of the first line is completed, a blanking period is passed, and the Even pixel data (Y1e of the first line is read.
ven) is read from the memory B (32) in the reverse direction.

【0057】そして、ステップ112では、メモリB
(32)の読み出しアドレスのカウント値ADをダウン
し、次のステップ113では、カウンタ値が最初の画素
のアドレスに達したか否かを判定して、達していないと
きはステップ111に戻り、達したときはステップ11
4に進む。図6においては、メモリB(32)からの1
ライン目のYeven画素データの読み出し開始後、こ
こまでで同画素データの読み出しが終了する。
Then, in step 112, the memory B
The count value AD of the read address in (32) is decremented, and in the next step 113, it is determined whether or not the counter value has reached the address of the first pixel. Step 11
Go to 4. In FIG. 6, 1 from the memory B (32)
After the start of reading the Even pixel data of the line, the reading of the same pixel data is completed by this point.

【0058】ステップ114では、ブランキング期間を
カウントするためのカウンタ値BLの初期値設定を行
い、次のステップ115ではカウンタ値BLをアップす
る。
In step 114, the initial value of the counter value BL for counting the blanking period is set, and in the next step 115, the counter value BL is increased.

【0059】そして、ステップ116では、カウンタ値
BLが規定値LastBLに達したか否かを判定し、達
していなければステップ115に戻り、達していればス
テップ117に進む。
Then, in step 116, it is determined whether or not the counter value BL has reached the specified value LastBL. If it has not reached, the process returns to step 115, and if it has reached, the process proceeds to step 117.

【0060】ステップ117では、メモリ読み出しアド
レスのカウンタ値ADを初期設定するとともに、規定値
LastADを設定する。
In step 117, the counter value AD of the memory read address is initialized and the specified value LastAD is set.

【0061】次に、ステップ118では、メモリA(3
1)から、最初のアドレス側から(正方向に)データを
読み出す。これは、上述した書き込みシーケンスのステ
ップ14において、逆方向に書き込まれたデータを、正
方向から読み出すためである。図6においては、2ライ
ン目のYodd画素データ(Y2odd)がメモリA
(31)に書き込まれた後(1ライン目のYeven画
素データ(Y1even)がメモリB(32)から読み
出された後)、この2ライン目のYodd画素データが
正方向に読み出される。
Next, at step 118, the memory A (3
From 1), data is read from the first address side (in the positive direction). This is for reading the data written in the reverse direction from the forward direction in step 14 of the above-described write sequence. In FIG. 6, the Yodd pixel data (Y2odd) on the second line is the memory A.
After being written in (31) (after reading the Even line pixel data (Y1even) of the first line from the memory B (32)), the Yodd pixel data of the second line is read in the positive direction.

【0062】そして、ステップ119では、メモリA
(31)の読み出しアドレスのカウント値ADをアップ
し、次のステップ120では、カウンタ値が最終画素の
アドレスLastADに達したか否かを判定して、達し
ていないときはステップ118に戻り、達したときはス
テップ121に進む。図6においては、メモリA(3
1)からの2ライン目のYodd画素データの読み出し
開始後、ここまでで同画素データの読み出しが終了す
る。
Then, in step 119, the memory A
The count value AD of the read address in (31) is incremented, and in the next step 120, it is determined whether or not the counter value has reached the address LastAD of the last pixel. If so, the process proceeds to step 121. In FIG. 6, the memory A (3
After the reading of the Yodd pixel data of the second line from 1) is started, the reading of the same pixel data is completed by this point.

【0063】ステップ121では、ブランキング期間を
カウントするためのカウンタ値BLの初期値設定を行
い、次のステップ122ではカウンタ値BLをアップす
る。
In step 121, the initial value of the counter value BL for counting the blanking period is set, and in the next step 122, the counter value BL is increased.

【0064】そして、ステップ123では、カウンタ値
BLが規定値LastBLに達したか否かを判定し、達
していなければステップ122に戻り、達していればス
テップ124に進む。
Then, in step 123, it is determined whether or not the counter value BL has reached the specified value LastBL, and if it has not reached it returns to step 122, and if it has reached to step 124.

【0065】ステップ124では、メモリ読み出しアド
レスのカウンタ値ADを初期設定するとともに、規定値
LastADを設定する。
In step 124, the counter value AD of the memory read address is initialized and the specified value LastAD is set.

【0066】次に、ステップ125では、メモリC(3
3)から、最終アドレス側から(逆方向に)データを読
み出す。図6においては、2ライン目のYodd画素デ
ータ(Y2odd)の読み出し終了後、ブランキング期
間を経て、2ライン目のYeven画素データ(Y2e
ven)がメモリC(33)から逆方向に読み出され
る。
Next, at step 125, the memory C (3
From 3), the data is read from the final address side (in the reverse direction). In FIG. 6, after the reading of the Yodd pixel data (Y2odd) of the second line is completed, a blanking period is passed, and then the Even pixel data (Y2e of the second line).
ven) is read from the memory C (33) in the reverse direction.

【0067】そして、ステップ126では、メモリC
(33)の読み出しアドレスのカウント値ADをダウン
し、次のステップ127では、カウンタ値が最初の画素
のアドレスに達したか否かを判定して、達していないと
きはステップ125に戻り、達したときはステップ10
2に戻る。図6においては、メモリC(33)からの2
ライン目のYeven画素データの読み出し開始後、こ
こまでで同画素データの読み出しが終了する。
Then, in step 126, the memory C
The count value AD of the read address of (33) is decremented, and in the next step 127, it is determined whether or not the counter value has reached the address of the first pixel. If not, the process returns to step 125 to reach it. Step 10
Return to 2. In FIG. 6, 2 from the memory C (33)
After the start of reading the Even pixel data of the line, the reading of the same pixel data is completed by this point.

【0068】以上の読み出しシーケンスを繰り返すこと
により、撮像素子の全水平ラインの画素データのメモリ
A〜C(31〜33)からの読み出しが順次行われる。
By repeating the above reading sequence, the pixel data of all horizontal lines of the image pickup device are sequentially read from the memories A to C (31 to 33).

【0069】こうしてodd、even、odd、ev
en…の順で読み出された画素データは、3つのメモリ
へのデータ書き込みと読み出しを15メモリコントロー
ラで前述のように行うことによって図4に示すように配
列される。
Thus, odd, even, odd, ev
The pixel data read out in the order of en ... Are arranged as shown in FIG. 4 by writing and reading data to and from the three memories by the 15-memory controller as described above.

【0070】[0070]

【発明の効果】以上説明したように、本発明によれば、
1水平期間内にoddおよびevenの2水平ライン分
の画素データが規則的に配列されたデータの1ラインご
との左右対称配列変換を3ライン分のメモリ容量を用い
て行うことができる。このため、メモリ一体型のICの
小型化に有効である。
As described above, according to the present invention,
It is possible to perform a left-right symmetric array conversion for each line of data in which pixel data for two horizontal lines of odd and even are regularly arrayed within one horizontal period using a memory capacity for three lines. Therefore, it is effective for downsizing a memory integrated IC.

【0071】そして、反射部材によって左右反転された
像を撮像する画像入力装置に本発明のデータ配列変換装
置を用いれば、左右が正しく補正された表示画像を得る
ことができる。
If the data array conversion device of the present invention is used as an image input device for picking up an image which is horizontally inverted by the reflecting member, a display image whose right and left are correctly corrected can be obtained.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の実施形態である書画カメラ(画像入力
装置)を示す外観図。
FIG. 1 is an external view showing a document image camera (image input device) according to an embodiment of the present invention.

【図2】上記画像入力装置の電気的構成を示すブロック
図。
FIG. 2 is a block diagram showing an electrical configuration of the image input device.

【図3】上記配列変換部における入力データの配列を示
したタイミングチャート。
FIG. 3 is a timing chart showing an array of input data in the array conversion unit.

【図4】上記配列変換部における出力データの配列を示
したタイミングチャート。
FIG. 4 is a timing chart showing an array of output data in the array conversion unit.

【図5】上記配列変換部の構成を示すブロック図であ
る。
FIG. 5 is a block diagram showing a configuration of the array conversion unit.

【図6】上記配列変換部におけるデータの書き込み・読
み出し動作を表すタイミングチャート。
FIG. 6 is a timing chart showing a data write / read operation in the array conversion unit.

【図7】上記配列変換部におけるデータの書き込み動作
を表すフローチャート。
FIG. 7 is a flowchart showing a data write operation in the array conversion unit.

【図8】上記配列変換部におけるデータの読み出し動作
を表すフローチャート。
FIG. 8 is a flowchart showing a data read operation in the array conversion unit.

【符号の説明】[Explanation of symbols]

1 書画カメラ 2 原稿台 3 撮像部 4 照明部 5 鏡 10 画像処理部 11 RAM 12 CPU 13 ROM 14 メモリ 15 配列変換部 16 解像度変換部 17 操作部コントローラ 19 出力部I/F 20 操作部 22 照明制御部 100 書類 1 Document camera 2 Platen 3 Imaging unit 4 Lighting section 5 mirror 10 Image processing section 11 RAM 12 CPU 13 ROM 14 memory 15 Array converter 16 Resolution converter 17 Operation unit controller 19 Output section I / F 20 Operation part 22 Lighting control unit 100 documents

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 11/20 H04N 1/04 Z Fターム(参考) 5C022 CA07 5C057 AA01 BA13 EB15 GG04 GG06 GG07 5C072 AA01 BA01 EA04 UA12 UA20 XA10 5C082 AA03 AA27 BA12 BA26 BA34 BB26 BD09 CB03 DA59 DA61 DA86 EA17 EA18 MM04 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 7 Identification code FI theme code (reference) H04N 11/20 H04N 1/04 Z F term (reference) 5C022 CA07 5C057 AA01 BA13 EB15 GG04 GG06 GG07 5C072 AA01 BA01 EA04 UA12 UA20 XA10 5C082 AA03 AA27 BA12 BA26 BA34 BB26 BD09 CB03 DA59 DA61 DA86 EA17 EA18 MM04

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 1水平期間内にoddおよびevenの
2水平ライン分の画素データが規則的に配列されたデー
タが入力される入力ポートと、この入力ポートに入力さ
れたデータを保存するメモリ部とを備え、 前記メモリ部は、それぞれ1ライン分の入力データの保
存容量を持つ3個のブロックで構成されており、 これら3個のブロックのうち1個の特定ブロックにod
dラインおよびevenラインのうちの一方の入力デー
タを保存し、他の2個のブロックに、他方の入力データ
を1ライン分ごとに交互に保存するとともに、前記3個
のブロックから順次保存データを読み出してデータ配列
を変換する配列変換手段を有することを特徴とするデー
タ配列変換装置。
1. An input port to which data in which pixel data for two horizontal lines of odd and even are regularly arranged is input in one horizontal period, and a memory unit for storing the data input to this input port. And the memory section is composed of three blocks each having a storage capacity of one line of input data, and one of these three blocks has an odd number in one specific block.
The input data of one of the d line and the even line is stored, the other input data is alternately stored in the other two blocks for each line, and the stored data is sequentially stored from the three blocks. A data array conversion device comprising array conversion means for reading and converting a data array.
【請求項2】 前記配列変換手段は、前記特定ブロック
に対し、前記2水平ラインのうち第1のラインの前記一
方のデータを正方向に書き込んだ後、このデータを逆方
向に読み出すとともに、第2のラインの前記一方のデー
タを逆方向に書き込んだ後、このデータを正方向に読み
出し、 前記他の2個のブロックに対し、前記第1および第2の
ラインの前記他方の入力データを正方向に書き込んだ
後、逆方向に読み出すことを特徴とする請求項1に記載
のデータ配列変換装置。
2. The array conversion means writes the data of one of the first lines of the two horizontal lines in the positive direction to the specific block, reads the data in the reverse direction, and After writing the one data of the second line in the reverse direction, the data is read in the positive direction, and the other input data of the first and second lines is positively written to the other two blocks. The data array conversion apparatus according to claim 1, wherein the data array conversion device writes data in a direction and then reads data in a reverse direction.
【請求項3】 請求項1又は2に記載のデータ配列変換
装置を2つ備えるとともにこれらデータ配列変換装置を
同時に動作させ、 一方のデータ配列変換装置により、入力された画像デー
タのうち輝度信号の配列変換を行い、他方のデータ配列
変換装置により色差信号の配列変換を行うことを特徴と
する画像処理システム。
3. A data array conversion apparatus according to claim 1 or 2 is provided, and these data array conversion apparatuses are operated at the same time, and one of the data array conversion apparatuses outputs a luminance signal of the input image data. An image processing system characterized by performing array conversion and performing array conversion of color difference signals by the other data array conversion device.
【請求項4】 請求項3に記載の画像処理システムを備
えたことを特徴とする画像入力装置。
4. An image input device comprising the image processing system according to claim 3.
【請求項5】 撮影対象物からの光束を反射する反射部
材と、この反射部材により左右反転された像を撮像して
画像データを出力する撮像手段とを有することを特徴と
する請求項4に記載の画像入力装置。
5. A reflection member for reflecting a light flux from an object to be photographed, and an image pickup unit for picking up an image laterally inverted by the reflection member and outputting image data. The image input device described.
JP2001335353A 2001-10-31 2001-10-31 Data array conversion device, image processing system, and image input device Expired - Fee Related JP3566687B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001335353A JP3566687B2 (en) 2001-10-31 2001-10-31 Data array conversion device, image processing system, and image input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001335353A JP3566687B2 (en) 2001-10-31 2001-10-31 Data array conversion device, image processing system, and image input device

Publications (2)

Publication Number Publication Date
JP2003140637A true JP2003140637A (en) 2003-05-16
JP3566687B2 JP3566687B2 (en) 2004-09-15

Family

ID=19150348

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001335353A Expired - Fee Related JP3566687B2 (en) 2001-10-31 2001-10-31 Data array conversion device, image processing system, and image input device

Country Status (1)

Country Link
JP (1) JP3566687B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018142625A1 (en) * 2017-02-06 2018-08-09 株式会社Pfu Image reading assist device and image reading device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018142625A1 (en) * 2017-02-06 2018-08-09 株式会社Pfu Image reading assist device and image reading device

Also Published As

Publication number Publication date
JP3566687B2 (en) 2004-09-15

Similar Documents

Publication Publication Date Title
US7236193B2 (en) Apparatus and method to capture image and other data and recording onto multiple recording medium
TW595201B (en) Electronic camera for producing quickview images
JPH1118097A (en) Device and method for picking up image and recording medium recording the same method
JPH08331285A (en) Image input device
JPH05130399A (en) Original reader
US20060044420A1 (en) Image pickup apparatus
US20070096011A1 (en) Imaging device driver, imaging device driving method, and image signal processor
US7477267B2 (en) Display apparatus and displaying method for the same
JP2003348387A (en) Document presentation apparatus
JP2003140637A (en) Data array converting device, image processing system, and image input device
JP7004851B2 (en) Image pickup device, image data processing method of image pickup device, and program
JP3858447B2 (en) Electronic camera device
US20090102750A1 (en) Image display control apparatus, method for controlling the same, and program
JP4531294B2 (en) Symbol information reader
JPH1042244A (en) Picture processor
JP4211572B2 (en) Imaging device
JP4132264B2 (en) Image signal processing circuit
JP2000092349A (en) Image processor
JP2002290838A (en) Video signal processing system and imaging apparatus
JP4525382B2 (en) Display device and imaging device
JP2006197548A (en) Imaging apparatus
JP4677581B2 (en) Data transfer control device and data transfer method
JP4181655B2 (en) Image processing apparatus, image processing method, and computer-readable storage medium
JPH0572639A (en) Image reader
JPH07184102A (en) Image pickup device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20031208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20031216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040216

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040610

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees