JP2798541B2 - Image data processing device - Google Patents

Image data processing device

Info

Publication number
JP2798541B2
JP2798541B2 JP4015779A JP1577992A JP2798541B2 JP 2798541 B2 JP2798541 B2 JP 2798541B2 JP 4015779 A JP4015779 A JP 4015779A JP 1577992 A JP1577992 A JP 1577992A JP 2798541 B2 JP2798541 B2 JP 2798541B2
Authority
JP
Japan
Prior art keywords
image data
binary image
density
pixel
binary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP4015779A
Other languages
Japanese (ja)
Other versions
JPH05227416A (en
Inventor
千里 島田
和幸 庭野
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4015779A priority Critical patent/JP2798541B2/en
Publication of JPH05227416A publication Critical patent/JPH05227416A/en
Application granted granted Critical
Publication of JP2798541B2 publication Critical patent/JP2798541B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は画像データ処理装置に関
し、特に濃淡画像を2値画像データで扱う画像データ処
理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data processing apparatus, and more particularly, to an image data processing apparatus which handles a grayscale image as binary image data.

【0002】[0002]

【従来の技術】従来、この種の画像データ処理装置は、
濃淡画像を構成する各画素を予め定めた1つの濃淡閾値
を基準に読取り、濃淡を示す2値画像データを生成して
いる。この様にして生成された2値画像データは縦横に
隣接する予め定めた複数個(M×N)の画素を単位に
(M×N十1)階調の濃淡画像として可視表示のために
処理される。図3は2値画像データを2×2画素を単位
に処理して5階調30〜34で表わした濃淡画像の一例
を示している。
2. Description of the Related Art Conventionally, this type of image data processing apparatus has
Each pixel constituting the grayscale image is read based on one predetermined grayscale threshold value, and binary image data indicating grayscale is generated. The binary image data generated in this manner is processed for visual display as a grayscale image of (M × N11) gradations in units of a predetermined number of (M × N) pixels vertically and horizontally adjacent to each other. Is done. FIG. 3 shows an example of a gray-scale image in which binary image data is processed in units of 2 × 2 pixels and represented by five gradations of 30 to 34.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の画像デ
ータ処理装置においては、画像の濃淡をM×N画素単位
で表わすので、画像の解像度は逆に1/(M×N)倍に
下がる。すなわち、可視表示したときの画面がそれだけ
粗くなる。
In the above-described conventional image data processing apparatus, since the density of an image is expressed in M × N pixels, the resolution of the image is reduced to 1 / (M × N) times. That is, the screen at the time of the visible display becomes coarser.

【0004】[0004]

【課題を解決するための手段】本発明の画像データ処理
装置は、複数個の画素で構成される画像の画像データ
を、階調数に応じて予め定めた複数個の閾値を基準とし
たレベル比較により複数組の2値画像データに変換する
第1の手段と;前記複数組の2値画像データを前記組ご
とに記憶する第2の手段と;前記組ごとに記憶された前
記2値画像データの同一画素位置における2進値に基づ
いて前記濃淡の度合を示す濃淡情報を前記複数個の画素
の各各について生成する第3の手段とを備えている。
According to the present invention, there is provided an image data processing apparatus for converting image data of an image composed of a plurality of pixels into a level based on a plurality of thresholds predetermined according to the number of gradations. First means for converting a plurality of sets of binary image data by comparison; second means for storing the plurality of sets of binary image data for each of the sets; and the binary image stored for each of the sets Third means for generating, for each of the plurality of pixels, grayscale information indicating the degree of the grayscale based on a binary value of the data at the same pixel position.

【0005】[0005]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0006】図1は本発明の一実施例の画像データ処理
装置の構成を示す。また、図2は同実施例における画像
データ処理の一例を示す。
FIG. 1 shows the configuration of an image data processing apparatus according to one embodiment of the present invention. FIG. 2 shows an example of image data processing in the embodiment.

【0007】この実施例においては、画像データ20を
4階調で表わし、3つの閾値I1,I2及びI3を設定
する。第1番目の閾値I1は1番濃い濃度より薄い濃度
の画素を″0″とし、1番濃い濃度の画素を″1″と判
定するための値である。第2番目の閾値I2は2番目に
濃い濃度より薄い濃度の画素を″0″とし、2番目に濃
い濃度と同じかより濃い画素を″1″と判定するための
値である。また、第3番目の閾値I3は3番目に濃い濃
度より薄い濃度の画素を″0″とし、3番目に濃い濃度
と同じかより濃い画素を″1″と判定するための値であ
る。図2では、画像データ20と3つの閾値I1,I2
及びI3との濃淡を表わすために斜線の密度の差を用い
ているが、実際の濃淡画像は濃度の差によって表わされ
る。また、図2では、画像データ20の各各の画素に対
応して画素名a,b,…,k,lを付している。
In this embodiment, image data 20 is represented by four gradations, and three thresholds I1, I2 and I3 are set. The first threshold value I1 is a value for determining a pixel having a density lower than the highest density to be "0" and determining a pixel having the highest density to be "1". The second threshold value I2 is a value for determining a pixel having a density lower than the second highest density to be “0”, and determining a pixel having the same density as or higher than the second highest density to be “1”. The third threshold value I3 is a value for determining a pixel having a density lower than the third highest density to be "0" and determining a pixel having the same or higher density as the third highest density to be "1". In FIG. 2, the image data 20 and three thresholds I1, I2
Although the density difference of the diagonal lines is used to represent the density with I3 and I3, the actual density image is represented by the density difference. Further, in FIG. 2, pixel names a, b,..., K, l are assigned to respective pixels of the image data 20.

【0008】2値画像入力部1は画像データ20を(階
調数−1)個のそれぞれ異なる閾値In(ここでは3つ
の閾値I1,I2及びI3)を基準に″1″,″0″を
判定するために読み込む。この判定により生成される2
値画像データDn(n=1,2,3)は2値画像データ
記憶部2に格納される。ここで、Dnはn番目の閾値の
濃淡レベルで読み込まれた2値画像データを表わし、閾
値の示す濃度はnの増加に比例して薄い。したがって、
2値画像入力部1は画像データ20を閾値I1を基準と
して″1″,″0″判定を行い、2値画像データD1を
生成して2値画像データ記憶部2に供給する。同様に、
2値画像入力部1は画像データ20を閾値I2及びI3
の各各を基準として″1″,″0″判定を行い、2値画
像データD2及びD3を生成して、2値画像データ記憶
部2へそれぞれ供給する。2値画像データD1は上述の
とおり閾値I1を基準とした画像データ20の各画素
の″1″,″0″判定結果を表わすので、画素a,b,
c,…,k,lに対応してそれぞれ1,0,0,…,
1,0となる。同様に、2値画像データD2は閾値I2
を基準として″1″,″0″判定結果を表わすので、画
素a,b,c,…,k,lに対応してそれぞれ1,1,
0,…,1,1となる。同様に、2値画像データD3は
画素a,b,c,…,k,lに対応してそれぞれ1,
1,1,…,1,1となる。2値画像データ記憶部2は
2値画像入力部1からのこれら2値画像データD1,D
2及びD3の各各を単位に記憶する。
The binary image input unit 1 converts the image data 20 into "1" and "0" based on (the number of gradations-1) different thresholds In (here, three thresholds I1, I2 and I3). Read to determine. 2 generated by this determination
The value image data Dn (n = 1, 2, 3) is stored in the binary image data storage unit 2. Here, Dn represents binary image data read at the n-th threshold shading level, and the density indicated by the threshold is lighter in proportion to the increase in n. Therefore,
The binary image input unit 1 makes a “1” or “0” determination on the image data 20 with reference to the threshold value I1, generates binary image data D1, and supplies the binary image data D1 to the binary image data storage unit 2. Similarly,
The binary image input unit 1 converts the image data 20 into threshold values I2 and I3.
Are determined as "1" and "0" based on each of the above, binary image data D2 and D3 are generated and supplied to the binary image data storage unit 2, respectively. As described above, since the binary image data D1 represents the determination result of “1” and “0” of each pixel of the image data 20 based on the threshold I1, the pixels a, b, and
1, 0, 0,... corresponding to c,.
1,0. Similarly, the binary image data D2 has a threshold value I2
Represents the determination results of “1” and “0” on the basis of “1”, “1” and “1” corresponding to the pixels a, b, c,.
0, ..., 1,1. Similarly, the binary image data D3 corresponds to pixels a, b, c,.
1,1,..., 1,1. The binary image data storage unit 2 stores the binary image data D1 and D2 from the binary image input unit 1.
Each of 2 and D3 is stored in units.

【0009】画素濃淡計算部3は、各画素をn番目の閾
値Inを基準として読み込むことによって2値画像デー
タDnを生成し、そのデータDnが″0″から″1″に
変わった場合、nをその画素の濃淡値として濃淡データ
Tに設定する。濃淡値の数字が大きいほど濃度は薄い。
2値画像データD1,D2及びD3に対してこの処理を
行うことによって、画素aは2値画像データD1で″
1″となっているので濃淡値1が、画素bは2値画像デ
ータD2で″1″となっているので濃淡値2が、画素c
は2値画像データD3で″1″となっているので濃淡値
3が、画素dは2値画像データD1,D2及びD3のす
べてが″0″であるので濃淡値4がそれぞれ求められ
る。画素eから画素lまで同様の処理を行うことによっ
て、画素a,b,c,…,k,lにそれぞれ対応して
1,2,3,…,1,2の濃淡データTが得られる。画
素濃淡計算部3は濃淡データTを多階調画像データ記憶
部4に格納する。画像表示部5は多階調画像データ記憶
部4に格納された濃淡データTの各画素の濃淡値を表示
画素の明暗として可視表示する。
The pixel density calculation unit 3 generates binary image data Dn by reading each pixel with reference to the n-th threshold value In, and when the data Dn changes from "0" to "1", n Is set in the grayscale data T as the grayscale value of the pixel. The higher the number of the gray value, the lighter the density.
By performing this processing on the binary image data D1, D2, and D3, the pixel “a”
1 ", the gray value 1 is obtained, and the pixel b is" 1 "in the binary image data D2.
Is "1" in the binary image data D3, so that the gray value 3 is obtained. Since the binary image data D1, D2, and D3 are all "0", the gray value 4 is obtained. By performing the same processing from the pixel e to the pixel 1, the grayscale data T of 1, 2, 3,..., 1 and 2 corresponding to the pixels a, b, c,. The pixel density calculation unit 3 stores the density data T in the multi-tone image data storage unit 4. The image display unit 5 visually displays the grayscale value of each pixel of the grayscale data T stored in the multi-tone image data storage unit 4 as the brightness of the display pixel.

【0010】なお、この実施例では3つの閾値I1,I
2及びI3を設定したが、閾値の数は階調数に応じて定
められる。
In this embodiment, three thresholds I1 and I
Although 2 and I3 are set, the number of thresholds is determined according to the number of gradations.

【0011】[0011]

【発明の効果】以上説明したように、本発明によれば、
複数個の画素で構成される画像に対応した画像データを
階調数に応じて予め定めた複数個の閾値の各各を基準と
して″0″,″1″判定して複数組の2値画像データに
変換し、これら複数組の2値画像データをそれぞれ記憶
し、これら複数組の2値画像データの同一画素位置にお
ける″0″,″1″の値に基づいて上記階調数対応の濃
淡度合を示す複数個の画素の各各の濃淡情報を可視表示
のために生成するので、上記画像データへの変換前の画
像データと同じ解像度で可視表示することができる。
As described above, according to the present invention,
A plurality of sets of binary images are determined by determining "0" and "1" for image data corresponding to an image composed of a plurality of pixels with reference to each of a plurality of predetermined thresholds according to the number of gradations. The plurality of sets of binary image data are respectively stored, and based on the values of "0" and "1" at the same pixel position of the plurality of sets of binary image data, the gradation corresponding to the number of gradations is obtained. Since the grayscale information of each of the plurality of pixels indicating the degree is generated for visible display, it is possible to perform visible display at the same resolution as the image data before conversion to the image data.

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

【図1】本発明の一実施例の画像データ処理装置を示す
ブロック図である。
FIG. 1 is a block diagram illustrating an image data processing device according to an embodiment of the present invention.

【図2】同実施例における画像データ処理の一例を説明
するための図である。
FIG. 2 is a diagram for explaining an example of image data processing in the embodiment.

【図3】従来の画像データ処理を説明するための図であ
る。
FIG. 3 is a diagram for explaining conventional image data processing.

【符号の説明】[Explanation of symbols]

1 2値画像入力部 2 2値画像データ記憶部 3 画素濃淡計算部 4 多階調画像データ記憶部 5 画像表示部 20 画像データ D1〜D3 2値画像データ T 濃淡データ Reference Signs List 1 binary image input unit 2 binary image data storage unit 3 pixel density calculation unit 4 multi-tone image data storage unit 5 image display unit 20 image data D1 to D3 binary image data T density data

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) H04N 1/40 - 1/409 G06T 5/00Continuation of front page (58) Fields investigated (Int.Cl. 6 , DB name) H04N 1/40-1/409 G06T 5/00

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数個の画素で構成される画像の画像デ
ータを、階調数に応じて予め定めた複数個の閾値を基準
としたレベル比較により複数組の2値画像データに変換
する第1の手段と;前記複数組の2値画像データを前記
組ごとに記憶する第2の手段と;前記組ごとに記憶され
た前記2値画像データの同一画素位置における2進値に
基づいて前記濃淡の度合を示す濃淡情報を前記複数個の
画素の各各について生成する第3の手段とを備えること
を特徴とする画像データ処理装置。
1. A method of converting image data of an image composed of a plurality of pixels into a plurality of sets of binary image data by level comparison based on a plurality of thresholds predetermined according to the number of gradations. Means for storing the plurality of sets of binary image data for each set; and means for storing the plurality of sets of binary image data for each set based on binary values at the same pixel position of the binary image data stored for each set. An image data processing apparatus, comprising: third means for generating density information indicating a degree of density for each of the plurality of pixels.
【請求項2】 前記第3の手段により生成された前記濃
淡情報を記憶する第4の手段と;前記第4の手段に記載
された前記濃淡情報を可視表示する第5の手段とを備え
ることを特徴とする請求項1記載の画像データ処理装
置。
2. A method according to claim 1, further comprising: fourth means for storing the grayscale information generated by the third means; and fifth means for visually displaying the grayscale information described in the fourth means. The image data processing apparatus according to claim 1, wherein:
JP4015779A 1992-01-31 1992-01-31 Image data processing device Expired - Fee Related JP2798541B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4015779A JP2798541B2 (en) 1992-01-31 1992-01-31 Image data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4015779A JP2798541B2 (en) 1992-01-31 1992-01-31 Image data processing device

Publications (2)

Publication Number Publication Date
JPH05227416A JPH05227416A (en) 1993-09-03
JP2798541B2 true JP2798541B2 (en) 1998-09-17

Family

ID=11898303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4015779A Expired - Fee Related JP2798541B2 (en) 1992-01-31 1992-01-31 Image data processing device

Country Status (1)

Country Link
JP (1) JP2798541B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100438720B1 (en) * 2002-04-09 2004-07-05 삼성전자주식회사 Method and apparatus for converting brightness level of image
US20170009497A1 (en) * 2014-02-21 2017-01-12 Piolax, Inc. Locking device

Also Published As

Publication number Publication date
JPH05227416A (en) 1993-09-03

Similar Documents

Publication Publication Date Title
US5164717A (en) Method and apparatus for the dithering of antialiased vectors
JP3347591B2 (en) Image processing method and apparatus
JPH01502312A (en) How to convert an initial image of a multi-gray level video type to a binary image
JPS62501804A (en) Image processing device
US6304300B1 (en) Floating point gamma correction method and system
US4992955A (en) Apparatus for representing continuous tone and high contrast images on a bilevel display
JP2615625B2 (en) Image processing device
US5264840A (en) Method and apparatus for vector aligned dithering
JP2979485B2 (en) Method and apparatus for dithering and displaying digital images
JPH011074A (en) Image processing device
JPH0589237A (en) Image reducing device and image display device
JP2798541B2 (en) Image data processing device
JP3314556B2 (en) Image display device
US7743342B2 (en) Moving-image icon generating apparatus
JP3690860B2 (en) Image processing device
JPS61223893A (en) Contrast conversion control system
JP2760714B2 (en) Image information processing method and image information processing apparatus
JP2636273B2 (en) Image processing device
JP3198705B2 (en) Image feature extraction method and apparatus
JP3015227B2 (en) Image processing device
JP3234422B2 (en) Pseudo gradation processor
JPS5919389B2 (en) optical character reader
JPH08328539A (en) Image display method and device
JPS62166473A (en) Shadow graphic form generating device
JPH08234705A (en) Display control method and device therefor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980609

LAPS Cancellation because of no payment of annual fees