JPS6276867A - Image data processing device - Google Patents
Image data processing deviceInfo
- Publication number
- JPS6276867A JPS6276867A JP21472185A JP21472185A JPS6276867A JP S6276867 A JPS6276867 A JP S6276867A JP 21472185 A JP21472185 A JP 21472185A JP 21472185 A JP21472185 A JP 21472185A JP S6276867 A JPS6276867 A JP S6276867A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- data
- image
- length
- run length
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、2値画像データのランレングスに注目して処
理を行う画像データ処理装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image data processing device that performs processing focusing on the run length of binary image data.
従来から知られているこの種の画像データ処理装置とし
て、例えばccn(電荷結合素子)を備えた画像読み取
り装置、ドツトマトリクス方式の画像プリンタ等が知ら
れている。ここでは、これらを用いたファクシミリ装置
を例に挙げて説明する。2. Description of the Related Art Conventionally known image data processing devices of this type include, for example, an image reading device equipped with a ccn (charge coupled device), a dot matrix type image printer, and the like. Here, a facsimile machine using these will be explained as an example.
従来のファクシミリ装置では、通信回線を介して得られ
た画像信号を復号して全ての画素データをプリンタに供
給していた。同様に、他のファクシミリ装置に対して画
像伝送を行う場合にも、CCo等により読み取った画素
データ全てを符号化していた。Conventional facsimile machines decode image signals obtained via communication lines and supply all pixel data to a printer. Similarly, when transmitting an image to another facsimile machine, all pixel data read by CCo or the like is encoded.
従って、通信回線を介して得た画像信号については、自
限で判別できないほど小さな画像もプリントされてしま
うので、明瞭な再生画像が得られないという欠点があっ
た。Therefore, with regard to image signals obtained via communication lines, images that are too small to be recognized by oneself are also printed, resulting in the disadvantage that a clear reproduced image cannot be obtained.
また、原稿画像を読み取る際にも微小な画像(例えば、
地肌のよごれ)までを逐次符号化しているので、余分な
読み取り時間を要するばかりでなく、画像メモリを備え
ている場合には無駄な記憶容量が使われてしまうという
欠点があった。Also, when reading a document image, minute images (for example,
Since the system sequentially encodes even the dirt on the background, it not only requires extra reading time, but also has the disadvantage that if an image memory is provided, the storage capacity is wasted.
よって、本発明の目的は、離散的に存在する微小画像領
域を無視して画像データを形成することにより、画質の
向上ならびにデータ量の逓減を図った画像データ処理装
置を提供することにある。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide an image data processing device that improves image quality and gradually reduces the amount of data by forming image data while ignoring discretely existing minute image areas.
本発明では、画像データのランレングスを検出する手段
と、前記ランレングスが所定の長さ以下である場合には
、当該ランレングスに係るデータ値を反転する処理手段
とを備え、前記処理手段から2値画像データを送出する
ように構成する。The present invention includes a means for detecting a run length of image data, and a processing means for inverting a data value related to the run length when the run length is less than or equal to a predetermined length. It is configured to send binary image data.
以下、実施例に基づいて本発明の詳細な説明する。 Hereinafter, the present invention will be described in detail based on examples.
第1図は本発明に係る画像データ処理装置の概略構成図
であり、画像データのランレングスを検出する手段C−
tと、前記ランレングスが所定の長さ以下である場合に
は、当該ランレングスに係るデータ値を反転する処理手
段C−2とを備え、前記処理手段C−2から2値画像デ
ータを送出する。FIG. 1 is a schematic configuration diagram of an image data processing apparatus according to the present invention, and shows a means C-C for detecting run length of image data.
t, and processing means C-2 for inverting the data value related to the run length when the run length is less than or equal to a predetermined length, and transmitting binary image data from the processing means C-2. do.
第2図は、本発明を適用したファクシミリ装置の一実施
例を示すブロック図である。本図において、2は後述す
る中央処理装置(cpu)sにより処理された画像デー
タ、もしくは、cpusの処理実行時に使用されるデー
タを記憶するメモリである。FIG. 2 is a block diagram showing an embodiment of a facsimile apparatus to which the present invention is applied. In this figure, 2 is a memory that stores image data processed by a central processing unit (CPU) s, which will be described later, or data used when executing processing by the CPU.
3は、画像データ補正処理(第3図において詳述する)
を行うか否かを指示するためのキーボードである。3 is image data correction processing (described in detail in Fig. 3)
This is a keyboard for instructing whether to perform or not.
4はキーボード3における入力データの表示等を行う表
示装置、5は通信回線6と本ファクシミリ装置とを接続
して通信を行う通信装置である。4 is a display device that displays input data on the keyboard 3, and 5 is a communication device that connects the communication line 6 and the present facsimile machine for communication.
7は受信した画情報の再生を行うプリンタ、8は画像デ
ータを復号してプリンタ7にプリント用信号を供給する
復号装置である。7 is a printer that reproduces the received image information, and 8 is a decoding device that decodes the image data and supplies a print signal to the printer 7.
また、CPU9は通信装置5により受信された画像デー
タを導入してランレングスを求め、可視的な領域を表す
データと不可視的な微小領域を表すデータに区別する。Further, the CPU 9 inputs the image data received by the communication device 5, calculates the run length, and distinguishes the data into data representing a visible area and data representing an invisible minute area.
そして、不可視的な領域を表すデータについては、その
データの直前にあるデータと一致するよう、レベル反転
を行ってデータの統合を行う。更に、このCPU9はキ
ーボード3、表示装置4.プリンタ99通信装置5.復
号符号化装置8あるいは原稿読み取り部(図示せず)等
の各種動作を制御する。Then, for data representing an invisible area, level inversion is performed so that the data matches the data immediately preceding the data, and the data is integrated. Furthermore, this CPU 9 has a keyboard 3, a display device 4. Printer 99 communication device 5. It controls various operations of the decoding/encoding device 8 or the document reading section (not shown).
第3図は第2図に示したファクシミリ装置の画像データ
処理手順を示すフローチャート、第4図は本処理手順に
おいて用いるランレングスコードの一例を示すビット構
成図である。FIG. 3 is a flowchart showing the image data processing procedure of the facsimile machine shown in FIG. 2, and FIG. 4 is a bit configuration diagram showing an example of a run length code used in this processing procedure.
第3図に示すステップS2では、通信回線6を介して伝
送されてきた画像データを通信装置5により受信する。In step S2 shown in FIG. 3, image data transmitted via the communication line 6 is received by the communication device 5.
すると、ステップS3において、CPU9はその画像デ
ータを受は取り、ランレングスコードに変換する。すな
わち、CPUflは伝送されてきた画像データのうち白
または黒を表すデータの連続数を検出して、第4図に示
すようなランレングスコードを作成する。Then, in step S3, the CPU 9 receives the image data and converts it into a run-length code. That is, the CPU fl detects the number of consecutive pieces of data representing white or black in the transmitted image data, and creates a run length code as shown in FIG.
次のステップS4では、ランレングスコードによって表
される画像データ長(“0”または“l”の連続数)を
判定する。In the next step S4, the image data length (number of consecutive "0" or "l") represented by the run length code is determined.
そして、画像データ長が“2”よりも長いときには、ス
テップS5に示すように画像データ長と前データ長(先
に“2”以下の画像データ長が発生した場合には、その
画像データ長が前データ長となるニステップS12参照
)との加算を行い、次いでステップS6において変数“
前データ長”を“O”にクリアする。更にステップS7
では、加算された画像データ長を含むランレングスコー
ドをメモリ2(第2図参照)に格納する。When the image data length is longer than "2", the image data length and the previous data length (if an image data length of "2" or less occurs first, the image data length is (refer to step S12) which becomes the previous data length, and then in step S6 the variable "
"previous data length" is cleared to "O".Furthermore, in step S7
Now, the run length code including the added image data length is stored in the memory 2 (see FIG. 2).
また、ステップS4において画像データ長が“2”以下
であると判定された場合には、その画像データは不可視
的な領域を表すデータであると考えることができる。例
えば、1つの画素がl/18■で表現されている場合に
は、1/8mmまでの画像の変化はプリントアウトした
としても内眼で判別し得ない程度のものとなる。そこで
、その画像データを、先に生じている可視的なデータに
統合するために、ステップS12では、不可視的なデー
タであると判断された画像データ長を“前データ長”に
加算し、次のステップに進む。Further, if it is determined in step S4 that the image data length is "2" or less, the image data can be considered to be data representing an invisible area. For example, if one pixel is represented by 1/18 mm, changes in the image up to 1/8 mm cannot be discerned with the inner eye even if printed out. Therefore, in order to integrate the image data with the previously generated visible data, in step S12, the image data length determined to be invisible data is added to the "previous data length", and the next Proceed to step.
以上述べたように、最後の受信データ処理が終了するま
で上記ステップ82〜S8を繰り返し実行する。As described above, steps 82 to S8 are repeatedly executed until the last received data processing is completed.
ステップS8において受信データの処理が終了したもの
と判定されると、メモリ2に格納されているランレング
スコードが復号装置8を介してプリンタ7に送られ(ス
テップS8)、画像のプリントアウトがなされる(ステ
ップ510)。When it is determined in step S8 that the processing of the received data has been completed, the run-length code stored in the memory 2 is sent to the printer 7 via the decoding device 8 (step S8), and the image is printed out. (step 510).
なお、第3図に示すフローチャートのステップS4にお
いては、画像データのランレングスが2”以下であるか
否かを判定したが、このランレングス“2”に拘泥する
ことなく、回線を介して送られてくる画像に応じて適宜
変更することも可能である。この場合には、キーボード
3を用いて上記ランレングスを変更するよう構成すれば
よい。Note that in step S4 of the flowchart shown in FIG. 3, it is determined whether the run length of the image data is 2" or less, but without being limited to this run length "2", it is possible to transmit the image data via the line. It is also possible to change the run length as appropriate depending on the image being received.In this case, the run length may be changed using the keyboard 3.
また、第2図ないし第4図に示した実施例では画信号を
受信して画像を再生する場合について述べたが、原稿画
稿を読み取ることにより得た画信号をランレングス符号
化して伝送する場合にも本発明を適用し得ることは勿論
である。Furthermore, in the embodiments shown in FIGS. 2 to 4, the case where an image signal is received and the image is reproduced has been described, but in the case where the image signal obtained by reading the original drawing is run-length encoded and transmitted. Of course, the present invention can also be applied to.
以上説明したように本発明によれば、画像データのラン
レングスが小さい場合にはその画像データを無視して隣
接する画素のデータと一致させることができるので、
0画像データの圧縮率を上げることができる:■画像メ
モリの節約を図ることができる:■再生画像のノイズ成
分を除去して品質を上げることができる:
といった格別なる効果を得ることができる。As explained above, according to the present invention, when the run length of image data is small, it is possible to ignore that image data and match it with the data of adjacent pixels, thereby increasing the compression rate of zero image data. It is possible to obtain special effects such as: ■ It is possible to save image memory: ■ It is possible to improve the quality of the reproduced image by removing noise components.
第1図は本発明に係る画像データ処理装置の概略構成図
、
第2図は本発明を適用したファクシミリ装置の一実施例
を示すブロック図、
第3図は第2図の動作を説明するためのフローチャート
、
第4図は第2図に示した実施例に使用するランレングス
コードのビット構成図である。
2・・・メモリ、
3・・・キーボード、
4・・・表示装置、
5・・・通信装置、
6・・・通信回線、
7・・・プリンタ、
8・・・復号装置、
9・・・cpu 。
第2図
特開口RG2−76867 (4)
第3図
第4図FIG. 1 is a schematic configuration diagram of an image data processing device according to the present invention, FIG. 2 is a block diagram showing an embodiment of a facsimile device to which the present invention is applied, and FIG. 3 is for explaining the operation of FIG. FIG. 4 is a bit configuration diagram of a run-length code used in the embodiment shown in FIG. 2...Memory, 3...Keyboard, 4...Display device, 5...Communication device, 6...Communication line, 7...Printer, 8...Decoding device, 9... cpu. Figure 2 Special opening RG2-76867 (4) Figure 3 Figure 4
Claims (1)
該ランレングスに係るデータ値を反転する処理手段とを
備え、 前記処理手段から2値画像データを送出するようにした
ことを特徴とする画像データ処理装置。[Claims] 1) comprising means for detecting a run length of image data; and processing means for inverting a data value related to the run length when the run length is less than or equal to a predetermined length; An image data processing device characterized in that binary image data is sent from the processing means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21472185A JPS6276867A (en) | 1985-09-30 | 1985-09-30 | Image data processing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21472185A JPS6276867A (en) | 1985-09-30 | 1985-09-30 | Image data processing device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS6276867A true JPS6276867A (en) | 1987-04-08 |
Family
ID=16660520
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21472185A Pending JPS6276867A (en) | 1985-09-30 | 1985-09-30 | Image data processing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6276867A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH03230472A (en) * | 1990-02-02 | 1991-10-14 | West Electric Co Ltd | Battery contact |
| JPH081588U (en) * | 1993-08-06 | 1996-11-12 | 重男 志賀 | Holder case for dry batteries |
-
1985
- 1985-09-30 JP JP21472185A patent/JPS6276867A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH03230472A (en) * | 1990-02-02 | 1991-10-14 | West Electric Co Ltd | Battery contact |
| JPH081588U (en) * | 1993-08-06 | 1996-11-12 | 重男 志賀 | Holder case for dry batteries |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS5812787B2 (en) | Fuakushimirishingounojiyushinhoushiki | |
| JPS6276867A (en) | Image data processing device | |
| JPS586343B2 (en) | Kahensousasasenmitsudoseigyohoushiki | |
| JP3187696B2 (en) | Image coding device | |
| US7460257B2 (en) | Technique for transferring image information from a scanning apparatus | |
| JPS5859665A (en) | Picture and writing transmission device | |
| JP3705771B2 (en) | JBIG decoding method | |
| JPH0442665A (en) | Facsimile equipment | |
| JPH0227873A (en) | Facsimile equipment | |
| JP3029863B2 (en) | Compressed data decoding device | |
| JPS5927503B2 (en) | calligraphy communication device | |
| JPS5883472A (en) | Full white processing system in facsimile | |
| JPH0710430Y2 (en) | Binary image reduction device | |
| JPS63117562A (en) | Image data coding system | |
| JP2001157063A (en) | Image data encoding / decoding device | |
| JPH06105969B2 (en) | Image encoding / decoding transmission device | |
| JPH0340558A (en) | Facsimile equipment | |
| JP2000113172A (en) | Image processing system and method | |
| JPS6189774A (en) | Image data decoding device | |
| JPS62108675A (en) | Image data encoding device | |
| JPH0423991B2 (en) | ||
| JP2002094803A (en) | Picture reader | |
| JPH10226112A (en) | Printer | |
| JPH0340559A (en) | Facsimile equipment | |
| JPS61186074A (en) | Coding processing system |