JPS6288075A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPS6288075A
JPS6288075A JP60227822A JP22782285A JPS6288075A JP S6288075 A JPS6288075 A JP S6288075A JP 60227822 A JP60227822 A JP 60227822A JP 22782285 A JP22782285 A JP 22782285A JP S6288075 A JPS6288075 A JP S6288075A
Authority
JP
Japan
Prior art keywords
density
pixel
string
structure information
picture element
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
JP60227822A
Other languages
Japanese (ja)
Inventor
Nobuo Miyamoto
宮本 信夫
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP60227822A priority Critical patent/JPS6288075A/en
Publication of JPS6288075A publication Critical patent/JPS6288075A/en
Pending legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To simply attain a high speed process by outputting a code regarding an observation direction assigned by a density string encoding part, and outputting the variable density structure information of a remarked picture element from a variable density structure information output part setting the code string as an input. CONSTITUTION:A multivalue density digital signal from a scanning and photoelectric transducing part 1, after it is stored temporarily at a multi-gradation picture storage part 2, is given to a density string output part 3. The density string output part 3 reads out the density signal of each picture element within a picture element area of 3X3 centering an optical remarked picture, and outputs picture element density strings regarding four observation directions. Density string encoding parts 4a-4d input the picture element density string classified at every observation direction obtained respectively from the density string output part 3, and output a density state after encoding. These four codes classified by every direction are given to a variable density structure information output part 5 and the density structure information of the remarked picture element is outputted.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、文字2図形、写真およびそれらの混在する
画像より、予め指定された濃淡構造に該当する画素を検
出する画像処理装置に関するもので−ある。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an image processing device that detects pixels corresponding to a pre-designated shading structure from characters, two figures, photographs, and images containing a mixture thereof. -Yes.

〔従来の技術〕[Conventional technology]

従来、多階調ディジタル画像から、濃度が周囲の画素に
比べ著しく高い画素や著しく低い画素。
Conventionally, pixels from multi-tone digital images whose density is significantly higher or lower than surrounding pixels.

特定の方向に濃度が急激に変化する図形エツジ部の画素
、e度の尾根線とに位置する画素、谷の部分に位置する
画素等を検出する場合、 (i)微分演算による方法、
(ii)テンプレートマツチングによる方法が用いられ
てきた。
When detecting pixels at the edge of a figure whose density changes rapidly in a specific direction, pixels located at e-degree ridge lines, pixels located at valleys, etc., (i) a method using differential calculation;
(ii) A method based on template matching has been used.

(i)は、1次微分(Gradient)または2次微
分(Laplacian )に相当する演算、例えば第
8図の例では、A−Iは各部の位置とともに濃度を示し
ており、中央の画素Eが今注目画素となっている。1次
微分として、 (A+B+C−G−H−1)2+  (A+D+G−C
−F−I)2または。
(i) is a calculation equivalent to a first-order differential (Gradient) or a second-order differential (Laplacian). For example, in the example of FIG. 8, A-I indicates the density along with the position of each part, and the central pixel E is It is currently a pixel of interest. As the first derivative, (A+B+C-G-H-1)2+ (A+D+G-C
-F-I)2 or.

l A+B十〇−G−H−I  1 + l A+D+
G−Cコード−11(方向を考慮する場合は、各項ごと
に演算する) 2次微分として、 E−(A+B+C−F+I+H+G+D)  /  8
′”tを行い、計算値の大小により所望の画素を検出す
るものである。
l A+B 〇-G-H-I 1 + l A+D+
GC code -11 (When considering direction, calculate each term separately) As a second derivative, E-(A+B+C-F+I+H+G+D) / 8
``t'' and detects a desired pixel based on the magnitude of the calculated value.

(ii)は、検出したい構造の標準マスク(テンプし・
−1・)を用いて画像との相関を採ることにより、所望
の画素を検出するものである。第9図(a)、(b)に
テンプレートの例を示す。
(ii) is a standard mask (temporary mask) of the structure you want to detect.
-1.) to detect a desired pixel by taking a correlation with the image. Examples of templates are shown in FIGS. 9(a) and 9(b).

第9[ff1(a)は角の検出用、第9図(b)は工・
、ジの検出用のテンプレートである。これを用いて例え
ば36X36画素中の3X3画素と順次比較を行い、 
致が得られたところが角あるいはエンジということにな
る。この方法は2個画像に対1〜では容易に適用可能で
あるが、多階調画像に適用する場合には、適当なしきい
値での2値化、またはテンプレート内の全画素のモ均濃
度と各画素の濃度との比較演算等を要する。
9 [ff1(a) is for corner detection, FIG. 9(b) is for corner detection.
, is a template for the detection of di. Using this, for example, sequentially compare 3×3 pixels in 36×36 pixels,
The place where the sum is obtained is called a corner or an edge. This method can be easily applied to two images, but when applied to a multi-tone image, it is necessary to binarize it with an appropriate threshold or to calculate the average density of all pixels in the template. It is necessary to perform calculations to compare the density of each pixel and the density of each pixel.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

これらの方法は画像処理の分野では広く用いられている
有効な方法ではあるが、いずれの方法も画素間の濃度差
演算や大小比較を関する。そのため非常に多くの画素か
ら構成される画像の場合や、きわめて高速な処理が要求
される場合に対しては、専用回路の使用や並列演算のL
法の導入等が必要となり、処理の同定化や回路の複雑化
という問題点があった。
Although these methods are widely used and effective in the field of image processing, all of them involve calculation of density differences between pixels and size comparisons. Therefore, in the case of images consisting of a large number of pixels, or in cases where extremely high-speed processing is required, it is necessary to use dedicated circuits or parallel calculations.
This necessitated the introduction of a new method, which caused problems such as identification of processing and complication of circuits.

この発明は、前述のような問題点を解決した高速かつ簡
便、柔軟な画像処理装置を提供することをl」的とする
An object of the present invention is to provide a fast, simple, and flexible image processing device that solves the above-mentioned problems.

〔問題点を解決するためのL段〕[L stage for solving problems]

この発明にかかる画像処理装置は、指定された観311
方向の画素濃度列を入力として方向別のコードを出力す
る濃度列コード化部と、この濃度列コード化部により得
られた1方向に関するコード、または複数の方向に関す
るコードを組合せたコード列を入力として、注目画素の
濃淡構造情報を出力する濃淡構造情報出力部とからなる
3〔作用〕 この発明においては、濃度列コード化部より指定された
観測方向に関する1方向または複数の方向に関するコー
ドが出力され、これらのコード列を入力として濃淡構造
情報出力部から注目画素の濃淡構造情報が出力される。
The image processing device according to the present invention has a specified view 311.
A density string encoding unit that receives a direction pixel density string as input and outputs a code for each direction, and inputs a code related to one direction obtained by this density string coding unit, or a code string that is a combination of codes related to a plurality of directions. and a grayscale structure information output unit that outputs grayscale structure information of the pixel of interest. In the present invention, the density sequence coding unit outputs codes related to one or more directions related to the designated observation direction. With these code strings as input, the shading structure information of the pixel of interest is output from the shading structure information output section.

〔実施例〕〔Example〕

第1図はこの発明の一実施例の構成を示すブロフク図で
あって、16階調画像において注目画素を中心とする3
X3画素領域を第2図に示すように水ゼ、垂直、右45
°、左45°c7)a、b。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
As shown in Figure 2, the X3 pixel area is horizontal, vertical, right 45
°, left 45°c7) a, b.

c、dの4方向から観測して注目画素のC淡構造情報を
出力する場合の実施例である。図中、1は原画像を走査
し、画素中位の多値濃度ディジタル信号に変換する走査
・光電変換部、2は前記走査・光電変換部1より得られ
るディジタル信号を・時記憶する多階調画像記憶部、3
は前記多階調両像記憶部2より、任意の注目画素を中心
とする3X3画素領域内の各画素の濃度信号を読み出)
、」二記4観測方向に関する画素濃度列を出力する濃度
列出力部、4a〜4dはそれぞれ前記濃度列出力部3よ
り得られる観測方向別画1度列を入力として、その濃度
変化状態をコード化して出力するct濃度列コード化部
ある。5はim記濃度列コード化部4a〜4dより出力
される4個の方向別コードを入力として、注目画素の濃
度構造情報を出力する濃淡構造情報出力部である。
This is an example in which C light structure information of a pixel of interest is output by observing it from four directions c and d. In the figure, 1 is a scanning/photoelectric conversion unit that scans an original image and converts it into a multi-level density digital signal at the middle level of the pixel, and 2 is a multilevel unit that stores the digital signal obtained from the scanning/photoelectric conversion unit 1. tone image storage section, 3
reads out the density signal of each pixel in a 3×3 pixel area centered on an arbitrary pixel of interest from the multi-gradation dual image storage unit 2)
, 2.4 Density string output units 4a to 4d each output a pixel density string related to the observation direction, each inputting a 1 degree sequence of pixels for each observation direction obtained from the density string output unit 3, and code the density change state. There is a CT density sequence coding section that converts the data into 1D image data and outputs it. Reference numeral 5 denotes a gray scale structure information output unit which receives the four directional codes outputted from the density sequence encoding units 4a to 4d and outputs the gray scale structure information of the pixel of interest.

濃度列出力部3は、例えば第3図に示すように9個の1
画素分シフトレジスタ311〜333、および2個の1
ライン分シフトレジスタ34゜35より容易に構成する
ことができる。すなわち、例えば36X36画素中の3
X3の・行[1の3画素に対して1画素分シフトレジス
タ311〜313から出力された後、1ラインつまり3
66画素が1ライ2/分シフトレジスタ34によって遅
延された後、1画素分シフトレジスタ321〜323か
ら出力がなされる。その後、1917分シフトレジスタ
35で1ライン分の遅延がなされ、1画素分シフトレジ
スタ331〜333から出力が出る。
For example, the density column output section 3 outputs nine 1's as shown in FIG.
Pixel shift registers 311 to 333 and two 1
It can be constructed more easily than the line shift registers 34 and 35. That is, for example, 3 out of 36x36 pixels
After one pixel is output from the shift registers 311 to 313 for the three pixels in row [1 of
After the 66 pixels are delayed by the 1 line 2/minute shift register 34, the output is made from the shift registers 321 to 323 by one pixel. Thereafter, a delay of one line is performed by the shift register 35 for 1917 minutes, and outputs are output from the shift registers 331 to 333 for one pixel.

濃度列コード化部4a〜4dは、各々例復ば第4図に示
すようにレジスタ41とROM42により構成される。
Each of the density column encoding units 4a to 4d is composed of a register 41 and a ROM 42, as shown in FIG. 4, for example.

レジスタ41は、12ビツト構成で、観測方向上の3画
素の濃度値を4ビツトずつ格納する。ROM42は、3
画素の濃度値のすべての組合せに対するコードを格納し
、レジスタ41に格納された濃度値列をアドレスとして
コードを出力する。
The register 41 has a 12-bit configuration and stores the density values of three pixels in the observation direction in four bits each. ROM42 is 3
Codes for all combinations of pixel density values are stored, and the codes are output using the density value string stored in the register 41 as an address.

第5図に3ビツトで表現した場合のコードの一例を示す
。この図で、温度変化は矢印で示され、→は変化のない
ものを示し、また/、\は濃度変化が増加したり、減少
したりすることを示している。これらの変化は8通りで
表わされ、コードとしては’ o o o ”〜″11
1”が割り当てられる。なお、説明の便宜上、これらの
コードに0〜7のコード番号を付しである。
FIG. 5 shows an example of a code expressed in 3 bits. In this figure, temperature changes are indicated by arrows, → indicates no change, and / and \ indicate increases or decreases in concentration changes. These changes are expressed in 8 ways, and the codes are ' o o o ''~''11
1'' is assigned. For convenience of explanation, code numbers 0 to 7 are assigned to these codes.

濃淡構造情報出力部5は、例えば第6図に示すようにレ
ジスタ51とROM52により構成される。レジスタ5
1は、観測方向別の4個・のコードを格納する。第5図
に示した3ビツトのコード化方法を採用する場合には、
レジスタ51は12ビツト構成となる。ROM52は、
観測方向別の4個のコードのすべての組合せについての
濃淡構造情報が予め格納してあり、レジスタ51に格納
されたコード列をアドレスとして、濃淡構造情報を出力
する。
The gradation structure information output section 5 is composed of a register 51 and a ROM 52, for example, as shown in FIG. register 5
1 stores four codes for each observation direction. When adopting the 3-bit encoding method shown in Figure 5,
Register 51 has a 12-bit configuration. ROM52 is
The shading structure information for all combinations of four codes for each observation direction is stored in advance, and the shading structure information is output using the code string stored in the register 51 as an address.

第7図に観測方向の説明図と、尾根線とに位置する画素
、および谷に位置する画素を検出する場合のROM52
の内容の一例を示す。第7図で、ROM52の左側に示
したa−dは第2図に示す観測方向であり、そのFの数
字は第5図のコード番号のどれかを示している(この例
では0,1゜2のみ使用している)。そして“’abc
d″つまり8進数×4でアドレスが構成さ□れ、そのア
ドレスに対してROM52に濃淡構造情報、例えば第7
図では’01”を尾根線の画素、”10”を谷部の画素
というように記憶がなされている。第7図の例では、“
’ a b c d ”で示される8ケ所以外は全て°
“OO”である。
FIG. 7 shows an explanatory diagram of the observation direction and the ROM 52 for detecting pixels located on ridge lines and pixels located on valleys.
An example of the content is shown below. In FIG. 7, a to d shown on the left side of the ROM 52 are the observation directions shown in FIG. 2, and the number F indicates one of the code numbers in FIG. 5 (in this example, 0, 1 Only ゜2 is used). and “'abc
d'', that is, the address is composed of octal numbers x 4, and the ROM 52 stores grayscale structure information, for example, the 7th
In the figure, '01' is stored as a ridge line pixel, '10' as a valley pixel, and so on. In the example in Figure 7, '
All except the 8 locations indicated by 'a b c d' °
It is “OO”.

この実施例に示す構成を用いることにより、3×3画素
領域を水平、垂直、右45°、左45゜のa、b、c、
dの4方向から観測して、尾根線りに位置する画素、谷
に位置する画素等を検出する処理は、濃度差演算、大小
比較等を行うことなく実行することができ、処理の高速
化が実現できる。またROM42およびROM52の内
容を変更することにより、E記4観測方向で決定し得る
任意の濃淡構造の検出が可能であり、単に高速であるだ
けではなく、柔軟な構成を実現している。
By using the configuration shown in this example, a 3×3 pixel area can be divided into horizontal, vertical, 45° right, 45° left, a, b, c,
The process of observing from the four directions of d and detecting pixels located on ridge lines, pixels located in valleys, etc. can be performed without performing concentration difference calculations, size comparisons, etc., resulting in faster processing. can be realized. Furthermore, by changing the contents of the ROM 42 and ROM 52, it is possible to detect any shading structure that can be determined in the E-4 observation direction, realizing not only high speed but also a flexible configuration.

〔発明の効果〕 以上説明したように、この発明は指定された観測方向の
画素濃度列を入力として方向別のコードを出力する濃度
列コード化部と、この濃度列コード化部により得られた
1方向に関するコードまたは複数の方向に関するコード
を組合せたコード列を入力として注目画素の濃淡構造情
報を出力する濃淡構造情報出力部とを設けたので、画素
間の濃度差演算や大小比較を行うことなく、1方向また
は複数方向の画素濃度列より直接注目画素の濃淡構造情
報を得ることができ、簡便に高速な処理が実現できると
いう利点がある。また濃度列のコード化方法やコード列
の濃淡構造情報への変換方法の変更が容易であるため、
用途に応じた柔軟な処理が可能であるという利点がある
[Effects of the Invention] As explained above, the present invention includes a density sequence coding unit that receives a pixel density sequence in a specified observation direction and outputs a direction-specific code, and a density sequence coding unit that outputs a code for each direction. A gradation structure information output unit is provided which receives a code string related to one direction or a code string that is a combination of codes related to a plurality of directions as input and outputs gradation structure information of the pixel of interest, so that it is possible to calculate the density difference between pixels and to perform size comparisons. There is an advantage that the shading structure information of the pixel of interest can be directly obtained from the pixel density array in one direction or in multiple directions, and that high-speed processing can be easily realized. In addition, it is easy to change the encoding method of the density string and the method of converting the code string to shading structure information.
It has the advantage of being able to be processed flexibly depending on the application.

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

第1図はこの発明の一実施例の構成を示すブロック図、
第2図は観測方向の説明図、第3図はこの発明の実施例
における濃度列出力部の一構成例を示すブロック図、第
4図は同じく濃度列コード化部の一構成例を示すブロッ
ク図、第5図は同じくコードの一例を示す図、第6図は
同じく濃淡構造情報出力部の一構成例を示すブロック図
、:ffj7図は同じく尾根線上に位置する画素および
谷に位置する画素を検出する場合の濃淡構造情報出力部
のROMの一例を示す図、第8図は従来例の微分演算を
説明するための3×3画素領域の図、第9図(a)、(
b)は従来のテンプレートの例を示す図である。 図中、1は走査・光電変換部、2は多階調画像記憶部、
3は濃度列出力部、4a〜4dは濃度列コード化部、5
は濃淡構造情報出力部である。 第1図 第2図 第5図 第6図 第7図 第8図   第9図
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
FIG. 2 is an explanatory diagram of the observation direction, FIG. 3 is a block diagram showing an example of the configuration of the concentration column output section in the embodiment of the present invention, and FIG. 4 is a block diagram showing an example of the configuration of the concentration column encoding section. Figure 5 is a diagram showing an example of the code, Figure 6 is a block diagram showing an example of the configuration of the gradation structure information output section, and Figure 7 is a diagram showing pixels located on the ridge line and pixels located in the valley. FIG. 8 is a diagram of a 3×3 pixel area for explaining the conventional differential operation; FIG. 9(a), (
b) is a diagram showing an example of a conventional template. In the figure, 1 is a scanning/photoelectric conversion unit, 2 is a multi-gradation image storage unit,
3 is a density string output section, 4a to 4d are density string coding sections, 5
is a shading structure information output unit. Figure 1 Figure 2 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9

Claims (1)

【特許請求の範囲】[Claims] 原画像を走査し、画素単位の多値濃度ディジタル信号に
変換する走査・光電変換部と、変換手段により得られる
ディジタル信号を一時記憶する多階調画像記憶部と、こ
の多階調画像記憶部より任意の注目画素およびその周辺
画素領域内の各画素の濃度信号を読み出して注目画素の
濃淡構造を決定する画像処理装置において、指定された
観測方向の画素濃度列を入力として方向別のコードを出
力する濃度列コード化部と、この濃度列コード化部によ
り得られた1方向に関するコード,または複数の方向に
関するコードを組合せたコード列を入力として、前記注
目画素の濃淡構造情報を出力する濃淡構造情報出力部と
を設けたことを特徴とする画像処理装置。
A scanning/photoelectric conversion unit that scans an original image and converts it into a multi-level density digital signal for each pixel, a multi-gradation image storage unit that temporarily stores the digital signal obtained by the conversion means, and this multi-gradation image storage unit. In an image processing device that reads out the density signals of an arbitrary pixel of interest and each pixel in its surrounding pixel area to determine the density structure of the pixel of interest, a direction-specific code is generated by inputting a pixel density string in a specified observation direction. A density sequence encoding unit to output, and a gradation unit that outputs shading structure information of the pixel of interest by inputting a code related to one direction obtained by this density sequence coding unit, or a code sequence obtained by combining codes related to a plurality of directions. An image processing device comprising: a structure information output section.
JP60227822A 1985-10-15 1985-10-15 Picture processor Pending JPS6288075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60227822A JPS6288075A (en) 1985-10-15 1985-10-15 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60227822A JPS6288075A (en) 1985-10-15 1985-10-15 Picture processor

Publications (1)

Publication Number Publication Date
JPS6288075A true JPS6288075A (en) 1987-04-22

Family

ID=16866916

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60227822A Pending JPS6288075A (en) 1985-10-15 1985-10-15 Picture processor

Country Status (1)

Country Link
JP (1) JPS6288075A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58222383A (en) * 1982-06-18 1983-12-24 Fujitsu Ltd Picture processing system
JPS59125474A (en) * 1982-12-29 1984-07-19 Fujitsu Ltd Picture processing method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58222383A (en) * 1982-06-18 1983-12-24 Fujitsu Ltd Picture processing system
JPS59125474A (en) * 1982-12-29 1984-07-19 Fujitsu Ltd Picture processing method

Similar Documents

Publication Publication Date Title
US4896364A (en) Method of detecting boundary structures in a video signal
JPH029270A (en) Picture processing device
CN109902751B (en) Dial digital character recognition method integrating convolution neural network and half-word template matching
JPS6288075A (en) Picture processor
JPS6359272A (en) Picture processor
JPH0478969A (en) Binarizing method for picture
JP3598196B2 (en) Periodic pattern defect inspection equipment
JP2853140B2 (en) Image area identification device
JPS6180964A (en) Picture signal processing method
JPS6393080A (en) Binarization method for image
KR100490244B1 (en) Error diffusion method using variable threshold value in image processing system
JPS6059484A (en) Extracting method for contour of picture information
JPH0736607B2 (en) Image signal processing method
JPH07271907A (en) Binarizing device for analog image
JP2755506B2 (en) Image forming device
JPS59135573A (en) Identifying system of photo region
JPS6180960A (en) Picture signal processing method
JPH04184576A (en) Picture processor
JPS6143078A (en) Processing system of original picture
JPH05205046A (en) Method and device for binalization of image
JPH0433176A (en) Method and device for image processing
JPH1065915A (en) Multi-valued image binarization method
JPH0671308B2 (en) Image signal processing method
JPH0561677B2 (en)
JPH0474283A (en) Method and device for picture processing