JPH01303578A - Picture converting device - Google Patents

Picture converting device

Info

Publication number
JPH01303578A
JPH01303578A JP63132615A JP13261588A JPH01303578A JP H01303578 A JPH01303578 A JP H01303578A JP 63132615 A JP63132615 A JP 63132615A JP 13261588 A JP13261588 A JP 13261588A JP H01303578 A JPH01303578 A JP H01303578A
Authority
JP
Japan
Prior art keywords
picture
conversion
image
density
black
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
JP63132615A
Other languages
Japanese (ja)
Inventor
Akira Saito
明 斉藤
Tadanobu Kamiyama
神山 忠信
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP63132615A priority Critical patent/JPH01303578A/en
Publication of JPH01303578A publication Critical patent/JPH01303578A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To realize the linear density conversion of high-quality pictures regardless of a white or black ground picture by applying the density of a picture to be processed to the conversion of an inverted picture and at the same time giving the second density inversion to the converted picture to output the inverted picture after returning it to the original picture property. CONSTITUTION:The black/white inverting circuits 5 and 6 serving as the density conversion means which invert the picture density are set at the picture input and output parts of a picture processor consisting of a line buffer 1, a converted picture element position detecting circuit 2, a picture element extracting circuit 3 and a conversion arithmetic circuit 4. Then the density of an input picture is inverted according to the property (white or black ground picture) of the input picture. This inverted density is applied to the linear density conversion carried out by the picture processor and at the same time the density of an output picture undergone the linear density conversion is inverted and outputted. Thus a high-quality linear density converted picture is simply obtained with no change caused to a conversion parameter even in case only a conversion parameter is set at the circuit 4 with preference given to the black picture elements.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は人力画像を線密度変換して拡大・縮小された出
力画像を求める画像処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to an image processing device that performs linear density conversion on a human image to obtain an enlarged/reduced output image.

(従来の技術) 画像処理における重要な技術の1つに線密度変換による
画像の拡大・縮小処理がある。この線密度変換による画
像の拡大・縮小処理は、例えば変換出力すべき画像の各
画素の入力画像上での対応位置を変換画素位置として求
め、入力画像上における上記変換画素位置周辺の画素情
報に所定の演算を施すことによって前記変換出力すべき
画像の画素情報を求めて行なわれる。しかし上記変換画
素、位置周辺のどの程度の画素情報を参照するかによっ
てその処理負担量が大幅に変化し、また参照画素数(参
照画素範囲)を制限すると拡大・縮小処理の柔軟性が損
われ、また変換画像の画質が劣化する等の問題が生じる
(Prior Art) One of the important techniques in image processing is image enlargement/reduction processing using linear density conversion. Image enlargement/reduction processing using this linear density conversion is performed, for example, by finding the corresponding position on the input image of each pixel of the image to be converted and output as the converted pixel position, and using pixel information around the converted pixel position on the input image. Pixel information of the image to be converted and output is determined by performing a predetermined calculation. However, the processing load changes significantly depending on how much pixel information around the converted pixel and position is referenced, and if the number of reference pixels (reference pixel range) is limited, the flexibility of enlargement/reduction processing is impaired. , and problems such as deterioration of the image quality of the converted image occur.

このような不具合を解消するものとして、変換画素位置
周辺の画素情報に施す演算にスムージング関数を導入し
、スムージングと、そのスムージング画像のサンプリン
グによって任意の倍率での拡大・縮小変換を簡易に、且
つ高画質で実現する手法が、例えば特開昭56−903
75号公報等に提唱されている。然し乍ら、実用的な見
地からすると次のような問題が残されている。
To solve this problem, a smoothing function is introduced into the calculation performed on pixel information around the converted pixel position, and by smoothing and sampling the smoothed image, it is possible to easily perform enlargement/reduction conversion at any magnification. For example, Japanese Patent Application Laid-Open No. 56-903
This is proposed in Publication No. 75, etc. However, from a practical standpoint, the following problems remain.

即ち、文字・線画画像の縮小変換を行なうような場合に
は、−船釣には黒画素を優先するように変換処理のパラ
メータが設定される。これは白黒濃度比を変えることの
ない変換パラメータを設定して上記文字・線画画像の縮
小変換を行なうと、その重要な画像情報である黒画素の
情報が失われ、所謂文字かすれや線抜けが生じる等の不
具合を防止することを目的として行なわれる。
That is, when performing a reduction conversion of a character/line drawing image, the parameters of the conversion process are set so as to give priority to black pixels for boat fishing. This is because if you set a conversion parameter that does not change the black-white density ratio and perform the reduction conversion of the above text/line drawing images, the important image information of black pixels will be lost, resulting in so-called blurred characters and missing lines. This is done for the purpose of preventing problems such as those that may occur.

しかし変換処理の対象とする文字・線画画像は、必ずし
も白地に黒画素にて文字・線画が描かれたものとは限ら
ず、黒地に白画素にて文字・線画を描いた黒地原稿であ
ることもある。このような黒地原稿に対して上述した黒
画素優先の変換処理を施すと、白文字部分および白線が
部分の殆んどが黒に潰れてしまうと云う不具合が生じる
。そこでこのような場合には、白系優先の変換パラメー
タを与えること等が考えられているが、変換パラメータ
の異なる変換演算回路を複数個準備したり、処理対象画
像に応じてその都度、変換パラメータを変更設定する必
要が生じる等の問題があった。
However, the text/line drawing images targeted for conversion processing are not necessarily those with text/line drawings drawn using black pixels on a white background, but must be black originals with text/line drawings drawn using white pixels on a black background. There is also. If the above-mentioned conversion process giving priority to black pixels is applied to such a black background original, a problem arises in that most of the white characters and white lines become black. Therefore, in such cases, it has been considered to provide conversion parameters that give priority to white colors, but it is also possible to prepare multiple conversion calculation circuits with different conversion parameters, or to change the conversion parameters each time depending on the image to be processed. There were problems such as the need to change settings.

(発明が解決しようとする課題) このように従来の線密度変換による画像処理装置にあっ
ては、専ら黒画素を優先してその変換処理を実行する為
の変換パラメータが設定されている為、黒地原稿をその
まま変換処理すると、白文字部分や白線画部分が黒く潰
れてしまうと云う大きな問題があった。
(Problem to be Solved by the Invention) As described above, in the conventional image processing device using linear density conversion, conversion parameters are set to exclusively prioritize black pixels and execute the conversion process. If a black background original is converted as it is, there is a major problem in that the white characters and white line drawings become black.

本発明はこのような事情を考慮してなされたもので、そ
の目的とするところは、黒地原稿に対しても高品質に拡
大・縮小変換を施すことのできる簡易で実用性の高い構
成の画像処理装置を提供することにある。
The present invention has been made in consideration of these circumstances, and its purpose is to provide an image with a simple and highly practical configuration that can perform high-quality enlargement/reduction conversion even on black originals. The purpose of this invention is to provide a processing device.

〔発明の構成] (課題を解決するための手段) 本発明に係る画像処理装置は、第1図にその概略構成を
示すように、ラインバッフy1.変換画素位置検出回路
21画素抽出回路3、および変換演算回路4からなる画
像処理装置本体の画像人力部および画像出力部に画像濃
度を反転する濃度変換手段としての白黒反転回路5.8
をそれぞれ設け、入力画像の性質(白地画像か黒地画像
か)に従って上記入力画像の濃度を反転して上記画像処
理装置本体による線密度変換に供し、また線密度変換さ
れた出力画像の濃度を反転して出力するようにしたこと
を特徴とするものである。
[Structure of the Invention] (Means for Solving the Problems) As the schematic structure of the image processing device according to the present invention is shown in FIG. 1, line buffers y1. A black-and-white inversion circuit 5.8 as a density conversion means for inverting image density is provided in the image processing section and image output section of the main body of the image processing apparatus, which is composed of a conversion pixel position detection circuit 21, a pixel extraction circuit 3, and a conversion calculation circuit 4.
and invert the density of the input image according to the nature of the input image (white background image or black background image) and subject it to linear density conversion by the image processing device main body, and also invert the density of the output image after linear density conversion. This feature is characterized in that it is output as follows.

(作用) このように画像の濃度を反転する白黒反転回路5.6を
備えて構成される本発明に係る画像処理装置によれば、
第2図にその処理概念を示すように変換演算回路4に黒
画素優先の変換パラメータだけが設定されている場合で
あっても、黒地原稿を白黒反転して白地画像として取扱
い、この白地画像に対して線密度変換を施し、これを再
度白黒反転して線密度変換された黒地画像として出力す
ることが可能となり、変換パラメータの変更を伴うこと
なしに簡易に高品質な線密度変換画像を得ることが可能
となる。従って白地画像および黒地画像の双方に対して
それぞれ効果的な画像変換を施すことが可能となる。し
かも濃度変換手段としての白黒反転回路を設け、その反
転動作を制御するだけで良いので、装置コストが安価で
あり実用性が高い。
(Function) According to the image processing apparatus according to the present invention, which is configured with the black and white inversion circuit 5.6 that inverts the density of the image as described above,
As shown in FIG. 2, the processing concept is shown, even if only the conversion parameter that gives priority to black pixels is set in the conversion calculation circuit 4, a black background original is reversed and treated as a white background image, and this white background image is converted into a white background image. It is now possible to apply linear density conversion to the image, invert the black and white again, and output it as a linear density converted black background image, easily obtaining a high quality linear density converted image without changing conversion parameters. becomes possible. Therefore, it is possible to apply effective image conversion to both the white background image and the black background image. Moreover, since it is sufficient to provide a black-and-white inversion circuit as a density conversion means and control its inversion operation, the apparatus cost is low and the apparatus is highly practical.

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

第3図は本発明に係る一実施例装置の概略構成図である
FIG. 3 is a schematic diagram of an apparatus according to an embodiment of the present invention.

第3図においてlは処理対象画像を格納し、線密度変換
処理に供するラインバッファであり、例えば4ラインバ
ツフアが用いられる。変換画素位置検出回路2は、線密
度変換して出力する出力画像の各画素に対応する入力画
像上での位置を変換画素位置として計算するもので、画
素抽出回路3は上記変換画素位置の情報に従い、その変
換画素位置周辺の入力画素データを前記ラインバッファ
1から選択的に抽出する。尚、外部領域クリア回路3a
は、変換画素位置周辺の画素データとして入力画像の外
部領域が参照された。とき、その外部領域に相当する画
素のデータを背景濃度(例えば白画素データ)に変換(
クリア)するものである。
In FIG. 3, l is a line buffer that stores an image to be processed and is used for linear density conversion processing, and for example, a 4-line buffer is used. The converted pixel position detection circuit 2 calculates, as a converted pixel position, the position on the input image corresponding to each pixel of the output image to be output after linear density conversion, and the pixel extraction circuit 3 uses information on the converted pixel position. Accordingly, input pixel data around the converted pixel position is selectively extracted from the line buffer 1. In addition, the external area clear circuit 3a
In this case, an external area of the input image is referred to as pixel data around the converted pixel position. Convert the pixel data corresponding to the external area to background density (for example, white pixel data) (
clear).

このような画素抽出回路3にて抽出された前記変換画素
位置周辺の入力画素データに対して変換演算回路4は所
定の演算処理を施し、前記出力画像の各画素データを求
めるものとなっている。この変換処理は、例えば後述す
るように黒画素優先パラメータを設定する等して行なわ
れる。
The conversion calculation circuit 4 performs predetermined calculation processing on the input pixel data around the converted pixel position extracted by the pixel extraction circuit 3 to obtain each pixel data of the output image. . This conversion process is performed, for example, by setting a black pixel priority parameter as described later.

以上の各回路により構成される画像処理装置本体の入力
部(ラインバッファlの前段)に設けられた白黒反転回
路5は、入力インターフェース7を介して与えられる処
理対象画像(入力画像)の濃度をその画像の性質に応じ
て反転処理し、白地画像として前記ラインバッファlに
格納して線密度変換に供するものである。また画像処理
装置本体の出力段(変換演算回路4の後段)に設けられ
た白黒反転回路6は、前記入力段の白黒反転回路5の動
作に応動して変換演算回路4から出力される出力画像を
白黒反転するものである。線密度変換されて求められる
出力画像は、この白黒変換回路6から出力インターフェ
ース8を介して出力される。このように画像処理装置本
体の入出力段にそれぞれ設けられた白黒反転回路5.6
により、処理対象画像のl濃度を反転する第1および第
2の濃度変換手段が実現されている。
The black-and-white inverting circuit 5 provided in the input section of the image processing apparatus main body (previous stage of the line buffer l), which is composed of the above-mentioned circuits, adjusts the density of the image to be processed (input image) given via the input interface 7. The image is inverted according to the nature of the image, stored in the line buffer 1 as a white background image, and subjected to linear density conversion. Further, a black-and-white inversion circuit 6 provided at the output stage of the image processing apparatus main body (the subsequent stage of the conversion calculation circuit 4) outputs an output image from the conversion calculation circuit 4 in response to the operation of the black-and-white inversion circuit 5 in the input stage. This is to invert the black and white. The output image obtained by linear density conversion is output from this black-and-white conversion circuit 6 via an output interface 8. In this way, the black and white inverting circuits 5 and 6 provided at the input and output stages of the main body of the image processing apparatus are
Thus, first and second density conversion means for inverting the l density of the image to be processed are realized.

尚、9はこれらの各回路の動作を制御し、線密度変換に
よる画像の拡大・縮小処理のシーケンスを制御する制御
回路である。この制御回路9はCPUバスを介して外部
CPUとの間で各種の制御コマンドや実行パラメータを
授受して、その処理動作を実行する。またここでは前記
入力インターフェース7.出力インターフェース8を介
する画像情報の入出力は、画像データバスを介して所定
の外部機器との間で行なわれるものとなっている。
Note that 9 is a control circuit that controls the operation of each of these circuits and controls the sequence of image enlargement/reduction processing by linear density conversion. This control circuit 9 exchanges various control commands and execution parameters with an external CPU via the CPU bus, and executes the processing operations. Also, here, the input interface 7. Input/output of image information via the output interface 8 is performed with a predetermined external device via an image data bus.

このように構成された本実施例装置の各部について更に
詳しく説明すると、先ず前記白黒反転回路5.6は、例
えば第4図(a)に示すように排他的論理和回路(EX
−OR)により、前記画素データ(2値)と白地・黒地
の識別情報(2fifi)とを排他的論理和処理する如
く構成される。また第4図<b>に示すように排他的否
定論理和回路(EX−NOR)と反転回路(INV)と
を用いて同種の処理を行なう如く構成され、或いは同図
(e)に示すように反転回路(INV)にて反転された
画素データ、非反転画素データをマルチブルクサ(MP
X)を用いて選択的に抽出する如く構成される。
To explain in more detail each part of the apparatus of this embodiment configured as described above, first, the black and white inverting circuit 5.6 is an exclusive OR circuit (EX) as shown in FIG. 4(a), for example.
-OR), the pixel data (binary) and the white background/black background identification information (2fifi) are configured to be subjected to exclusive OR processing. In addition, as shown in FIG. 4<b>, it is configured to perform the same type of processing using an exclusive NOR circuit (EX-NOR) and an inversion circuit (INV), or as shown in FIG. 4(e). The inverted pixel data and non-inverted pixel data are transferred to a multi-bruxer (MP) using an inverting circuit (INV).
X) for selective extraction.

このように構成される白黒反転回路5.8により、白地
画像であれば黒地画像に、また黒地画像であれば白地画
像に濃度反転処理される。しかして入力段に設けられる
第1の白黒反転回路5は、前記制御回路9の制御の下で
その出力画像が白地画像となる如く動作制御される。こ
の動作制御により、入力画像が白地画像である場合には
、その白地画像のままラインバッファ1に出力され、黒
地画像であれば白地画像に反転処理されてラインバッフ
ァlに出力される。また出力段側の第2の白黒反転回路
6は上記第1の白黒反転回路5の動作に応動し、白黒反
転回路5にて反転処理動作が実行されたときにのみ前記
変換演算回路4からの出力画像に対して反転処理を実行
する。
The black-and-white inversion circuit 5.8 configured as described above performs density inversion processing on a white background image to a black background image, and a black background image to a white background image. The operation of the first black-and-white inversion circuit 5 provided at the input stage is controlled under the control of the control circuit 9 so that the output image becomes a white background image. By this operation control, if the input image is a white background image, the white background image is output to the line buffer 1 as is, and if it is a black background image, it is inverted to a white background image and output to the line buffer 1. Further, the second black-and-white inversion circuit 6 on the output stage side responds to the operation of the first black-and-white inversion circuit 5, and only when the black-and-white inversion circuit 5 executes the inversion processing operation, the second black-and-white inversion circuit 6 receives the signal from the conversion calculation circuit 4. Performs inversion processing on the output image.

さて第5図は変換画素位置検出回路2の構成例を示して
いる。第11図に示すように人力画像の画素(図中0印
で示す)間距離を“1”として正規化し、拡大・縮小さ
れた出力画像の画素(図中X印で示す)間距離を“S”
として示すと、その変換倍率rは(1/s)で表わされ
る。また出力画像のj番目の画素に対応する入力画像上
での画素位置(サンプリング位置)iは、[コをガウス
記号として i=[5−jl を満足する入力画像上でのi番目の画素位置からtms
・j−1 なる微小変位を持つ位置として考えることができる。
Now, FIG. 5 shows an example of the configuration of the converted pixel position detection circuit 2. In FIG. As shown in Figure 11, the distance between pixels (indicated by 0 mark in the figure) of the human image is normalized as "1", and the distance between pixels (indicated by X mark in the figure) of the enlarged/reduced output image is " S”
, the conversion magnification r is expressed as (1/s). Furthermore, the pixel position (sampling position) i on the input image corresponding to the j-th pixel of the output image is the i-th pixel position on the input image that satisfies i=[5-jl, where [k is a Gaussian symbol] from tms
・It can be considered as a position with a minute displacement of j-1.

第5図は変換画素位置検出回路2を構成する列方向(X
方向)および行方向(Y方向)の画素位置検出部の構成
例を示すもので、処理対象画像に対してX方向およびY
方向の画素位置検出部を2組用いて上記変換画素位置検
出回路2が実現される。しかして第1のレジスタ2aは
上記サンプリング間隔Sを示すデータの整数部(i)を
格納するもので、第2のレジスタ2bはその小数部(1
)を格納する。これらのレジスタ2a、 2biそれぞ
れ格納された各位が加算器2c、 2dに与えられ、ク
ロックCP−CNVに従ってラッチ回路2e、 21’
に順次取込まれる。尚、上記加算器2c、 2dはラッ
チ回路2e、 2rのラッチデータにレジスタ2a、 
2bから与えられるデータを累積加算するものであり、
小数部のデータを累積加算する加算器2dのキャリー信
号は整数部データを加算する加算器2cに与えられ、そ
の加算出力値が(+1)される。これらの加算器2c、
 2dとラッチ回路2e、 2f’とにより前記クロッ
クCP−CNVに同期して変換画素位置が順次更新され
る。
FIG. 5 shows the column direction (X
This shows an example of the configuration of a pixel position detection unit in the pixel position detection section in the
The converted pixel position detection circuit 2 is realized using two sets of directional pixel position detection units. The first register 2a stores the integer part (i) of the data indicating the sampling interval S, and the second register 2b stores the decimal part (i) of the data indicating the sampling interval S.
) is stored. The respective parts stored in these registers 2a and 2bi are given to adders 2c and 2d, and are sent to latch circuits 2e and 21' according to the clock CP-CNV.
will be taken in sequentially. Note that the adders 2c and 2d input the latch data of the latch circuits 2e and 2r to the registers 2a and 2d.
It cumulatively adds the data given from 2b,
The carry signal of the adder 2d that cumulatively adds the decimal part data is given to the adder 2c that adds the integer part data, and its addition output value is incremented by (+1). These adders 2c,
2d and latch circuits 2e and 2f', the converted pixel positions are sequentially updated in synchronization with the clock CP-CNV.

一方、カウンタ2gはクロックCP−ORGを計数して
入力画像の画素走査位置を求めている。このカウンタ2
gにより計数される入力画像の走査画素位置のデータと
前記ラッチ回路2eにより求められる変換画素位置のデ
ータとが比較器2hにより比較され、それらのデータが
一致したとき変換演算要求信号RQ−CNVが発せられ
る。
On the other hand, the counter 2g counts the clock CP-ORG to determine the pixel scanning position of the input image. This counter 2
The data of the scanning pixel position of the input image counted by g and the data of the converted pixel position obtained by the latch circuit 2e are compared by the comparator 2h, and when these data match, the conversion calculation request signal RQ-CNV is output. Emitted.

このような変換座標位置の検出処理が、処理対象画像の
X方向(主走査方向)およびY方向(副走査方向)につ
いてそれぞれ行なわれ、その双方から変換演算要求信号
RQ−CNVが発せられるタイミングとして、変換画素
位置が特定される。
Such conversion coordinate position detection processing is performed in the X direction (main scanning direction) and Y direction (sub scanning direction) of the image to be processed, and the timing at which the conversion calculation request signal RQ-CNV is issued from both directions is , the converted pixel position is identified.

尚、上記X方向の画素位置検出においては、1行の画素
走査が終了する都度、ラッチ回路2e、 2rをクリア
して、各行における画素位置検出が行なわれる。
In the above-mentioned pixel position detection in the X direction, each time one row of pixel scanning is completed, the latch circuits 2e and 2r are cleared and pixel position detection in each row is performed.

さて第6図は上述した如く構成された変換画素位置検出
回路2からの変換演算要求信号RQ−CNVを受けて動
作する画素抽出回路3の回路部分を示すもので、ここで
はラインバッファlおよび外部領域クリア回路3aと共
に示しである。
Now, FIG. 6 shows the circuit part of the pixel extraction circuit 3 which operates in response to the conversion operation request signal RQ-CNV from the conversion pixel position detection circuit 2 configured as described above. It is shown together with the area clear circuit 3a.

ラインバッファlは、具体的には第6図に示すように4
ライン分の画素データを順次格納する4ラインバツフア
として実現される。画素抽出回路3はこの4ラインバツ
フアlから列方向に4画素ずつ並列出力される画素デー
タを(4X4)画素の範囲に亙って格納する(4X4)
個のレジスタ3bと、これらのレジスタ3bに格納され
た画素データを画像回転処理を施して抽出するマルチプ
レクサ3cとにより構成される。
Specifically, the line buffer l is 4 as shown in FIG.
It is implemented as a 4-line buffer that sequentially stores pixel data for lines. The pixel extraction circuit 3 stores pixel data that is output in parallel from this 4-line buffer 1 for each 4 pixels in the column direction over a range of (4×4) pixels (4×4).
It is composed of registers 3b, and a multiplexer 3c that performs image rotation processing and extracts the pixel data stored in these registers 3b.

このマルチプレクサ3cによる抽出画素の回転処理につ
いて簡単に説明すると、(4X4)画素領域においてそ
の参照画素が第12図(a)に示される場合と、同図(
b)に示されるような場合とで、その変換演算結果が同
じであることに着目し、第12図に示すように変換画素
位置が原画素間を4分割してなる第2象現となるように
して画素データの選択抽゛出を行なうことにより、上記
変換演算の冗長性を除去するようにしたものである。
To briefly explain the rotation process of the extracted pixel by the multiplexer 3c, the reference pixel in the (4×4) pixel area is shown in FIG.
Noting that the conversion calculation result is the same in the case shown in b), the converted pixel position becomes a second quadrant formed by dividing the original pixel into four, as shown in Figure 12. By selectively extracting pixel data in this manner, the redundancy of the conversion calculation described above is removed.

基本的にはこのように構成される画素抽出回路3に対し
て、外部領域クリア回路3aは前記ラインバッファlへ
の画素データの入力を制御するゲート回路3esおよび
レジスタ3bへの(4X4)画素領域の画素データの格
納を制御するシフトレジスタ3rと4つのゲート回路3
g、3h、〜3jとにより構成される。
Basically, for the pixel extraction circuit 3 configured as described above, the external area clearing circuit 3a controls the input of pixel data to the line buffer l and the gate circuit 3es that controls the input of pixel data to the (4×4) pixel area to the register 3b. A shift register 3r and four gate circuits 3 control the storage of pixel data.
g, 3h, to 3j.

即ち、変換画素位置が決定されてその周辺の(4X4)
画素領域の画素データを参照して線密度変換の為の演算
処理を行なおうとする場合、第7図に例示するように変
換画素位置によっては、つまり変換画素位置が入力画像
の境界部として特定された場合には入力画像領域以外の
外部領域までも参照してしまう場合がある。このような
外部領域の画素データは、通常ラインバッファ1に格納
される際、その値が不定となるもので、この不定値をそ
のまま変換演算に用いるには問題がある。
That is, the converted pixel position is determined and the surrounding (4×4)
When attempting to perform arithmetic processing for linear density conversion by referring to pixel data in a pixel area, depending on the converted pixel position, as illustrated in Figure 7, the converted pixel position may be identified as the boundary of the input image. In this case, even external areas other than the input image area may be referenced. When such pixel data in the external area is stored in the line buffer 1, its value is usually undefined, and there is a problem in using this undefined value as it is for conversion calculations.

そこで外部領域クリア回路3aはラインバッファlの入
力段に設けられたゲート回路3eにて入力画像の走査開
始前、および走査終了後における画素データの入力を阻
止し、且つ行方向の画素走査ラインにおいてその先頭部
以前および後尾部以後の画素データの入力を阻止してい
る。そしてラインバッファlへのデータの格納動作につ
いては、最初にラインバッファlの全てを零(0)にク
リアした後、変換演算に(4X4)画素の領域として参
照される外部領域を含む入力画像全体に亙って、その画
素データをラインバッファlに格納する如く、そのデー
タ人力制御を行なっている。この結果、ラインバッファ
1には、画像領域内の画素データだけが入力され、上記
ラインバッファ1上で領域外の画素部分に該当するデー
タ格納位置にはそれぞれ“0#なるデータ値が格納され
るようなっている。
Therefore, the external area clear circuit 3a prevents the input of pixel data before the start of scanning of the input image and after the end of scanning with the gate circuit 3e provided at the input stage of the line buffer l, and also prevents the input of pixel data in the pixel scanning line in the row direction. Input of pixel data before the beginning and after the tail is blocked. Regarding the operation of storing data in line buffer l, first clear all of line buffer l to zero (0), and then store the entire input image including the external area referred to as a (4x4) pixel area in the conversion calculation. During this period, the data is manually controlled such that the pixel data is stored in the line buffer l. As a result, only pixel data within the image area is input to the line buffer 1, and a data value of "0#" is stored in each data storage position corresponding to a pixel portion outside the area on the line buffer 1. It's like that.

しかしてシフトレジスタ3aは、ラインバッファlから
読出されてレジスタ3bに格納される(4X4)画素領
域の画素データを、そのライン走査位置(副走査位置)
に応じて行単位でクリアするものである。具体的には第
8図に示すように原画像の参照位置に応じてフトレジス
タ3rから領域外の画素データのレジスタ3bへのデー
タ格納を禁止するクリア信号を出力し、その領域外の画
素データを“0”にクリアしている。つまり第8図(a
)に示すような場合には、(4X4)の参照画素領域中
のPll、〜P 14.  P 21. 〜P24. 
 P31. 〜P34をそれぞれクリアするべく、[0
0011なるクリア信号をレジスタ3fから出力し、こ
れを前記レジスタ3bに与えている。このようなシフト
レジスタ3rを用いたレジスタ3bへのデータ格納制御
により、入力画像の外部領域となる参照画素のデータが
それぞれ零(0)にリセットされる。
Thus, the shift register 3a transfers the pixel data of the (4×4) pixel area read from the line buffer l and stored in the register 3b to its line scanning position (sub-scanning position).
It clears each row according to the specified conditions. Specifically, as shown in FIG. 8, a clear signal is output from the foot register 3r to prohibit data storage of pixel data outside the area to the register 3b according to the reference position of the original image, and the pixel data outside the area is is cleared to “0”. In other words, Fig. 8 (a
), Pll, ~P14. in the (4×4) reference pixel area. P21. ~P24.
P31. ~ In order to clear each of P34, [0
A clear signal 0011 is output from the register 3f and is applied to the register 3b. By controlling data storage in the register 3b using such a shift register 3r, the data of the reference pixels that are the external area of the input image are each reset to zero (0).

以上のような処理手続きにより、画素抽出回路3から読
出される(4X4)の参照領域の画素データの内、外部
領域に該当する画素は零(0)にクリアされて変換演算
回路4′に与えられることになる。
Through the processing procedure described above, among the pixel data of the (4×4) reference area read out from the pixel extraction circuit 3, the pixels corresponding to the external area are cleared to zero (0) and given to the conversion calculation circuit 4'. It will be done.

さてこの変換演算回路4は、例えば第9図に示すように
複数の加算器(ADD)からなり前述した(4×4)画
素領域における黒画素数を計数する黒画素数カウンタ4
aと、この黒画素数カウンタ4aによる計数された黒画
素数を、マルチプレクサ(閾値選択回路) 4bにより
選択された所定の閾値で弁別して出力画素データの値を
決定する比較器4Cとにより構成される。
Now, this conversion calculation circuit 4 includes, for example, a plurality of adders (ADD) as shown in FIG.
a, and a comparator 4C that determines the value of output pixel data by discriminating the number of black pixels counted by the black pixel number counter 4a using a predetermined threshold selected by a multiplexer (threshold selection circuit) 4b. Ru.

マルチプレクサ4bは、第10図に例示するように文字
・線画を白黒比を一定とする高閾値で変換演算したとき
に文字のカスレが生じること、またこの文字カスレを生
じることのない低閾値で、所謂塗り潰し画像に対する変
換演算を行うと、白黒面積比が大幅に変化する−ことに
着目し、文字・線画についてはその線成分を優先する変
換演算を実現する低閾値を選択し、塗り潰し画像の場合
にはその白黒面積比を変えることのない変換演算を実現
する高閾値を選択するものである。尚、この閾値の選択
制御は、処理対象画像の種別に応じて行なわれる。
As illustrated in FIG. 10, the multiplexer 4b recognizes that when characters and line drawings are converted using a high threshold value that keeps the black-and-white ratio constant, blurring of characters occurs, and a low threshold value that does not cause blurring of characters. Focusing on the fact that when a conversion operation is performed on a so-called filled image, the black-and-white area ratio changes significantly, we selected a low threshold value that realizes a conversion operation that prioritizes the line components for characters and line drawings, and in the case of filled images. In this case, a high threshold value is selected that realizes a conversion operation that does not change the black-white area ratio. Note that this threshold selection control is performed depending on the type of image to be processed.

即ち、白黒濃度比を変えることのない閾値(例えば16
6画素対する閾値[8])にて(4X4)画素領域の黒
画素数を弁別していくと、第13図(a)に示すような
線画像にあっては、その変換画素データがそれぞれ(0
)となってしまい、前述した文字カスレが生じる。従っ
てこのような文字・線画像に対しては、黒画素に対する
優先度を高め、例えば閾値として[3]なる低い値を設
定してその変換演算を行なう。このような低閾値によれ
ば線画、部分を参照画素領域として含む変換画素データ
が(1)となることから、ここに黒画素を優先した線密
度変換が実現できる。
That is, a threshold value (for example, 16
When the number of black pixels in a (4×4) pixel area is discriminated using a threshold value [8] for 6 pixels, in a line image as shown in FIG. 13(a), the converted pixel data is (0
), resulting in the blurred characters mentioned above. Therefore, for such character/line images, priority is given to black pixels, and a low value of [3], for example, is set as the threshold value to perform the conversion calculation. According to such a low threshold value, the converted pixel data including line drawings and parts as reference pixel areas becomes (1), so that line density conversion can be realized giving priority to black pixels.

一方、上述した低閾値にて第13′図(b)に示すよう
な塗り潰し画像を線密度変換すると、その塗り潰し画像
部分を参照画素領域とする変換画素データの全てが(1
)となり、その黒線幅が不本意に太くなる。この場合に
は、4画素の線幅が6画素に拡大されてしまう。そこで
このような場合には前述した高閾値を選択し、その白黒
比が一定に保たれるような変換演算にて、その線密度変
換を実行するものとなっている。
On the other hand, when a filled image as shown in FIG. 13'(b) is subjected to linear density conversion using the above-mentioned low threshold value, all of the converted pixel data that uses the filled image part as the reference pixel area becomes (1
), and the black line width becomes undesirably thick. In this case, the line width of 4 pixels is expanded to 6 pixels. Therefore, in such a case, the above-mentioned high threshold value is selected and the linear density conversion is performed using a conversion calculation that keeps the black-white ratio constant.

このような参照画素領域における黒画素数の計数と、閾
値の選択制御、および選択された閾値による上記黒画素
数の弁別により、第10図に示すような原画碌の情報を
良く反映させた画像の線密度変換が実現される。
By counting the number of black pixels in the reference pixel area, controlling the selection of the threshold value, and discriminating the number of black pixels using the selected threshold value, an image that well reflects the information of the original image as shown in FIG. 10 is created. A linear density conversion of is realized.

尚、この変換演算回路4における文字・線画像に対する
閾値は、白地に黒画素で描かれた文字線画に対して有効
なものである。しかして文字線がが黒地に白画素にて描
かれている場合には、−船釣には、前記黒画素優先の変
換演算を実現する低閾値に変えて、白画素を優先して変
換閾値を実行する更に高い閾値を設定する必要があるが
、ここでは前述した白黒反転処理により、黒地の文字・
線画像を白地の文字線画像に反転処理した変換処理に供
している為、上述した低閾値を用いて白地の文字線画像
に対する処理と全く同様にしてその処理手続きを行なう
ものとなっている。
Note that the threshold value for character/line images in the conversion calculation circuit 4 is effective for character/line images drawn with black pixels on a white background. However, if the character line is drawn with white pixels on a black background, - for boat fishing, instead of using the low threshold value that realizes the conversion calculation that gives priority to black pixels, the conversion threshold value that gives priority to white pixels is set. It is necessary to set an even higher threshold to execute this, but in this case, by using the black-and-white inversion process described above,
Since the line image is subjected to a conversion process in which the line image is inverted into a character line image on a white background, the processing procedure is performed in exactly the same way as the process for a character line image on a white background using the above-mentioned low threshold value.

かくしてこのように構成された本装置によれば、文字線
画に対する高品質な綿密度変換を実現するべく、黒画素
優先の変換演算が設定されており、このような条件下で
黒地に白画素で描かれた文字・線画を線密度変換する場
合であっても、その人力画像を濃度反転して画像変換に
供するので、その変換演算の形態を変更することな(、
そのまま高品質な線密度変換による画像の拡大・縮小を
実現できる。また前述した外部領域クリア手段について
も、白黒反転された入力画像に対してその外部領域を(
0)クリアするので、零(0)クリアなる手段でその外
部領域をそのまま背景部の濃度に設定することができる
。従って濃度反転手段と外部領域クリア手段とが効果的
に協働して簡易に、高品質な線密度変換を実現し得る。
According to this device configured in this manner, in order to achieve high-quality density conversion for text and line drawings, conversion calculations that give priority to black pixels are set, and under such conditions, white pixels on a black background are Even when converting the line density of drawn characters/line drawings, the density of the human image is inverted and used for image conversion, so there is no need to change the format of the conversion calculation.
Image enlargement/reduction can be achieved directly by high-quality linear density conversion. In addition, regarding the external area clearing means described above, the external area is (
0) clearing, the external area can be set to the density of the background part as it is by means of zero (0) clearing. Therefore, the density inversion means and the external area clearing means effectively cooperate to easily realize high-quality linear density conversion.

この結果、処理対象画像が白地の文字・線画像であるか
、或いは黒地の文字・線画像であるかに拘らず、簡易な
処理制御の下で高品質な画像の線密度変換を実現するこ
とが可能となる。
As a result, regardless of whether the image to be processed is a character/line image on a white background or a character/line image on a black background, high-quality image line density conversion can be achieved under simple processing control. becomes possible.

尚、本発明は上述した実施例に限定されるものではない
。ここでは処理対象画像として2値画像を例に説明した
が、階調性を有する画像に対しても同様に適用すること
ができる。この場合には、前述した白黒濃度反転回路に
変えて、その最低濃度値から最高濃度値までの各濃度レ
ベルをそれぞれ反転する回路を用いれば良い。また白画
素優先の線密度変換が設定されている場合には、白地画
像を反転処理するようにすれば良い。その他、本発明は
その要旨を逸脱しない範囲で種々変形して実施すること
ができる。
Note that the present invention is not limited to the embodiments described above. Although a binary image has been described here as an example of an image to be processed, the present invention can be similarly applied to an image having gradation. In this case, instead of the black-and-white density inversion circuit described above, a circuit that inverts each density level from the lowest density value to the highest density value may be used. Furthermore, if line density conversion giving priority to white pixels is set, the white background image may be inverted. In addition, the present invention can be implemented with various modifications without departing from the gist thereof.

[発明の効果] 以上説明したように本発明によれば、入力画像を線密度
変換して拡大・縮小画像を得る装置本体部の入力部およ
びその出力部に濃度反転手段を備え、適宜処理対象画像
の濃度を反転処理した画像の変換処理に供し、且つ画像
変換処理された画像を再度濃度反転処理して下の画像性
質に戻して出力するので、白地画像、黒地画像に拘らず
高品質な画像の綿密度変換を実現し得る等の実用上多大
なる効果が奏せられる。
[Effects of the Invention] As explained above, according to the present invention, the input section and the output section of the main body of the apparatus for converting the linear density of an input image to obtain an enlarged/reduced image are provided with a density inversion means, and the processing target is appropriately adjusted. The density of the image is inverted, the image is subjected to conversion processing, and the image that has been subjected to image conversion processing is again processed to invert the density to restore the original image properties before being output. Great practical effects such as the ability to realize image density conversion can be achieved.

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

図は本発明の一実施例を示すもので、第1図は本発明に
係る画像処理装置の概略的な構成図、第2図は本発明の
基本的な処理機能を示す概念図、第3図は実施例装置の
全体構成図、第4図は白黒反転回路の構成例を示す図、
第5図は変換画素位置検出回路の構成例を示す図、第6
図はラインバッファと画素抽出回路の構成例を示す図、
第7図は変換処理における画素参照領域の概念を示す図
、第8図は画素参照領域に含まれる外部領域に対するク
リア処理を説明する為の図、第9図は変換演算回路の構
成例を示す図、第10図は変換演算に用いられる閾値と
処理画像の例を示す図、第11図および第12図は画像
の線密度変換処理の基本概念を説明する為の図、第13
図は変換閾値の異なりによる変換画像の変化を説明する
為の図である。 1・・・ラインバッファ、2・・・変換画素位置検出回
路、3・・・画素抽出回路、4・・・変換演算回路、5
,1S・・・白黒反転回路(濃度反転手段)。 出願人代理人 弁理士 鈴江武彦 113図 第4図 第7図 第8図 (a)             (b)411図 (a)              (b)912図
The figures show one embodiment of the present invention, in which Figure 1 is a schematic configuration diagram of an image processing device according to the present invention, Figure 2 is a conceptual diagram showing the basic processing functions of the present invention, and Figure 3 is a conceptual diagram showing the basic processing functions of the present invention. The figure is an overall configuration diagram of the embodiment device, and FIG. 4 is a diagram showing an example configuration of a black and white inversion circuit.
FIG. 5 is a diagram showing an example of the configuration of a converted pixel position detection circuit, and FIG.
The figure shows an example of the configuration of a line buffer and pixel extraction circuit.
Figure 7 is a diagram showing the concept of the pixel reference area in the conversion process, Figure 8 is a diagram to explain the clearing process for the external area included in the pixel reference area, and Figure 9 is a diagram showing an example of the configuration of the conversion calculation circuit. 10 is a diagram showing an example of a threshold value used in a conversion calculation and a processed image. FIGS. 11 and 12 are diagrams for explaining the basic concept of image linear density conversion processing.
The figure is a diagram for explaining changes in a converted image due to differences in conversion thresholds. DESCRIPTION OF SYMBOLS 1... Line buffer, 2... Conversion pixel position detection circuit, 3... Pixel extraction circuit, 4... Conversion calculation circuit, 5
, 1S...black and white inversion circuit (density inversion means). Applicant's representative Patent attorney Takehiko Suzue 113 Figure 4 Figure 7 Figure 8 (a) (b) Figure 411 (a) (b) Figure 912

Claims (1)

【特許請求の範囲】 入力画像を線密度変換して拡大・縮小された出力画像を
求める画像変換装置において、 入力画像の性質に従って上記入力画像の濃度を反転して
上記線密度変換に供する第1の濃度変換手段と、この線
密度変換された出力画像の濃度を上記第1の濃度変換手
段に応動して反転して出力する第2の濃度変換手段とを
設けたことを特徴とする画像変換装置。
[Scope of Claims] An image conversion device for linear density converting an input image to obtain an enlarged/reduced output image, comprising: a first image converter for inverting the density of the input image according to the properties of the input image and subjecting it to the linear density conversion; and a second density converting means for inverting and outputting the density of the linear density-converted output image in response to the first density converting means. Device.
JP63132615A 1988-06-01 1988-06-01 Picture converting device Pending JPH01303578A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63132615A JPH01303578A (en) 1988-06-01 1988-06-01 Picture converting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63132615A JPH01303578A (en) 1988-06-01 1988-06-01 Picture converting device

Publications (1)

Publication Number Publication Date
JPH01303578A true JPH01303578A (en) 1989-12-07

Family

ID=15085472

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63132615A Pending JPH01303578A (en) 1988-06-01 1988-06-01 Picture converting device

Country Status (1)

Country Link
JP (1) JPH01303578A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04326184A (en) * 1991-04-25 1992-11-16 Nec Corp Data interpolation system
EP2006738A2 (en) 2007-06-21 2008-12-24 Fujifilm Corporation Lithographic printing plate precursor and lithographic printing method
EP2048000A2 (en) 2007-09-18 2009-04-15 FUJIFILM Corporation Plate making method of lithographic printing plate precursor
EP2165829A1 (en) 2008-09-22 2010-03-24 Fujifilm Corporation Lithographic printing plate precursor and plate making method thereof
EP2380737A1 (en) 2007-10-29 2011-10-26 Fujifilm Corporation Lithographic printing plate precursor
EP2383118A2 (en) 2010-04-30 2011-11-02 Fujifilm Corporation Lithographic printing plate precursor, plate making method thereof and polyvalent isocyanate compound
WO2014050359A1 (en) 2012-09-26 2014-04-03 富士フイルム株式会社 Lithographic presensitized plate and method for making lithographic printing plate

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04326184A (en) * 1991-04-25 1992-11-16 Nec Corp Data interpolation system
EP2006738A2 (en) 2007-06-21 2008-12-24 Fujifilm Corporation Lithographic printing plate precursor and lithographic printing method
EP2048000A2 (en) 2007-09-18 2009-04-15 FUJIFILM Corporation Plate making method of lithographic printing plate precursor
EP2380737A1 (en) 2007-10-29 2011-10-26 Fujifilm Corporation Lithographic printing plate precursor
EP2165829A1 (en) 2008-09-22 2010-03-24 Fujifilm Corporation Lithographic printing plate precursor and plate making method thereof
EP2383118A2 (en) 2010-04-30 2011-11-02 Fujifilm Corporation Lithographic printing plate precursor, plate making method thereof and polyvalent isocyanate compound
WO2014050359A1 (en) 2012-09-26 2014-04-03 富士フイルム株式会社 Lithographic presensitized plate and method for making lithographic printing plate

Similar Documents

Publication Publication Date Title
US5034806A (en) Image processing apparatus and method
JPH08228282A (en) Processing method of document picture and binary picture picture element processor
JPH02100575A (en) Picture processor
JPH01303578A (en) Picture converting device
JPS6353586B2 (en)
JPH01303576A (en) Picture converting device
JPH01303577A (en) Picture converting device
JP2845376B2 (en) Pixel density converter
JP2938217B2 (en) Image processing device
JP3564216B2 (en) Image processing device
JP2585872B2 (en) Image noise removal device
JP4122533B2 (en) Image forming apparatus
JP2853510B2 (en) Image noise removal device
JPH03202976A (en) Picture conversion device
JPH0213876B2 (en)
JPS6346872A (en) Image processing device
JP2007081939A (en) Data smoothing circuit
JP2007027826A (en) Image processing apparatus and image processing program
JPS634749B2 (en)
JPH04157872A (en) Picture processing unit
JPH0120835B2 (en)
JPS63173178A (en) Image input system
JPH06105123A (en) High speed picture reduction conversion processor
JPH05344321A (en) Printing device
JPH0830789A (en) Image storage device