JP2705944B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2705944B2
JP2705944B2 JP63149997A JP14999788A JP2705944B2 JP 2705944 B2 JP2705944 B2 JP 2705944B2 JP 63149997 A JP63149997 A JP 63149997A JP 14999788 A JP14999788 A JP 14999788A JP 2705944 B2 JP2705944 B2 JP 2705944B2
Authority
JP
Japan
Prior art keywords
image
data
information
output
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP63149997A
Other languages
Japanese (ja)
Other versions
JPH01318354A (en
Inventor
英雄 高木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP63149997A priority Critical patent/JP2705944B2/en
Priority to US07/333,041 priority patent/US4947267A/en
Priority to EP89105996A priority patent/EP0336403B1/en
Priority to DE68923474T priority patent/DE68923474T2/en
Publication of JPH01318354A publication Critical patent/JPH01318354A/en
Application granted granted Critical
Publication of JP2705944B2 publication Critical patent/JP2705944B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimiles In General (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、画像処理装置に関し、特に入力した画像デ
ータをデジタルデータとして出力する画像処理装置に関
するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus, and more particularly to an image processing apparatus that outputs input image data as digital data.

〔従来の技術〕[Conventional technology]

従来より、入力した画像データをデジタルデータとし
て出力する画像処理装置の一例として、画像読取装置が
知られている。従来から知られている画像読取装置で
は、まず原稿を照射し、照射された画像情報を例えば1
画素4ビットのデジタル値に光電変換し(以下、1画素
4ビットの光電変換画像読取装置について述べる)、 1画素を4ビットで表わす多値情報(以下、多値と称
す。) 所定のデジタル値をスライス・レベルとし、1画素を
‘1'と‘0'の情報で表わす2値情報(以下、2値と称
す。)、 m×nマトリクスの各デジタル値をスライス・レベル
とし、1画素を‘1'と‘0'の情報で表わす2値化ディザ
情報(以下、ディザと称す。) のいずれかに変調している。
2. Description of the Related Art Conventionally, an image reading apparatus has been known as an example of an image processing apparatus that outputs input image data as digital data. 2. Description of the Related Art In a conventionally known image reading apparatus, first, a document is illuminated, and illuminated image information is
The pixel is photoelectrically converted into a digital value of 4 bits (hereinafter, a photoelectric conversion image reading apparatus of 4 bits per pixel will be described), and multi-value information representing one pixel by 4 bits (hereinafter, referred to as multi-value) predetermined digital value Is a slice level, one pixel is represented by binary information (hereinafter, referred to as binary) represented by information of '1' and '0', and each digital value of an m × n matrix is a slice level, and one pixel is It is modulated to one of binary dither information (hereinafter, referred to as dither) represented by information of “1” and “0”.

次に、変調された画像情報は、多値情報の場合1画素
を8ビット又は2画素置分を8ビットとした転送形式
で、また2値及びディザ情報の場合は8画素分を8ビッ
トとした転送形式で外部装置へ転送される。
Next, the modulated image information is transferred in a transfer format in which one pixel is 8 bits or two pixels are eight bits in the case of multi-value information, and eight pixels are eight bits in the case of binary and dither information. Is transferred to the external device in the specified transfer format.

そこで画像読取装置は、あらかじめ設定された転送形
式(多値1画素8ビット,多値2画素8ビット,2値・デ
ィザ8画素8ビット)に基づいて、原稿を読取り、画像
変調を行なっている。
Therefore, the image reading apparatus reads a document and modulates an image based on a preset transfer format (8-bit multi-valued pixel, 8-bit multi-valued 2 pixel, 8-bit binary / dithered 8 pixel). .

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

上述したとおり従来例では、1画素8ビットあるいは
2画素8ビットの多値情報と8画素8ビットの2値情報
およびディザ情報にみられるとおり、外部装置へ画像情
報を転送する際に、3種類の画像転送形式がある。この
為、外部装置へ画像を転送する前段で複数の画像転送形
式のうちの一つを選択する必要があった。
As described above, in the conventional example, when image information is transferred to an external device, as shown in the multi-value information of 8 bits per pixel or 8 bits of 2 pixels, the binary information of 8 bits of 8 pixels, and the dither information, three types of information are used. Image transfer format. Therefore, it is necessary to select one of a plurality of image transfer formats before transferring an image to an external device.

殊に、原稿内の文字部と写真部を区別して読取る読取
装置に於いては、文字部(2値情報)と写真部(ディザ
情報)を区別する回路が必要である。その結果として、
必要とされる回路を持つことにより、読取装置内ハード
ウェアを小さくできず、また、画像転送形式を指定する
為の手段(外部装置から指令する場合、外部装置から読
取装置への制御コード;読取装置に画像読取に関する指
令手段を持っている場合、外部装置へ転送形式を知らせ
る制御コード)が必要であった。
In particular, in a reading apparatus which reads a character portion and a photograph portion in a document while distinguishing them, a circuit for distinguishing the character portion (binary information) and the photograph portion (dither information) is required. As a result,
By having the necessary circuits, the hardware in the reading device cannot be reduced, and means for specifying the image transfer format (a control code from the external device to the reading device when commanded from an external device; reading) When the apparatus has a command means for image reading, a control code for notifying the transfer format to the external apparatus is required.

本発明は上述の点に鑑みなされたもので、本発明の目
的は、複数の画像転送形式に係るデジタルデータの1画
素分のデータを一単位として出力し得るように構成する
ことにより、煩雑な操作や装置の大型化を招くことな
く、この出力データを受け取る外部装置において必要な
データを活用できる画像処理装置を提供することにあ
る。
SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and an object of the present invention is to provide a configuration in which data for one pixel of digital data according to a plurality of image transfer formats can be output as one unit, thereby complicating the present invention. It is an object of the present invention to provide an image processing apparatus that can utilize necessary data in an external device that receives the output data without increasing the size of the operation or the device.

〔課題を解決するための手段〕[Means for solving the problem]

かかる目的を達成するために、本発明に係る画像処理
装置は、画像データを入力する入力手段と、前記入力手
段で入力した画像データをデジタルデータとして出力す
る出力手段とを有する画像処理装置であって、前記入力
手段で入力した画像データの複数の画像転送形式に係る
デジタルデータを1画素ごとに一体化して所定のビット
長のデータとして結合する結合手段を備え、前記出力手
段は前記結合手段で結合した1画素分のデータを一単位
として出力するものである。
In order to achieve the above object, an image processing apparatus according to the present invention is an image processing apparatus that includes an input unit that inputs image data, and an output unit that outputs the image data input by the input unit as digital data. Digital data relating to a plurality of image transfer formats of the image data input by the input means, and integrating the digital data for each pixel into a data having a predetermined bit length. The combined data for one pixel is output as one unit.

[作 用] 本発明では、複数の画像転送形式に係るデジタルデー
タを1画素ごとに一体化して所定のビット長のデータと
して結合し、この結合した1画素分のデータを一単位と
して出力するので、煩雑な操作や装置の大型化を招くこ
となく、この出力データを受け取る外部装置において、
必要なデータを活用し得るように出力することができ
る。
[Operation] In the present invention, digital data relating to a plurality of image transfer formats is integrated for each pixel and combined as data having a predetermined bit length, and the combined data for one pixel is output as one unit. In an external device that receives this output data without incurring complicated operations and increasing the size of the device,
It can be output so that necessary data can be utilized.

[実施例] 本発明の一実施例では、読取装置で光電変換された1
画素を多値と2値とディザの3種類の画像情報に変調し
た後、外部装置へ画像を転送する際行なっていた処理
(多値情報の場合、1画素8ビット又は2画素分を8ビ
ット、2値・ディザ情報の場合8画素を8ビット)を行
なわず多値,2値,ディザ画像情報を組合せ1画素8ビッ
トの多値,2値,ディザ画像情報として外部装置へ転送す
るものである。
Embodiment In one embodiment of the present invention, 1
After modulating a pixel into three types of image information of multi-valued, binary and dither, the process performed when transferring an image to an external device (in the case of multi-valued information, 8 bits per pixel or 8 bits per 2 pixels) In the case of binary / dither information, 8 pixels are not 8 bits, and multi-value, binary, and dither image information are combined and transferred to an external device as 8-bit multi-value, binary, dither image information of 1 pixel. is there.

以下に、図面を参照して本発明の一実施例を詳細に説
明する。
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

第1図は、本発明を適用した原稿読取装置の内部構成
を示す図である。
FIG. 1 is a diagram showing an internal configuration of a document reading apparatus to which the present invention is applied.

1は、原稿画像読取装置本体でプラテンガラス17上の
原稿を原稿照明ユニット15で照射し、レンズ14によりCC
D12に原稿像を結像させる様になっている。
Reference numeral 1 denotes a document image reading apparatus main body, which irradiates a document on a platen glass 17 with a document illumination unit 15 and
A document image is formed on D12.

第2図は、CCDドライバー13及び制御ユニット11の回
路構成を示すブロック図である。
FIG. 2 is a block diagram showing a circuit configuration of the CCD driver 13 and the control unit 11.

第1図および第2図を用いて原稿読取装置の動作説明
を行なう。
The operation of the document reading apparatus will be described with reference to FIGS.

本実施例による読取装置は、常に外部装置(パーソナ
ルコンピューター等)と接続されておりこの外部装置と
のコントロール信号の通信や外部装置への画像情報信号
出力は、インターフェース回路26を介して行なわれる。
原稿18がプラテンガラス17上に置かれた状態で外部装置
により各種モードの指示が入力される。例えば、画素密
度をいずれにするか、画像倍率をいずれにするか等であ
る。
The reading device according to the present embodiment is always connected to an external device (such as a personal computer), and communication of control signals with the external device and output of image information signals to the external device are performed via the interface circuit 26.
While the original 18 is placed on the platen glass 17, instructions of various modes are input by an external device. For example, what is the pixel density, what is the image magnification, and the like.

これを受けたCPU27はあらかじめタイミング信号発生
回路28やモータードライブ信号出力部(図示せず)を設
定し、上記画素密度や画像倍率の設定をしておく。
The CPU 27 that has received this sets the timing signal generation circuit 28 and the motor drive signal output unit (not shown) in advance, and sets the pixel density and image magnification in advance.

次に、外部装置から読取開始指示を受付けると、CPU2
7は光学位置センサー信号によって光学系が読取初期位
置にあることを確認後、ランプ制御信号を出力して、ラ
ンプをONさせ、ランプの光量が安定した後モータードラ
イブ信号を出力して、読取開始位置まで光学系を移動さ
せる。
Next, when a reading start instruction is received from the external device, the CPU 2
7) After confirming that the optical system is at the initial reading position by the optical position sensor signal, output the lamp control signal, turn on the lamp, output the motor drive signal after the light intensity of the lamp is stabilized, and start reading Move the optical system to the position.

この間、CCD12に結像された画像はデジタル値に変換
されてインターフェース回路26に入力されるが、これは
本体の画像でない為、CPU27は画像信号を出力しないよ
うインターフェース回路26に制御信号を与える。
During this time, the image formed on the CCD 12 is converted into a digital value and input to the interface circuit 26. Since this is not an image of the main body, the CPU 27 provides a control signal to the interface circuit 26 so as not to output an image signal.

光学系が読取開始位置に達すると、CPU27はインター
フェース回路26に画像信号出力可の制御信号を出力し、
読取られた画像情報が次々と外部装置に送られる。そし
て、原稿読取終了位置に達すると、インターフェース回
路26に画像出力不可の制御信号を与えると共に、外部装
置に原稿読取終了信号を出力する。
When the optical system reaches the reading start position, the CPU 27 outputs a control signal for enabling image signal output to the interface circuit 26,
The read image information is sent to the external device one after another. When the document reading end position is reached, a control signal of image output disable is given to the interface circuit 26 and a document reading end signal is output to the external device.

CPU27は、ランプ制御信号を出力して、ランプをOFFさ
せる。CPU27は、光学系を初期信号へ移動させる為に、
モータードライブ信号を出力し、光学系が初期信号へ達
したことを光学位置センサー信号より確認した後、モー
タードライブ信号の出力を停止させ読取動作を終了す
る。
The CPU 27 outputs a lamp control signal to turn off the lamp. CPU27 moves the optical system to the initial signal,
After outputting the motor drive signal and confirming from the optical position sensor signal that the optical system has reached the initial signal, the output of the motor drive signal is stopped and the reading operation is completed.

次に、ランプにより照射され、レンズ14を通過し、CC
D12に結像された画像が外部装置へ出力されるまでを説
明する。
Next, it is illuminated by a lamp, passes through lens 14,
The process until the image formed on D12 is output to the external device will be described.

CCDドライバー13上のCCD12は、制御ユニット11上のタ
イミング信号発生回路28によって生成されるタイミング
信号により、CCD駆動回路23を通して駆動される。CCD12
より出力される画像アナログ信号は、増幅器21によって
増幅されてA/Dコンバーター22に入力される。A/Dコンバ
ーター22では、タイミング信号発生回路28で生成された
タイミング信号により(第3図参照)、画像信号がアナ
ログ信号から6ビットのデジタル信号に変換され、制御
ユニック11に出力される。
The CCD 12 on the CCD driver 13 is driven through a CCD drive circuit 23 by a timing signal generated by a timing signal generation circuit 28 on the control unit 11. CCD12
The output image analog signal is amplified by the amplifier 21 and input to the A / D converter 22. In the A / D converter 22, the image signal is converted from an analog signal into a 6-bit digital signal by the timing signal generated by the timing signal generation circuit 28 (see FIG. 3), and is output to the control unit 11.

制御ユニットでは、画像情報にある高周波的なひずみ
(ランプの不均一性,CCDの各画素特性バラツキ,ゴミ)
をシェーディング補正回路24で補正し、インターフェー
ス回路26と、2値化回路25へ出力される。
In the control unit, high-frequency distortion in the image information (lamp non-uniformity, CCD pixel characteristics variation, dust)
Is corrected by the shading correction circuit 24, and is output to the interface circuit 26 and the binarization circuit 25.

2値化回路25では、あらかじめCPU27で設定された2
値情報にする為のスライスデータとディザ情報にする為
のディザ用スライスデータによって、6ビット多値情報
を2値・ディザ情報に変調する(第4図参照)。
In the binarization circuit 25, a binary value set in advance by the CPU 27 is used.
The 6-bit multi-level information is modulated into binary / dither information by slice data for converting to value information and slice data for dither for generating dither information (see FIG. 4).

CPU27より、主走査ディザ・マトリクスを6ビットラ
ッチ×8個のラッチ回路41へ書込む。このラッチ後のデ
ータは、6ビットラッチ×8個のラッチ回路42へ入力さ
れる。このデータはφSHでラッチされ、現在ラッチ回路
41に書込まれたディザ・マトリクス・データは、次の副
走査読取時にカウンタ付セレクタ43へ入力される。
The CPU 27 writes the main-scan dither matrix into 6-bit latches × 8 latch circuits 41. The latched data is input to a 6-bit latch × 8 latch circuits 42. This data is latched by φ SH and the current latch circuit
The dither matrix data written in 41 is input to the selector 43 with a counter at the time of the next sub-scanning reading.

カウンタ付セレクタは、φAD(1画素クロック)によ
り‘0'から‘7'までを繰り返しカウントアップし、ラッ
チ回路42から出力された8個のディザ・データの1ディ
ザ・データを選択するようになっている。そして、この
選択されたデータを比較器45へ入力し、A/D変換器22か
ら出力された6ビットの多値情報のスライスデータとし
ている。ここで、各副走査ごとにCPU27より、副走査デ
ィザ・データ8個(6ビット×8)をラッチ回路41に書
込むことにより、8×8ディザを実現することができ
る。
The selector with a counter repeatedly counts up from '0' to '7' by φ AD (one pixel clock) and selects one dither data of eight dither data output from the latch circuit 42. Has become. Then, the selected data is input to the comparator 45, and is used as the slice data of the 6-bit multi-value information output from the A / D converter 22. Here, 8 × 8 dither can be realized by writing eight pieces of sub-scan dither data (6 bits × 8) into the latch circuit 41 from the CPU 27 for each sub-scan.

2値化回路25より出力された2値・ディザ情報は、1
画素8ビットの画像情報にインターフェース回路26で変
換される。
The binary / dither information output from the binarization circuit 25 is 1
The image data is converted into 8-bit image information by the interface circuit 26.

第5図は、インターフェース回路26内の画像データ出
力部を示したものである。ここでは、多値情報をビット
0からビット5、ディザ情報をビット6、2値情報をビ
ット7に設定した際の3種類画像情報の組合せを示して
いる。
FIG. 5 shows an image data output unit in the interface circuit 26. Here, a combination of three types of image information when the multilevel information is set from bit 0 to bit 5, the dither information is set to bit 6, and the binary information is set to bit 7 is shown.

この様に、読取装置から出力される画像データ形式を
1通りの1画素8ビット組合せ方式にし、多値,ディ
ザ,2値情報を一括して外部装置へ転送することが可能と
なる。
In this manner, the image data output from the reading device can be formed into one type of 8-bit combination per pixel, and the multi-valued, dithered, and binary information can be transferred to the external device in a lump.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明によれば、1画素ごとに複
数の画像転送形式のデジタルデータを一単位として出力
することにより、煩雑な走査や装置の大型化を招くこと
なく、この出力データを受け取る外部装置において、必
要なデータを活用することができる。
As described above, according to the present invention, a plurality of image transfer format digital data are output as one unit for each pixel, so that the output data can be received without incurring complicated scanning or increasing the size of the apparatus. Necessary data can be utilized in the external device.

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

第1図は本発明を適用した原稿読取装置の内部構成を示
す図、 第2図は本実施例におけるCCDドライバおよび制御ユニ
ットの構成を示すブロック図、 第3図は本実施例の動作を示すタイミング図、 第4図は本実施例における2値化回路の詳細なブロック
構成図、 第5図は本実施例におけるインターフェイス回路の入出
力態様を示す図である。 1……原稿読取装置、 11……制御ユニット、 12……CCD、 13……CCDドライバ、 14……レンズ、 15……原稿照明ユニット、 16……反射ミラー、 17……プラテンガラス、 18……原稿、 19……プラテンカバー、 24……シェーディング補正回路、 25……2値化回路、 26……インターフェイス回路、 27……CPU。
FIG. 1 is a diagram showing the internal configuration of a document reading apparatus to which the present invention is applied, FIG. 2 is a block diagram showing the configuration of a CCD driver and a control unit in the present embodiment, and FIG. 3 shows the operation of the present embodiment. FIG. 4 is a detailed block diagram of a binarizing circuit according to the present embodiment. FIG. 5 is a diagram showing input / output aspects of an interface circuit according to the present embodiment. 1 Document reader, 11 Control unit, 12 CCD, 13 CCD driver, 14 Lens, 15 Document illumination unit, 16 Reflection mirror, 17 Platen glass, 18 ... manuscript, 19 ... platen cover, 24 ... shading correction circuit, 25 ... binarization circuit, 26 ... interface circuit, 27 ... CPU.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画像データを入力する入力手段と、前記入
力手段で入力した画像データをデジタルデータとして出
力する出力手段とを有する画像処理装置において、 前記入力手段で入力した画像データの複数の画像転送形
式に係るデジタルデータを1画素ごとに一体化して所定
のビット長のデータとして結合する結合手段を備え、 前記出力手段は前記結合手段で結合した1画素分のデー
タを一単位として出力することを特徴とする画像処理装
置。
1. An image processing apparatus comprising: input means for inputting image data; and output means for outputting the image data input by the input means as digital data, wherein a plurality of images of the image data input by the input means are provided. A combining unit that integrates digital data relating to the transfer format for each pixel and combines the data as data of a predetermined bit length, wherein the output unit outputs the data of one pixel combined by the combining unit as one unit An image processing apparatus characterized by the above-mentioned.
JP63149997A 1988-04-06 1988-06-20 Image processing device Expired - Fee Related JP2705944B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP63149997A JP2705944B2 (en) 1988-06-20 1988-06-20 Image processing device
US07/333,041 US4947267A (en) 1988-04-06 1989-04-04 Image reading apparatus
EP89105996A EP0336403B1 (en) 1988-04-06 1989-04-05 Image reading apparatus
DE68923474T DE68923474T2 (en) 1988-04-06 1989-04-05 Image reader.

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63149997A JP2705944B2 (en) 1988-06-20 1988-06-20 Image processing device

Publications (2)

Publication Number Publication Date
JPH01318354A JPH01318354A (en) 1989-12-22
JP2705944B2 true JP2705944B2 (en) 1998-01-28

Family

ID=15487211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63149997A Expired - Fee Related JP2705944B2 (en) 1988-04-06 1988-06-20 Image processing device

Country Status (1)

Country Link
JP (1) JP2705944B2 (en)

Also Published As

Publication number Publication date
JPH01318354A (en) 1989-12-22

Similar Documents

Publication Publication Date Title
US5563713A (en) Image processing method and apparatus with adding of a white outline to an outline of a character image
JP2705944B2 (en) Image processing device
EP0336403B1 (en) Image reading apparatus
US5566253A (en) Method, a device and apparatus for processing values corresponding to measurements of pixels, and a facsimile system and a data processing system
JPH0380668A (en) High quality of image scanner
JP4400321B2 (en) Image reading device
JPS58186264A (en) Facsimile device
KR100338073B1 (en) Color Image Scanning Method Using Mono Image Sensor
JP2755506B2 (en) Image forming device
JP2888627B2 (en) Image reading device
JP3475606B2 (en) Image processing device
JP3420500B2 (en) Image reading device, image reading method, and storage medium
JP3014257B2 (en) Document reading device
JPH03237873A (en) Picture processing system
JPH01160180A (en) Reader
JPH0377475A (en) Picture reader
JPH04292073A (en) Shading compensating device
JPH04354462A (en) Picture reader
JPH01238276A (en) Image reader
JPH0470165A (en) Picture reader
JPS60231279A (en) Compensating method of shading
JPH09275488A (en) Image reader
JPH09186879A (en) Image reader
JPH0241074A (en) Color picture processing unit
JPH0738682B2 (en) Image signal processing processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees