JPH01220077A - Image processor - Google Patents

Image processor

Info

Publication number
JPH01220077A
JPH01220077A JP4716188A JP4716188A JPH01220077A JP H01220077 A JPH01220077 A JP H01220077A JP 4716188 A JP4716188 A JP 4716188A JP 4716188 A JP4716188 A JP 4716188A JP H01220077 A JPH01220077 A JP H01220077A
Authority
JP
Japan
Prior art keywords
image data
data
binary image
processing
interrupt
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
Application number
JP4716188A
Other languages
Japanese (ja)
Inventor
Akihiko Makino
牧野 昭彦
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.)
GE Healthcare Japan Corp
Original Assignee
Yokogawa Medical Systems 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 Yokogawa Medical Systems Ltd filed Critical Yokogawa Medical Systems Ltd
Priority to JP4716188A priority Critical patent/JPH01220077A/en
Publication of JPH01220077A publication Critical patent/JPH01220077A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To shorten the processing time of muP by adopting dark and bright image data to be constituted of data exceeding 90% out of total data quantity for an ordinary processing routine, allocating an interrupt processing to the binary image data of a few percent quantity and executing as an exceptional processing. CONSTITUTION:An interrupt inputting part 8 to receive as an interrupt input the signal of a binary image data decision result from a comparison and discrimination means 5 is provided in an operation means. An analog video signal is converted into a digital signal, after storing in a storage means 2, the decision of the image data is executed by reading with the comparison and decision means 5, inputted in the interrupt inputting part 8 of the operation means at the time of a binary image data input and the operation is executed by discontinuing the interpolation operation of the dark and bright image data at a data inputting part 7. Thus, the discrimination of a decision result of the dark and bright image data and the binary image data is unnecessary to execute every time with a micro processor (muP) 6 and the processing time can be shortened.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、濃淡画像データと2値画像データとで合成さ
れる静止画像データをディジタルデータに変換し、記憶
手段に格納した後比較判別手段により濃淡画像データと
2値画像データとの判別を行い判別結果に基づき演算手
段によりそれぞれの拡大補間処理を行う画像処理装置に
関する。
DETAILED DESCRIPTION OF THE INVENTION (Industrial Application Field) The present invention converts still image data, which is composed of grayscale image data and binary image data, into digital data, stores it in a storage means, and then converts it into digital data. The present invention relates to an image processing apparatus that discriminates between grayscale image data and binary image data, and performs enlargement interpolation processing for each by a calculation means based on the discrimination result.

(従来の技術) 陰極線管表示装置(以下CRTという)に表示される静
止画像のアナログビデオ信号をマルチフォーマットカメ
ラにより撮影して観察したり保管する等のためや、ビク
セル数の多い高精細CRTに表示する等のために、ビデ
オデータを−Hアナログディジタル変換(以下AD変換
という)した後拡大補間してビクセル数を増やすことが
第2図のような装置で行われていた。図において、1は
アナログビデオ信号入力をディジタル信号に変換するア
ナログディジタル変換器(以下AD変換器という)で、
出力はデータメモリ2に格納される。
(Prior art) It is used for photographing analog video signals of still images displayed on cathode ray tube display devices (hereinafter referred to as CRTs) using a multi-format camera for observation and storage, and for high-definition CRTs with a large number of pixels. For display purposes, video data is subjected to -H analog-to-digital conversion (hereinafter referred to as AD conversion) and then enlarged and interpolated to increase the number of pixels using an apparatus as shown in FIG. In the figure, 1 is an analog-to-digital converter (hereinafter referred to as an AD converter) that converts an analog video signal input into a digital signal.
The output is stored in data memory 2.

3はデータメモリ2から出力される画像データを拡大補
間する拡大補間処理回路で、後述の方法で画像データを
拡大補間する。この拡大補間処理回路3は、通常、専用
ハードウェアで構成されたり、プログラム可能なマイク
ロプロセッサで構成されており、その出力は記録記憶装
@4に格納される。
Reference numeral 3 denotes an enlargement interpolation processing circuit for enlarging and interpolating the image data output from the data memory 2, and enlarging and interpolating the image data using a method described later. The enlarged interpolation processing circuit 3 is usually made up of dedicated hardware or a programmable microprocessor, and its output is stored in the recording storage device @4.

拡大補間処理回路3で行う拡大補間の方法には、以下に
述べる2つの方法があって、どちらか一方の方式で行う
か、又はスイッチで一方のみを選択して用いるようにな
っていた。
There are two methods of enlarging interpolation performed by the enlarging interpolation processing circuit 3, which will be described below, and either one method is used, or only one method is selected and used with a switch.

■ビクセルの面積を単純に繋ぎ合せる方法(以下単純拡
大法という) ■近傍点のデータから近似する方法(以下近傍点データ
近似法という) (イ)リニア補間 隣接の2点の平均値をその中間のビクセルとする。
■Method of simply connecting the areas of pixels (hereinafter referred to as simple expansion method) ■Method of approximating from data of neighboring points (hereinafter referred to as neighborhood point data approximation method) (a) Linear interpolation to calculate the average value of two adjacent points between them. Let it be the pixel of

(ロ)キュービック補間 第3図に示すような補則を行う。図において、20は原
画像の画素、21は横線方向の4点の画素から重み付け
を行って平均した画素で、4個の画素21に重み付けを
行って平均して、求める補間点22を得る。
(b) Cubic interpolation Perform supplementary rules as shown in Figure 3. In the figure, 20 is a pixel of the original image, and 21 is a pixel that is weighted and averaged from four pixels in the horizontal direction.The four pixels 21 are weighted and averaged to obtain the desired interpolation point 22.

上記の方法において、■の単純拡大法では処理速度が速
い利点があるが、画像が単純に拡大されるだけのためモ
ザイク状の画面になる。特に倍率が大きくなるに従って
モザイク形状が目立つようになり、ざらついた感じを受
ける。■の近傍点データ近似法は近傍点データで平均を
取るため、自然な拡大画像を得ることができるが、シャ
ープさに欠ける感じを受ける。この方法は処理時間が■
に比して長くなる。
In the above method, the simple enlargement method (2) has the advantage of high processing speed, but the image is simply enlarged, resulting in a mosaic-like screen. In particular, as the magnification increases, the mosaic shape becomes more noticeable, giving it a rough feel. The neighboring point data approximation method (2) averages the neighboring point data, so it is possible to obtain a natural enlarged image, but it feels like it lacks sharpness. This method takes processing time
It is longer than .

濃淡画像と文字やグラフィック(円、閉曲線グラフ等)
が混在したデータの拡大を行う場合、単純拡大法では文
字やグラフィック等の21画像データの拡大補間は境界
1輪郭はくっきりとしてシャープであるが、濃淡画像部
分は粗さが目立つという問題があり、近傍点データ近似
法では濃淡画像部分は自然な感じのソフトな拡大補間像
が得られるが、文字部は境界2輪郭がぼやけてしまうと
いう問題があった。そのため、濃淡画像データと文字や
グラフライク等の2値画像データとを判別して、それぞ
れのデータに対して希望の方法で拡大補間することので
きる画像処理装置として、第4図のような装置が用いら
れている。図において、第2図と同じ部分には同一の符
号を付しである。
Grayscale images, text, and graphics (circles, closed curve graphs, etc.)
When enlarging data containing a mixture of , there is a problem with the simple enlarging method that when enlarging and interpolating 21 image data such as characters and graphics, the border 1 outline is clear and sharp, but the dark and dark image parts are rough. With the neighboring point data approximation method, a soft enlarged interpolated image with a natural feel can be obtained for the grayscale image portion, but there is a problem in that the boundary 2 outline of the character portion becomes blurred. Therefore, as an image processing device that can distinguish between grayscale image data and binary image data such as characters and graph-like data, and enlarge and interpolate each data in a desired manner, the device shown in Fig. 4 is used. is used. In the figure, the same parts as in FIG. 2 are given the same reference numerals.

アナログビデオ信号はAD変換器1に入力されてディジ
タル信号に変換され、データメモリ2に格納される。入
力されるアナログビデオ信号には濃淡画像データと21
F画像データとで合成されていて、2値画像データは最
高輝度のアナログ信号となっている。データメモリ2か
ら出力されるデータは比較判別器5に入力される。比較
判別器5は入力画像データを予め設定しである基準値と
比較して濃淡画像データか2値画像データかを判別し、
判別結果をマイクロプロセッサ(以下μPという)6の
データ入力部7に入力する。一方、全データは同時にデ
ータ入力部7に入力されるのでμP6は上記の判別結果
に基づいて2値データを前記の単純拡大法によりデータ
を拡大し、濃淡画像データに対しては近傍点データ近似
法により補間演算を行ってデータの補間を行う。
The analog video signal is input to an AD converter 1, converted into a digital signal, and stored in a data memory 2. The input analog video signal contains grayscale image data and 21
The binary image data is an analog signal with the highest brightness. The data output from the data memory 2 is input to the comparison/discriminator 5. The comparison/discriminator 5 compares the input image data with a preset reference value to determine whether it is grayscale image data or binary image data.
The determination result is input to a data input section 7 of a microprocessor (hereinafter referred to as μP) 6. On the other hand, since all the data are input to the data input section 7 at the same time, the μP 6 enlarges the binary data using the simple enlarging method described above based on the above discrimination result, and uses neighboring point data approximation for the grayscale image data. Data is interpolated by performing interpolation calculations using the method.

(発明が解決しようとする課題) ところで、このような従来の装置ではμP6(又はDS
P)がデータを読み取ると共に比較判別器5の判別結果
についてもμP6が入力情報として読み取っていた。一
般に2値画像データはコメントやグラフィック等であり
、この2値画像データの全データに占める割合が濃淡画
像データより多くなることはなく、CRT画像の全ビク
セル数の数%程度である。僅か数%程度の2値画像デー
タでも、μP6はデータを読み取る時に比較判別器5の
判別結果のデータを読み取る動作を全データに対して行
っており、従って、数%のデータの判別のために全デー
タの判別動作が必要となって多くの処理時間を必要とし
ていた。
(Problem to be solved by the invention) By the way, in such a conventional device, the μP6 (or DS
P) reads the data, and the μP 6 also reads the discrimination results of the comparison discriminator 5 as input information. Generally, binary image data is comments, graphics, etc., and the proportion of this binary image data in the total data is not larger than that of grayscale image data, but is about several percent of the total number of pixels in a CRT image. Even when only a few percent of binary image data is read, the μP6 performs an operation of reading the discrimination result data of the comparator and discriminator 5 for all the data. Therefore, in order to discriminate a few percent of the data, This requires a lot of processing time as it is necessary to perform a discrimination operation on all the data.

本発明は上記の問題点に鑑みてなされたもので、その目
的は、濃淡画像データと2値画像データの判別結果の識
別をμPで一々行うことなく、処理時間を短縮すること
のできる画像処理装置を実現することにある。
The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to perform image processing that can shorten processing time without having to perform discrimination between grayscale image data and binary image data in μP. The purpose is to realize the device.

(課題を解決゛するための手段) 前記の課題を解決する本発明は、濃淡画像データと2値
画像データとで合成される静止画像データをディジタル
データに変換し、記憶手段に格納した後比較判別手段に
より濃淡画像データと2値画像データとの判別を行い判
別結果に基づき演算手段によりそれぞれの拡大補間処理
を行う画像処理装置において、前記比較判別手段からの
2値画像データ判別結果の信号を割り込み入力として受
け入れる割り込み入力部を前記演算手段に設けたことを
特徴とするものである。
(Means for Solving the Problems) The present invention to solve the above-mentioned problems converts still image data composed of grayscale image data and binary image data into digital data, stores it in a storage means, and then compares the data. In an image processing apparatus in which a discrimination means discriminates between grayscale image data and binary image data, and a calculation means performs enlargement and interpolation processing for each based on the discrimination result, a signal of the binary image data discrimination result from the comparison discrimination means is transmitted. The present invention is characterized in that the arithmetic means is provided with an interrupt input section that accepts an interrupt input.

(作用) アナログビデオ信号をディジタル信号に変換し、記憶手
段に格納した後比較判定手段に読み出されて画像データ
の判別を行い、2値画像データ入力時には演算手段の割
り込み入力部に入力させ、データ入力部における濃淡画
像データの補間演算を中断させて演算することにより演
算時間を短縮する。
(Function) Converts an analog video signal into a digital signal, stores it in a storage means, reads it out to a comparison/judgment means, and discriminates the image data; when inputting binary image data, inputs it to the interrupt input section of the arithmetic means; The calculation time is shortened by interrupting the interpolation calculation of grayscale image data in the data input section.

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

第1図は本発明の一実施例の概略構成ブロック図である
。図において、第4図と同等の部分にGま同一の符号を
付しである。8はデータ入力部7とは別の割り込み要求
によってデータの処理を行うだめの割り込み入力部で、
比較判別器5の判別結果の信号が入力される。
FIG. 1 is a schematic block diagram of an embodiment of the present invention. In the figure, the same parts as in FIG. 4 are designated by the same reference numerals. 8 is an interrupt input section for processing data in response to an interrupt request different from the data input section 7;
The signal of the discrimination result of the comparison discriminator 5 is input.

次に、上記のように構成された装置の動作を第5図のフ
ローチャートを用いて説明する。
Next, the operation of the apparatus configured as described above will be explained using the flowchart shown in FIG.

ステップ1 濃淡画像データと2値画像データとで合成されたアナロ
グビデオ信号がΔD変換器1に入力され、AD変換器1
は前記の合成アナログ画像データをディジタル信号に変
換する。
Step 1 An analog video signal synthesized with grayscale image data and binary image data is input to the ΔD converter 1,
converts the synthesized analog image data into a digital signal.

ステップ2 AD変換された信号はデータメモリ2に画素類に古き込
まれる。データメモリ2はAD変換の速度が後に接続さ
れるμP6の拡大補間処理の速度より十分速いため設け
である。
Step 2 The AD-converted signal is stored in the data memory 2 as pixels. The data memory 2 is provided because the AD conversion speed is sufficiently faster than the expansion interpolation processing speed of the μP 6 connected later.

ステップ3 データメモリ2から画像データを読み出し、比較判別器
5に入力すると共にμP6のデータ入力部にデータを入
力する。
Step 3 Read the image data from the data memory 2, input it to the comparison/discriminator 5, and input the data to the data input section of μP 6.

ステップ4 比較判別器5には基準値が設定してあって、基準値と入
力画像データとを比較して、その画像データが2値画像
データと判別したとき、その判別結果をμP6の割り込
み入力部8に入力する。
Step 4 A reference value is set in the comparison/discriminator 5, and when the reference value is compared with the input image data and the image data is determined to be binary image data, the determination result is input as an interrupt input to μP6. Input into section 8.

ステップ5 μP6はデータ入力部7に入力された画像データを近傍
点データ近似法により近似計算を行い補間データを作る
Step 5 μP6 performs approximation calculations on the image data input to the data input section 7 using the neighboring point data approximation method to create interpolated data.

ステップ5a 比較判別器5よりの判別結果の信号が割り込み入力部8
に入力されたとき、判別結果信号はμP6への割り込み
要求となり、μP6は近傍点データ近似法による演算を
中止し、割り込み要求のあった2値画像データに対して
単純拡大法による補間を行う。
Step 5a The signal of the discrimination result from the comparison discriminator 5 is sent to the interrupt input section 8.
When inputted to , the determination result signal becomes an interrupt request to μP 6, and μP 6 stops calculation by the neighboring point data approximation method and performs interpolation by simple expansion method on the binary image data for which the interrupt request was made.

ステップ6 濃淡画像データに対する近傍点データ近似法によるデー
タの補間と21i1!画像データに対する単純拡大法に
よるデータの補間が終ったデータを画素類に記録記憶装
置4に格納する。
Step 6 Data interpolation using the neighboring point data approximation method for grayscale image data and 21i1! Data that has been interpolated using the simple expansion method for image data is stored in the recording storage device 4 in the form of pixels.

ステップ7 全データが終ったかチエツクし、柊っていない時はステ
ップ3に戻り、終っていれば全過程を終了する。
Step 7 Check whether all the data is completed. If not, return to step 3. If it is, complete the entire process.

以上説明したように本発明によれば、通常全データ数の
90%を越すデータで構成される濃淡画像データを通常
処理ルーチンに採用し、数%程度の量の2値画像データ
に対しては割り込み処理を振り当てて、例外処理的に実
施することとし、それぞれのデータに合わせた処理を施
すことにしたので、μP6が入力データ毎に1回読み取
って処理の方法を選択していた方法に比べてμPの実行
時間を短縮することができる。通常CRTの画像では「
濃淡画像部の面積)2値画像部の面積」であるため、2
値画像データ検出による処理を“例外″として、割り込
み要求により起動させることができ、毎回判定をなくす
ことができるのでμPによる処理時間の短縮には大きな
効果がある。
As explained above, according to the present invention, grayscale image data consisting of data that normally exceeds 90% of the total data is adopted in the normal processing routine, and binary image data of about a few% is processed. We decided to allocate interrupt processing and perform it like an exception handling, and we decided to perform processing according to each data, so we changed the method where μP6 read each input data once and selected the processing method. In comparison, the execution time of μP can be shortened. In normal CRT images,
area of the gray image area) area of the binary image area,
Processing based on value image data detection can be treated as an "exception" and activated by an interrupt request, eliminating the need for determination each time, which is highly effective in reducing processing time using μP.

(発明の効果) 以上詳細に説明したように、本発明によれば、μPで一
々判定結果の識別を行うことなく処理ができるのでμP
の処理時間を大幅に短縮できるようになり、実用上の効
果は大きい。
(Effects of the Invention) As explained in detail above, according to the present invention, processing can be performed without identifying the determination results one by one in μP.
The processing time can be significantly reduced, which has a great practical effect.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例の概略構成ブロック図、第2
図は従来の画像処理装置のブロック図、第3図は近傍点
データ近似法の説明図、第4図は従来の改良された画像
処理装置のブロック図、第5図は本発明の一実施例の装
置の動作のフローチャートである。 1・・・ΔD変換器     2・・・データメモリ3
・・・拡大補間処理回路  4・・・記録記憶装置5・
・・比較判別器     6・・・μP7・・・データ
入力部    8・・・割り込み入力部特許出願人 横
河メディカルシステム株式会社第2図 繭3 図
FIG. 1 is a schematic block diagram of an embodiment of the present invention, and FIG.
The figure is a block diagram of a conventional image processing device, FIG. 3 is an explanatory diagram of the neighborhood point data approximation method, FIG. 4 is a block diagram of a conventional improved image processing device, and FIG. 5 is an embodiment of the present invention. 3 is a flowchart of the operation of the device. 1...ΔD converter 2...Data memory 3
... Enlargement interpolation processing circuit 4... Recording storage device 5.
... Comparison discriminator 6 ... μP7 ... Data input section 8 ... Interrupt input section Patent applicant Yokogawa Medical Systems Co., Ltd. Figure 2 Cocoon 3 Figure

Claims (1)

【特許請求の範囲】[Claims] 濃淡画像データと2値画像データとで合成される静止画
像データをディジタルデータに変換し、記憶手段に格納
した後比較判別手段により濃淡画像データと2値画像デ
ータとの判別を行い判別結果に基づき演算手段によりそ
れぞれの拡大補間処理を行う画像処理装置において、前
記比較判別手段からの2値画像データ判別結果の信号を
割り込み入力として受け入れる割り込み入力部を前記演
算手段に設けたことを特徴とする画像処理装置。
The still image data composed of the grayscale image data and the binary image data is converted into digital data and stored in the storage means, and then the grayscale image data and the binary image data are discriminated by the comparison discrimination means and based on the discrimination result. An image processing device that performs each enlargement and interpolation process using arithmetic means, characterized in that the arithmetic means is provided with an interrupt input section that receives a signal of a binary image data discrimination result from the comparison and discrimination means as an interrupt input. Processing equipment.
JP4716188A 1988-02-29 1988-02-29 Image processor Pending JPH01220077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4716188A JPH01220077A (en) 1988-02-29 1988-02-29 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4716188A JPH01220077A (en) 1988-02-29 1988-02-29 Image processor

Publications (1)

Publication Number Publication Date
JPH01220077A true JPH01220077A (en) 1989-09-01

Family

ID=12767355

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4716188A Pending JPH01220077A (en) 1988-02-29 1988-02-29 Image processor

Country Status (1)

Country Link
JP (1) JPH01220077A (en)

Similar Documents

Publication Publication Date Title
KR100229516B1 (en) Resolution conversion apparatus and method
JPH05236260A (en) Picture processor
US6393146B1 (en) Defining non-axial line surfaces in border string sequences representing a raster image
US6324300B1 (en) Defining color borders in a raster image
JPH01220077A (en) Image processor
JPS6359272A (en) Picture processor
JP2568172B2 (en) Image information processing device
JPH01155393A (en) Picture processor
JP3255549B2 (en) Figure processing method
JPH05342340A (en) Method for picture processing and device therefor
JPH0227486A (en) Picture enlarging/reducing device
JPH0588653A (en) Screen composite display area determining device
JPS615377A (en) Image processor
JPH08289137A (en) Image reduction device
JPH08237474A (en) Image processing unit
EP0441497A2 (en) Electronic image processing system
JPH04349780A (en) Device and method for outputting picture data
JPH01273184A (en) Image processor
JPS62266970A (en) Information processor
JPS6224373A (en) Color picture processor
JPH10173952A (en) Noise eliminating device from color image, its method and recording medium
JPH04101190A (en) Output device for gray line
JPH0721362A (en) High contrast processor
JPH06214543A (en) Picture display device
JPH0256677B2 (en)