JPH0425749B2 - - Google Patents

Info

Publication number
JPH0425749B2
JPH0425749B2 JP59037880A JP3788084A JPH0425749B2 JP H0425749 B2 JPH0425749 B2 JP H0425749B2 JP 59037880 A JP59037880 A JP 59037880A JP 3788084 A JP3788084 A JP 3788084A JP H0425749 B2 JPH0425749 B2 JP H0425749B2
Authority
JP
Japan
Prior art keywords
density
pixel
original
small
sampling
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
JP59037880A
Other languages
Japanese (ja)
Other versions
JPS60182269A (en
Inventor
Norio Kanemitsu
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59037880A priority Critical patent/JPS60182269A/en
Publication of JPS60182269A publication Critical patent/JPS60182269A/en
Publication of JPH0425749B2 publication Critical patent/JPH0425749B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】[Detailed description of the invention]

[発明の技術分野] 本発明は、低画素密度で濃度を検出した画像情
報から高画素密度の画像情報を得るための画像処
理方法に関する。 [技術の背景] 写真等の原画を網点処理する画像処理装置や、
フアツクス等では、予め定めた画素単位に多値レ
ベルの濃度を検出して得られた当該原画に対する
画像情報を二値化処理して、出力画像を得るもの
である。このような画像処理装置等では、その出
力画像の解像度を上げるために、濃度の検出密度
を上げる、即ちサンプリング画素の数を増すこと
が一般に考えられる。ところが、このようにサン
プリング画素の数を増すようにすると、原画全体
の濃度検出に時間がかかるようになり、その結
果、全体の画像処理時間が延びることになる。そ
こで、低画素密度で濃度を検出した画像情報を高
画素密度の画像情報に変換することの必要性が生
ずる。 [従来技術と問題点] 従来、所定の画像情報を更に高画素密度の画像
情報に変換する画像処理方法として、例えば特開
昭55−10221号公報に開示されるようなものがあ
る。 これは、第1図に示すように、濃度を検出した
サンプリング画素A乃至D及びSの例えば画素S
に注目し、この注目した画素Sを四分割して得ら
れる小画素α乃至δの濃度を当該画素Sに隣接す
る画素の濃度を考慮して新たに定めていくように
したものである。 上記各小画素の濃度は、例えば次のように定め
られるものである。 α={2S+(A+B)}/4 β={2S+(B+C)}/4 γ={2S+(C+D)}/4 δ={2S+(D+A)}/4 即ち、小画素αの濃度はサンプリング画素A,
Bの濃度を考慮して定め、同様に小画素β、γ、
δの各濃度は、それぞれサンプリング画素B,C
またC,DまたD,Aの各濃度を考慮して定めて
いる。 上記のような画像処理方法によれば、サンプリ
ング画素を四分割してできる小画素の濃度を、こ
の小画素が属するサンプリング画素及び当該サン
プリング画素に隣接した他のサンプリング画素の
各濃度に基づいて新たに定めるようにしたため、
元の画像情報、即ちサンプリング画素の濃度を検
出して得られた画像情報は一応四倍の密度の画像
情報に変換される。 しかしながら、原画に描かれた線が非常に細く
その細線の濃度分布が第2図aに示すように(2
次元表現)一画素の幅内(例えば、100μ程度)
におさまり、検出されたサンプリング画素の各濃
度が、例えば第2図bに示すように A=S=C=10 B=D=0 となるような場合、上記のような画像情報処理方
法に従つて画像情報の変換を行なうと、サンプリ
ング画素Sについあ、その小画素α,β,γ,δ
の濃度が、 α=β=γ=δ ={1×2+(10+0)/4=7.5 となることから、当該変換後の濃度分布は第2図
cに示すように、サンプリング画素A,S,Cの
各小画素の濃度が均一に(7.5)となつてその部
分が突出した分布となる。その結果、原画に描か
れた細線の幅(第2図aのグラフにおける半値
幅)が元のサンプリング画素の幅より狭い、例え
ば二分の一になつても上記変換後の画像情報に基
づいて二値化した画像においては、元のサンプリ
ング画素の幅より狭くなるとはなかつた(第2図
d参照)。 [発明の目的] 本発明は、上記に鑑みてなされたものであり、
原画に描かれた細線に対して低画素密度で濃度を
検出した画像情報から当該細線をより忠実に再現
した高画素密度の画像情報を得ることのできる画
像処理方法を提供することを目的としている。 [発明の構成] 上記目的を達成するために、本発明は、縦横複
数に分割した各ブロツクにおける画素ごとに多値
レベルの濃度を検出し、該画素上の画像情報を原
画素として4倍の密度の画像情報に変換するに際
し、前記原画素上に原画素幅に対して縦横各々2
分割の1まで位置を移動できるようにした新たな
画素を設定するとともに当該新画素を4分割した
小画素で形成し、複数の前記原画素に跨がつて
位置する前記小画素の濃度を、当該小画素が跨が
つた複数原画素の各濃度からの相加平均で算出し
た濃度で定め、前記原画素の一画素内に位置す
る前記小画素の濃度については、当該原画素およ
び隣接する原画素を含む領域内で、当該原画素と
の濃度差を算出してそれぞれの方向への濃度勾配
を算出し、a:いずれの方向への濃度勾配も単調
な増加または減少の時は、当該原画素の濃度で、
またはb:前記濃度勾配が一方の方向で極値を有
しかつ他方で単調な増加または減少の時には、当
該原画素の濃度から極値を有する方向のそれぞれ
の濃度差で補正した濃度で、またはc:前記濃度
勾配が一方の方向で凸値かつ他方の凹値を有する
時には、該一方の方向との濃度差で補正した濃度
で、またはd:前記濃度勾配がいずれの方向でも
凸値を有する時には、いずれかの方向ごとの濃度
差で補正したそれぞれの濃度を比較して大きい方
の濃度で、またはe:前記濃度勾配がいずれの方
向でも凹値を有する時には、いずれかの方向ごと
の濃度差で補正したそれぞれの濃度を比較して小
さい方の濃度で、それぞれ定めた変換画像情報を
用いるようにしたもである。 [発明の実施例] 以下、本発明の実施例を図面に基づいて説明す
る。 第3図は本発明に係る画像処理方法の一例を示
した説明図である。 同図において、a11〜a13,a21〜a2
3,a31〜a33(破線で示されている枠内)
は原画に対して予め定めたサンプリング画素であ
り、これらのサンプリング画素単位に原画の濃度
を検出する。 ここで、上記サンプリング画素面上に各サンプ
リング画素幅lに対して縦横各々四分の一(l/
4)の割合でずらした新たな画素を設定し、これ
ら新たな画素を四分割する。すると、この四分割
でできる小画素はつぎの4つのタイプに分類され
る。 (1) 小画素A 元のサンプリング画素の中央に位置するもの。 (2) 小画素B 元のサンプリング画素とこのサンプリング画素
の下方に隣接するサンプリング画素とにそれぞれ
同割合で位置するもの。 (3) 小画素C 元のサンプリング画素とこのサンプリング画素
の右側に隣接するサンプリング画素とにそれぞれ
同割合で位置するもの。 (4) 小画素D もとのサンプリング画素とこのサンプリング画
素の下方、右側及び右下方にそれぞれ隣接するサ
ンプリング画素とにそれぞれ同割合で位置するも
の。 そして、元のサンプリング画素a22からずれ
た新たな画素についてみると、上記のような4タ
イプの小画素のうち、B,C,Dの各濃度は B=(a22+a22)/2 C=(a22+a22)/2 D=(a22+a32+a33+a23)/4 の各アルゴリズムに従つて決定する。また、小画
素Aについては、濃度の強調を行なうため、例え
ば第4図に示すようなアルゴリズムによつてその
濃度を決定する。 そこで、第4図に示す濃度決定のアルゴリズム
(サンプリング画素a22の中央に位置する小画
素Aの濃度決定)について説明する。 サンプリング画素a22を中心とした主走査方
向(図面における横方向)の濃度分布が a22>a21,a23 で、同副走査方向(図面における縦方向)の濃度
分布が a22a>a21,a32 となる場合、即ちサンプリング画素a22の濃度
が周囲のサンプリング画素の濃度に比べて突出し
ている場合 A=a22+(a22−a12)+(a22−a32) =3(a22)−a12−a32 及び A=a22+(a22−a21)+(a22−a23) =3(a22)−a21−a23 のうちどちらか大きい方に決定する。 主走査方向の濃度分布が a22<a21,a23 で、副走査方向の濃度分布が a22<a12,a32 となる場合、即ちサンプリング画素a22の濃度
が周囲のサンプリング画素の濃度に比べて小さい
場合、 A=a22+(a22−a12)+(a22−a32) =3(a22)−a12−a32 及び A=a22+(a22−a21)+(a22−a23 =3(a22)−a21−a23 のうちどちらか小さい方に決定する。 主走査方向の濃度分布が a21≦a22≦a23 で、副走査方向の濃度分布が a12≦a22≦a32 となる場合、即ち主走査方向についてはサンプリ
ング画素a22を中心に左側から右側に順次濃度
が大きくなる濃度分布で、かつ、副走査方向につ
いてはサンプリング画素a22を中心に上側から
下側に順次濃度が大きくなる濃度分布の場合 A=a22 に決定する。 主走査方向の濃度分布が a12≧a22≧a32 となる場合、即ち主走査方向についてはサンプリ
ング画素a22を中心に左側に順次濃度が小さく
なる濃度分布で、かつ、副走査方向についてはサ
ンプリング画素a22を中心に上側から下側に順
次濃度が小さくなる濃度分布の場合 A=a22 に決定する。 以下、主走査方向の濃度分布が a22>a21,a23 a22<a22,a23 a21≦a22≦a23 a21≧a22≧a23 となる場合と、副走査方向の濃度分布が a22>a12,a32 a22<a12,a32 a22≦a22≦a32 a12≧a22≧a32 となる各場合とを組み合わせたもので上記のよう
に濃度決定を行なわなかつた場合については A=3(a22)−a12−a32 又は A=3(a22)−a21−a23 のいずれか、或いは A=a22 の各アルゴリズムに基づいて濃度を決定する。 次に、予め定めたサンプリング画素面上に新た
に設定した小画素の濃度を上記のようなアルゴリ
ズムに基づいて決定し、高密度の画像情報を得る
ようにした装置の一例を説明する。 第5図は当該装置の基本構成を示すブロツク図
である。これは、原画上を光学的に走査し、光電
変換した後に得られるアナログビデオ信号を更に
A/D変換して得られた多値レベルのデジタルビ
デオ信号が、ビデオメモリ10に順次入力し、シ
フトレジスタ11及び同12を介して当該入力ビ
デオ信号がビデオメモリ10上に3×3マトリツ
クス(サンプリング画素対応)となつて展開され
るようになつている。そして、ビデオメモリ10
上に展開される各サンプリング画素の濃度データ
(4ビツトデータ)、即ちa11乃至a13,a2
1乃至a23,a31乃至a33が上述したよう
なアルゴリズムに従つて処理を行なう画像処理回
路20に入力するようになつている。 ここで、画像処理回路20の詳細は、例えば第
6図に示すようになつている。同図において、2
1aは入力12ビツト、出力6ビツトのROMであ
り、このROM21aは、ビデオメモリ10上の
a12,a22,a32の各4ビツト濃度データ
が入力し、 3(a22)−a12−a32 の4ビツトデータと、2ビツトのコードデータが
出力するようになつている。この2ビツトのコー
ドデータはa22を中心とした副走査方向の濃度
分布状態を示すもので表−1のような関係になつ
ている。
[Technical Field of the Invention] The present invention relates to an image processing method for obtaining high pixel density image information from image information whose density is detected at low pixel density. [Technical background] Image processing devices that perform halftone dot processing on original images such as photographs,
In a fax machine, an output image is obtained by binarizing the image information for the original image obtained by detecting the density of a multi-value level for each predetermined pixel. In such an image processing apparatus, it is generally considered to increase the density detection density, that is, increase the number of sampling pixels, in order to increase the resolution of the output image. However, if the number of sampling pixels is increased in this way, it will take time to detect the density of the entire original image, and as a result, the overall image processing time will be extended. Therefore, it becomes necessary to convert image information whose density is detected at a low pixel density into image information at a high pixel density. [Prior Art and Problems] Conventionally, as an image processing method for converting predetermined image information into image information with a higher pixel density, there is a method disclosed, for example, in Japanese Patent Application Laid-open No. 10221/1983. As shown in FIG. 1, for example, pixel S
, and the densities of the small pixels α to δ obtained by dividing the pixel S of interest into four are newly determined in consideration of the densities of the pixels adjacent to the pixel S. The density of each small pixel is determined, for example, as follows. α={2S+(A+B)}/4 β={2S+(B+C)}/4 γ={2S+(C+D)}/4 δ={2S+(D+A)}/4 In other words, the density of the small pixel α is the sampling pixel A,
It is determined by considering the density of B, and similarly small pixels β, γ,
Each density of δ is the sampling pixel B, C, respectively.
Further, it is determined by taking into consideration the respective concentrations of C, D, and D and A. According to the image processing method described above, the density of a small pixel created by dividing a sampling pixel into four is newly calculated based on the density of the sampling pixel to which this small pixel belongs and other sampling pixels adjacent to the sampling pixel. Because it was set as
The original image information, that is, the image information obtained by detecting the density of the sampled pixels, is converted into image information with four times the density. However, the lines drawn on the original picture are very thin, and the density distribution of the thin lines is as shown in Figure 2a (2
Dimensional expression) Within the width of one pixel (for example, about 100μ)
If the density of each detected sampling pixel is, for example, A=S=C=10 B=D=0 as shown in FIG. When the image information is converted, the sampling pixel S is converted into small pixels α, β, γ, δ.
Since the density of α = β = γ = δ = {1 × 2 + (10 + 0) / 4 = 7.5, the density distribution after the conversion is as shown in Figure 2c, for the sampling pixels A, S, The density of each small pixel of C becomes uniform (7.5), resulting in a prominent distribution in that part. As a result, even if the width of the thin line drawn on the original image (the half-width in the graph of Figure 2a) is narrower than the width of the original sampling pixel, for example, half, it will be In the converted image, the width was never narrower than the original sampling pixel width (see FIG. 2d). [Object of the invention] The present invention has been made in view of the above, and
The object of the present invention is to provide an image processing method that can obtain high pixel density image information that more faithfully reproduces a thin line drawn on an original image from image information that detects the density of a thin line drawn on an original image at a low pixel density. . [Structure of the Invention] In order to achieve the above object, the present invention detects the multi-value level density for each pixel in each block divided into multiple vertical and horizontal blocks, and uses the image information on the pixel as an original pixel to obtain four times the density. When converting to density image information, 2 pixels are added vertically and horizontally to the original pixel width on the original pixel.
A new pixel whose position can be moved up to division 1 is set, and the new pixel is formed by four subpixels, and the density of the subpixel located across the plurality of original pixels is determined by The density is determined by the arithmetic average of the densities of multiple original pixels that the small pixel spans, and the density of the small pixel located within one pixel of the original pixel is determined by the density of the original pixel and adjacent original pixels. In the area including the original pixel, calculate the density gradient in each direction by calculating the density difference with the original pixel. At a concentration of
or b: when the density gradient has an extreme value in one direction and monotonically increases or decreases in the other direction, the density is corrected by the density difference in each direction from the original pixel density in the direction having the extreme value, or c: When the concentration gradient has a convex value in one direction and a concave value in the other direction, the concentration is corrected by the concentration difference from the one direction, or d: The concentration gradient has a convex value in either direction. Sometimes, the respective densities corrected by the density difference in each direction are compared and the larger density is used; or e: When the concentration gradient has a concave value in either direction, the density in each direction is The respective densities corrected by the difference are compared, and the converted image information determined respectively is used for the smaller density. [Embodiments of the Invention] Hereinafter, embodiments of the present invention will be described based on the drawings. FIG. 3 is an explanatory diagram showing an example of the image processing method according to the present invention. In the same figure, a11 to a13, a21 to a2
3, a31 to a33 (within the frame indicated by the broken line)
are sampling pixels predetermined for the original image, and the density of the original image is detected in units of these sampling pixels. Here, on the sampling pixel surface, a quarter (l/
4) Set new pixels shifted by the ratio, and divide these new pixels into four. Then, the small pixels formed by this quartering are classified into the following four types. (1) Small pixel A The one located at the center of the original sampling pixel. (2) Small pixel B A small pixel located at the same ratio between the original sampling pixel and the sampling pixel adjacent below this sampling pixel. (3) Small pixel C A small pixel located at the same ratio between the original sampling pixel and the sampling pixel adjacent to the right side of this sampling pixel. (4) Small pixel D: A small pixel located at the same ratio between the original sampling pixel and the adjacent sampling pixels below, to the right, and to the lower right of this sampling pixel. Looking at the new pixel shifted from the original sampling pixel a22, among the four types of small pixels mentioned above, each density of B, C, and D is B = (a22 + a22) / 2 C = (a22 + a22) /2 D=(a22+a32+a33+a23)/4 Determine according to each algorithm. Furthermore, in order to emphasize the density of the small pixel A, its density is determined, for example, by an algorithm as shown in FIG. Therefore, the density determination algorithm (density determination of the small pixel A located at the center of the sampling pixel a22) shown in FIG. 4 will be explained. If the density distribution in the main scanning direction (horizontal direction in the drawing) centering on sampling pixel a22 is a22>a21, a23, and the density distribution in the sub-scanning direction (vertical direction in the drawing) is a22a>a21, a32, That is, when the density of sampling pixel a22 is outstanding compared to the density of surrounding sampling pixels, A = a22 + (a22 - a12) + (a22 - a32) = 3 (a22) - a12 - a32 and A = a22 + (a22 - a21) + (a22 - a23) = 3 (a22) - a21 - a23, whichever is larger. When the density distribution in the main scanning direction is a22<a21, a23 and the density distribution in the sub-scanning direction is a22<a12, a32, that is, when the density of sampling pixel a22 is smaller than the density of the surrounding sampling pixels, A = a22 + (a22 - a12) + (a22 - a32) = 3 (a22) - a12 - a32 and A = a22 + (a22 - a21) + (a22 - a23 = 3 (a22) - a21 - a23, whichever is smaller If the density distribution in the main scanning direction is a21≦a22≦a23 and the density distribution in the sub-scanning direction is a12≦a22≦a32, that is, in the main scanning direction, from the left side to the right side centering on sampling pixel a22. In the case of a density distribution in which the density increases sequentially from the top to the bottom with sampling pixel a22 at the center in the sub-scanning direction, A=a22 is determined.Density distribution in the main-scanning direction If a12≧a22≧a32, that is, in the main scanning direction, the density distribution decreases gradually to the left with sampling pixel a22 as the center, and in the sub-scanning direction, the density distribution decreases from the top to the bottom with sampling pixel a22 as the center. In the case of a density distribution in which the density decreases sequentially, A=a22 is determined.Hereafter, in the case where the density distribution in the main scanning direction is a22>a21, a23 a22<a22, a23 a21≦a22≦a23 a21≧a22≧a23, , a combination of cases in which the density distribution in the sub-scanning direction is a22>a12, a32 a22<a12, a32 a22≦a22≦a32 a12≧a22≧a32, and the case in which the density is not determined as described above. The density is determined based on each algorithm of A=3(a22)-a12-a32, A=3(a22)-a21-a23, or A=a22.Next, the predetermined sampling pixel plane An example of a device that determines the density of a newly set small pixel based on the algorithm described above and obtains high-density image information will be explained below. Fig. 5 shows the basic configuration of the device. This is a block diagram in which a multilevel digital video signal obtained by optically scanning an original image, photoelectrically converting the analog video signal, and further A/D converting it is stored in a video memory 10. The input video signals are sequentially inputted and expanded into a 3×3 matrix (corresponding to sampling pixels) on a video memory 10 via shift registers 11 and 12. And video memory 10
The density data (4-bit data) of each sampling pixel developed above, that is, a11 to a13, a2
1 to a23 and a31 to a33 are input to an image processing circuit 20 which performs processing according to the algorithm described above. Here, the details of the image processing circuit 20 are as shown in FIG. 6, for example. In the same figure, 2
1a is a ROM with 12 bits of input and 6 bits of output; this ROM 21a receives 4-bit density data of a12, a22, and a32 on the video memory 10, and 4-bit data of 3(a22)-a12-a32. 2-bit code data is output. This 2-bit code data indicates the density distribution state in the sub-scanning direction centered on a22, and has the relationship as shown in Table 1.

【表】 21bもまた入力12ビツト、出力6ビツトの
ROMであり、ROM21bは、ビデオメモリ1
0上のa21,a22,a2お3の各4ビツト濃
度データが入力し、 3(a22)−a21−a23 の4ビツトデータと、2ビツトのコードデータが
出力するようになつている。この2ビツトデータ
はa22を中心とした主走査方向の濃度密度状態
を示すもので表−2のような関係になつている。
[Table] 21b also has a 12-bit input and a 6-bit output.
ROM, and ROM21b is video memory 1
4-bit density data of a21, a22, a2 and 3 above 0 are input, and 4-bit data of 3(a22)-a21-a23 and 2-bit code data are output. This 2-bit data indicates the concentration density state in the main scanning direction centered on a22, and has a relationship as shown in Table 2.

【表】 22aは演算回路であり、この演算回路22a
は、4ビツトデータa22及びa32を入力して (a22+a32)/2 を出力するようになつており、また22bも演算
回路であり、この演算回路22bは4ビツトデー
タa22及びa23を入力して (a22+a23)/2 を出力するようになつている。更に23もまた演
算回路であり、この演算回路23は4ビツトデー
タa22,a23,a32及びa33を入力して (a22+a23+a32+a33)/4 を出力するようになつている。24は入力16ビツ
ト、出力4ビツトのROMであり、このROM2
4は、ROM21a及ROM21bからの12ビツ
トデータ(各6ビツトづつ)とビデオメモリ10
上のa22の4ビツトデータを入力し、第4図に
示すようなアルゴリズムに基づいた4ビツトデー
タを出力するようになつている。25a,25
b,25c,25dはそれぞれレジスタであり、
レジスタ25aはROM24からのデータ、レジ
スタ25bは演算回路22aからのデータ、レジ
スタ25cは演算回路22bからのデータ、レジ
スタ25dは演算回路23からのデータをそれぞ
れ同一のクロツクCに同期して格納するようにな
つている。26は二系統に切替え回路であり、こ
の切替え回路26は、一方の系統については、レ
ジスタ25a又はレジスタ25cからの出力を、
他方の系統については、レジスタ25b又はレジ
スタ25dからの出力をそれぞれ主走査方向クロ
ツクの二分の一の周期となり切替え信号Sに同期
して切替えるものである。27aは切替え回路、
28a及び28bは新たに作製されるビデオ信号
の1ライン分の容量を有するラインバツフアであ
り、上記切替え回路27は切替え回路26の上記
一方の系統からのデータをラインバツフア28a
又は28bに副走査方向クロツクに同期して振り
分けるようになつている。また、27bは切替え
回路27aと同様に副走査方向にクロツクに同期
して作動する切替え回路、28c及び28dはラ
インバツフア28a,28bと同様の容量お有す
るラインバツフアであり、切替え回路26の上記
他方の系統からのデータを切替え回路27bがラ
インバツフア28c又は28dに振り分けるよう
になつている。29はラインバツフア28a,2
8b,28c,28dから出力されるデータを順
次新たな画像データとしてビデオメモリ(ビデオ
メモリ10とは異なる領域)に書き込む書き込み
回路である。 続いて、作動を説明する。 ビデオメモリ10及びシフトレジスタ11,1
2に濃度データが格納されている状態で主走査方
向クロツクが出力される毎に新たにサンプリング
データがビデオメモリ10に書き込まれると共に
画像処理装置20内のROM24からレジスタ2
5a、演算回路22aからレジスタ25b、演算
回路22bからレジスタ25c、演算回路23か
らレジスタ25dにそれぞれデータが格納され
る。この時、レジスタ25aに格納されるデータ
は第3図における小画素Aの濃度に対応したもの
で、同様にレジスタ25bは小画素B、レジスタ
25cは小画素C、レジスタ25dは小画素Dに
それぞれ対応した濃度データを格納する。そし
て、切替え信号Sに同期した切替え回路26の作
動により、切替え回路26の一方の系統からレジ
スタ25a又はレジスタ25cのデータが交互に
出力し、これらのデータが切替え回路27aを介
して順次ラインバツフア28aに格納されてい
く。即ち、切替え回路27aを介してラインバツ
フア28aに格納されるデータは第7図に示すよ
うに、第3図における小画素A又は小画素Cに対
応した濃度データとなる。また、切替え回路26
の他方の系統からレジスタ25b又はレジスタ2
5dのデータが交互の出力し、これらのデータが
切替え回路27bを介して順次ラインバツフア2
8cに格納されていく。即ち、切替え回路27b
を介してラインバツフア28cに格納されるデー
タは小画素B又は小画素Dに対応した濃度データ
となる(第7図参照)。上記のようにして1ライ
ン分の走査が終了すると、ラインバツフア28a
には1ライン分の小画素A及びCに対応した濃度
データが格納され、ラインバツフア28cには1
ライン分の小画素B及びDに対応した濃度データ
が格納される。そして、次のラインの走査開始と
共に出力される副走査方向にクロツクに同期して
切替え回路27a及び27bが切り替わり、切替
え回路27aを介して上記と同様な小画素A及び
Cに対応した画像データがラインバツフア28b
に格納され、また切替え回路27bを介して小画
素B及びDに対応した濃度データがラインバツフ
ア28dに格納されていく。この時、第8図に示
すように、ラインバツフア28b及び28dに濃
度データを格納している際には、前回の主走査時
にラインバツフア28a及び28Cに格納した濃
度データが順次読み出され、これらの濃度データ
は書き込み回路29を介して所定の配列をもつて
ビデオメモリ上に書き込まれていく。 上記のような作動が、原画上の走査が終了する
まで繰り返されると、ビデオメモリ上にそれぞれ
小画素A,B,C,D単位の濃度データが展開さ
れ、四倍の密度となる画像情報が得られる。 上記のような画像処理を行なうようにすれば、
原画に描かれた線が非常に細く、その細線の濃度
分布が第9図aに示すように(第2図aに対応す
る)一画素の幅内におさまり、検出されたサンプ
リング画素の各濃度が、例えば第9図bに示すよ
うに a11=a21−a31=0 a12=a22=a32=10 a13=a23=a33=0 となるような場合、各サンプリング画素a12,
a22,a32がらずらして新たに設定した画素
を構成する各小画素A,B,C,Dはすべて A=3=(a22)−a21−a23=30 B=(a22+a32)/2=10 C=(a22+a23)/2=5 D=(a22+a32+a33+a23)/4=5 となることから、当該変換後の濃度分布は第9図
cに示すように、元のサンプリング画素a12,
a22,a32の横方向の中心に突出した濃度15
(この実施例では変換濃度が4ビツト表現となる
ので濃度15以上の濃度は15に制限される)及び濃
度10の小画素が交互に配列されたものになる。そ
の結果、この変換後の画像情報に基づいて二値化
(スレツシユホルドレベルを適当に定める)した
画像においては、当該細線が二分の一の幅で再現
できるようになる(第9図d参照)。 尚、本実施例では、元のサンプリング画素の中
央に位置する小画素の濃度を、当該サンプリング
画素の濃度及びこれに上下、左右で隣接する各サ
ンプリング画素に基づいて定めるようにした、そ
の他にも、斜め方向で隣接するサンプリング画素
の濃度を更に考慮して、例えば A=9(a22)−(a11+a12+a13 +a21+a23+a31+a32+a33) のように定めても良い。また、本実施例では、元
のサンプリング画素の中央に位置する小画素Aの
濃度強調を当該サンプリング画素の上下方向及び
左右方向の濃度分布を考慮して定めるようにした
が、更に両斜め方向の濃度分布を考慮して定める
ようにても良く、更に、当該小画素Aお強調せ
ず、常に A=a22 としても良い。 更に尚、本実施例では、予め定めたサンプリン
グ画素面上に各サンプリング画素に対して縦横
各々四分の一(l/4)の割合でずらした新たな
画素を設定するようにしたが、本発明はこれに限
ることなく、例えば第10図に示すように、各サ
ンプリング画素に対して縦横各々三分の一(l/
3)の割合でずらした新たな画素を設定するよう
にしても良く、更に上記ずらす割合は二分の一
(l/2)未満であれば任意のもので良い。 ここで第10図に示すように三分の一の割合で
ずらした場合、新たに設定される画素を四分割し
て得られる小画素A,B,C,Dの濃度は、小画
素B,C,Dについては、各小画素が属する元の
サンプリング画素の割合を考慮した重み計算を行
なうことによつて求め、小画素Aについては、こ
の小画素Aが属するサンプリング画素内における
かたよりを考慮して定めるようにすれば良い。 [発明の効果] 以上、説明してきたように、本発明によれば、
縦横複数に分割した各ブロツクにおける画素ごと
に多値レベルの濃度を検出し、該画素上の画像情
報を原画素として4倍の密度の画像情報に変換す
るに際し、前記画素上に原画素幅に対して縦横
各々2分の1まで位置を移動できるようにした新
たな画素を設定するとともに当該新画素を4分割
した小画素で形成し、補正画素濃度の算出には、
複数の原画素に跨がつて位置する小画素の濃度に
ついては、当該小画素が跨がつた複数の原画素の
濃度からの相加平均で算出した濃度を定め、ま
た、前記原画素の一画素内に位置する小画素の濃
度については、当該原画素および隣接する原画素
を含む領域内で、当該原画素との濃度差を算出し
てそれぞれの方向への濃度勾配を算出し、小画素
を挟む原画素の濃度勾配条件に応じて補正値算出
式を用意したため、原画に描かれた細線に対して
低画素密度で濃度を検出した画像情報から周辺画
素の濃度およびその濃度勾配を判断して方向依存
した濃度差で補正し、当該細線をより忠実に再現
した高画素密度の画像情報が得られるようにな
り、さらに、画素お拡大しても高い解像度を持つ
た画像が表現できて、処理速度を低下させること
なく原画をより忠実に再現できる画像処理装置が
実現できるようになる。
[Table] 22a is an arithmetic circuit, and this arithmetic circuit 22a
is designed to input 4-bit data a22 and a32 and output (a22+a32)/2, and 22b is also an arithmetic circuit, and this arithmetic circuit 22b inputs 4-bit data a22 and a23 and outputs (a22+a32)/2. It is designed to output a22+a23)/2. Furthermore, 23 is also an arithmetic circuit, and this arithmetic circuit 23 is designed to input 4-bit data a22, a23, a32, and a33 and output (a22+a23+a32+a33)/4. 24 is a ROM with 16 bits of input and 4 bits of output;
4 is the 12-bit data (6 bits each) from the ROM 21a and ROM 21b and the video memory 10.
The 4-bit data of a22 above is input, and the 4-bit data based on the algorithm shown in FIG. 4 is output. 25a, 25
b, 25c, and 25d are registers, respectively;
The register 25a stores data from the ROM 24, the register 25b stores data from the arithmetic circuit 22a, the register 25c stores data from the arithmetic circuit 22b, and the register 25d stores data from the arithmetic circuit 23 in synchronization with the same clock C. It's getting old. 26 is a switching circuit for two systems, and this switching circuit 26 switches the output from the register 25a or the register 25c for one system.
Regarding the other system, the output from the register 25b or the register 25d is switched in synchronization with the switching signal S, each having a cycle that is one-half of the main scanning direction clock. 27a is a switching circuit;
28a and 28b are line buffers having a capacity for one line of a newly created video signal, and the switching circuit 27 transfers data from the one system of the switching circuit 26 to the line buffer 28a.
Alternatively, the signals are distributed in synchronization with the sub-scanning direction clock 28b. Further, 27b is a switching circuit that operates in synchronization with the clock in the sub-scanning direction like the switching circuit 27a, and 28c and 28d are line buffers having the same capacity as the line buffers 28a and 28b, which are connected to the other system of the switching circuit 26. The switching circuit 27b distributes the data from the line buffer 28c or 28d to the line buffer 28c or 28d. 29 is line buffer 28a, 2
This is a write circuit that sequentially writes data output from 8b, 28c, and 28d into a video memory (an area different from the video memory 10) as new image data. Next, the operation will be explained. Video memory 10 and shift register 11,1
With density data stored in register 2, new sampling data is written to video memory 10 each time the main scanning direction clock is output, and data is transferred from ROM 24 in image processing device 20 to register 2.
5a, data is stored from the arithmetic circuit 22a to the register 25b, from the arithmetic circuit 22b to the register 25c, and from the arithmetic circuit 23 to the register 25d. At this time, the data stored in the register 25a corresponds to the density of the small pixel A in FIG. Store the corresponding density data. Then, by the operation of the switching circuit 26 in synchronization with the switching signal S, the data of the register 25a or the register 25c is output alternately from one system of the switching circuit 26, and these data are sequentially sent to the line buffer 28a via the switching circuit 27a. It will be stored. That is, the data stored in the line buffer 28a via the switching circuit 27a becomes the density data corresponding to the small pixel A or the small pixel C in FIG. 3, as shown in FIG. In addition, the switching circuit 26
register 25b or register 2 from the other system of
5d data are output alternately, and these data are sequentially transferred to the line buffer 2 via the switching circuit 27b.
It will be stored in 8c. That is, the switching circuit 27b
The data stored in the line buffer 28c via the line buffer 28c becomes density data corresponding to the small pixel B or the small pixel D (see FIG. 7). When scanning for one line is completed as described above, the line buffer 28a
The density data corresponding to one line of small pixels A and C is stored in the line buffer 28c, and the density data corresponding to one line of small pixels A and C is stored in the line buffer 28c.
Density data corresponding to small pixels B and D for a line is stored. Then, the switching circuits 27a and 27b are switched in synchronization with the clock in the sub-scanning direction, which is output at the start of scanning of the next line, and the image data corresponding to the small pixels A and C similar to the above is transmitted via the switching circuit 27a. line battle 28b
The density data corresponding to the small pixels B and D is stored in the line buffer 28d via the switching circuit 27b. At this time, as shown in FIG. 8, when the density data is stored in the line buffers 28b and 28d, the density data stored in the line buffers 28a and 28C during the previous main scan are sequentially read out, and these densities are Data is written into the video memory via the write circuit 29 in a predetermined arrangement. When the above operation is repeated until the scanning of the original image is completed, the density data of each small pixel A, B, C, and D is developed on the video memory, and image information with four times the density is generated. can get. If you perform image processing as described above,
The line drawn on the original image is very thin, and the density distribution of the thin line falls within the width of one pixel as shown in Figure 9a (corresponding to Figure 2a), and each density of the detected sampling pixel is However, as shown in FIG. 9b, for example, when a11=a21−a31=0 a12=a22=a32=10 a13=a23=a33=0, each sampling pixel a12,
The small pixels A, B, C, and D that make up the newly set pixel by shifting a22 and a32 are all A=3=(a22)−a21−a23=30 B=(a22+a32)/2=10 C= (a22+a23)/2=5 D=(a22+a32+a33+a23)/4=5 Therefore, the density distribution after the conversion is as shown in Figure 9c, from the original sampling pixel a12,
Density 15 protruding in the horizontal center of a22 and a32
(In this embodiment, the converted density is represented by 4 bits, so the density higher than 15 is limited to 15) and small pixels of density 10 are arranged alternately. As a result, in an image that has been binarized (by appropriately determining the threshold level) based on this converted image information, the thin line can be reproduced with half the width (see Figure 9 d). ). In addition, in this embodiment, the density of the small pixel located at the center of the original sampling pixel is determined based on the density of the sampling pixel and each sampling pixel adjacent to this in the upper, lower, left and right directions. For example, A=9(a22)-(a11+a12+a13+a21+a23+a31+a32+a33) may be determined by further considering the density of sampling pixels adjacent in the diagonal direction. Furthermore, in this embodiment, the density enhancement of the small pixel A located at the center of the original sampling pixel is determined by considering the density distribution in the vertical and horizontal directions of the sampling pixel. It may be determined by considering the density distribution, and furthermore, the small pixel A may not be emphasized and A=a22 may always be set. Furthermore, in this embodiment, a new pixel is set on a predetermined sampling pixel plane, with each sampling pixel shifted by a quarter (l/4) in the vertical and horizontal directions. The invention is not limited to this, but for example, as shown in FIG.
A new pixel shifted at the ratio of 3) may be set, and the shift ratio may be any value as long as it is less than one-half (l/2). Here, when shifting by one-third as shown in FIG. 10, the density of small pixels A, B, C, and D obtained by dividing the newly set pixel into four will be C and D are determined by performing weight calculations that take into account the ratio of the original sampling pixels to which each small pixel belongs, and for small pixel A, the bias within the sampling pixel to which this small pixel A belongs is taken into consideration. It is better to set it as follows. [Effects of the Invention] As explained above, according to the present invention,
When detecting the multilevel density for each pixel in each block divided into multiple vertical and horizontal blocks, and converting the image information on the pixel into image information with four times the density as the original pixel, In contrast, a new pixel whose position can be moved by half in both the vertical and horizontal directions is set, and the new pixel is formed by four subpixels, and the corrected pixel density is calculated using the following steps:
Regarding the density of a small pixel located across multiple original pixels, the density calculated by the arithmetic average of the densities of the multiple original pixels that the relevant small pixel straddles is determined, and the density of one pixel of the original pixel is determined. Regarding the density of a small pixel located within the area, the density difference with the original pixel is calculated within the area including the original pixel and the adjacent original pixel, the density gradient in each direction is calculated, and the small pixel is Since a correction value calculation formula has been prepared according to the density gradient conditions of the original pixels to be sandwiched, the density of surrounding pixels and its density gradient can be determined from image information that detects density at low pixel density for thin lines drawn on the original image. By correcting the direction-dependent density difference, it is now possible to obtain high pixel density image information that more faithfully reproduces the thin line.Furthermore, even when the pixels are enlarged, images with high resolution can be expressed, making it easier to process. It becomes possible to realize an image processing device that can more faithfully reproduce the original image without reducing speed.

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

第1図は従来の画像処理方法における画素区分
の状態を示す説明図、第2図は従来の方法により
原画に描かれた細線を処理した場合の説明図、第
3図は本発明に係る画像処理方法における画素区
分の状態の一例を示す説明図、第4図は第3図に
おける小画素Aの濃度を決めるアルゴリズムを示
す説明図、第5図は本発明に係る画像処理方法に
基づいて作動する装置の基本構成を示すブロツク
図、第6図は第5図における画像処理回路の詳細
を示すブロツク図、第7図は第6図における切替
え回路27a,27bの出力状態を示すタイミン
グチヤート、第8図は第6図におけるラインバツ
フア28a,28b,28c、28dの作動状態
を示すタイミングチヤート、第9図は本発明に係
る画像処理方法により原画に描かれた細線を処理
した場合の状態の一例を示す説明図、第10図は
本発明に係る画像処理方法他の実施例における画
素区分を示す説明図である。 21a,21b,24……ROM、22a,2
2b,23……演算回路、25a,25b,25
c,25d……レジスタ、26a,27a,27
b……切替え回路、28a,28b,28c,2
8d……ラインバツフア、29……書き込み回
路。
FIG. 1 is an explanatory diagram showing the state of pixel division in a conventional image processing method, FIG. 2 is an explanatory diagram when thin lines drawn on an original image are processed by the conventional method, and FIG. 3 is an image according to the present invention. An explanatory diagram showing an example of the state of pixel division in the processing method, FIG. 4 is an explanatory diagram showing an algorithm for determining the density of the small pixel A in FIG. 3, and FIG. 5 is an explanatory diagram showing an algorithm for determining the density of the small pixel A in FIG. 6 is a block diagram showing the details of the image processing circuit in FIG. 5. FIG. 7 is a timing chart showing the output states of the switching circuits 27a and 27b in FIG. FIG. 8 is a timing chart showing the operating states of the line buffers 28a, 28b, 28c, and 28d in FIG. 6, and FIG. 9 shows an example of the state when thin lines drawn on an original image are processed by the image processing method according to the present invention. FIG. 10 is an explanatory diagram showing pixel divisions in another embodiment of the image processing method according to the present invention. 21a, 21b, 24...ROM, 22a, 2
2b, 23... Arithmetic circuit, 25a, 25b, 25
c, 25d...Register, 26a, 27a, 27
b...Switching circuit, 28a, 28b, 28c, 2
8d...Line buffer, 29...Writing circuit.

Claims (1)

【特許請求の範囲】 1 縦横複数に分割した各ブロツクにおける画素
ごとに多値レベルの濃度を検出し、該画素上の画
像情報を原画素として4倍の密度の画像情報に変
換するに際し、 前記原画素上に原画素幅に対して縦横各々2分
の1まで位置を移動できるようにした新たな画素
を設定するとともに当該新画素を4分割した小画
素で形成し、 複数の前記原画素に跨がつて位置する前記小
画素の濃度を、当該小画素が跨がつた複数原画
素の各濃度からの相加平均で算出した濃度で定
め、 前記原画素の一画素内に位置する前記小画素
の濃度については、当該原画素および隣接する
原画素を含む領域内で、当該原画素との濃度差
を算出してそれぞれの方向への濃度勾配を算出
し、 a: いずれの方向への濃度勾配も単調な増加
または減少の時は、当該原画素の濃度で、ま
たは b: 前記濃度勾配が一方の方向で極値を有し
かつ他方で単調な増加または減少の時には、
当該原画素の濃度から極値を有する方向のそ
れぞれの濃度差で補正した濃度で、または c: 前記濃度勾配が一方の方向で凸値かつ他
方の凹値を有する時には、該一方の方向との
濃度差で補正した濃度で、または d: 前記濃度勾配がいずれの方向でも凸値を
有する時には、いずれかの方向ごとの濃度差
で補正したそれぞれの濃度を比較して大きい
方の濃度で、または e: 前記濃度勾配がいずれの方向でも凹値を
有する時には、いずれかの方向ごとの濃度差
で補正したそれぞれの濃度を比較して小さい
方の濃度で、 それぞれ定めた変換画像情報を用いるようにした
ことを特徴とする画像処理方法。
[Scope of Claims] 1. When detecting the multi-level density of each pixel in each block divided into a plurality of vertical and horizontal blocks, and converting the image information on the pixel into image information with four times the density as the original pixel, A new pixel is set on the original pixel whose position can be moved up to 1/2 of the width of the original pixel in both the vertical and horizontal directions, and the new pixel is formed by four subpixels, and the pixel is divided into four. The density of the small pixel located astride is determined by the density calculated by the arithmetic average of the densities of the plurality of original pixels that the small pixel straddles, and the density of the small pixel located within one pixel of the original pixel is determined. Regarding the density, calculate the density difference with the original pixel in the area including the original pixel and the adjacent original pixel, and calculate the density gradient in each direction, a: density gradient in either direction. when the concentration gradient is monotonically increasing or decreasing, or b: when the concentration gradient has an extreme value in one direction and monotonically increasing or decreasing in the other direction,
or c: When the density gradient has a convex value in one direction and a concave value in the other direction, At the density corrected by the density difference, or d: When the density gradient has a convex value in any direction, the density corrected by the density difference in each direction is compared and the density is corrected by the larger density, or e: When the density gradient has a concave value in either direction, the respective densities corrected by the density difference in each direction are compared, and the determined converted image information is used for the smaller density. An image processing method characterized by:
JP59037880A 1984-02-29 1984-02-29 Picture processing method Granted JPS60182269A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59037880A JPS60182269A (en) 1984-02-29 1984-02-29 Picture processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59037880A JPS60182269A (en) 1984-02-29 1984-02-29 Picture processing method

Publications (2)

Publication Number Publication Date
JPS60182269A JPS60182269A (en) 1985-09-17
JPH0425749B2 true JPH0425749B2 (en) 1992-05-01

Family

ID=12509847

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59037880A Granted JPS60182269A (en) 1984-02-29 1984-02-29 Picture processing method

Country Status (1)

Country Link
JP (1) JPS60182269A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4907152A (en) * 1986-09-25 1990-03-06 The Boeing Company Method of improving CT resolution

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57161780A (en) * 1981-03-30 1982-10-05 Tokyo Shibaura Electric Co Picture display unit

Also Published As

Publication number Publication date
JPS60182269A (en) 1985-09-17

Similar Documents

Publication Publication Date Title
JPS6123468A (en) Picture processor
US4710823A (en) Density conversion in image reproduction
JPH0425749B2 (en)
KR100490244B1 (en) Error diffusion method using variable threshold value in image processing system
JPS61224661A (en) Image reading device
JPS6120034B2 (en)
JPS6020680A (en) Image processing device
JPS62107572A (en) Image processing device
JPS61105973A (en) Picture signal processing method
JPS61157073A (en) Halftone image reproducing device
JPS646587B2 (en)
JP2726041B2 (en) Character data superimposition device
JPS6143078A (en) Processing system of original picture
JPS60145767A (en) Image recording method
JP3315705B2 (en) Image processing device
JPS63174186A (en) Image processing method
JPH0575864A (en) Facsimile reading method
JPH0223067B2 (en)
JPS6364947B2 (en)
JPS6028186B2 (en) Image prediction restoration method
JPH0670164A (en) Image processing device
JPH0195668A (en) Picture input device
JPS6235301B2 (en)
JPS6117432B2 (en)
JPS62122485A (en) Image information transmission system