JP2646888B2 - Image processing device - Google Patents

Image processing device

Info

Publication number
JP2646888B2
JP2646888B2 JP3154440A JP15444091A JP2646888B2 JP 2646888 B2 JP2646888 B2 JP 2646888B2 JP 3154440 A JP3154440 A JP 3154440A JP 15444091 A JP15444091 A JP 15444091A JP 2646888 B2 JP2646888 B2 JP 2646888B2
Authority
JP
Japan
Prior art keywords
image
data
image data
density
halftone
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
JP3154440A
Other languages
Japanese (ja)
Other versions
JPH057300A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP3154440A priority Critical patent/JP2646888B2/en
Priority to US07/904,931 priority patent/US5374996A/en
Publication of JPH057300A publication Critical patent/JPH057300A/en
Application granted granted Critical
Publication of JP2646888B2 publication Critical patent/JP2646888B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、光学的に読み取った写
真等の画像データに階調補正等の処理を行った後、出力
する画像処理装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing apparatus for performing processing such as gradation correction on image data of a photograph or the like optically read and outputting the processed data.

【0002】[0002]

【従来の技術】近年、画像処理技術の発達により、写真
等の画像データを読み取り、さまざまな処理を加えて文
書に張り付ける等の編集を行うことができる画像処理装
置は、機能の多彩性と、操作性の更なる向上が求められ
ている。
2. Description of the Related Art In recent years, with the development of image processing technology, an image processing apparatus capable of reading image data such as a photograph and performing various kinds of processing such as pasting on a document has been developed. Further improvement in operability is required.

【0003】従来の画像処理装置には、読み取った画像
データの階調を、作業者の任意の階調に変換する階調補
正の機能が設けられている。この場合、図10に示すよ
うに、入力画像データの濃度階調を横軸、階調補正後の
出力画像データの濃度階調を縦軸として、階調補正の割
合をグラフ(以下、トーンカーブという)表示して、マ
ウス等の入力手段を用いてトーンカーブを変形し、所望
の階調補正の割合を設定できる。図10の場合、トーン
カーブ1は入力画像データ=出力画像データであるが、
トーンカーブ2はトーンカーブ1に比べて全体的に下側
に位置するため、出力画像は入力画像に対して明るくな
り、トーンカーブ3はトーンカーブ1に比べて全体的に
上側に位置するため、出力画像は入力画像に対して暗く
なる。また、トーンカーブの勾配が急な部分はその部分
の階調の変化が強調され、逆に勾配が緩やかな部分はそ
の部分の階調の変化が弱められる。
A conventional image processing apparatus is provided with a function of gradation correction for converting the gradation of read image data into an arbitrary gradation of an operator. In this case, as shown in FIG. 10, the horizontal axis represents the density gradation of the input image data, and the vertical axis represents the density gradation of the output image data after the gradation correction, and a graph of the gradation correction ratio (hereinafter referred to as a tone curve). ), The tone curve is deformed using input means such as a mouse, and a desired gradation correction ratio can be set. In the case of FIG. 10, tone curve 1 is input image data = output image data,
Since the tone curve 2 is located entirely below the tone curve 1, the output image is brighter than the input image, and the tone curve 3 is located entirely above the tone curve 1. The output image is darker than the input image. In a portion where the gradient of the tone curve is steep, the change in the gradation in that portion is emphasized, and in a portion where the gradient is gentle, the change in the gradation in the portion is weakened.

【0004】トーンカーブの設定を行うに際しては、原
画像の任意の位置における画像濃度や、原画像の画像濃
度分布等の情報が必要であり、従来の画像処理装置で
は、読み取った画像データに階調補正を行った多値のデ
ータを、2値化してCRT上に表示すると同時に、RA
M上にそのまま記憶している。
When setting a tone curve, information such as the image density at an arbitrary position of the original image and the image density distribution of the original image is required. At the same time, the multivalued data subjected to the tone correction is binarized and displayed on the CRT,
It is stored on M as it is.

【0005】以下、従来の画像処理装置について説明す
る。
Hereinafter, a conventional image processing apparatus will be described.

【0006】図11は、従来の画像処理装置のブロック
図であって、21は装置の制御及びデータ処理を行う中
央演算処理装置(以下、CPUという)、22は一画素
を8ビット・256階調の多値データとして記憶するラ
ンダムアクセスメモリ(以下、RAMという)、23は
写真等の原稿を光学的に読み取って階調補正を行った後
にRAM22へ転送する画像入力機、24はCRT表示
装置、25はプリンターである。
FIG. 11 is a block diagram of a conventional image processing apparatus. Reference numeral 21 denotes a central processing unit (hereinafter, referred to as a CPU) for controlling the apparatus and performing data processing. A random access memory (hereinafter, referred to as a RAM) for storing as multi-valued tone data; 23, an image input device for optically reading an original such as a photograph, performing gradation correction, and then transferring it to the RAM 22; 24, a CRT display device , 25 are printers.

【0007】図12は、図11における画像入力装置2
3のブロック図であって、26は原稿画像を光学的に読
み取り、電気信号に変換するCCDイメージセンサー
(以下、CCDという)、27はCCD26からアナロ
グ出力を、デジタル信号に変換するA/D変換器、28
はシェーディング補正を行うシェーディング補正回路、
29はCPU11からの設定に基づいて、階調補正を行
う階調補正回路である。
FIG. 12 shows the image input device 2 shown in FIG.
3 is a block diagram of FIG. 3, 26 is a CCD image sensor (hereinafter referred to as CCD) for optically reading a document image and converting it into an electric signal, and 27 is an A / D converter for converting an analog output from the CCD 26 to a digital signal. Bowl, 28
Is a shading correction circuit that performs shading correction,
Reference numeral 29 denotes a gradation correction circuit that performs gradation correction based on the setting from the CPU 11.

【0008】以上のように構成された従来の画像処理装
置について、以下、その動作を説明する。
[0008] The operation of the conventional image processing apparatus configured as described above will be described below.

【0009】先ず、CCD26によって光学的に読み取
られてアナログ電気信号に変換された画像データは、A
/D変換器27によって8ビット(256階調)のデジ
タル電気信号に変換された後、シェーディング補正回路
28によって補正される。シェーディング補正されたデ
ータは、階調補正回路29によって予め設定された割合
で階調補正されて、RAM22に書き込まれる。RAM
22に記憶された一画素8ビットの画像データは、CP
U21によって2値化(網点化)されてページメモリに
書き込まれる。2値化された画像データはCRT24又
は、プリンター25に出力される。
First, the image data optically read by the CCD 26 and converted into an analog electric signal is A
After being converted into a digital electric signal of 8 bits (256 gradations) by the / D converter 27, the electric signal is corrected by the shading correction circuit 28. The data subjected to the shading correction is subjected to gradation correction at a preset ratio by a gradation correction circuit 29 and written into the RAM 22. RAM
The image data of 8 bits per pixel stored in the pixel 22 is CP
The data is binarized (dotted) by U21 and written into the page memory. The binarized image data is output to the CRT 24 or the printer 25.

【0010】階調補正の割合は、上述した階調補正のト
ーンカーブを設定することによって、作業者の所望の割
合に設定することができる。従来の画像処理装置におい
ては、読み取った画像データを多値(ここでは8ビッ
ト、256階調)のまま記憶しているため、CRT上に
表示された画像の所望の点を指定して、その地点の階調
を調べたり、画像データの画像濃度(階調)分布を調べ
たりして、階調補正のトーンカーブ設定の参考としてい
る。
The ratio of the gradation correction can be set to a desired ratio by the operator by setting the tone curve of the gradation correction described above. In a conventional image processing apparatus, read image data is stored as multi-valued data (here, 8 bits, 256 gradations). Therefore, a desired point of an image displayed on a CRT is specified, and By examining the tone at the point and examining the image density (tone) distribution of the image data, the tone curve is set as a reference for tone correction.

【0011】[0011]

【発明が解決しようとする課題】しかしながら、上記し
た従来の画像処理装置では、一画素毎に多数ビットのメ
モリが必要となり、読み取った画像を記憶するために、
莫大な容量のメモリが必要となる問題点を有していた。
例えば、5cm四方の原稿を1000dpiで読み取り、
記憶するためには、約4MByteのメモリが必要とな
る。このため、所定画素毎に抽出した画素データを記憶
しておき、このデータを濃度データの参考に用いること
があったが、この場合画素数に対して抽出する画素数を
網点化ブロックの大きさに対応する画素数毎にするか、
それよりもより多く抽出を行っていた。しかしながら、
網点化処理された画像の一つの網点の大きさは小さく、
表示画面上に表示された網点化処理画像の網点一つ一つ
を座標入力装置等によって個別に指定することは現実的
には不可能であり、網点化された画像の各網点毎に濃度
データを抱えることは記憶容量の浪費につながってい
た。
However, in the above-mentioned conventional image processing apparatus, a memory of many bits is required for each pixel, and in order to store a read image,
There is a problem that an enormous amount of memory is required.
For example, a 5 cm square document is read at 1000 dpi,
Approximately 4 MBytes of memory is required to store. For this reason, pixel data extracted for each predetermined pixel is stored, and this data is sometimes used as a reference for density data. In this case, the number of pixels to be extracted is determined by the number of pixels with respect to the number of pixels. Or the number of pixels corresponding to
More extraction was done than that. However,
The size of one halftone dot of the halftone-processed image is small,
It is practically impossible to individually specify each halftone dot of the halftone-processed image displayed on the display screen by using a coordinate input device or the like. Having the concentration data every time led to waste of storage capacity.

【0012】[0012]

【課題を解決するための手段】本発明は、上記した問題
点を解決するために、画素データ数に対する前記抽出手
段によって抽出される画素データ数の割合を画素データ
数に対する前記網点化手段によって網点化される網点数
の割合よりも小さくする構成でなる。
According to the present invention, in order to solve the above-mentioned problems, the ratio of the number of pixel data extracted by the extracting means to the number of pixel data is determined by the halftoning means with respect to the number of pixel data. It is configured to be smaller than the ratio of the number of halftone dots.

【0013】[0013]

【作用】本発明は、上記した構成により、実質的に有効
的な画素データ数を抽出して記憶することで少ない容量
のメモリで、階調補正のトーンカーブを設定するための
参考データを得ることができる。
According to the present invention, reference data for setting a tone curve for gradation correction can be obtained with a memory having a small capacity by extracting and storing a substantially effective number of pixel data with the above configuration. be able to.

【0014】[0014]

【実施例】以下、本発明に係わる実施例について、図面
を用いて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0015】図1は、本発明の一実施例における画像編
集装置のブロック図であって、1は装置の制御及びデー
タの処理を行う中央演算処理装置(以下、CPUとい
う)、2はプログラム・データを記憶する磁気ディスク
ドライブ、3はページメモリ、4は表示用メモリ、5は
CRT表示装置(以下、CRTという)、6は画像入力
機、7はプリンター、8はキーボード、9はマウスであ
る。
FIG. 1 is a block diagram of an image editing apparatus according to an embodiment of the present invention. Reference numeral 1 denotes a central processing unit (hereinafter referred to as a CPU) for controlling the apparatus and processing data. A magnetic disk drive for storing data, 3 is a page memory, 4 is a display memory, 5 is a CRT display device (hereinafter referred to as CRT), 6 is an image input device, 7 is a printer, 8 is a keyboard, and 9 is a mouse. .

【0016】図2は、図1における画像入力機6のブロ
ック図であって、10は画像入力機6の制御を行うCP
U、11は光の強弱を電圧の高低(アナログ電圧)に変
換するイメージセンサ(以下、CCDという)、12は
CCD11から出力されるアナログ電圧を8ビットのデ
ジタル信号の変換するA/D変換器、13はCCD11
による読み取りのばらつきを補正するシェーディング補
正回路、14は読み取った画像データの濃度の変換を行
う階調補正回路、15は階調補正回路14において補正
された8ビットのデジタル信号に網点化処理を行って、
0/1の2値信号に変換する2値化回路、16は予め設
定された値「36」をカウントし、カウント終了時に1
画素周期の正の信号出力を行う動作を繰り返すカウン
タ、17はデジタル画像データをカウンタ16からの出
力信号にしたがって選択するゲート回路、18はゲート
回路17で選択された画像データを1ライン分記憶する
バッファ、20はゲート回路によって選択され、バッフ
ァ18に一時記憶された画像データを記憶するととも
に、CPU10によって読み書き可能なメモリ、19は
CPU10からの制御信号にしたがって、バッファ18
に一時的に記憶された1ライン分の画像データをメモリ
20に転送する転送回路である。
FIG. 2 is a block diagram of the image input device 6 in FIG.
U and 11 are image sensors (hereinafter referred to as CCDs) for converting the intensity of light into high and low voltage (analog voltage), and 12 is an A / D converter for converting an analog voltage output from the CCD 11 into an 8-bit digital signal. , 13 is the CCD 11
A shading correction circuit 14 corrects the variation in reading caused by the image data, a gradation correction circuit 14 converts the density of the read image data, and a halftone conversion process 15 converts the 8-bit digital signal corrected by the gradation correction circuit 14 into a halftone dot. go,
A binarizing circuit 16 for converting into a binary signal of 0/1 counts a preset value "36", and counts 1 at the end of counting.
A counter for repeating the operation of outputting a positive signal of a pixel cycle, a gate circuit 17 for selecting digital image data according to an output signal from the counter 16, and a memory 18 for one line of image data selected by the gate circuit 17 A buffer 20, which is selected by the gate circuit, stores image data temporarily stored in the buffer 18, and is a memory readable and writable by the CPU 10, and 19 is a buffer 18 according to a control signal from the CPU 10.
Is a transfer circuit for transferring one line of image data temporarily stored in the memory 20 to the memory 20.

【0017】以上のように構成された本実施例の画像編
集装置が行う処理について、以下、詳細に説明する。
The processing performed by the image editing apparatus of the present embodiment configured as described above will be described in detail below.

【0018】1.画像データの読み取り 先ず、CPU1が画像入力機6のCPU10にトーンカ
ーブの設定等の読み取り条件と、読み取り命令を発行す
ると、CPU10が、階調補正回路14にトーンカーブ
の設定を行い、画像の読み取りを開始させる。画像の読
み取りが始まると、原稿に光を照射し、その反射光をレ
ンズで(以上、図示せず)CCD11に結像する。結像
した光はCCD11で電気信号に、また、A/D変換器
12で8ビットのデジタル信号に変換された後、シェー
ディング補正回路13で補正が行われる。シェーディン
グ補正後の8ビットの画像データは、階調補正回路14
に入力されるとともに、ゲート回路17にも入力され
る。
1. First, when the CPU 1 issues reading conditions such as setting of a tone curve to the CPU 10 of the image input device 6 and a reading command, the CPU 10 sets the tone curve to the gradation correction circuit 14 and reads the image. To start. When reading of an image is started, the original is irradiated with light, and the reflected light is imaged on the CCD 11 by a lens (not shown). The formed light is converted into an electric signal by the CCD 11 and converted into an 8-bit digital signal by the A / D converter 12, and then corrected by the shading correction circuit 13. The 8-bit image data after the shading correction is supplied to the gradation correction circuit 14.
, And also to the gate circuit 17.

【0019】カウンタ16は、シェーディング補正回路
13からの画像データの出力に同期して(図3、基本ク
ロックA及びデジタル画像信号B)、予め設定された値
「36」をカウントする毎にゲート回路17に信号を出
力する(図3、カウンタ16の出力信号C)。ゲート回
路17はカウンタ16からの信号にしたがってゲートを
開き、所定の割合でシェーディング補正回路13からの
画像データを、バッファ18及び転送回路19を介して
メモリ20にサンプリングする(図3、ゲート回路17
からの出力画像信号D)。このとき、転送回路19は、
CPU10からの指示に基づいてゲート回路17が行う
ライン方向のサンプリングの割合と同じ割合で副走査方
向、つまり、ライン単位のサンプリングを行う。一方、
階調補正後の8ビットの画像データは、2値化回路15
で2値信号に変換され、ページメモリ3へ直接転送され
る。原稿画像の読み取り終了後、CPU1は、ページメ
モリ3内の画像データをCRT5の解像度に合わせて拡
大・縮小を行って表示用メモリ4に転送し、CRT5上
に読み取った画像が表示される。
The counter 16 synchronizes with the output of the image data from the shading correction circuit 13 (basic clock A and digital image signal B in FIG. 3) and counts a predetermined value "36" every time the gate circuit counts. A signal is output to the counter 17 (FIG. 3, output signal C of the counter 16). The gate circuit 17 opens the gate according to the signal from the counter 16, and samples the image data from the shading correction circuit 13 into the memory 20 via the buffer 18 and the transfer circuit 19 at a predetermined rate (FIG. 3, the gate circuit 17).
Output image signal D). At this time, the transfer circuit 19
Sampling is performed in the sub-scanning direction, that is, in line units, at the same rate as the rate of sampling in the line direction performed by the gate circuit 17 based on an instruction from the CPU 10. on the other hand,
The 8-bit image data after the gradation correction is output to a binarization circuit 15.
Is converted to a binary signal and transferred directly to the page memory 3. After the reading of the document image is completed, the CPU 1 enlarges / reduces the image data in the page memory 3 in accordance with the resolution of the CRT 5 and transfers the image data to the display memory 4 so that the read image is displayed on the CRT 5.

【0020】以上のようにして、読み取った画像データ
は、2値(網点)化されてCRT5上に表示されるとと
もに、多値のまま所定の割合でサンプリングされメモリ
20に記憶される。
As described above, the read image data is binarized (halftone dots) and displayed on the CRT 5, and is sampled at a predetermined ratio while being multi-valued and stored in the memory 20.

【0021】2.階調補正 階調補正回路14には、図4に示すように256バイト
のRAMが設けられ、入力画像データの階調レベルをア
ドレスとして補正後の出力画像データが、画像読取前の
初期設定時にCPU10によって設定されている。例え
ば、図5に示すようなトーンカーブの設定が行われてい
る場合には、入力画像データの階調レベル100及び1
01に対して図4のRAM内のアドレス100及び10
1に格納されている110が、また、入力画像データの
階調レベル200及び201に対してはアドレス200
及び201に格納されている190及び192が画像デ
ータとして出力される。以上のように、入力画像データ
の階調レベルが示すアドレスに格納されているデータを
フェッチして出力画像データとすることにより、設定さ
れたトーンカーブに従った階調補正が行われる。
2. Tone Correction The tone correction circuit 14 is provided with a 256-byte RAM as shown in FIG. 4, and uses the tone level of the input image data as an address to output the corrected output image data at the initial setting before image reading. It is set by the CPU 10. For example, when the tone curve is set as shown in FIG. 5, the tone levels 100 and 1 of the input image data are set.
Addresses 100 and 10 in the RAM of FIG.
1 is stored in the address 200 for the gradation levels 200 and 201 of the input image data.
190 and 192 stored in the image data 201 and 201 are output as image data. As described above, by fetching the data stored at the address indicated by the gradation level of the input image data and using the fetched data as output image data, gradation correction is performed according to the set tone curve.

【0022】3.トーンカーブの設定 磁気ディスク2内には、図4に示すような階調補正回路
14内のRAMと同様の構成の領域が設けられており、
トーンカーブの表示用の初期値が設定されている。CP
U1は、この初期値を読みだし、入力画像データの階調
レベル(当該領域内のアドレス)を横軸、出力画像デー
タの階調レベル(当該アドレス内のデータ)を縦軸とし
て、表示用メモリ4にグラフを描くと、図5に示すよう
な階調補正のトーンカーブの初期状態がCRT5上に表
示される。このトーンカーブをマウス9を用いて所望の
形に変形すると、CPU1は該トーンカーブの上の座標
値を画像入力機6のCPU10にトーンカーブの設定値
として送り、CPU10によって階調補正回路14内の
RAMに設定される。
3. Setting of Tone Curve In the magnetic disk 2, there is provided an area having the same configuration as the RAM in the gradation correction circuit 14 as shown in FIG.
An initial value for displaying a tone curve is set. CP
U1 reads this initial value, and sets the gradation level of the input image data (address in the area) as the horizontal axis and the gradation level of the output image data (data in the address) as the vertical axis. When the graph is drawn in FIG. 4, the initial state of the tone curve for gradation correction as shown in FIG. When the tone curve is transformed into a desired shape using the mouse 9, the CPU 1 sends the coordinate values on the tone curve to the CPU 10 of the image input device 6 as the set value of the tone curve, and the CPU 10 Is set in the RAM.

【0023】4.2値化(網点化) 2値化回路15では、階調補正された多値の画像データ
を2値(網点)のデータに変換する。ここでは、階調補
正回路14から出力される画像データを、2値化回路1
5内に設けられた図6に示すような網点パターンテーブ
ル内の該当位置に設定されている値と、一画素毎に比較
し、その画素の階調が当該テーブル内の値よりも大きけ
ればその画素は黒(1)となり、小さければ白(0)と
なる。網点パターンテーブルは、画像データの画素数に
合わせて、同じものが繰返し使用される。画像データの
各画素と、網点パターンテーブルの関係を模式的に表し
たものが図7である。
4. Binarization (Half Dot) The binarization circuit 15 converts the multi-valued image data having undergone the gradation correction into binary (half tone) data. Here, the image data output from the gradation correction circuit 14 is
5 and the value set at the corresponding position in the halftone dot pattern table as shown in FIG. 6 for each pixel, and if the gradation of the pixel is larger than the value in the table. The pixel becomes black (1), and if smaller, it becomes white (0). The same dot pattern table is used repeatedly according to the number of pixels of the image data. FIG. 7 schematically shows the relationship between each pixel of the image data and the dot pattern table.

【0024】このように、網点化処理では、中間調を単
位面積(網点パターンテーブルの大きさ)当たりの黒の
画素が占める割合で疑似的に表現する。パターンテーブ
ルの大きなものを使用すると、階調の多い画像となる、
また、パターンテーブルの小さなものを使用すると、階
調の少ない画像となる。2値化回路15は4×4〜36
×36の33種類の網点パターンテーブルを有し、キー
ボード8からの作業者による指定に基づく、CPU1並
びにCPU10からの指示により、所望のテーブルを使
用することができる。
As described above, in the halftoning process, the halftone is artificially represented by the ratio of the black pixels occupying a unit area (the size of the halftone dot pattern table). If you use a large pattern table, you will get an image with many gradations.
If a small pattern table is used, an image having a small number of gradations is obtained. The binarization circuit 15 is 4 × 4 to 36
It has 33 types of dot pattern tables of × 36, and a desired table can be used in accordance with instructions from the CPU 1 and the CPU 10 based on designation by the operator from the keyboard 8.

【0025】5.濃度の表示 マウス9で、CRT5上に表示された画像の位置が指定
されると、CPU1はCRT5上の座標からページメモ
リ3内の座標(読み取った原稿画像の座標に相当)を計
算し、CPU10にその座標の画像濃度を要求するコマ
ンドを発行する。
[5] Display of Density When the position of the image displayed on the CRT 5 is designated by the mouse 9, the CPU 1 calculates the coordinates in the page memory 3 (corresponding to the coordinates of the read original image) from the coordinates on the CRT 5, and Issue a command requesting the image density of the coordinates.

【0026】CPU10は、CPU1から受け取った座
標をもとに、メモリ20内にサンプリングされた画像デ
ータのアドレスを計算し、そのアドレスのデータをCP
U1に送る。CPU1は、図8に示すように、CRT5
上のマウス9によって指定された位置の近傍にCPU1
0から送られた濃度データを表示する。
The CPU 10 calculates the address of the image data sampled in the memory 20 based on the coordinates received from the CPU 1 and stores the address data in the CP.
Send to U1. As shown in FIG. 8, the CPU 1
CPU 1 near the position specified by mouse 9 above
The density data sent from 0 is displayed.

【0027】6.網点パターンテーブルの大きさとサン
プリング周期の関係 中間調を2値出力装置で表現する場合には、本実施例の
ように網点等の処理を行って疑似的に中間調の表現を行
う。この方法では、複数の画素により構成される単位ブ
ロックごとの黒の画素の割合で中間調を表現する。つま
り、所定の大きさのブロックで一つの濃度を表すことに
なるため、網点化されて表示されたデータの位置を指定
して、メモリに記憶された多値のデータを取得し、画像
の濃度を得る場合には、単位ブロックに対して複数の多
値データを記憶しておいても、格別な意味を持たない。
6. Relationship between the size of the halftone dot pattern table and the sampling period When halftones are expressed by a binary output device, halftones are simulated by performing halftone processing as in this embodiment. In this method, halftone is expressed by the ratio of black pixels for each unit block composed of a plurality of pixels. In other words, since one density is represented by a block of a predetermined size, the position of the data displayed as a halftone dot is designated, the multi-valued data stored in the memory is acquired, and the When obtaining the density, even if a plurality of multi-value data are stored for a unit block, it has no special meaning.

【0028】CRT5やプリンター7に出力されるデー
タは、網点処理されたデータであるため、本実施例のよ
うにサンプリング周期が網点パターンテーブルの大きさ
の最大値以上になるようにすれば、表示画面上を見て所
望の点の画像濃度を知るには、十分であるといえる。
Since the data output to the CRT 5 and the printer 7 is data that has been subjected to halftone dot processing, if the sampling period is set to be equal to or greater than the maximum value of the halftone dot pattern table as in this embodiment, It can be said that it is sufficient to know the image density at a desired point by looking at the display screen.

【0029】以上のように本実施例では、読み取った画
像データを2値化して、イメージメモリに記憶すると同
時に、2値化前の多値データをサンプリングして、メモ
リに記憶しておくため、少ないメモリ容量で、読み取っ
た画像データの所望の位置の画像濃度を簡単に取得し、
階調補正のトーンカーブの設定の参考データとすること
ができる。
As described above, in this embodiment, the read image data is binarized and stored in the image memory, and simultaneously, the multi-valued data before binarization is sampled and stored in the memory. With a small memory capacity, easily obtain the image density at the desired position of the read image data,
It can be used as reference data for setting a tone curve for gradation correction.

【0030】更に本実施例では、画像データをサンプリ
ングする周期が、網点パターンテーブルの大きさ以上に
なるようにしたため、画像濃度情報を得るために、必要
最小限の容量のメモリで多値データをサンプリングする
ことができる。本実施例の場合、全画像の多値データを
記憶する場合と比較して、1/(36×36)=1/1
296倍の容量のメモリでよい。
Further, in the present embodiment, the sampling period of the image data is set to be equal to or larger than the size of the halftone dot pattern table. Can be sampled. In the case of the present embodiment, 1 / (36 × 36) = 1/1 compared with the case where multi-value data of all images is stored.
A memory having a capacity of 296 times may be used.

【0031】尚、本実施例のように、サンプリングした
多値の画像データを記憶しておくと、原稿画像のおおま
かな濃度分布を取得することも可能であり、この濃度分
布も階調補正の設定には有効な参考データとなる。
If the sampled multi-valued image data is stored as in this embodiment, it is possible to obtain a rough density distribution of the original image. It is useful reference data for setting.

【0032】[0032]

【発明の効果】本発明は、読み取った画像データを網点
処理を施して2値化して、イメージメモリに記憶すると
同時に、2値化前の多値データを網点処理を施す際の網
点の全画素に対する割合よりも小さい割合でサンプリン
グして、メモリに記憶しておくため、少ないメモリ容量
で、読み取った画像データの所望の位置の画像濃度を簡
単に取得し、階調補正のトーンカーブの設定の参考デー
タとすることができる。しかも網点処理された画像の各
網点よりも少い画素数の濃度データを記憶するので、メ
モリ容量の浪費を防ぐことができる。
According to the present invention, the read image data is binarized by performing a halftone process and stored in an image memory, and at the same time a halftone process is performed when the multivalued data before the binarization is subjected to the halftone process. Sampled at a ratio smaller than the ratio for all pixels, and stored in the memory, the image density at a desired position of the read image data can be easily obtained with a small memory capacity, and a tone curve for gradation correction can be obtained. Can be used as reference data for setting. In addition, since density data having a smaller number of pixels than each halftone dot of the halftone-processed image is stored, wasting of memory capacity can be prevented.

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

【図1】本発明の一実施例における画像処理装置のブロ
ック図
FIG. 1 is a block diagram of an image processing apparatus according to an embodiment of the present invention.

【図2】図1における画像入力機のブロック図FIG. 2 is a block diagram of the image input device in FIG. 1;

【図3】図2の画像入力機における画像データサンプリ
ングの動作を表すタイミングチャート
FIG. 3 is a timing chart showing an image data sampling operation in the image input device of FIG. 2;

【図4】階調補正用のRAMの模式図FIG. 4 is a schematic diagram of a RAM for gradation correction.

【図5】階調補正のトーンカーブ設定用のグラフの表示
例を示す図
FIG. 5 is a diagram showing a display example of a graph for setting a tone curve for gradation correction.

【図6】網点パターンテーブルの模式図FIG. 6 is a schematic diagram of a dot pattern table.

【図7】原稿画像データと網点パターンテーブルの関係
を表す模式図
FIG. 7 is a schematic diagram illustrating a relationship between original image data and a dot pattern table.

【図8】画像濃度取得の表示例を示す図FIG. 8 is a diagram showing a display example of image density acquisition.

【図9】階調補正のトーンカーブの表示例を示す図FIG. 9 is a diagram showing a display example of a tone curve for gradation correction.

【図10】従来の画像処理装置のブロック図FIG. 10 is a block diagram of a conventional image processing apparatus.

【図11】従来の画像処理装置における画像入力機のブ
ロック図
FIG. 11 is a block diagram of an image input device in a conventional image processing apparatus.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】原稿上の画像を複数の画素に分割し、各画
素毎に多値の濃度データを出力する読み取り手段と、 前記読み取り手段からの複数の濃度データを所定の割合
で抽出する抽出手段と、 前記抽出手段によって抽出された濃度データを記憶する
第1の記憶手段と、 前記読み取り手段からの濃度データの所定画素数で構成
される、ブロックにつき1つの網点に網点化する網点化
手段と、 前記網点化手段によって網点化された各網点のデータを
記憶する第2の記憶手段と、 前記第2の記憶手段に記憶されたデータに基づく画像を
表示する表示手段と、 前記表示手段に表示された画像中の位置を指定する指定
手段と、 前記指定手段によって指定された位置の座標から指定さ
れた位置に対応する、前記第1の記憶手段に記憶された
濃度データのアドレスを計算し該アドレスに記憶された
濃度データを前記表示手段に表示させる手段と、を有
し、 前記読み取り手段から読み取られる濃度データ数に対す
る前記抽出手段によって抽出される濃度データ数の割合
を、前記読み取り手段から読み取られる画素データ数に
対する前記網点化手段によって網点化される網点の割
合よりも小さくしたことを特徴とする画像処理装置。
A reading means for dividing an image on a document into a plurality of pixels and outputting multi-value density data for each pixel; and an extracting means for extracting the plurality of density data from the reading means at a predetermined ratio. Means, first storage means for storing the density data extracted by the extraction means, and a halftone dot which is composed of a predetermined number of pixels of the density data from the reading means, and which becomes one dot per block. Doting means, second storage means for storing data of each halftone dot obtained by the halftone conversion means, and display means for displaying an image based on the data stored in the second storage means. Designation means for designating a position in the image displayed on the display means; density stored in the first storage means corresponding to the position designated from the coordinates of the position designated by the designation means Data Means for calculating an address and displaying the density data stored at the address on the display means, the ratio of the number of density data extracted by the extraction means to the number of density data read from the reading means, the image processing apparatus characterized by being smaller than the percentage of the halftone number which is halftoned by the network epilepsy means for pixel number data read from said reading means.
JP3154440A 1991-06-26 1991-06-26 Image processing device Expired - Fee Related JP2646888B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP3154440A JP2646888B2 (en) 1991-06-26 1991-06-26 Image processing device
US07/904,931 US5374996A (en) 1991-06-26 1992-06-26 Image processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3154440A JP2646888B2 (en) 1991-06-26 1991-06-26 Image processing device

Publications (2)

Publication Number Publication Date
JPH057300A JPH057300A (en) 1993-01-14
JP2646888B2 true JP2646888B2 (en) 1997-08-27

Family

ID=15584247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3154440A Expired - Fee Related JP2646888B2 (en) 1991-06-26 1991-06-26 Image processing device

Country Status (1)

Country Link
JP (1) JP2646888B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63108379A (en) * 1986-10-27 1988-05-13 キヤノン株式会社 Contrast converter
JPH01186061A (en) * 1988-01-20 1989-07-25 Fuji Photo Film Co Ltd Data sampling system

Also Published As

Publication number Publication date
JPH057300A (en) 1993-01-14

Similar Documents

Publication Publication Date Title
US4414581A (en) Image signal processing method and apparatus therefor
JPH03185969A (en) Half-tone treatment of input picture element and conversion of image signal
US5719965A (en) Higher precision look-up table from lower precision look-up table for improved tonal adjustment
US4930022A (en) Method and device for image reduction in image processing
JP2646889B2 (en) Image processing device
JP2646888B2 (en) Image processing device
JP2624031B2 (en) Image processing device
JP2946520B2 (en) Image reading device
JP3427354B2 (en) Video binarization method and binary image generation method
US5374996A (en) Image processing system
JPH03201774A (en) Multi-value picture input device
JP2814769B2 (en) Image processing device
JP2673690B2 (en) Image reading device
JP2011238986A (en) Image processing apparatus, image processing method, program and recording medium
JP2934971B2 (en) Image binarization processing device
JP2541937B2 (en) Image processing device
JP3384688B2 (en) Image data processing device
JP2601059B2 (en) Image processing device
JP3390025B2 (en) Image processing device
KR930010026B1 (en) Picture display circuit
JPH0413370A (en) Picture processor
JPH03226178A (en) Gradation conversion processing unit
JPH0974483A (en) Image processing method and its device
JPH0223067B2 (en)
JP2001016448A (en) Picture processor and picture processing method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees