JP2844766B2 - Recording gradation processing method - Google Patents
Recording gradation processing methodInfo
- Publication number
- JP2844766B2 JP2844766B2 JP32803189A JP32803189A JP2844766B2 JP 2844766 B2 JP2844766 B2 JP 2844766B2 JP 32803189 A JP32803189 A JP 32803189A JP 32803189 A JP32803189 A JP 32803189A JP 2844766 B2 JP2844766 B2 JP 2844766B2
- Authority
- JP
- Japan
- Prior art keywords
- dot
- recording
- data
- printer
- gradation processing
- 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
Links
Landscapes
- Dot-Matrix Printers And Others (AREA)
- Electronic Switches (AREA)
- Color, Gradation (AREA)
Description
【発明の詳細な説明】 〈産業上の利用分野〉 本発明は、オシロスコープ等の画面上で輝度変調され
た波形をハードコピーで表現する場合の階調処理方法の
改良に関する。DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to an improvement in a gradation processing method when a brightness-modulated waveform is represented by a hard copy on a screen such as an oscilloscope.
〈従来の技術〉 従来より、CRT表示器等の画面に表示された画像(表
示波形等)をプリンタにハードコピーする機能を有する
オシロスコープがある。そしてプリンタとしては感熱式
のサーマルプリンタを使用したものがある。<Prior Art> Conventionally, there is an oscilloscope having a function of hard-copying an image (display waveform or the like) displayed on a screen of a CRT display or the like to a printer. As a printer, there is a printer using a thermal type thermal printer.
サーマルプリンタは、表示画面に対応の画像メモリに
格納された画像データを記録(印字)する。The thermal printer records (prints) image data stored in an image memory corresponding to a display screen.
〈発明が解決しようとする課題〉 ところで、表示波形に輝度変調がかかっている場合、
プリンタで画面のハードコピーをとっても画面上の輝度
変調がそのまま表現されないという問題があった。以下
に従来の各種の方法およびその問題点を列挙する。<Problems to be solved by the invention> By the way, when the display waveform is subjected to luminance modulation,
Even when a hard copy of the screen is taken by the printer, there is a problem that the luminance modulation on the screen is not expressed as it is. The following describes various conventional methods and their problems.
例えばプリンタのヘッドの温度を制御して濃淡をつけ
て記録する方式があるが、全体に印字濃度が薄くなり、
印字されたものを更に複写機で複写すると濃淡が余計に
分かりにくくなる等の欠点がある。For example, there is a method of controlling the temperature of the printer head and printing with shading, but the printing density is low overall,
When the printed matter is further copied by a copying machine, there is a disadvantage that the shading becomes more difficult to understand.
他方ヘッドの温度変化によらず、濃淡を表現する手法
としてディザ法が広く用いられている。この方式は第3
図に示すように濃度に応じた割合でドットを間引くもの
であるが、面の濃淡では有効であるものの波形のような
線の濃淡には適さないという欠点がある。On the other hand, the dither method is widely used as a method of expressing light and shade regardless of the temperature change of the head. This method is the third
As shown in the figure, dots are thinned out at a ratio corresponding to the density, but there is a drawback that it is effective for shading of a surface but is not suitable for shading of a line such as a waveform.
また、第4図に示すように線の太さを変える方式があ
る。しかしながら、この方式では次のような問題があ
る。オシロスコープの表示画面はラスタスキャンの画面
を採用しており、ハードコピーの元のデータもラスタス
キャン向きのビットマップ形式となっている。ビットマ
ップ形式では、画面を点の集合として表現しているの
で、直接、線の傾きを調べることは困難であるという問
題がある。There is also a method of changing the thickness of a line as shown in FIG. However, this method has the following problems. The display screen of the oscilloscope employs a raster scan screen, and the original data of the hard copy is also in a bitmap format suitable for raster scan. In the bitmap format, since the screen is represented as a set of points, there is a problem that it is difficult to directly check the inclination of the line.
本発明の目的は、このような点に鑑みてなされたもの
で、画面の輝度変調に応じて記録線の太さを変更するこ
とにより画面表示に対応した階調記録が得られる階調処
理方法を提供することにある。SUMMARY OF THE INVENTION An object of the present invention has been made in view of the above points, and a gradation processing method capable of obtaining gradation recording corresponding to a screen display by changing the thickness of a recording line according to luminance modulation of a screen. Is to provide.
〈課題を解決するための手段〉 第1図に本発明に係る記録用階調処理方法の原理フロ
ーを示す。本発明は、メモリにビットマップ形式で格納
された波形データに対してドット単位で印字濃度を輝度
に関連して変える処理(階調処理)についてのフローを
示すものである。すなわち、 当該ドットの真上または真下のドットが記録ドットか
どうかを判別する。<Means for Solving the Problems> FIG. 1 shows a principle flow of a recording gradation processing method according to the present invention. The present invention shows a flow of processing (gradation processing) for changing the print density in relation to luminance on a dot-by-dot basis for waveform data stored in a bitmap format in a memory. That is, it is determined whether the dot directly above or below the dot is a recording dot.
上記判別において記録ドットである場合には少なくと
も当該ドットの左隣または右隣のドットを記録ドットと
する。If it is a recording dot in the above determination, at least a dot on the left or right of the dot is set as a recording dot.
上記の判別において記録ドットでない場合には少な
くともその真上または真下のドットを記録ドットに変更
する。If it is not a recording dot in the above determination, at least a dot directly above or below the recording dot is changed to a recording dot.
〈作用〉 本発明は、表示画面上に輝度変調して表示される波形
のプリンタにハードコピーすることのできる装置におい
て、輝度変調表示のドットデータからプリンタ出力に適
した階調のドットデータに変換する際、ドット単位で、
縦線のドットについてはその左隣または右隣のドットを
記録ドットに変更し、横線のドットに対しては真上また
は真下のドットを記録ドットに変更するようにして、輝
度変調表示のドットに関連した階調のドットに変換す
る。<Function> The present invention relates to a device capable of hard-copying a waveform of a waveform displayed on a display screen with a brightness modulation to a printer, and converting the dot data of the brightness modulation display into dot data of gradation suitable for printer output. When you do
Change the dot on the left or right of the vertical dot to a recording dot, and change the dot directly above or below the horizontal dot to a recording dot, so that Convert to dots of related gradation.
〈実施例〉 以下実施例につき本発明を詳細に説明する。ここで
は、1ドットを2ビットの情報(b1,b0)で表わす。そ
して(0,0)のドットは記録しないドットとし、(0,
1),(1,0),(1,1)の順に高輝度になるように対応
付け、ハードコピー用の階調処理は(1,1)のドットに
注目して行う。<Example> Hereinafter, the present invention will be described in detail with reference to examples. Here, one dot is represented by 2-bit information (b 1 , b 0 ). The dot of (0,0) is a dot not to be recorded, and (0,0)
1), (1, 0), and (1, 1) are associated in such a way as to have high luminance, and the gradation process for hard copy is performed by focusing on the (1, 1) dot.
階調処理は、前記第1図に示すようなフローの処理を
行うが、実際には以下のような簡単な論理演算により実
現する。なお、ここでは説明を簡単にするために当該ド
ットの上および左隣を記録ドットに変更する場合を例に
とる。The gradation processing is performed by the processing shown in FIG. 1, but is actually realized by the following simple logical operation. Here, in order to simplify the description, a case where the upper and left sides of the dot are changed to recording dots is taken as an example.
ビットb1とb0のオア(論理和:OR)をとってドット記
録の有無のデータを作る。OR of the bit b 1 and b 0 (logical OR: OR) taking make the data of the presence or absence of dot recording.
ビットb1とb0のアンド(論理積:AND)をとって最高輝
度記録のデータを作る。And bits b 1 and b 0 (logical product: the AND) making data of the highest luminance record taking.
前記で作成された最高輝度記録のデータを1ドット
上にシフトする。The data of the highest luminance record created above is shifted up by one dot.
ドットの重なった部分(前記で作成したデータと前
記でシフトしたデータのアンドを作る。Dot overlapping part (AND of data created above and data shifted above is created.
ドットが重なった部分を1ドット下に下げ、それを更
に1ドット左へシフトする 左へシフトした部分を重ね、元のデータ(左隣のデー
タ)とシフトしたデータとのオアをとる。The portion where the dots overlap is lowered by one dot, and it is further shifted one dot to the left. The portion shifted to the left is overlapped, and the original data (the data on the left) and the shifted data are ORed.
このような論理演算を画面左上のドットから画面右下
のドットまでの全ドットについて行う。なお、画面の一
番上のドット行および画面の左端のドット列については
更にその上あるいは左隣りへのシフトおよび論理演算が
できないので、上から2番目のドット行以降および左か
ら第2列目以降のドットについて上記論理演算を行う。Such a logical operation is performed for all dots from the upper left dot to the lower right dot. Note that the uppermost dot row and the leftmost dot row of the screen cannot be shifted further up or to the left, and logical operations cannot be performed. The above logical operation is performed for the subsequent dots.
第2図は本発明の方法を実施するためのオシロスコー
プの要部構成図である。図において、1はメインCPU(C
PUは中央処理装置)、2は表示を担当するサブCPU、3
は画像データをCRT4に表示するために必要な制御を行う
制御回路、5は画像データの記憶されるビデオRAM、6
はプログラムや波形データを記憶した共有RAM、7はプ
リンタ9によるハードコピーの内容が格納される作業RA
M、8は作業RAM7のデータをプリンタ9へDMA(Direct M
omory Access)転送するためのDMAコントローラであ
る。FIG. 2 is a configuration diagram of a main part of an oscilloscope for implementing the method of the present invention. In the figure, 1 is the main CPU (C
PU is a central processing unit), 2 is a sub CPU that is in charge of display, 3
Is a control circuit for performing necessary control for displaying image data on the CRT 4, 5 is a video RAM for storing image data, 6
Is a shared RAM for storing programs and waveform data, and 7 is a work RA for storing the contents of the hard copy by the printer 9.
M and 8 transfer the data in the work RAM 7 to the printer 9 by DMA (Direct M
omory Access) DMA controller for transfer.
このような構成において、波形表示は、制御回路3に
より、ビデオRAM5から画像データ(ドットデータ)を順
次読出し、ラスタスキャン方式によりCRT4上に表示する
ことによって行われる。なお、ビデオRAM5に格納されて
いるデータは前述したようにドットあたり2ビットの情
報を持ったデータである。In such a configuration, waveform display is performed by the control circuit 3 sequentially reading out image data (dot data) from the video RAM 5 and displaying the image data on the CRT 4 by a raster scan method. The data stored in the video RAM 5 is data having information of 2 bits per dot as described above.
他方、表示波形をハードコピーする場合は次のような
手順で行われる。On the other hand, a hard copy of the display waveform is performed in the following procedure.
メインCPU1で各ドットについて上記階調処理を行う。The main CPU 1 performs the above gradation processing for each dot.
階調処理により求められたドットデータを作業RAM7に
格納して行く。The dot data obtained by the gradation processing is stored in the work RAM 7.
階調処理終了後、DMAコントローラ8が起動され、作
業RAM7に作成された内容をプリンタ9に転送する。プリ
ンタ9は転送されるデータを順次印字する。After the gradation processing is completed, the DMA controller 8 is activated, and the contents created in the work RAM 7 are transferred to the printer 9. The printer 9 sequentially prints the transferred data.
このようにしてオシロスコープの画面上で輝度変調さ
れた波形をプリンタにハードコピーで表現することがで
きる。In this way, a waveform whose luminance has been modulated on the screen of the oscilloscope can be represented by a hard copy on a printer.
なお、実施例ではオシロスコープを用いて説明したが、
本発明はこれに限定されるものではなく、輝度階調の必
要なものであればどのようなものにでも適用できる。ま
た、実施例では2階調の場合を示したが、右隣および下
側に拡張することにより3階調以上にも適用できる。In the embodiment, the description has been made using the oscilloscope.
The present invention is not limited to this, and can be applied to any device requiring a luminance gradation. In the embodiment, the case of two gradations has been described, but the present invention can be applied to three or more gradations by extending to the right side and the lower side.
更にまた、階調処理では当該ドットに隣合うドットの
1ドットのみを対象として階調変更したが、2ドット以
上を同時に対象とするようにしてもよい。Furthermore, in the gradation processing, the gradation is changed only for one dot adjacent to the dot, but two or more dots may be changed simultaneously.
〈発明の効果〉 以上詳細に説明したように、本発明によれば、画面の
輝度変調に応じて記録線の太さを変更することにより画
面表示に対応した階調波形をプリンタ上に得ることがで
きる。<Effects of the Invention> As described in detail above, according to the present invention, a gradation waveform corresponding to a screen display can be obtained on a printer by changing the thickness of a recording line according to the luminance modulation of the screen. Can be.
第1図は本発明に係る感熱記録用階調処理方法の原理フ
ロー、第2図は本発明の方法を実施するためのオシロス
コープの要部構成図、第3図および第4図は従来の濃淡
表現方式を説明するための図である。1……メインCP
U、2……サブCPU、3……制御回路、4……CRT、5…
…ビデオRAM、6……共有RAM、7……作業RAM、8……D
MAコントローラ、9……プリンタ。FIG. 1 is a flow chart of the principle of a gradation processing method for thermal recording according to the present invention, FIG. 2 is a diagram showing a main part of an oscilloscope for carrying out the method of the present invention, and FIGS. It is a figure for explaining an expression system. 1 ... Main CP
U, 2 ... Sub CPU, 3 ... Control circuit, 4 ... CRT, 5 ...
... Video RAM, 6 ... Shared RAM, 7 ... Work RAM, 8 ... D
MA controller, 9 printer.
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) B41J 2/36 B41J 2/52──────────────────────────────────────────────────の Continued on front page (58) Field surveyed (Int.Cl. 6 , DB name) B41J 2/36 B41J 2/52
Claims (1)
をプリンタにハードコピーすることのできる装置におい
て、表示用の輝度変調のドットデータからプリンタ出力
に適した階調のドットデータに変換する処理手段が次の
からの手順により記録用の階調処理を行うようにし
たことを特徴とする記録用階調調処理方法。 当該ドットの真上または真下のドットが記録ドットか
どうかを判別する。 上記判別において記録ドットである場合には少なくと
も当該ドットの左隣または右隣のドットを記録ドットと
する。 上記の判別において記録ドットでない場合には少な
くともその真上または真下のドットを記録ドットに変更
する。1. An apparatus capable of hard-copying a waveform displayed on a display screen after being subjected to luminance modulation to a printer. The apparatus converts luminance-modulated dot data for display into dot data of gradation suitable for printer output. A tone processing method for recording, wherein the processing means performs tone processing for recording according to the following procedure. It is determined whether the dot immediately above or below the dot is a recording dot. If it is a recording dot in the above determination, at least a dot on the left or right of the dot is set as a recording dot. If it is not a recording dot in the above determination, at least a dot directly above or below the recording dot is changed to a recording dot.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32803189A JP2844766B2 (en) | 1989-12-18 | 1989-12-18 | Recording gradation processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32803189A JP2844766B2 (en) | 1989-12-18 | 1989-12-18 | Recording gradation processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH03187764A JPH03187764A (en) | 1991-08-15 |
| JP2844766B2 true JP2844766B2 (en) | 1999-01-06 |
Family
ID=18205743
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP32803189A Expired - Fee Related JP2844766B2 (en) | 1989-12-18 | 1989-12-18 | Recording gradation processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2844766B2 (en) |
-
1989
- 1989-12-18 JP JP32803189A patent/JP2844766B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH03187764A (en) | 1991-08-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3194352B2 (en) | How to reproduce a composite image | |
| US4642680A (en) | Method and system for processing image data stored in RGB form | |
| JPS62275768A (en) | Printer | |
| JP2844766B2 (en) | Recording gradation processing method | |
| EP1241868B1 (en) | Image processing apparatus | |
| JPH0385597A (en) | Image processing device and method | |
| JP4408543B2 (en) | Image forming method and apparatus | |
| JP3914767B2 (en) | Image reduction conversion method, image processing apparatus, accounting processing apparatus, and image reduction conversion program | |
| JP3636891B2 (en) | Color image output method | |
| JP3032564B2 (en) | Printing control device | |
| JPS60236365A (en) | Halftone display method | |
| JPS6397066A (en) | Enlarged recording control device | |
| JP2797565B2 (en) | Waveform display recording device | |
| JP2885856B2 (en) | Printing equipment | |
| JPH02295766A (en) | Imaging system | |
| JP3185435B2 (en) | Image forming device | |
| JPH05220996A (en) | Image recording method and apparatus | |
| JP2513636B2 (en) | Image processing device | |
| JP2633051B2 (en) | Image processing device | |
| JPS62151350A (en) | printing device | |
| JPS6116692A (en) | Image forming method of thermal color printer | |
| JPH0630270A (en) | Device and system for recording image | |
| JPH05328109A (en) | Image forming device | |
| JPH04157864A (en) | printing device | |
| JP2001078017A (en) | Image processing system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Year of fee payment: 9 Free format text: PAYMENT UNTIL: 20071030 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081030 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |