JPH0740305B2 - Image processing method - Google Patents

Image processing method

Info

Publication number
JPH0740305B2
JPH0740305B2 JP61087746A JP8774686A JPH0740305B2 JP H0740305 B2 JPH0740305 B2 JP H0740305B2 JP 61087746 A JP61087746 A JP 61087746A JP 8774686 A JP8774686 A JP 8774686A JP H0740305 B2 JPH0740305 B2 JP H0740305B2
Authority
JP
Japan
Prior art keywords
image
information
run
density
display
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 - Lifetime
Application number
JP61087746A
Other languages
Japanese (ja)
Other versions
JPS62243077A (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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP61087746A priority Critical patent/JPH0740305B2/en
Priority to US07/038,827 priority patent/US4800611A/en
Publication of JPS62243077A publication Critical patent/JPS62243077A/en
Priority to US07/171,468 priority patent/US4799284A/en
Publication of JPH0740305B2 publication Critical patent/JPH0740305B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Description

【発明の詳細な説明】 技術分野 この発明は、画像読取り装置で読取った画像情報を同一
色の連続状況を示すランレングス情報に変換して、圧縮
処理及び伸長処理を施して表示及び出力する画像処理方
法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention converts an image information read by an image reading device into run-length information indicating a continuous situation of the same color, and performs compression processing and decompression processing to display and output the image. Regarding processing method.

従来技術 従来のランレングス情報を用いて画像情報を圧縮処理及
び伸長処理を行なう画像処理方法では、画像読取り装置
で読取った最初の画像情報と圧縮処理及び伸長処理され
た後の再生画像情報とは常に等倍である。
2. Description of the Related Art In a conventional image processing method for performing compression processing and decompression processing on image information using run length information, the first image information read by an image reading device and the reproduced image information after the compression processing and decompression processing are performed. It is always the same size.

このため、画像読取り密度と異なる表示密度を有する表
示装置あるいは異なる画素密度を有するプリンタ等の出
力装置に画像情報を表示あるいは出力する場合、元の画
像と表示あるいは出力される画像とで大きさが異なって
しまうという問題点があった。
Therefore, when displaying or outputting image information on a display device having a display density different from the image reading density or an output device such as a printer having a different pixel density, the size of the original image and the size of the image to be displayed or output are different. There was a problem that it would be different.

目 的 この発明は、このような従来の問題点を解決するために
なされたもので、表示装置に表示される画像サイズ又は
出力装置に出力される画像サイズが、画像読取り装置で
読み取った元の画像の大きさと略同じになるようにする
ことを目的とする。
Aim The present invention was made in order to solve such conventional problems, and the image size displayed on the display device or the image size output to the output device is the same as the original size read by the image reading device. The purpose is to make the size of the image approximately the same.

構 成 この発明は、上記の目的を達成するため、画像読取り装
置で読取った画像情報をランレングス情報に変換して圧
縮処理を施して記憶し、その記憶した圧縮情報を伸長処
理を施して元のランレングス情報に変換した後、画像情
報に変換して表示装置に表示又は出力装置に出力する画
像処理方法において、 上記表示装置に画像情報を表示するときは上記画像読取
り装置の読取り密度と表示装置の表示密度との比に対応
する変倍率で,上記出力装置に画像情報を出力するとき
は上記画像読取り装置の読取り密度と出力装置の画素密
度との比に対応する変倍率で,それぞれ上記画像情報に
変換する前のランレングス情報を変倍することを特徴と
する。
In order to achieve the above object, the present invention converts image information read by an image reading device into run-length information, compresses and stores the compressed information, and decompresses the compressed information stored. In the image processing method of converting to run length information, then converting to image information and displaying on a display device or outputting to an output device, when displaying image information on the display device, the reading density and the display of the image reading device are displayed. When the image information is output to the output device at a scaling factor corresponding to the ratio of the display density of the device, the scaling factor corresponding to the ratio of the reading density of the image reading device and the pixel density of the output device, respectively. It is characterized in that the run length information before conversion into image information is scaled.

実 施 例 以下、この発明の実施例を第1図乃至第3図に基づいて
具体的に説明する。
EXAMPLES Examples of the present invention will be specifically described below with reference to FIGS. 1 to 3.

第1図は、この発明による画像処理方法を実施する画像
処理装置の一例を示すブロック図、第2図はその画像処
理部の機能構成を示すブロック図、第3図はそれによる
画像の読取りから表示までの処理フロー図である。
FIG. 1 is a block diagram showing an example of an image processing apparatus for carrying out an image processing method according to the present invention, FIG. 2 is a block diagram showing a functional configuration of the image processing unit, and FIG. It is a processing flow figure until a display.

第1図において、画像読取り装置であるスキャナ1で読
取られた画像情報は、画像処理部2によって圧縮処理を
施されて記憶装置であるメモリ3に記憶され、この記憶
された画像情報は画像処理部2によって伸長処理を施さ
れて表示装置であるCRTディスプレイ4に表示される
か、あるいは出力装置であるプリンタ5に出力される。
In FIG. 1, image information read by a scanner 1 which is an image reading device is compressed by an image processing unit 2 and stored in a memory 3 which is a storage device. The stored image information is subjected to image processing. The data is decompressed by the unit 2 and displayed on the CRT display 4, which is a display device, or output to the printer 5, which is an output device.

次に、この画像処理部2における圧縮処理及び伸長処理
について、第2図及び第3図によって詳しく説明する。
Next, the compression processing and decompression processing in the image processing unit 2 will be described in detail with reference to FIGS. 2 and 3.

まず、スキャナ1によって読取った画像情報をメモリ3
に記憶する方法について説明する。
First, image information read by the scanner 1 is stored in the memory 3
The method of storing in will be described.

スキャナ1によって読取られた画像情報を、変換部6で
ランレングス情報に変換し、そのランレングス情報を変
倍手段7によって変倍した後、圧縮変換部8によって圧
縮コードに圧縮変換してメモリ3に記憶させる。このと
き変倍手段7は、ランレングス情報を変倍率1で変倍す
る。
The image information read by the scanner 1 is converted into run-length information by the conversion unit 6, the run-length information is scaled by the scaling unit 7, and then compressed and converted by the compression conversion unit 8 into a compressed code to be stored in the memory 3 To memorize. At this time, the scaling unit 7 scales the run length information by the scaling factor 1.

次に、メモリ3に記憶された圧縮コードを伸長処理して
画像情報に変換し、CRTデスプレイ4に表示する方法及
びプリンタ5に出力する方法について説明する。
Next, a method of decompressing the compressed code stored in the memory 3 to convert it into image information, displaying it on the CRT display 4, and outputting it to the printer 5 will be described.

メモリ3に記憶された画像情報の圧縮コードを読出し
て、それを伸長変換部9で再びランレングス情報に伸長
変換する。そのランレングス情報を変倍手段7で変倍し
た後、変換部10で画像情報に変換してCRTディスプレイ
4に表示させる。
The compression code of the image information stored in the memory 3 is read out, and the decompression conversion unit 9 decompresses it into run-length information again. The run-length information is scaled by the scaling means 7, and then converted into image information by the converter 10 and displayed on the CRT display 4.

このとき、変倍手段7においてランレングス情報は変倍
率n2/n1で変倍される。なお、n1はスキャナ1の読取り
密度であり、n2はCRTディスプレイ4の表示密度であ
る。
At this time, the scaling means 7 scales the run length information at a scaling ratio of n 2 / n 1 . Note that n 1 is the reading density of the scanner 1 and n 2 is the display density of the CRT display 4.

圧縮コードに変換してメモリ3に記憶された画像情報を
プリンタ5に出力する場合は、ランレングス情報を変倍
手段7によって変倍するときの倍率をn3/n1とすること
を除いては、CRTディスプレイ4に表示する方法と同じ
である。なお、n3はプリンタ5の画素密度である。
When the image information stored in the memory 3 after being converted into a compressed code is output to the printer 5, except that the run length information is scaled by the scaling means 7 to n 3 / n 1. Is the same as the method of displaying on the CRT display 4. Note that n 3 is the pixel density of the printer 5.

このように変倍手段7における変倍率をスキャナー1の
読取り密度n1とCRTディスプレイ4の表示密度n2との
比、又はプリンタ5の画素密度n3との比に応じて定める
ことにより、表示及び出力される画像サイズを元の画像
とほぼ同一サイズに調整することができる。
In this way, by displaying the scaling ratio in the scaling unit 7 according to the ratio between the reading density n1 of the scanner 1 and the display density n2 of the CRT display 4 or the pixel density n3 of the printer 5, the display and output are performed. The image size can be adjusted to be almost the same size as the original image.

次に、変倍手段7の動作を具体的に説明する。Next, the operation of the scaling means 7 will be specifically described.

例えば、ランレングス情報が“黒6,白4,黒8,白6,……”
で、変倍率を1/2と設定した場合、このランレングス情
報は変倍手段7によって“黒3,白2,黒4,白3,……”に変
倍される。
For example, the run length information is “black 6, white 4, black 8, white 6, ...”
When the scaling ratio is set to 1/2, this run length information is scaled by the scaling means 7 to "black 3, white 2, black 4, white 3, ...".

ここで、考えなければならないのが、変倍したときに発
生する‘あまり’である。ランレングス情報が“黒7,…
…”で変倍率を1/2とすると、このランレングス情報は
“黒3.5,……”となり‘あまり’が発生する。
Here, we have to think about'too much 'that occurs when scaling. The run length information is "black 7, ...
When the scaling factor is halved with "...", this run length information becomes "black 3.5, ..." and "too much" occurs.

この‘あまり’の処理によって表示及び出力される画像
が乱れる可能性がある。このような問題を上記の実施例
では、次のように解決した。
This'too much 'processing may disturb the displayed and output images. In the above embodiment, such a problem is solved as follows.

各ラインで‘あまり’が発生するごとに‘あまり’を切
捨るか切上げるかを交互に選択する。このように制御す
れば、画像の乱れを最小限に抑えることが可能である。
Select whether to round down or round up "too much" each time "too much" occurs in each line. By controlling in this way, it is possible to minimize image distortion.

ところで、上述の実施例では、圧縮コードに変換されて
メモリ3に記憶された画像情報をCRTデスプレイ4に表
示する場合に、変換手段7における変倍率をn2/n1
し、圧縮コードに変換されてメモリ3に記憶された画像
情報をプリンタ5に出力する場合には、変換手段7にお
ける変倍率をn3/n1に、それぞれ固定したが、この変倍
率は変化させ得るものである。
By the way, in the above-mentioned embodiment, when the image information converted into the compressed code and stored in the memory 3 is displayed on the CRT display 4, the scaling factor in the conversion means 7 is set to n 2 / n 1 and converted into the compressed code. When outputting the image information stored in the memory 3 to the printer 5, the scaling factors in the converting means 7 are fixed to n3 / n1, respectively, but the scaling factors can be changed.

例えば、キーボード11からの入力によって、画像処理部
2における変倍手段7の変倍率を制御可能にすることに
よって、変倍率を変化させ得る。
For example, the scaling ratio can be changed by making it possible to control the scaling ratio of the scaling unit 7 in the image processing unit 2 by inputting from the keyboard 11.

なお、この発明は上記特定の実施例に限定されるべきも
のではなく、種々に変更し得るものである。
It should be noted that the present invention should not be limited to the above specific embodiments, but can be variously modified.

効 果 以上説明してきたように、この発明によって、ランレン
グス情報を変倍するという簡単な方法で、表示装置に表
示される画像サイズ又は出力装置に出力される画像サイ
ズが元の画像と略同じになるように調整することが可能
になる。
As described above, according to the present invention, the image size displayed on the display device or the image size output to the output device is substantially the same as the original image by the simple method of scaling the run length information. It becomes possible to adjust so that.

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

第1図はこの発明による画像処理方法を実施例する画像
処理装置の一例を示すブロック図、 第2図は第1図における画像処理部2の機能構成を示す
ブロック図、 第3図は同じくその画像処理部による画像の読取りから
表示までの処理フロー図である。 1……スキャナ(画像読取り装置) 2……画像処理部、3……メモリ 4……CRTディスプレイ(表示装置) 5……プリンタ(出力装置) 6……画像情報をランレングス情報に変換する変換部 7……変倍手段 8……ランレングス情報を圧縮コードに変換する圧縮変
換部 9……圧縮コードをランレングス情報に変換する伸長変
換部 10……ランレングス情報を画像情報に変換する変換部 11……キーボード
FIG. 1 is a block diagram showing an example of an image processing apparatus for implementing an image processing method according to the present invention, FIG. 2 is a block diagram showing a functional configuration of the image processing unit 2 in FIG. 1, and FIG. It is a processing flow figure from the reading of an image by an image processing part to a display. 1 ... Scanner (image reading device) 2 ... Image processing unit, 3 ... Memory 4 ... CRT display (display device) 5 ... Printer (output device) 6 ... Conversion for converting image information into run-length information Part 7: Magnification changing unit 8: Compression conversion unit for converting run-length information into compression code 9 ... Decompression conversion unit for converting compression code into run-length information 10 ... Conversion for converting run-length information into image information Part 11 ... Keyboard

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】画像読取り装置で読取った画像情報をラン
レングス情報に変換して圧縮処理を施して記憶し、その
記憶した圧縮情報を伸長処理を施して元のランレングス
情報に変換した後、画像情報に変換して表示装置に表示
又は出力装置に出力する画像処理方法において、 前記表示装置に画像情報を表示するときは前記画像読取
り装置の読取り密度と表示装置の表示密度との比に対応
する変倍率で、前記出力装置に画像情報を出力するとき
は前記画像読取り装置の読取り密度と出力装置の画素密
度との比に対応する変倍率で、それぞれ前記画像情報に
変換する前のランレングス情報を変倍することを特徴と
する画像処理方法。
1. The image information read by an image reading device is converted into run-length information, compressed and stored, and the stored compressed information is expanded and converted into the original run-length information. In an image processing method of converting into image information and displaying on a display device or outputting to an output device, when displaying image information on the display device, it corresponds to a ratio of a read density of the image reading device and a display density of the display device. When the image information is output to the output device with a variable magnification, the run length before conversion into the image information is performed with the variable ratio corresponding to the ratio of the reading density of the image reading device and the pixel density of the output device. An image processing method characterized by scaling information.
JP61087746A 1986-04-16 1986-04-16 Image processing method Expired - Lifetime JPH0740305B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP61087746A JPH0740305B2 (en) 1986-04-16 1986-04-16 Image processing method
US07/038,827 US4800611A (en) 1986-04-16 1987-04-15 Plate cleaning apparatus and cleaning roller therefor
US07/171,468 US4799284A (en) 1986-04-16 1988-03-21 Plate cleaning apparatus and cleaning roller therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61087746A JPH0740305B2 (en) 1986-04-16 1986-04-16 Image processing method

Publications (2)

Publication Number Publication Date
JPS62243077A JPS62243077A (en) 1987-10-23
JPH0740305B2 true JPH0740305B2 (en) 1995-05-01

Family

ID=13923497

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61087746A Expired - Lifetime JPH0740305B2 (en) 1986-04-16 1986-04-16 Image processing method

Country Status (1)

Country Link
JP (1) JPH0740305B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6078480A (en) * 1983-10-06 1985-05-04 大日本印刷株式会社 Character pattern expansion system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6078480A (en) * 1983-10-06 1985-05-04 大日本印刷株式会社 Character pattern expansion system

Also Published As

Publication number Publication date
JPS62243077A (en) 1987-10-23

Similar Documents

Publication Publication Date Title
US6519052B1 (en) Image processing method and apparatus to select a data compression method according to a size of an output image
JPS61107392A (en) Image processing system
US7023455B2 (en) Apparatus and method for processing video signal
JPH0879672A (en) Still picture reproducing device
JPH1117971A (en) Image processor, its method, data processing method and storage medium
JPH0740305B2 (en) Image processing method
JPH0937010A (en) Image output device and control method for the same
JPH04337800A (en) Image display device
JP2663922B2 (en) Video encoding device
JP2814769B2 (en) Image processing device
JP2673995B2 (en) Image signal processing device
JPS58182366A (en) Enlarging or contracting circuit of picture
JP3593820B2 (en) Direct print adapter
JP2601059B2 (en) Image processing device
JP2890275B2 (en) Image processing method
JPS62252271A (en) Color picture processor to expand, reduce and process after color is separated
JPH09321993A (en) Color image reproduction system and method
JPH04128887A (en) Image display device
JPH07225574A (en) Image data conversion circuit
JPH03263183A (en) Image output device
JPS6378278A (en) Image processing device
JPH02148974A (en) Original reader
JPS6038974A (en) Picture processing device
JPH08328539A (en) Image display method and device
JPH0553569A (en) Data converting circuit for still picture system