JP3486149B2 - Image reading device and recording medium - Google Patents

Image reading device and recording medium

Info

Publication number
JP3486149B2
JP3486149B2 JP2000066000A JP2000066000A JP3486149B2 JP 3486149 B2 JP3486149 B2 JP 3486149B2 JP 2000066000 A JP2000066000 A JP 2000066000A JP 2000066000 A JP2000066000 A JP 2000066000A JP 3486149 B2 JP3486149 B2 JP 3486149B2
Authority
JP
Japan
Prior art keywords
data
color
light receiving
recording
blocks
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
JP2000066000A
Other languages
Japanese (ja)
Other versions
JP2001257847A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2000066000A priority Critical patent/JP3486149B2/en
Publication of JP2001257847A publication Critical patent/JP2001257847A/en
Application granted granted Critical
Publication of JP3486149B2 publication Critical patent/JP3486149B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Facsimiles In General (AREA)
  • Facsimile Scanning Arrangements (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、たとえばファクシ
ミリ装置や電子掲示板などに好適な画像読み取り装置、
および画像読み取り装置を制御するためのプログラムを
記憶した記憶媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reading apparatus suitable for, for example, a facsimile machine or an electronic bulletin board,
And a storage medium storing a program for controlling the image reading apparatus.

【0002】[0002]

【従来の技術】いわゆる電子掲示板は、たとえば白地の
筆記シートにフェルトペンなどで書き込まれた文字や図
形などの画像を読み取る密着型イメージスキャナ(以
下、Contact Image Scanner を略して「CIS」と言
う。)や、CISにより得られた画像を記録紙に対して
記録するサーマルプリンタなどを備え、筆記シート上の
画像を記録紙に対して複写する機能を有している。
2. Description of the Related Art A so-called electronic bulletin board is a contact image scanner (hereinafter, contact image scanner is abbreviated as "CIS") for reading images such as characters and figures written with a felt pen on a white writing sheet. ) Or a thermal printer for recording an image obtained by CIS on a recording paper, and has a function of copying an image on a writing sheet onto the recording paper.

【0003】ここで、CISは、多数の受光素子が筆記
シートの幅方向に沿って直列状に並んだ線形のものであ
るが、その中には、受光素子をブロックごとに区割りし
て各ブロック間に継ぎ目を有するものもある。なお、こ
のブロックとは、受光チップ単位に形成される部分であ
って、一つのブロックが一つの受光チップに相当する。
Here, the CIS is a linear type in which a large number of light receiving elements are arranged in series along the width direction of the writing sheet. In the CIS, the light receiving elements are divided into blocks and each block is divided into blocks. Some have seams between them. The block is a portion formed in units of light receiving chips, and one block corresponds to one light receiving chip.

【0004】また、最近の電子掲示板は、専用の感熱紙
などを用いて赤黒2色の記録色で複写が可能とされてい
る。このような電子掲示板では、異なる色の光源を排他
的にオン/オフ制御し、CISによる受光色を交互に切
り替えて線順次方式によりドットデータを取得してい
る。たとえば、CISを介して筆記シートから画像を読
み取る際、1ラインの読み取り中に光源である黄色と赤
色のLED(発光ダイオード)が交互に切り替えられ
る。黄色のLEDが発光する際には、受光素子により赤
と黒の画素部分が同色部分として捉えられ、それに応じ
て黄色のドットデータが得られる一方、赤色のLEDが
発光する際には、黒の画素部分のみを捉えた赤色のドッ
トデータが得られる。そして、これらの色別に得られた
ドットデータは、マイクロプロセッサなどの演算処理を
経て赤黒の記録色をデータ内容に含む記録用の出力デー
タに変換され、この出力データに基づいて記録処理が行
われる。
In recent electronic bulletin boards, it is possible to copy with two recording colors of red and black using a dedicated thermal paper. In such an electronic bulletin board, the light sources of different colors are exclusively turned on / off, and the light-receiving color by CIS is alternately switched to acquire the dot data by the line-sequential method. For example, when reading an image from a writing sheet via the CIS, yellow and red LEDs (light emitting diodes), which are light sources, are switched alternately during reading one line. When the yellow LED emits light, the red and black pixel portions are recognized as the same color portion by the light receiving element, and yellow dot data is obtained accordingly, while when the red LED emits light, the black pixel portion Red dot data that captures only the pixel portion can be obtained. Then, the dot data obtained for each of these colors is converted into output data for recording including the recording colors of red and black in the data content through arithmetic processing such as a microprocessor, and the recording processing is performed based on this output data. .

【0005】[0005]

【発明が解決しようとする課題】ところで、上記各ブロ
ック間に継ぎ目を有するCISでは、構造上、継ぎ目付
近の受光素子に対する光量が十分得られないために、そ
の付近が黒い画素部分として捉えられるおそれがあっ
た。そうした場合、筆記シート全体から読み取った画像
を記録紙上に記録すると、ブロック間の継ぎ目に応じて
縦方向に黒い記録ラインを生じてしまう。そのため、こ
の種のCISを介してモノクロ画像を読み取る場合に
は、受光に応じて得られたドットデータを出力データに
変換する前、ブロック間の継ぎ目付近より得られたデー
タを消去することが得策とされている。
By the way, in the CIS having a seam between the above-mentioned blocks, because of the structure, a sufficient amount of light cannot be obtained for the light receiving element in the vicinity of the seam. was there. In such a case, if an image read from the entire writing sheet is recorded on the recording paper, a black recording line is generated in the vertical direction depending on the joint between the blocks. Therefore, when reading a monochrome image via this type of CIS, it is a good idea to erase the data obtained from the vicinity of the joint between blocks before converting the dot data obtained in response to light reception into output data. It is said that.

【0006】ところが、先述したように、受光色を切り
替えて色別にドットデータを得るものでは、受光素子に
より捉えられた光の色別にドットデータを得るという観
点から、上記のような問題に対して何ら対策が施される
ことなく考慮されてもいなかった。そうした場合、たと
えば黄色発光の際に得られたドットデータが正当なもの
であっても、赤色発光に際して得られたドットデータ中
にブロック間の継ぎ目付近を黒い画素部分として捉えた
不当なデータが存在すると、上記と同様の問題を生じて
しまうこととなる。
However, as described above, in the case of obtaining the dot data for each color by switching the light receiving color, the above problem is solved from the viewpoint of obtaining the dot data for each color of the light captured by the light receiving element. It was not considered without any measures taken. In such a case, for example, even if the dot data obtained during yellow emission is valid, there is incorrect data in the dot data obtained during red emission that captures the vicinity of the joint between blocks as a black pixel portion. Then, the same problem as described above will occur.

【0007】一方、受光素子の感度を考えると、下地の
白と黒い画素部分との境界付近が受光レベルによっては
たとえば赤と捉えられやすく、筆記シート全体から読み
取った画像を記録紙上に記録する際、たとえば記録紙の
幅方向に沿う黒い記録ラインの直後に赤い記録ラインが
出現するという問題があった。
On the other hand, considering the sensitivity of the light receiving element, the vicinity of the boundary between the white and black pixel portions of the background is easily regarded as red, for example, depending on the light receiving level, and when an image read from the entire writing sheet is recorded on recording paper. For example, there is a problem that a red recording line appears immediately after a black recording line along the width direction of the recording paper.

【0008】本発明は、上記の点に鑑みて提案されたも
のであって、画像を列順に読み取って得た色別のデータ
を適正化し、その列に対して直交する縦方向または平行
な横方向に沿っても余分な色の出現を防ぐことができる
画像読み取り装置、およびその画像読み取り装置を制御
するためのプログラムをコンピュータ読み取り可能に記
録した記録媒体を提供することを目的とする。
The present invention has been proposed in view of the above points, and optimizes data for each color obtained by reading an image in a column order, and a vertical direction or a horizontal direction orthogonal to the column is set. An image reading device that can prevent the appearance of extra colors even along the direction, and a program for controlling the image reading device that can be read by a computer.
The purpose is to provide a recorded recording medium.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載した発明の画像読み取り装置は、多
数の受光素子をブロックごとに区割りして構成された線
形受光手段を介して、受光色を交互に切り替えながら列
順に入力シートの画像を読み取る画像読み取り装置であ
って、上記線形受光手段を介して画像を読み取る際、上
記各ブロックの受光素子より受光色の切り替えに応じて
色別にドットデータを得るドットデータ色別取得手段
と、上記ドットデータ色別取得手段により得られた各色
のドットデータの中から、上記ブロック間の継ぎ目から
所定の受光素子数だけ離れた受光素子により得られたデ
ータが上記入力シートの地色に相当するデータであるか
否かを判別する判別手段と、上記判別手段により上記受
光素子により得られたデータ が上記入力シートの地色に
相当するデータであると判別されると、上記ブロック間
の継ぎ目と上記受光素子との間にある受光素子より得ら
れた所定ドット数のデータを上記入力シートの地色に相
当するデータに修正する継ぎ目データ修正手段とを有す
ることを特徴とする。
In order to achieve the above object, the image reading apparatus of the present invention according to claim 1 uses a linear light receiving means configured by dividing a large number of light receiving elements into blocks. , An image reading device for reading an image of an input sheet in a column order while alternately switching the light-receiving color, and when reading an image through the linear light-receiving means, a color is received from the light-receiving element of each block according to the switching of the light-receiving color. From dot data color-by-color acquisition means for separately obtaining dot data and dot data of each color obtained by the dot-data-by-color acquisition means, from the joint between the blocks
The data obtained by the light receiving elements that are separated by the specified number of light receiving elements.
Is the data corresponding to the background color of the input sheet
A determining means for determining whether or not the receiving
The data obtained by the optical element is the background color of the input sheet.
If it is determined that the data is the corresponding data,
The data of the specified number of dots obtained from the light receiving element between the seam of the input sheet and the light receiving element is applied to the background color of the input sheet.
And a seam data correction means for correcting the corresponding data.

【0010】このような画像読み取り装置によれば、各
列各色ごとに得られるドットデータからは、黒い画素と
して捉えられやすいブロック間の継ぎ目付近に相当する
所定ドット数のデータが入力シートの地色に相当するデ
ータに修正されるので、このような処理を経たドットデ
ータを正当な色情報を含むデータとして扱うことがで
き、画像を読み取る列に対して直交する縦方向に沿って
もブロック間の継ぎ目に応じた余分な色の出現を防ぐこ
とができる。特に、ブロック間の継ぎ目付近より得られ
たデータが孤立している場合、言い換えれば、その付近
に連続した画素が認められない場合、その付近から得ら
れたデータを入力シートの地色に相当するデータに修正
するので、確からしい確率をもって紛らわしいデータを
消去することができる。
According to such an image reading apparatus, from the dot data obtained for each color of each column, the data of a predetermined number of dots corresponding to the vicinity of the joint between the blocks, which is easily recognized as a black pixel, is the background color of the input sheet. Equivalent to
The dot data that has undergone such processing can be treated as data that includes valid color information because it is corrected by the data. Therefore, it is possible to prevent the appearance of extra colors. Especially, it is obtained near the joint between blocks.
Data is isolated, in other words, its vicinity
If no consecutive pixels are found in the
Corrected data to the data corresponding to the ground color of the input sheet
Therefore, it is possible to obtain confusing data with a certain probability.
Can be erased.

【0011】[0011]

【0012】[0012]

【0013】請求項に記載した発明の画像読み取り装
置は、請求項1に記載の画像読み取り装置であって、上
記継ぎ目データ修正手段は、上記ブロック間の継ぎ目よ
り片側一方、またはその両側の受光素子より得られた所
定ドット数のデータを上記入力シートの地色に相当する
データに修正する。
An image reading apparatus according to a second aspect of the present invention is the image reading apparatus according to the first aspect, wherein the seam data correcting means receives light on one side of the seam between the blocks or on both sides thereof. Data of a certain number of dots obtained from the element corresponds to the background color of the input sheet
Correct the data .

【0014】このような画像読み取り装置によれば、請
求項に記載の画像読み取り装置による効果に加えて、
受光素子の光の受け方などから色の捉え違いを起こしや
すい、ブロック間の継ぎ目を基準とした片側一方または
その両側より得られたデータを紛らわしいデータとして
消去することができる。
According to such an image reading device, in addition to the effect of the image reading device according to claim 1 ,
It is possible to erase data obtained from one side or both sides based on the joint between blocks, which is apt to cause color misunderstanding depending on how the light receiving element receives light, as confusing data.

【0015】また、請求項に記載した発明の画像読み
取り装置は、請求項1または請求項2に記載の画像読み
取り装置であって、上記継ぎ目データ修正手段は、所定
のデータの内容を修正した後、その修正データのうち、
少なくとも上記ブロック間の継ぎ目に隣接する受光素子
に対応するデータを上記ドットデータから除去する。
Further, the image reading apparatus of the invention described in claim 3 is the image reading apparatus according to claim 1 or claim 2, said seam data correction means, and modify the contents of certain data Later, of the modified data,
At least the light receiving element adjacent to the seam between the blocks
The data corresponding to is removed from the dot data .

【0016】このような画像読み取り装置によれば、請
求項または請求項2に記載の画像読み取り装置による効
果に加えて、たとえば、紛らわしいデータを入力シート
の地色に相当するデータに修正することでデータの内容
を無効にした後、その修正データのうち、少なくともブ
ロック間の継ぎ目に隣接する受光素子に対応するデータ
を除去することでドットデータから不要なデータを排除
することができる。
According to such an image reading apparatus, in addition to the effect of the image reading apparatus according to claim or claim 2, for example, enter a misleading Datasheet
After disabling the contents of the data by modifying the data corresponding to the ground color, among the corrected data, at least blanking
Unnecessary data can be excluded from the dot data by removing the data corresponding to the light receiving element adjacent to the joint between the locks .

【0017】さらに、請求項に記載した発明の画像読
み取り装置は、請求項1ないし請求項のいずれかに記
載の画像読み取り装置であって、上記継ぎ目データ修正
手段の処理を経て得られたドットデータに対してさらに
所定の演算処理を施すことにより、複数の記録色をデー
タ内容に含む記録用の出力データを生成する出力データ
生成手段を有する。
Further, an image reading apparatus according to a fourth aspect of the present invention is the image reading apparatus according to any one of the first to third aspects, wherein the processing of the seam data correction means is performed. An output data generation unit for generating recording output data including a plurality of recording colors in the data content is provided by further performing a predetermined arithmetic processing on the dot data obtained through the above process.

【0018】このような画像読み取り装置によれば、請
求項1ないし請求項のいずれかに記載の画像読み取り
装置による効果に加えて、適正な色情報を含むドットデ
ータに基づいて記録用の出力データを生成することがで
き、この出力データに基づいて記録列ごとに記録を施す
ことによっても、その記録列に対して直交する縦方向の
余分な色の出現を防ぐことができる。
According to such an image reading device, in addition to the effect of the image reading device according to any one of claims 1 to 3 , an output for recording is made based on dot data including proper color information. Data can be generated, and by performing recording for each recording row based on this output data, it is possible to prevent the appearance of extra colors in the vertical direction orthogonal to the recording row.

【0019】[0019]

【0020】[0020]

【0021】[0021]

【0022】[0022]

【0023】また、請求項に記載した発明の記録媒体
は、コンピュータを、多数の受光素子をブロックごとに
区割りして構成された線形受光手段を介して、受光色を
交互に切り替えながら列順に入力シートの画像を読み取
る画像読み取り装置として機 能させるためのプログラム
記録したコンピュータ読み取り可能な記録媒体であっ
て、上記コンピュータを、上記線形受光手段を介して画
像を読み取る際、上記各ブロックの受光素子より受光色
の切り替えに応じて色別にドットデータを得るためのド
ットデータ色別取得手段と、上記ドットデータ色別取得
手段により得られた各色のドットデータの中から、上記
ブロック間の継ぎ目から所定の受光素子数だけ離れた受
光素子により得られたデータが上記入力シートの地色に
相当するデータであるか否かを判別する判別手段と、上
記判別手段により上記受光素子により得られたデータが
上記入力シートの地色に相当するデータであると判別さ
れると、上記ブロック間の継ぎ目と上記受光素子との間
にある受光素子より得られた所定ドット数のデータを
記入力シートの地色に相当するデータに修正するための
継ぎ目データ修正手段として機能させるためのプログラ
ムを記録したことを特徴とする。
According to a fifth aspect of the present invention, there is provided a recording medium in which a computer is arranged in a column order while alternately switching the light receiving color via a linear light receiving means configured by dividing a large number of light receiving elements into blocks. a computer-readable recording medium recording a program for causing a function as an image reading apparatus for reading an image of the input sheet, the computer, when reading the image through the linear light receiving means, receiving the blocks Dot data color-by-color acquisition means for acquiring dot data for each color according to the switching of the light-receiving color from the element, and the above-mentioned dot data color-by-color acquisition
From each color dot data obtained by means, the
Receivers separated by a specified number of light receiving elements from the joints between blocks
The data obtained by the optical element is the background color of the input sheet.
A discriminating means for discriminating whether or not the data is equivalent,
The data obtained by the light receiving element by
It is determined that the data corresponds to the background color of the input sheet.
Between the blocks and the light receiving element
Above a predetermined number of dots of the data obtained from the light receiving elements in
A program for functioning as a seam data correction means for correcting data corresponding to the ground color of the input sheet is recorded .

【0024】このような記憶媒体によれば、記憶された
プログラムに基づいてCPUを動作させることにより、
請求項1に記載の画像読み取り装置の動作を実現するこ
とができる。
According to such a storage medium, by operating the CPU based on the stored program,
The operation of the image reading device according to the first aspect can be realized.

【0025】[0025]

【0026】[0026]

【0027】[0027]

【発明の実施の形態】以下、本発明の好ましい実施の形
態について図面を参照して具体的に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Preferred embodiments of the present invention will be specifically described below with reference to the drawings.

【0028】図1は、本発明に係る画像読み取り装置の
一実施形態として、複写機能を有するファクシミリ装置
の制御部を示したブロック図である。なお、この実施形
態では、従来の電子掲示板とは異なりファクシミリ装置
に本発明を適用しているが、ファクシミリ装置も電子掲
示板も一般的には同様の手段を介して読み取り機能や記
録機能などが実現されている。したがって、既に知られ
た読み取りや記録に関する動作機構などについては、詳
細な図示説明を省略する。また、この実施形態では、複
写機能に特徴を有することから、その機能に関連する事
項にポイントを絞って説明する。
FIG. 1 is a block diagram showing a control unit of a facsimile apparatus having a copying function as an embodiment of the image reading apparatus according to the present invention. In this embodiment, unlike the conventional electronic bulletin board, the present invention is applied to a facsimile machine, but both the facsimile machine and the electronic bulletin board generally realize a reading function and a recording function through similar means. Has been done. Therefore, detailed illustration and description of the already known operation mechanism relating to reading and recording will be omitted. In addition, since this embodiment has a feature in the copy function, points related to the function will be mainly described.

【0029】図1に示すようにファクシミリ装置の制御
部は、CPU10、NCU11、RAM12、モデム1
3、ROM14、EEPROM15、ゲートアレイ1
6、コーデック17、DMAC18、読取部21、記録
部22、操作部23、表示部24、および外部接続部2
5などを具備して概略構成されている。CPU10、N
CU11、RAM12、モデム13、ROM14、EE
PROM15、ゲートアレイ16、コーデック17、お
よびDMAC18は、バス線26により相互に接続され
ている。バス線26には、アドレスバス、データバス、
および制御信号線が含まれる。ゲートアレイ16には、
読取部21、記録部22、操作部23、表示部24、お
よび外部接続部25が接続されている。NCU11に
は、公衆電話回線27が接続されている。
As shown in FIG. 1, the control unit of the facsimile apparatus includes a CPU 10, an NCU 11, a RAM 12 and a modem 1.
3, ROM 14, EEPROM 15, gate array 1
6, codec 17, DMAC 18, reading unit 21, recording unit 22, operation unit 23, display unit 24, and external connection unit 2
It is roughly configured by including 5 and the like. CPU10, N
CU11, RAM12, modem 13, ROM14, EE
The PROM 15, the gate array 16, the codec 17, and the DMAC 18 are connected to each other by a bus line 26. The bus line 26 includes an address bus, a data bus,
And control signal lines. In the gate array 16,
The reading unit 21, the recording unit 22, the operation unit 23, the display unit 24, and the external connection unit 25 are connected. A public telephone line 27 is connected to the NCU 11.

【0030】CPU10は、ファクシミリ装置全体の動
作を制御する。NCU11は、公衆電話回線27に接続
されて網制御を行う。RAM12は、CPU10の作業
領域や読み取った画像の展開領域などのためにラインバ
ッファメモリとして用いられる。モデム13は、ファク
シミリデータの変調や復調などを行う。ROM14は、
CPU10が実行するプログラムや設定値などのデータ
を記憶している。EEPROM15は、各種のフラグや
設定情報などを記憶する。ゲートアレイ16は、CPU
10と各部21〜25との入出力接点として機能する。
コーデック17は、ファクシミリデータの符号化や復号
化を行う。DMAC18は、主にRAM12へのデータ
の書き込みや読み出しを行う。
The CPU 10 controls the operation of the entire facsimile apparatus. The NCU 11 is connected to the public telephone line 27 and performs network control. The RAM 12 is used as a line buffer memory for the work area of the CPU 10 and the developed area of the read image. The modem 13 performs modulation and demodulation of facsimile data. ROM14 is
Data such as programs executed by the CPU 10 and set values are stored. The EEPROM 15 stores various flags and setting information. The gate array 16 is a CPU
10 functions as an input / output contact point between each of the units 21 to 25.
The codec 17 encodes and decodes facsimile data. The DMAC 18 mainly writes and reads data to and from the RAM 12.

【0031】読取部21は、たとえば密着型のイメージ
スキャナ(CIS)21aや光源として発光色が黄色と
赤色のLED21b,21cなどを備えており、原稿な
どの入力シートから画像を読み取る機能を備える。ここ
で、CIS21aは、多数の受光素子が入力シートの幅
方向に沿って並ぶ線形のものであるが、このCIS21
aは、受光素子をブロックごとに区割りして各ブロック
間に継ぎ目を有するものである。具体的にブロックは、
受光チップ単位に形成される部分であって、一つのブロ
ックが一つの受光チップに相当する。また、読み取り方
式には、光源切り替え方式が採用されており、入力シー
ト上における1ラインの画素列を読み取る際、黄色と赤
色のLED21b,21cが交互に切り替えられる。記
録部22は、サーマルプリンタなどにより記録紙に対し
て画像を記録する機能を備える。ここで、サーマルプリ
ンタの記録方式としては、専用の感熱紙に対して赤黒2
色の記録色で記録する方式が採用されており、感熱紙と
しては、サーマルヘッドの発熱素子の通電時間に応じて
赤黒の色別に発色する層を有するものが用いられる。操
作部23は、使用者により押下された操作ボタンに対応
して操作信号をCPU10に伝えるためのものである。
表示部24は、LCD(Liquid Crystal Display:液晶
表示ディスプレイ)などを備えており、装置の動作状態
などを表示する。外部接続部25は、ファクシミリ装置
に対してパーソナルコンピュータなどの外部機器を接続
する際に用いられる。
The reading unit 21 includes, for example, a contact image scanner (CIS) 21a and LEDs 21b and 21c that emit yellow and red light as light sources, and has a function of reading an image from an input sheet such as a document. Here, the CIS 21a is a linear one in which a large number of light receiving elements are arranged along the width direction of the input sheet.
In a, the light receiving element is divided into blocks and a joint is provided between the blocks. Specifically, the block is
This is a portion formed in units of light receiving chips, and one block corresponds to one light receiving chip. A light source switching method is adopted as the reading method, and when reading a one-line pixel row on the input sheet, the yellow and red LEDs 21b and 21c are alternately switched. The recording unit 22 has a function of recording an image on recording paper with a thermal printer or the like. Here, the recording method of the thermal printer is as follows.
A method of recording with a color recording color is used, and as the thermal paper, one having a layer that develops a color for each of red and black in accordance with the energization time of the heating element of the thermal head is used. The operation unit 23 is for transmitting an operation signal to the CPU 10 in response to an operation button pressed by the user.
The display unit 24 includes an LCD (Liquid Crystal Display) and displays the operating state of the device. The external connection unit 25 is used when connecting an external device such as a personal computer to the facsimile device.

【0032】本発明の要点について説明すると、複写機
能に基づいて入力シートから画像を読み取る際、CPU
10は、2つのLED21b,21cを交互にオン/オ
フ制御しながら、CIS21aの受光素子より得られる
受光信号に基づいて線順次方式でドットデータを得る。
2つのLED21b,21cは、1ラインの読み取り中
にたとえば1回ずつ点灯する。黄色のLED21bが発
光する際には、入力シート上におけるたとえば赤と黒の
画素部分が同色部分として受光素子に捉えられ、それに
応じて黄ドットデータが得られる。一方、赤色のLED
21cが発光する際には、黒の画素部分のみが受光素子
により捉えられ、それに応じて赤ドットデータが得られ
る。そして、CPU10は、読み取り1ラインにおける
黄ドットデータと赤ドットデータとを論理演算し、その
演算結果として得られたドットデータを赤記録用の出力
データとしてラインバッファメモリ(RAM)12に一
旦記憶させる。さらに、CPU10は、赤ドットデータ
をそのまま黒記録用の出力データとしてラインバッファ
メモリ12に一旦記憶させ、これら赤黒記録用の出力デ
ータに基づいてサーマルプリンタを動作させることによ
り、記録紙上には、赤黒2色の記録色をもって色付き画
像が形成されるのである。
The main points of the present invention will be described. When an image is read from an input sheet based on the copy function, the CPU
The 10 obtains dot data by a line-sequential method based on the light receiving signal obtained from the light receiving element of the CIS 21a while alternately controlling ON / OFF of the two LEDs 21b and 21c.
The two LEDs 21b and 21c are turned on once, for example, during reading of one line. When the yellow LED 21b emits light, for example, red and black pixel portions on the input sheet are captured by the light receiving element as the same color portion, and yellow dot data is obtained accordingly. On the other hand, red LED
When 21c emits light, only the black pixel portion is captured by the light receiving element, and red dot data is obtained accordingly. Then, the CPU 10 logically operates the yellow dot data and the red dot data in one read line, and temporarily stores the dot data obtained as a result of the operation in the line buffer memory (RAM) 12 as output data for red recording. . Further, the CPU 10 temporarily stores the red dot data as it is in the line buffer memory 12 as the output data for black recording, and operates the thermal printer based on the output data for red and black recording, so that the red and black on the recording paper. A colored image is formed with two recording colors.

【0033】ここで、CIS21aは、各ブロック間に
継ぎ目を有するものであるが、この継ぎ目付近の受光素
子においては、構造や光学的な理由から十分な光量が得
られない場合もある。そのため、CPU10は、上記黄
ドットデータおよび赤ドットデータのそれぞれについ
て、ブロック間の継ぎ目付近における受光素子より得ら
れた所定ドット数のデータが孤立している場合、これら
を無効となるように消去した後、赤黒記録用の出力デー
タを生成している。また、CPU10は、ブロック間の
継ぎ目付近に対応するデータを消去した後、そのデータ
そのものを排除すべき不要なものとして除去している。
さらに、CPU10は、赤黒記録用の出力データについ
ても、ブロック間の継ぎ目付近に対応する所定ドット数
のデータそのものを排除すべき不要なものとして除去し
た後、その出力データに基づいてサーマルプリンタに記
録を行わせている。これによれば、CIS21aを介し
てブロック間の継ぎ目付近から得られたデータが用いら
れることなく、記録列に直交する縦方向に沿うような継
ぎ目に応じた余分な色の出現を防ぐことができるのであ
る。
Here, the CIS 21a has a seam between each block, but in the light receiving element near this seam, a sufficient amount of light may not be obtained due to the structure or optical reasons. Therefore, the CPU 10 erases each of the yellow dot data and the red dot data so as to invalidate the data of a predetermined number of dots obtained from the light receiving element in the vicinity of the joint between the blocks when they are isolated. After that, output data for red and black recording is generated. Further, the CPU 10 erases the data corresponding to the vicinity of the seam between the blocks, and then removes the data itself as unnecessary data that should be removed.
Further, with respect to the output data for red and black recording, the CPU 10 also removes the data of the predetermined number of dots corresponding to the vicinity of the seam between blocks as unnecessary data to be removed, and then prints it on the thermal printer based on the output data. Is being done. According to this, without using the data obtained from the vicinity of the joint between blocks via the CIS 21a, it is possible to prevent the appearance of an extra color corresponding to the joint along the vertical direction orthogonal to the recording row. Of.

【0034】一方、出力データに基づいて記録を行う
際、CPU10は、現時点で記録すべき記録列の出力デ
ータと、次列の出力データとを比較する。そして、現記
録列の出力データにおいて記録色を黒とした記録色デー
タに対し、それに続く次列の記録色データが前列とは異
なる赤の場合、CPU10は、次列の出力データから該
当する赤の記録色データを除去し、このような処理を経
た出力データに基づいて各列ごとに記録を行わせる。現
記録列と次列の記録色が赤の次に黒とした上記とは逆の
場合も、CPU10は同様の処理を行う。これによれ
ば、記録列ごとに赤黒2色で画像を記録する場合、記録
列の横方向に沿って黒い記録ラインが形成された直後で
も、本来そのラインのエッジ付近として黒か白とすべき
ところを赤い記録ラインが余分に出現してしまう状態を
回避することができる。
On the other hand, when recording based on the output data, the CPU 10 compares the output data of the recording column to be recorded at this time with the output data of the next column. Then, in the output data of the current recording row, when the recording color data in which the recording color is black is black and the subsequent recording color data of the next row is different from the previous row, the CPU 10 determines that the output data of the next row is the corresponding red color. The recording color data of is removed and recording is performed for each column based on the output data that has undergone such processing. The CPU 10 also performs the same processing when the recording colors of the current recording row and the next row are changed from red to black and vice versa. According to this, when an image is recorded in two colors of red and black for each recording row, even immediately after a black recording line is formed along the horizontal direction of the recording row, it should originally be black or white near the edge of the line. However, it is possible to avoid a state where an extra red recording line appears.

【0035】すなわち、CIS21aは、多数の受光素
子をブロックごとに区割りして構成された線形受光手段
を実現している。CPU10は、線形受光手段を介して
画像を読み取る際、各ブロックの受光素子より受光色の
切り替えに応じて色別にドットデータを得るドットデー
タ色別取得手段と、ドットデータ色別取得手段により得
られた各色のドットデータの中から、ブロック間の継ぎ
目近傍の受光素子より得られた所定ドット数のデータを
修正する継ぎ目データ修正手段とを実現している。
That is, the CIS 21a realizes a linear light receiving means constituted by dividing a large number of light receiving elements into blocks. When reading an image through the linear light receiving means, the CPU 10 obtains the dot data by color obtaining means and the dot data by color obtaining means that obtains dot data for each color from the light receiving element of each block according to the switching of the light receiving color. From the dot data of each color, the data of the specified number of dots obtained from the light receiving element near the joint between blocks
It realizes a seam data correcting means for correcting .

【0036】また、CPU10は、ドットデータ色別取
得手段により得られたドットデータに対してさらに所定
の演算処理を施すことにより、複数の記録色をデータ内
容に含む記録用の出力データを記録列ごとに生成する出
力データ生成手段を実現している。
Further, the CPU 10 further performs a predetermined arithmetic processing on the dot data obtained by the dot data color-by-color acquisition means, thereby recording a series of output data for recording including a plurality of recording colors in the data content. thereby realizing the output data generation means to generate each.

【0037】ROM14は、多数の受光素子をブロック
ごとに区割りして構成された線形受光手段を介して、受
光色を交互に切り替えながら列順に画像を読み取る画像
読み取り装置を制御するためのプログラムを記録した
媒体であって、上記線形受光手段を介して画像を読み
取る際、上記各ブロックの受光素子より受光色の切り替
えに応じて色別にドットデータを得るためのドットデー
タ色別取得手段と、上記ドットデータ色別取得プログラ
ムに基づいて得られた各色のドットデータの中から、上
記ブロック間の継ぎ目近傍の受光素子より得られた所定
ドット数のデータを修正する継ぎ目データ修正手段とし
て機能させるためのプログラムを記録する記録媒体を実
現している。
The ROM 14 records a program for controlling an image reading device for reading images in a column order while alternately switching the light receiving color via a linear light receiving means configured by dividing a large number of light receiving elements into blocks. Note
A recording medium, when reading an image through the linear light receiving means, dot data color-by-color acquisition means for obtaining dot data for each color from the light receiving element of each block according to the switching of the light receiving color, and the dot From the dot data of each color obtained based on the data color-based acquisition program, as seam data correction means for correcting the data of a predetermined number of dots obtained from the light receiving element near the seam between the blocks
It realizes a recording medium for recording a program for making it function .

【0038】[0038]

【0039】次に、上記構成を有するファクシミリ装置
の動作について、図面を参照して説明する。
Next, the operation of the facsimile apparatus having the above configuration will be described with reference to the drawings.

【0040】図2は、ファクシミリ装置の読取処理に伴
う動作手順を示したフローチャート、図3は、同装置の
記録処理に伴う動作手順を示したフローチャート、図4
ないし図6は、読取処理および記録処理におけるデータ
の流れを概念的に示した説明図である。なお、図4ない
し図6に示す「0」は、対応する色が存在しないことを
表す一方、「1」は、対応する色が存在することを表
す。また、1つのドットを表すセルは、便宜上、受光素
子あるいは発熱素子の1つに対応するものとして極めて
単純化したものであり、「Dr」が各受光素子のアドレ
ス、「Dw」が各発熱素子のアドレスを区別するための
記号とする。
FIG. 2 is a flow chart showing an operation procedure involved in the reading process of the facsimile apparatus, FIG. 3 is a flow chart showing an operation procedure involved in the recording processing of the facsimile apparatus, and FIG.
6 to 6 are explanatory views conceptually showing the flow of data in the reading process and the recording process. It should be noted that “0” shown in FIGS. 4 to 6 indicates that the corresponding color does not exist, while “1” indicates that the corresponding color exists. For convenience, the cell representing one dot is extremely simplified as one corresponding to one of the light receiving element or the heat generating element, and “Dr” is the address of each light receiving element, and “Dw” is each heat generating element. It is used as a symbol to distinguish the addresses of.

【0041】図2に示すように、複写機能を実行する際
には、まず読取処理が開始され、CPU10は、読取部
21に対して入力シートを1ラインずつ搬送することを
要求する(S1)。
As shown in FIG. 2, when the copying function is executed, the reading process is first started, and the CPU 10 requests the reading unit 21 to convey the input sheet line by line (S1). .

【0042】入力シートが1ライン搬送されると、CP
U10は、最初に黄色のLED21bを発光させ(S
2)、このときCIS21aの受光素子を介して入力シ
ート上からの反射光を捉えることにより、発光色に応じ
た黄ドットデータを得る(S3)。この黄色のLED2
1bが発光する際には、入力シート上の赤い画素と黒い
画素が黄色の発光色に応じて同じ色の画素として捉えら
れる。また、図4によく示すように、Dr8とDr9と
の間、およびDr16とDr17との間は、ブロック間
の継ぎ目に相当することから、この継ぎ目より左側2ド
ット(ハッチングで示した部分)の受光素子では、本来
色付き画素が無いにもかかわらず何らかの色があるとし
て捉えられる可能性がある。
When the input sheet is conveyed by one line, CP
U10 first causes the yellow LED 21b to emit light (S
2) At this time, the yellow dot data corresponding to the emission color is obtained by capturing the reflected light from the input sheet via the light receiving element of the CIS 21a (S3). This yellow LED2
When 1b emits light, red pixels and black pixels on the input sheet are regarded as pixels of the same color according to the emission color of yellow. Further, as well shown in FIG. 4, since between Dr8 and Dr9 and between Dr16 and Dr17 corresponds to the joint between blocks, two dots on the left side of this joint (hatched portion) are formed. In the light receiving element, there is a possibility that some kind of color may be perceived although there is originally no colored pixel.

【0043】続いてCPU10は、入力シートの同一ラ
インに対して黄色のLED21bに代えて赤色のLED
21cを発光させ(S4)、このときCIS21aの受
光素子を介して入力シート上からの反射光を捉えること
により、発光色に応じた赤ドットデータを得る(S
5)。この赤色のLED21cが発光する際には、入力
シート上の赤い画素部分が同色の発光色によって捉えに
くい状態とされ、黒い画素のみが発光色に応じて捉えら
れる。そして、この際にも図4によく示すように、Dr
8とDr9との間、およびDr16とDr17との間
は、ブロック間の継ぎ目に相当しているため、この継ぎ
目より左側2ドット(ハッチングで示した部分)の受光
素子では、本来黒い画素が無いにもかかわらず誤って色
付きの画素として捉えられる可能性がある。
Subsequently, the CPU 10 replaces the yellow LED 21b with the red LED for the same line of the input sheet.
21c is caused to emit light (S4), and at this time, the reflected light from the input sheet is captured via the light receiving element of the CIS 21a to obtain red dot data corresponding to the emitted color (S4).
5). When the red LED 21c emits light, the red pixel portion on the input sheet is difficult to capture with the same emission color, and only the black pixel is captured according to the emission color. At this time, as well shown in FIG.
Between 8 and Dr9 and between Dr16 and Dr17 correspond to the joint between blocks, and therefore, the light receiving element of 2 dots (hatched portion) on the left side of this joint does not originally have a black pixel. Nevertheless, it may be mistakenly recognized as a colored pixel.

【0044】以上のようにして黄色赤色の色別にドット
データを取得したCPU10は、各色のドットデータか
らブロック間の継ぎ目より左側2ドット分(Dr7,8
とDr15,16)のデータ内容を強制的に消去して
「0」とする(S6)。この際、CPU10は、その2
ドットに続くたとえばDr6やDr14のデータ内容が
「0」であるか否かを判断し、色付きの画素として捉え
られない「0」の場合、ドットデータ全体中で孤立した
ものとしてその継ぎ目付近の2ドット分に対応するデー
タ内容を消去する。一方、継ぎ目付近の2ドット分のデ
ータが孤立したものでないと判断した場合、CPU10
は、その2ドット分に対応するデータ内容を消去するこ
となく、S3,S5で得られた色別のドットデータをそ
のまま取り扱う。
The CPU 10, which has obtained dot data for each color of yellow and red as described above, uses the dot data of each color for two dots to the left of the joint between blocks (Dr7, 8).
And the data contents of Dr15, 16) are forcibly erased to be "0" (S6). At this time, the CPU 10
It is determined whether or not the data content of, for example, Dr6 or Dr14 following the dot is "0", and if "0" that cannot be captured as a colored pixel, it is regarded as an isolated dot in the entire dot data, and 2 near the joint. Erase the data contents corresponding to the dots. On the other hand, when it is determined that the data for 2 dots near the joint is not isolated, the CPU 10
Handles the dot data for each color obtained in S3 and S5 without erasing the data contents corresponding to the two dots.

【0045】さらにCPU10は、S6の処理を経たド
ットデータのうち、ブロック間の継ぎ目より左側1ドッ
ト分(Dr8とDr16)のデータそのものを除去する
(S7)。これにより、ブロック間の継ぎ目付近の受光
素子から本来色付き画素が無いにもかかわらず誤って捉
えられたデータ内容が適正化されることとなる。
Further, the CPU 10 removes the data itself for one dot (Dr8 and Dr16) to the left of the seam between the blocks from the dot data which has been subjected to the processing of S6 (S7). As a result, the data content erroneously captured from the light receiving element near the seam between the blocks, which originally has no colored pixel, is optimized.

【0046】S7の処理を経て各色のドットデータが得
られると、CPU10は、これらのデータを論理演算処
理することにより、図5に示すような赤記録部分と黒記
録部分とを記したデータを生成し、これらのデータを合
わせて1ライン分の赤黒記録用の出力データを生成する
(S8)。つまり、黄ドットデータのみで色付き画素と
して捉えられた部分は、赤く記録されるべき部分とされ
る。その一方、黄ドットデータと赤ドットデータの双方
で色付き画素として捉えられた部分は、黒く記録される
べき部分とされる(図5参照)。なお、CPU10によ
って生成された赤黒記録用の出力データは、次の記録処
理において用いられる。
When the dot data of each color is obtained through the process of S7, the CPU 10 performs a logical operation process on these data to obtain the data indicating the red recording portion and the black recording portion as shown in FIG. The output data is generated, and the output data for one line of red and black recording is generated by combining these data (S8). That is, the portion captured as the colored pixel only with the yellow dot data is the portion to be recorded in red. On the other hand, a portion captured as a colored pixel in both the yellow dot data and the red dot data is a portion to be recorded in black (see FIG. 5). The red-black recording output data generated by the CPU 10 is used in the next recording process.

【0047】上記した読み取り1ラインに対する処理の
後、CPU10は、排紙センサなどからの信号に基づい
て入力シート1枚分の読取処理を終えるか否かを判断し
(S9)、入力シート後端などが排紙センサによって検
出されると(S9:YES)、CPU10は読取処理を
終了する。
After the above-described processing for one reading line, the CPU 10 determines whether or not the reading processing for one input sheet is completed based on the signal from the paper discharge sensor or the like (S9), and the rear end of the input sheet is detected. And the like are detected by the paper discharge sensor (S9: YES), the CPU 10 ends the reading process.

【0048】入力シート1枚分の読取処理が途中の状態
にあって続けられる場合(S9:NO)、CPU10
は、次ラインの読み取りを行うためにS1に戻る。
When the reading process for one input sheet is continued in the middle of the process (S9: NO), the CPU 10
Returns to S1 to read the next line.

【0049】なお、このような一連の処理における1ラ
イン分の読取動作は、ほとんど瞬間的に行われ、たとえ
ば読み取り1ラインに対するLED21b,21cの発
光などは極めて短時間内に行われる。
The reading operation for one line in such a series of processing is almost instantaneously performed, and, for example, the light emission of the LEDs 21b and 21c for one reading line is performed within an extremely short time.

【0050】次に、図3に示すように、記録処理が開始
されるが、この記録処理は、上記S8において少なくと
も1ライン分の出力データが得られることで開始可能で
あり、CPU10の制御によって読取処理と記録処理と
がほぼ同時に進行される。
Next, as shown in FIG. 3, the recording process is started. This recording process can be started when the output data for at least one line is obtained in the above S8, and is controlled by the CPU 10. The reading process and the recording process proceed almost at the same time.

【0051】記録処理に際して、CPU10は、上記S
8から第n列目に相当する赤黒記録用の出力データを得
る(S21)。
In the recording process, the CPU 10 causes the above S
Output data for red-black recording corresponding to the 8th to nth columns is obtained (S21).

【0052】そしてCPU10は、上記出力データに含
まれるデータ内容からブロック間の継ぎ目より左側1ド
ット分(Dw7とDw14)のデータそのものを除去す
る(S22)。これにより、先の読取処理段階でブロッ
ク間の継ぎ目に対応して適正化されたデータは、さらに
記録処理段階で適正な出力データとされるのである。
Then, the CPU 10 removes the data itself for one dot (Dw7 and Dw14) to the left of the seam between the blocks from the data content included in the output data (S22). As a result, the data that has been optimized corresponding to the seam between the blocks in the previous reading processing step is further converted into appropriate output data in the recording processing step.

【0053】同様に続いてCPU10は、上記S8から
次列の第n+1列目に相当する赤黒記録用の出力データ
を得るとともに(S23)、その出力データに含まれる
データ内容からブロック間の継ぎ目より左側1ドット分
(Dw7とDw14)のデータそのものを除去する(S
24)。なお、次列の出力データは、CPU10による
ことなくDMAC18などを介して直接メモリアクセス
方式で順次RAM12に取り込むようにしても良い。
Similarly, the CPU 10 obtains the output data for red and black recording corresponding to the (n + 1) th column of the next column from the above S8 (S23), and based on the data content included in the output data, from the joint between blocks. The data itself for the left one dot (Dw7 and Dw14) is removed (S
24). The output data of the next column may be sequentially fetched into the RAM 12 by the direct memory access method not via the CPU 10 but via the DMAC 18 or the like.

【0054】こうして第n列目と第n+1列目の相前後
する出力データが得られると、CPU10は、少なくと
も第n+1列目の出力データに基づいて後述する記録処
理を行う前に記録色の比較処理を行う(S25)。この
記録色比較処理とは、S22とS24で得られた出力デ
ータを比較することにより、現記録列(第n列目)の出
力データにおいて黒の記録色とした画素に対し、その直
後に赤の記録色となる画素を次列目(第n+1列目)の
出力データ中から消去する処理をいう。具体的には、図
6によく示すように、黒の画素に連続して赤い画素とな
る次列目の出力データ中の該当データ(Dw7〜Dw1
1)は、黒い画素と下地との境界付近に相当して誤って
読み取られた可能性が高く、この第n+1列目の該当デ
ータ(Dw7〜Dw11)の内容が「0」とされる。
When the output data of the n-th column and the output data of the (n + 1) th column are obtained in this way, the CPU 10 compares the recording colors before performing the recording process described later based on at least the output data of the (n + 1) th column. Processing is performed (S25). This recording color comparison processing is performed by comparing the output data obtained in S22 and S24 so that the pixel having the black recording color in the output data of the current recording row (n-th row) is red immediately after that. This is a process of erasing the pixels of the recording color of the above from the output data of the next column (n + 1th column). Specifically, as shown well in FIG. 6, the corresponding data (Dw7 to Dw1) in the output data of the next column that becomes a red pixel continuously from a black pixel.
In 1), there is a high possibility that the data is erroneously read corresponding to the vicinity of the boundary between the black pixel and the background, and the content of the corresponding data (Dw7 to Dw11) in the (n + 1) th column is “0”.

【0055】以上のような一連の処理に際してCPU1
0は、先の第n列目の出力データに基づいて記録処理を
行う(S26)。この際、記録紙は、ステッピングモー
タなどを介して1ラインずつ搬送される状態にあり、一
時的に記録紙が停止した際、その出力データのデータ内
容に応じて赤黒の2色記録方式で記録1ラインが記録紙
上に形成されることとなる。
In the series of processing as described above, the CPU 1
For 0, the recording process is performed based on the output data of the previous n-th column (S26). At this time, the recording paper is conveyed line by line via a stepping motor or the like, and when the recording paper is temporarily stopped, it is recorded by the two-color recording method of red and black according to the data content of the output data. One line will be formed on the recording paper.

【0056】上記した記録1ラインに対する処理の後、
CPU10は、排紙センサなどからの信号に基づいて記
録紙1枚分の記録処理を終えるか否かを判断し(S2
7)、記録紙後端などが排紙センサによって検出される
と(S27:YES)、CPU10は記録処理を終了す
る。
After the above processing for one recording line,
The CPU 10 determines whether or not to finish the recording process for one recording sheet based on a signal from the sheet discharge sensor or the like (S2).
7) When the trailing edge of the recording paper is detected by the paper discharge sensor (S27: YES), the CPU 10 ends the recording process.

【0057】記録紙1枚分の記録処理が途中の状態にあ
って続けられる場合(S27:NO)、CPU10は、
次ラインの記録を行うためにS21に戻る。
When the recording process for one recording sheet is in the middle of the process and continues (S27: NO), the CPU 10
The process returns to S21 to record the next line.

【0058】なお、このような一連の処理における1ラ
イン分の記録動作は、データ処理に併行して行われ、す
なわち記録1ラインの記録処理中においても記録色の比
較処理などを終えた次列目の出力データは、順次RAM
12などに蓄えられて出力待ちの状態とされる。
The recording operation for one line in such a series of processing is performed in parallel with the data processing, that is, during the recording processing of one recording line, the next row after the comparison processing of the recording colors is completed. The output data of the eyes are sequentially RAM
It is stored in 12 or the like and is put in a state of waiting for output.

【0059】つまり、S26により第n列目の出力デー
タに基づいて黒く記録された画素の直後には、読取処理
によって赤と認識された画素があってもそのまま記録さ
れることはなく、第n+1列目の出力データに基づいて
色付き画素が形成されることはない。なお、黒と赤の画
素が逆の場合にも同様の処理を経て最適な記録結果が得
られる。
That is, even if there is a pixel recognized as red by the reading process immediately after the pixel recorded black based on the output data of the nth column in S26, it is not recorded as it is, and the (n + 1) th pixel is recorded. Colored pixels are not formed based on the output data of the columns. Even when the black and red pixels are reversed, an optimum recording result can be obtained through similar processing.

【0060】したがって、上記構成、動作を有するファ
クシミリ装置によれば、各ライン各色ごとに読み取って
得られるドットデータからは、黒い画素として捉えられ
やすいブロック間の継ぎ目付近に相当する2ドット分の
データが「0」として消去されるので、このような処理
を経たドットデータを正当な色情報を含むデータとして
扱うことができ、画像を読み取る各ラインに対して直交
する縦方向に沿ってもブロック間の継ぎ目に応じた余分
な色の出現を防ぐことができる。
Therefore, according to the facsimile apparatus having the above configuration and operation, from the dot data obtained by reading each color of each line, the data of 2 dots corresponding to the vicinity of the joint between the blocks which is easily recognized as a black pixel. Is erased as "0", the dot data that has been subjected to such processing can be treated as data including valid color information, and the inter-block can be obtained even in the vertical direction orthogonal to each line for reading an image. You can prevent the appearance of extra colors depending on the seams.

【0061】また、各ライン各色ごとに生成された出力
データのうち、現記録列の出力データにおいてたとえば
黒の画素に対しては、それとは別の赤として出現するこ
とを示す次列の出力データ中のデータ内容が消去される
ので、このような処理を経た出力データを適正な色情報
を含むデータとして記録に用いることができ、たとえば
画像を記録する横方向(ライン方向)に沿って赤黒2色
で記録する場合、黒い記録ラインの直後に赤い記録ライ
ンが余分に出現してしまう状態を回避することができ
る。
Of the output data generated for each color of each line, the output data of the next column showing that, for example, a black pixel in the output data of the current recording column appears as a red different from that. Since the contents of the data inside are erased, the output data that has undergone such processing can be used for recording as data including appropriate color information. For example, red and black 2 can be used along the horizontal direction (line direction) for recording an image. When recording in color, it is possible to avoid a state in which a red recording line appears immediately after a black recording line.

【0062】なお、本発明は、上記の実施形態に限定さ
れるものではない。
The present invention is not limited to the above embodiment.

【0063】たとえばドットデータから消去され、また
は除去されるデータのドット数は、2ドットに限ること
なく、また、出力データについても、除去されるデータ
のドット数は1ドットに限ることなく、CIS21aに
おけるブロック間の継ぎ目付近の受光素子の受光状況に
よっては、それ以上のドット数としても良い。さらに、
継ぎ目の片側のみでなく、両側の所定ドット数を消去す
るようにしても良い。
For example, the number of dots of data that is erased or removed from the dot data is not limited to 2 dots, and the number of dots of the output data that is removed is not limited to 1 dot. Depending on the light receiving state of the light receiving element near the seam between the blocks in, the number of dots may be larger than that. further,
Not only one side of the joint, but also a predetermined number of dots on both sides may be erased.

【0064】ファクシミリ装置については、複写機能を
実行する際の動作を説明したが、読取処理によって得た
ドットデータをそのまま保持したりパーソナルコンピュ
ータに転送する場合や、受信画像を記録する際、あるい
はパーソナルコンピュータからの出力要求に応じて画像
を記録する際においても上記と同様の効果を得ることが
できる。
With regard to the facsimile apparatus, the operation when executing the copying function has been described, but when the dot data obtained by the reading process is held as it is or transferred to the personal computer, when the received image is recorded, or when the personal computer is used. Even when an image is recorded in response to an output request from the computer, the same effect as above can be obtained.

【0065】線形受光手段としては、密着型のイメージ
スキャナなどが好適に用いられるが、密着型に限らず縮
小光学系を採用したリニアCCD(Charge Coupled Dev
ice:電荷結合素子)であっても良い。
A contact type image scanner or the like is preferably used as the linear light receiving means, but the linear light receiving means is not limited to the contact type, and a linear CCD (Charge Coupled Dev) employing a reduction optical system is used.
ice: charge coupled device).

【0066】また、読取方式としては、異なる発光色の
光源を切り替える方式としたが、1つの光源を用いてカ
ラーフィルタで発光色を切り替える方式でも良い。
Further, as the reading method, a method of switching light sources of different emission colors is used, but a method of switching emission colors by a color filter using one light source may be used.

【0067】入力シートは、下地が白に限られず、線形
受光手段たるCIS21aによって画像が色別に捉える
ことができるものであれば良い。
The input sheet is not limited to a white background, and may be any sheet as long as an image can be captured for each color by the CIS 21a which is a linear light receiving means.

【0068】記録手段としては、サーマルプリンタのほ
か、たとえばインクジェット方式やレーザ方式のプリン
タでも良い。
The recording means may be an ink jet type printer or a laser type printer in addition to a thermal printer.

【0069】それに応じて記録紙は、感熱紙に代えて普
通のカット紙などであっても良い。
Accordingly, the recording paper may be ordinary cut paper instead of the thermal paper.

【0070】本発明の適用される装置としては、ファク
シミリ装置に限らず、たとえば従来の技術の欄で説明し
た電子掲示板などや、複写機能しか有さないコピー装置
などにも本発明を適用できる。
The apparatus to which the present invention is applied is not limited to the facsimile apparatus, and the present invention can be applied to, for example, the electronic bulletin board described in the section of the prior art or the copying apparatus having only the copying function.

【0071】制御回路が行うべき動作は、パーソナルコ
ンピュータなどにより制御される動作としても良い。
The operation to be performed by the control circuit may be an operation controlled by a personal computer or the like.

【0072】その他、上記した本発明の特徴部分以外に
係る事項については、本発明の作用効果を損なわない限
りにおいて適宜設計変更できるものである。
Other than the above-mentioned features of the present invention, the design can be changed as appropriate as long as the effects of the present invention are not impaired.

【0073】[0073]

【発明の効果】以上説明したように、請求項1に記載し
た発明の画像読み取り装置によれば、各列各色ごとに得
られるドットデータからは、黒い画素として捉えられや
すいブロック間の継ぎ目付近に相当する所定ドット数の
データが入力シートの地色に相当するデータに修正され
るので、このような処理を経たドットデータを正当な色
情報を含むデータとして扱うことができ、画像を読み取
る列に対して直交する縦方向に沿ってもブロック間の継
ぎ目に応じた余分な色の出現を防ぐことができる。
As described above, according to the image reading apparatus of the first aspect of the invention, from the dot data obtained for each color of each column, the dot data near the joint between blocks which is easily recognized as a black pixel. Since the data of the corresponding predetermined number of dots is corrected to the data corresponding to the background color of the input sheet, the dot data that has undergone such processing can be treated as data that includes valid color information, and can be used as a column to read an image. It is possible to prevent the appearance of extra colors depending on the seams between the blocks even in the vertical direction orthogonal to the above.

【0074】特に、ブロック間の継ぎ目付近より得られ
たデータが孤立している場合、言い換えれば、その付近
に連続した画素が認められない場合、その付近から得ら
れたデータを入力シートの地色に相当するデータに修正
するので、確からしい確率をもって紛らわしいデータを
消去することができる。
In particular, when the data obtained from the vicinity of the joint between blocks is isolated, in other words, when continuous pixels are not recognized in the vicinity, the data obtained from the vicinity is used as the background color of the input sheet. Since it is corrected to the data corresponding to , the confusing data can be erased with a certain probability.

【0075】さらに、請求項に記載した発明の画像読
み取り装置によれば、請求項1に記載の画像読み取り装
置による効果に加えて、受光素子の光の受け方などから
色の捉え違いを起こしやすい、ブロック間の継ぎ目を基
準とした片側一方またはその両側より得られたデータを
紛らわしいデータとして消去することができる。
Further, according to the image reading apparatus of the invention described in claim 2 , in addition to the effect of the image reading apparatus described in claim 1, it is easy to misunderstand the color due to the way the light receiving element receives light. Data obtained from one side or both sides of the joint between blocks can be erased as confusing data.

【0076】また、請求項に記載した発明の画像読み
取り装置によれば、請求項1または請求項に記載の画
像読み取り装置による効果に加えて、たとえば、紛らわ
しいデータを入力シートの地色に相当するデータに修正
することでデータの内容を無効にした後、その修正デー
タのうち、少なくともブロック間の継ぎ目に隣接する受
光素子に対応するデータを除去することでドットデータ
から不要なデータを排除することができる。
Further, according to the image reading apparatus of the invention described in claim 3 , in addition to the effect of the image reading apparatus of claim 1 or 2 , for example, confusing data is added to the background color of the input sheet. after disabling the contents of the corresponding data by modifying <br/> the data, the correction data
At least adjacent to the joint between the blocks.
Unnecessary data can be excluded from the dot data by removing the data corresponding to the optical element .

【0077】さらに、請求項に記載した発明の画像読
み取り装置によれば、請求項1ないし請求項のいずれ
かに記載の画像読み取り装置による効果に加えて、適正
な色情報を含むドットデータに基づいて記録用の出力デ
ータを生成することができ、この出力データに基づいて
記録列ごとに記録を施すことによっても、その記録列に
対して直交する縦方向の余分な色の出現を防ぐことがで
きる。
Further, according to the image reading device of the invention described in claim 4 , in addition to the effect of the image reading device described in any one of claims 1 to 3 , dot data including proper color information is provided. It is possible to generate output data for recording based on the output data, and by performing recording for each recording row based on this output data, it is possible to prevent the appearance of extra colors in the vertical direction orthogonal to the recording row. be able to.

【0078】[0078]

【0079】[0079]

【0080】また、請求項に記載した発明の記憶媒体
によれば、記憶されたプログラムに基づいてCPUを動
作させることにより、請求項1に記載の画像読み取り装
置の動作を実現することができる。
According to the storage medium of the invention described in claim 5 , the operation of the image reading apparatus according to claim 1 can be realized by operating the CPU based on the stored program. .

【0081】[0081]

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

【図1】本発明に係る画像読み取り装置の一実施形態と
して、複写機能を有するファクシミリ装置の制御部を示
したブロック図である。
FIG. 1 is a block diagram showing a control unit of a facsimile apparatus having a copying function as an embodiment of an image reading apparatus according to the present invention.

【図2】ファクシミリ装置の読取処理に伴う動作手順を
示したフローチャートである。
FIG. 2 is a flowchart showing an operation procedure involved in a reading process of a facsimile device.

【図3】ファクシミリ装置の記録処理に伴う動作手順を
示したフローチャートである。
FIG. 3 is a flowchart showing an operation procedure involved in recording processing of the facsimile apparatus.

【図4】読取処理におけるデータの流れを概念的に示し
た説明図である。
FIG. 4 is an explanatory diagram conceptually showing a data flow in a reading process.

【図5】読取処理におけるデータの流れを概念的に示し
た説明図である。
FIG. 5 is an explanatory diagram conceptually showing a data flow in a reading process.

【図6】記録処理におけるデータの流れを概念的に示し
た説明図である。
FIG. 6 is an explanatory diagram conceptually showing a data flow in a recording process.

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

10 CPU 12 RAM 14 ROM 15 EEPROM 16 ゲートアレイ 21 読取部 22 記録部 21a 線形受光素子 21b 黄色のLED 21c 赤色のLED 10 CPU 12 RAM 14 ROM 15 EEPROM 16 gate array 21 Reader 22 Recording section 21a Linear light receiving element 21b Yellow LED 21c Red LED

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 多数の受光素子をブロックごとに区割り
して構成された線形受光手段を介して、受光色を交互に
切り替えながら列順に入力シートの画像を読み取る画像
読み取り装置であって、 上記線形受光手段を介して画像を読み取る際、上記各ブ
ロックの受光素子より受光色の切り替えに応じて色別に
ドットデータを得るドットデータ色別取得手段と、 上記ドットデータ色別取得手段により得られた各色のド
ットデータの中から、上記ブロック間の継ぎ目から所定
の受光素子数だけ離れた受光素子により得られたデータ
が上記入力シートの地色に相当するデータであるか否か
を判別する判別手段と、 上記判別手段により上記受光素子により得られたデータ
が上記入力シートの地色に相当するデータであると判別
されると、上記ブロック間の継ぎ目と上記受光素子との
間にある 受光素子より得られた所定ドット数のデータを
上記入力シートの地色に相当するデータに修正する継ぎ
目データ修正手段とを有することを特徴とする画像読み
取り装置。
1. An image reading apparatus for reading an image of an input sheet in a column order while alternately switching a light receiving color via a linear light receiving means configured by dividing a large number of light receiving elements into blocks, wherein the linear When reading an image through the light receiving means, the dot data color-based acquisition means for obtaining dot data for each color from the light-receiving element of each block according to the switching of the light-receiving color, and the respective colors obtained by the dot data color-based acquisition means from among the dot data, given from the seams between the blocks
Data obtained by the light receiving elements separated by the number of light receiving elements
Is the data corresponding to the background color of the input sheet
And the data obtained by the light receiving element by the determining means.
Is determined to be the data corresponding to the background color of the input sheet
Then, the seam between the blocks and the light receiving element
Data of the specified number of dots obtained from the light receiving element in between
An image reading apparatus comprising: a seam data correction unit that corrects data corresponding to the ground color of the input sheet .
【請求項2】 上記継ぎ目データ修正手段は、上記ブロ
ック間の継ぎ目より片側一方、またはその両側の受光素
子より得られた所定ドット数のデータを上記入力シート
の地色に相当するデータに修正する、請求項1に記載の
画像読み取り装置。
2. The input seam data correction means converts the data of a predetermined number of dots obtained from light receiving elements on one side or both sides of the seam between the blocks into the input sheet.
The image reading apparatus according to claim 1, wherein the data is corrected to data corresponding to the background color .
【請求項3】 上記継ぎ目データ修正手段は、所定のデ
ータの内容を修正した後、その修正データのうち、少な
くとも上記ブロック間の継ぎ目に隣接する受光素子に対
応するデータを上記ドットデータから除去する、請求項
または請求項2に記載の画像読み取り装置。
3. The seam data correction means corrects the contents of predetermined data, and then corrects a small amount of the corrected data.
At least connect to the light receiving element adjacent to the joint between the blocks.
The image reading apparatus according to claim 1, wherein the corresponding data is removed from the dot data .
【請求項4】 上記継ぎ目データ修正手段の処理を経て
得られたドットデータに対してさらに所定の演算処理を
施すことにより、複数の記録色をデータ内容に含む記録
用の出力データを生成する出力データ生成手段を有す
る、請求項1ないし請求項のいずれかに記載の画像読
み取り装置。
4. An output for generating recording output data including a plurality of recording colors in the data content by further subjecting the dot data obtained through the processing of the seam data correction means to a predetermined arithmetic processing. having a data generating means, the image reading apparatus according to any one of claims 1 to 3.
【請求項5】 コンピュータを、多数の受光素子をブロ
ックごとに区割りして構成された線形受光手段を介し
て、受光色を交互に切り替えながら列順に入力シートの
画像を読み取る画像読み取り装置として機能させるため
のプログラムを記録したコンピュータ読み取り可能な記
媒体であって、上記コンピュータを、 上記線形受光手段を介して画像を
読み取る際、上記各ブロックの受光素子より受光色の切
り替えに応じて色別にドットデータを得るためのドット
データ色別取得手段と、上記ドットデータ色別取得手段
により得られた各色のドットデータの中から、上記ブロ
ック間の継ぎ目から所定の受光素子数だけ離れた受光素
子により得られたデータが上記入力シートの地色に相当
するデータであるか否かを判別する判別手段と、上記判
別手段により上記受光素子により得られたデータが上記
入力シートの地色に相当するデータであると判別される
と、上記ブロック間の継ぎ目と上記受光素子との間にあ
受光素子より得られた所定ドット数のデータを上記入
力シートの地色に相当するデータに修正する継ぎ目デー
タ修正手段として機能させるためのプログラムを記録し
ことを特徴とするコンピュータ読み取り可能な記録
体。
5. An image reading apparatus for reading an image of an input sheet in a column order while alternately switching a light receiving color through a linear light receiving means configured by dividing a large number of light receiving elements into blocks in a computer. A computer-readable memory that records a program for functioning as a device.
The recording medium is a dot data color-by-color acquisition means for obtaining dot data for each color from the light-receiving element of each block when the computer reads an image through the linear light-receiving means. And the dot data color-dependent acquisition means
From each color dot data obtained by the above bromide
Light receiving elements that are separated from the joint between
The data obtained by the child corresponds to the background color of the above input sheet
Discriminating means for discriminating whether or not the data is
The data obtained by the light receiving element by another means is
It is determined that the data corresponds to the background color of the input sheet
Between the light receiving element and the seam between the blocks.
Upper fill data of a predetermined number of dots obtained from that light-receiving element
Seam data to correct the data corresponding to the ground color of the force sheet
Record a program to make it function as a data correction means.
A computer-readable recording medium characterized by the above.
JP2000066000A 2000-03-10 2000-03-10 Image reading device and recording medium Expired - Fee Related JP3486149B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000066000A JP3486149B2 (en) 2000-03-10 2000-03-10 Image reading device and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000066000A JP3486149B2 (en) 2000-03-10 2000-03-10 Image reading device and recording medium

Publications (2)

Publication Number Publication Date
JP2001257847A JP2001257847A (en) 2001-09-21
JP3486149B2 true JP3486149B2 (en) 2004-01-13

Family

ID=18585437

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000066000A Expired - Fee Related JP3486149B2 (en) 2000-03-10 2000-03-10 Image reading device and recording medium

Country Status (1)

Country Link
JP (1) JP3486149B2 (en)

Also Published As

Publication number Publication date
JP2001257847A (en) 2001-09-21

Similar Documents

Publication Publication Date Title
US7499201B2 (en) Image reading apparatus, method of reading image, and image reading system
US7751071B2 (en) Image reproduction apparatus, image reproduction method, and program for implementing the method on a computer
US7933054B2 (en) Image processing system and image processing apparatus
JP2006148866A (en) Image forming apparatus and image forming method
JP4416016B2 (en) Image processing apparatus, image processing method, and image processing program
US8542380B2 (en) Image processing apparatus and method for erasing an image based on a mark read from a sheet
JP3486149B2 (en) Image reading device and recording medium
EP1519558B1 (en) Image processing apparatus
JP3848017B2 (en) Image processing apparatus and image processing method
US7314259B2 (en) Image processing apparatus and display control method for image processing apparatus
CN107895128A (en) reading device and control method
JP2005111843A (en) Printer, printing method, and program
US6795217B1 (en) Image processing apparatus
JP3984690B2 (en) Image processing apparatus and image processing method
JP2001008028A (en) Image recorder and image recording method
JP2009027250A (en) Image processor and image processing method
JPH09149276A (en) Picture processor
JP3992280B2 (en) Image forming apparatus
JP2004258176A (en) Image forming apparatus
JP2946956B2 (en) Facsimile transmitter
JPH10147009A (en) Image processing device
JP2007049430A (en) Image processing method and image processing apparatus
JP2005295359A (en) Image reader
JP2004032005A (en) Communication apparatus
JP2003175639A (en) Imaging apparatus

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
R150 Certificate of patent or registration of utility model

Ref document number: 3486149

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20071024

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20081024

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20091024

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091024

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20101024

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101024

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20111024

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111024

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20121024

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20131024

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees