JPS6052164A - Picture processing device - Google Patents
Picture processing deviceInfo
- Publication number
- JPS6052164A JPS6052164A JP58159078A JP15907883A JPS6052164A JP S6052164 A JPS6052164 A JP S6052164A JP 58159078 A JP58159078 A JP 58159078A JP 15907883 A JP15907883 A JP 15907883A JP S6052164 A JPS6052164 A JP S6052164A
- Authority
- JP
- Japan
- Prior art keywords
- value
- image
- pixel density
- slice level
- image processing
- 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
Links
- 238000001514 detection method Methods 0.000 claims description 7
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 238000012935 Averaging Methods 0.000 claims description 4
- 238000000034 method Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 4
- 230000007547 defect Effects 0.000 description 2
- 125000000664 diazo group Chemical group [N-]=[N+]=[*] 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
Landscapes
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
【発明の詳細な説明】
〔技術分野〕
本発明は、撮像素子により原稿画像の画素濃度を検出し
てタカくとも2値化して画像再生を行なう画像処理装置
に関し、特に、画像の内容に応じて画像情報を高コント
ラストにて自動的に再生処理し得るようにしたものであ
る。[Detailed Description of the Invention] [Technical Field] The present invention relates to an image processing device that detects the pixel density of a document image using an image sensor, converts it into at least two values, and reproduces the image. This allows image information to be automatically reproduced with high contrast.
この種の画像処理装置においては、画像原稿の地色のみ
、あるいは、地色と画像情報の濃度を検出して、λ値化
に用いるスライスレベルを決定することが考えられる。In this type of image processing apparatus, it is conceivable to detect only the ground color of an image original, or the density of the ground color and image information to determine the slice level used for λ value conversion.
しかして、原稿画像の画像情報を得るために主走査にお
ける画素濃度を順次に閾値と比較する際に、主走査中に
おける画像濃度の最大値および最小値に基づいて所要の
閾値を設定する場合には、画像原稿の均一な地色を検出
することは可能であるが、ジアゾ原稿などにおいては、
真白い画素を検出するために正確な閾値を設定していわ
ゆる地とばしを行なうことは不可能である。Therefore, when sequentially comparing pixel densities during main scanning with threshold values in order to obtain image information of a document image, when setting a required threshold value based on the maximum and minimum values of image density during main scanning, It is possible to detect the uniform background color of image originals, but in diazo originals etc.
It is impossible to set an accurate threshold value to detect pure white pixels and perform so-called background skipping.
また、撮像素子のビット欠陥に対応することも不可能で
ある。したがって、ある程度の適切な範囲内における画
素濃度の平均値を検出することが有効と認められる。Furthermore, it is also impossible to deal with bit defects in the image sensor. Therefore, it is recognized that it is effective to detect the average value of pixel density within a certain appropriate range.
しかしながら、撮像素子によシ原稿画像を主走査して行
なう画素濃度データの形成は高速にて行なわれるので、
複数ラインバッファメモリを用いて順次の画素濃度デー
タを一旦蓄積しておき、副走査による複数主走査ライン
に亘る所定の像域内における画素濃度の平均値を検出す
ることは困難であ)、また、画素濃度の平均値をめる像
域は広ければ広い程好適であるが、コスト的に難点があ
る、などの問題が生じる。However, since pixel density data is formed by main-scanning a document image with an image sensor at high speed,
It is difficult to temporarily accumulate sequential pixel density data using a multi-line buffer memory and then detect the average value of pixel density within a predetermined image area spanning multiple main scanning lines by sub-scanning.) The wider the image area in which the average value of pixel densities is calculated, the better, but problems such as cost disadvantages arise.
本発明の目的は、上述した問題を解決してその欠点を除
去し、最小規模の回路構成により、画素濃度の平均値を
める像域を広くして、原稿画像における画素濃度の平均
値をほぼリアルタイムに検出し、原稿画像に対応した画
像データの2値化処理を行ない得るようにしだ画像処理
装置を提供することKある。It is an object of the present invention to solve the above-mentioned problems and eliminate their drawbacks, and to widen the image area in which the average pixel density is calculated using a minimum-scale circuit configuration, so that the average pixel density in the original image can be calculated using the minimum circuit configuration. It is an object of the present invention to provide an image processing device capable of detecting almost in real time and performing binarization processing of image data corresponding to an original image.
かかる目的を達成するために、本発明画像処理装置では
、原稿画像の撮像出力画素濃度信号を主走査方向の複数
画素につき平均して得た平均濃度値について、複数主走
査毎に最大値および最小値をめ、さらに、それら最大値
および最小値を所定領域毎に平均した値に基づいて、画
素濃度信号をλ値化あるいは多値化するに用いるスライ
スレベルを演算処理によシ設定するようにしたものであ
シ、格別のメモリ装置を用いずに準リアルタイムにてス
ライスレベル設定を行なうものである。In order to achieve such an object, the image processing apparatus of the present invention calculates the maximum and minimum values for each of multiple main scans with respect to the average density value obtained by averaging the image pickup output pixel density signal of the original image for multiple pixels in the main scanning direction. Then, based on the average of the maximum and minimum values for each predetermined area, the slice level used to convert the pixel density signal into λ values or multi-values is set by arithmetic processing. The slice level is set in near real time without using a special memory device.
以下に図面を参照して実施例につき本発明の詳細な説明
する。In the following, the invention will be described in detail by way of example embodiments with reference to the drawings.
まず、本発明画像処理装置の構成例を第1図に示す。図
示の構成において、lはlOビット構成の全加算器であ
シ、2はDフリップフロップであって、全加算器ノの加
算結果のデータを、一旦保持するとともに、外部よ)供
給する画素濃度信号転送用クロックに同期して順次に全
加算器lに供給し、順次の入力画素濃度信号に加算させ
る。なお、入力画素濃度信号はtビット構成とするので
、主走査の方向に16個の入力画素濃度信号を順次に加
算することができる。したがって、主走査の先頭から順
次に有効域の入力画素濃度信号を加算して行き、76個
の入力画素濃度信号の加算が終了したときに、加算結果
のデータの上位6ビツトを抽出すれば、76画素濃度の
平均値が得られる。First, an example of the configuration of the image processing apparatus of the present invention is shown in FIG. In the illustrated configuration, 1 is a full adder with 1O bit configuration, and 2 is a D flip-flop, which temporarily holds the data of the addition result of the full adder and also supplies the pixel density to the outside. The signals are sequentially supplied to the full adder l in synchronization with the signal transfer clock, and added to the sequential input pixel density signals. Note that since the input pixel density signal has a t-bit configuration, 16 input pixel density signals can be sequentially added in the main scanning direction. Therefore, if the input pixel density signals in the effective area are added sequentially from the beginning of the main scan, and when the addition of 76 input pixel density signals is completed, the upper 6 bits of the data of the addition result are extracted. An average value of 76 pixel densities is obtained.
上述のようにして得た画素濃度平均値のデータをコンパ
レータ3およびDフリップフロップlに供給するととも
に、そのDフリップフロップlの出力をコンパレータ3
に供給して入力の画素濃度平均値と比較するのであるが
、Dフリップフロップlは、あらかじめ、その出方が“
Q”となるようにリセットしであるので、コンパレータ
3においては、最初の入力画素濃度平均値が如何なる値
であっても、その入力平均値の方が大きいと判定し、そ
の判定結果により制御するDフリップフロップ5の出力
をH”レベルとする。よって、そのDフリップフロップ
5の“H”出力により制御するDフリップフロップlに
は/乙画素濃度の平均値データが初期値としてラッチさ
れ、同時に、前述したように順次の入力画素濃度信号の
加算保持をするためのlθビット構成のDスリップ70
ツブ−は“O”にクリアされる。The data of the pixel density average value obtained as described above is supplied to the comparator 3 and the D flip-flop l, and the output of the D flip-flop l is supplied to the comparator 3.
The input pixel density average value is compared with the input pixel density average value.
Q", so no matter what value the first input pixel density average value is, the comparator 3 determines that the input average value is larger, and controls based on the determination result. The output of the D flip-flop 5 is set to H'' level. Therefore, the D flip-flop l controlled by the "H" output of the D flip-flop 5 latches the average value data of pixel density /B as an initial value, and at the same time, as described above, sequential addition of input pixel density signals is performed. D slip 70 with lθ bit configuration for holding
The knob is cleared to "O".
上述のようにして連続して入力した/を画素濃度の平均
値が得られると、コンパレータ3においては、Dフリッ
プフロップ41にラッチされている前の画素濃度平均値
と入力画素濃度平均値との比較を行ない、現在の入力画
素濃度平均値の方が大きい場合にのみ、上述した動作手
順に従ってDフリップフロップよおよび弘を順次に動作
させ、その結果、D7リツプフロツプlには、その時点
までの入力画素濃度平均値のうち最大値が保持されるこ
とになる。When the average value of the pixel density of the continuously input / is obtained as described above, the comparator 3 calculates the difference between the previous pixel density average value latched in the D flip-flop 41 and the input pixel density average value. The comparison is made, and only when the current input pixel density average value is larger, the D flip-flops 1 and 2 are operated sequentially according to the operation procedure described above, and as a result, the D7 flip-flop 1 stores the input up to that point. The maximum value of the pixel density average values will be retained.
上述のような画先濃度最大平均値検出保持の動作は、主
走査の方向に沿って順次に転送されて来る画素濃度信号
の有効像域内について順次に繰返される。したがって、
l主走査終了時点においては、幅’//6 ” 1長さ
約/lrOmmの画像領域をりl≦隨×/闘の単位領域
毎に分割して得られる110個の画素濃度平均値のうち
最大の値、すなわち、最も黒に近い画素濃度値が得られ
ていることになる。The above-described operation of detecting and holding the maximum average value of the image tip density is sequentially repeated within the effective image area of the pixel density signals that are sequentially transferred along the main scanning direction. therefore,
At the end of the main scan, the average pixel density of 110 pixels obtained by dividing an image area with a width of '//6'' and a length of approximately/lrOmm into unit areas of l≦number×/ This means that the maximum value, that is, the pixel density value closest to black, is obtained.
さらに、かかる画素濃度最大平均値検出動作は、副走査
方向における弘主走査毎の範囲にて連続して繰返し行な
われ、弘主走査終了時には、Dフリツブフロラブダの出
力によ’) 、’A tnn X /lrOtntg領
域内の最大画素濃度値D が検出される。Furthermore, this pixel density maximum average value detection operation is continuously repeated in the range of each main scan in the sub-scanning direction, and at the end of the main scan, the output of the D-flip flitter is used. The maximum pixel density value D within the A tnn X /lrOtntg region is detected.
ax
上述のようにして副走査によるl主走査毎に得た最大画
素濃度値D は、l主走査毎にラッチaX
クロックを印加して動作させるDフリップ70ツブぶに
供給して次の弘主走査期間保持するとともに、l主走査
毎にラッチクロックを割込み端子に印加する演算処理装
置(CPU) 7にも供給する。したがって、演算処理
装置7においては、約/、6ms毎に最大画素濃度値デ
ータの取込みを速度的には無理なく行ない得ることにな
る。ax The maximum pixel density value D obtained every l main scan by sub-scanning as described above is supplied to the D flip 70 which is operated by applying a clock to the latch aX every l main scan, and then the next pixel density is It is held during the scanning period and is also supplied to an arithmetic processing unit (CPU) 7 which applies a latch clock to the interrupt terminal every l main scan. Therefore, in the arithmetic processing unit 7, maximum pixel density value data can be taken in at a speed of about 6 ms.
また、第1図示の構成におけるコンパレータtおよびD
フリップフロップ?、/θ、//ハ、上述シたコンパレ
ータ3およびDフリップフロップl。Moreover, the comparators t and D in the configuration shown in FIG.
flip flop? , /θ, //c, the above-mentioned comparator 3 and D flip-flop l.
j、4と全く同様に動作して同一機能を果すものであり
、’/4’ X /10 am領域中の最小画素濃度値
D・ を検出する。なお、D7リツプフロツブ91n
は、前述したDフリップフロップlとは相違して、初期
状態においてはその出力をプリセットして、主走査の先
頭/≦画素についての画素濃度平均値を初期値としてラ
ッチし得るようにする。It operates in exactly the same way as 4 and has the same function, and detects the minimum pixel density value D in the '/4' x /10 am area. Note that, unlike the above-mentioned D flip-flop l, the D7 flip-flop 91n can preset its output in the initial state and latch the pixel density average value for the top/≦pixel of the main scan as the initial value. Do it like this.
以上に詳述したように1第1図示の構成によれば、高価
なメモリ装置を使用することなく、コンパレ〜りとDフ
リップフロップとの組合わせによシ、を主走査区間に亘
る画像領域内の画素濃度の最大値および最小値を検出し
得るとともに、演算処理装置(CPU)によるデータ取
込みを、/、6mS毎に、比較的低速度にて行なうこと
ができるので、専用の演算処理装置(apu)を設ける
とと々く、他の用途、例えば以後の画像データ処理と兼
用することができる。As described in detail above, according to the configuration shown in FIG. 1, the image area over the main scanning section can be scanned by the combination of the comparator and the D flip-flop without using an expensive memory device. It is possible to detect the maximum and minimum values of pixel density in the image data, and the data acquisition by the arithmetic processing unit (CPU) can be performed at a relatively low speed of every 6 mS, so a dedicated arithmetic processing unit is required. (apu) can be used for other purposes, such as subsequent image data processing.
また、上述したように本発明画像処理装置において、主
走査方向に沿い、/を画素毎に画素濃度の平均値を検出
するようにしたことによシ、まず、撮像素子の出力にビ
ット欠陥が生じた場合における画素濃度データに対する
影響を防止することができる。さらに1検出した最大画
素濃度値Dmaxは、細線画像に対しては少な目に検出
されるので、その最大画素濃度値に基づいて処理する必
要な画素濃度データの欠落を生ずるおそれがない。一方
、これとは逆に、最小画素濃度値D ・ は、例えば1
n
ジアゾ原稿画像のように地色の濃度が均一に一様ではな
く、白と黒との画素の混在によって地色がなされている
場合においても、地色の濃度を適切に忠実に検出するこ
とが可能となるなど、画像処理のための画素濃度検出を
極めて有効、適切に行なうことができる。Furthermore, as described above, in the image processing apparatus of the present invention, since the average value of the pixel density is detected for each pixel along the main scanning direction, bit defects may occur in the output of the image sensor. It is possible to prevent the influence on pixel density data in the event that this occurs. Furthermore, since the detected maximum pixel density value Dmax is relatively small for a thin line image, there is no risk of missing pixel density data that is required to be processed based on the maximum pixel density value. On the other hand, on the contrary, the minimum pixel density value D ・ is, for example, 1
n To accurately and faithfully detect the density of the ground color even when the density of the ground color is not uniform, such as in a diazo original image, and the ground color is created by a mixture of white and black pixels. This makes it possible to perform pixel density detection for image processing extremely effectively and appropriately.
つぎに、上述のようにして得た画素濃度の最大値D お
よび最小値D・ に基づき、演算処理max m、tn
装置(cpu)内にて行なう画素濃度信号のスライスλ
値化のだめのスライスレベル決定のアルゴリズムについ
て詳細に説明する。Next, based on the maximum value D and minimum value D of the pixel density obtained as described above, a slice λ of the pixel density signal is performed in the arithmetic processing device (CPU).
The algorithm for determining the slice level for value conversion will be explained in detail.
まず、一般に、画素濃度信号−値化のためのスライスレ
ベルは−i(Dmax+Dmin)に選定するのが有効
であるとされているが、前述したDmaxおよびDmi
nの値は飽くまで///≦X/mmの像域に基づいて得
た値であって、かかる値のみに基づいてスライスレベル
を選定することは必ずしも適切ではない。すなわち、従
来装置におけるようにブリスキャンによってスライスレ
ベルを決定する場合、あるいは、目視によって地色を判
別する場合には、かなシの広い範囲に亘って画素濃度の
平均値を演算していることになるので、本発明装置にお
いては、基本的には逐時型であるが、演算処理装置(C
PU)を介入させることにより、順次に取込まれる弘主
走査毎の新たガ画素濃度平均値データに過去のデータを
加味して、さらに広い範囲に亘る画像域についての平均
処理をすることが可能となる。First, it is generally said that it is effective to select the slice level for converting pixel density signals to -i (Dmax+Dmin), but the above-mentioned Dmax and Dmin
The value of n is a value obtained based on the image area of ///≦X/mm, and it is not necessarily appropriate to select the slice level based only on this value. In other words, when determining the slice level by blisscanning as in conventional devices, or when determining the ground color visually, the average value of pixel density is calculated over a wide range of kanashi. Therefore, although the device of the present invention is basically a sequential type, the arithmetic processing device (C
By intervening with PU), it is possible to add past data to the new pixel density average value data for each main scan that is sequentially captured, and perform averaging processing over a wider image area. becomes.
一般に、N個のデータX□の平均値7Nは、によって表
わされるが、右辺の第2項におけるNは、N番目のデー
タXNを過去の平均値屋に対し、どれだけ重みを付けて
反映するかを決定する因子となシ得る。したがって、コ
の整数倍であれば、如何なる値をも取シ得ることになる
。一方、n番目の画素ブロックにおけるDTnaxnお
よびDmin n並びにn番目の画素ブロックに対する
スライスレベル稲の各データに基づき、っぎのアルゴリ
ズムによってn+/@目の画素ブロックに対するスライ
スレベルLn+、を決定スル。Generally, the average value 7N of N pieces of data What are the determining factors? Therefore, any value can be obtained as long as it is an integral multiple of . On the other hand, based on each data of DTnaxn and Dmin n in the nth pixel block and the slice level Ln+ for the nth pixel block, the slice level Ln+ for the n+/@th pixel block is determined by the algorithm.
この式において、例えばN=32とすると、平均値は過
去の32ブロツク、すなわち、fmsの範囲に亘ってめ
ることになる。したがって、例えば1m程度の主走査方
向に沿って存在した場合にスライスレベルに及ばず影響
は極めて小さくなり、急激ナスライスレベルの変化によ
る再生画像の乱れは抑圧することができる。これとは逆
に、数Gに亘システップ状に真黒い画像が発生した場合
には、スライスレベルがt簡画像より遅れて最高閾値レ
ベルに到達し、全画面を白にλ値化してしまうという不
都合が生ずることになる。したがって、演算処理装置(
CPU)に供給される最大・最小の画素濃度値データD
max、Dminに対して制限を加える必要がある。−
例として、つぎのように処置する。In this equation, for example, if N=32, the average value will be found over the past 32 blocks, that is, over the range of fms. Therefore, for example, if the beam exists along the main scanning direction by about 1 m, the influence will be extremely small since it will not affect the slice level, and disturbances in the reproduced image due to sudden changes in the slice level can be suppressed. On the contrary, if a pitch-black image occurs in steps over several G, the slice level will reach the highest threshold level later than the t-simplified image, and the entire screen will become white with λ value. This will cause an inconvenience. Therefore, the processing unit (
Maximum and minimum pixel density value data D supplied to CPU)
It is necessary to impose restrictions on max and Dmin. −
For example, proceed as follows.
Dmaxn<Aのとき’ Dmax n−4n−4D
n−+Dminn>Bのとき・Dmin n″Dmin
n−1すなわち、最大値Dmaxが真白に極めて近い
場合、あるいは、最小値Dminが真黒に極めて近い場
合には、かかる最大値あるいは最小値をスライスレベル
演算用データとはせず、直前のn−/番目の最大値ある
いは最小値をレジスタに保持しておいたものをn番目の
データとして代用する。When Dmaxn<A' Dmax n-4n-4D
When n-+Dminn>B・Dmin n″Dmin
n-1, that is, if the maximum value Dmax is extremely close to pure white, or if the minimum value Dmin is extremely close to pure black, such maximum or minimum value is not used as slice level calculation data, and the immediately preceding n- The /th maximum value or minimum value held in a register is substituted for the nth data.
画像原稿の先端部1ftranの範囲に対して用いるD
maxlDminの値としては、それぞれA、Bの値を
用いればよいことになる。D used for a 1ftran area at the leading edge of an image original
As the value of maxlDmin, it is sufficient to use the values of A and B, respectively.
つぎに、この種画像処理装置において、通例コンソール
部に設ける画素濃度調整用可変抵抗器との関係について
述べると、本発明画像処理装置においては、手動操作を
要せずに最適再生画像が得られるように構成するが、手
動操作によって画像濃度を制御可能にすることもできる
。すなわち、例えば、濃度調整目盛範囲の中央に調整用
レバーを設定したときには、前述の式に従ってll!i
7像濃度の自動調整が行なわれ、中央以外の目盛に調整
用レバ」を設定したときには、その設定目盛に対応して
スライスレベルを手動調整し得るように構成することも
可能である。すなわち、
Ln+、=〔Ln+i((Dmaxn−Dminn)×
vR+Dminn−Ln)〕
なる式において、■、は画像濃度調整用レバーの相対目
盛範囲に対応させて、第一図に示すように、o−i、o
の値をとるものとする。なお、上述したA、Bに対する
条件を用いることによシ、濃度調整用レバーを最淡レベ
ルあるいは最淡レベルに設定しても、スライスレベルは
、A以下あるいは8以上のレベルには達せず、ベク白あ
るいはベタ黒の画像に対しても、忠実に画像再生を行な
うことができる。Next, in this type of image processing apparatus, the relationship with the variable resistor for adjusting pixel density, which is usually provided in the console section, will be described. In the image processing apparatus of the present invention, an optimal reproduced image can be obtained without requiring manual operation. However, it is also possible to control the image density by manual operation. That is, for example, when the adjustment lever is set at the center of the density adjustment scale range, ll! according to the above formula! i
7. When automatic adjustment of image density is performed and the adjustment lever is set to a scale other than the center, it is also possible to configure the slice level to be manually adjusted in accordance with the set scale. That is, Ln+,=[Ln+i((Dmaxn-Dminn)×
vR+Dminn-Ln)] In the formula, ■ corresponds to the relative scale range of the image density adjustment lever, and as shown in Figure 1, o-i, o
shall take the value of . Note that by using the conditions for A and B described above, even if the density adjustment lever is set to the lightest level or the lightest level, the slice level will not reach a level below A or above 8, It is possible to faithfully reproduce images even for solid white or solid black images.
第1図示の構成における/7はかかる画像濃度調整用可
変抵抗を表わし、lビットの信号としてとの濃度設定値
を演算処理装置(CPU) 7に供給している。/7 in the configuration shown in the first figure represents such a variable resistor for adjusting image density, which supplies the density setting value as an 1-bit signal to the arithmetic processing unit (CPU) 7.
さらに、第1図示の構成における12は、コンパレータ
であって、入力画素濃度信号の6ビツト画像データを演
算処理装置(CPU) 7からの6ビツトスライスレベ
ル信号と比較してλ値化画像データに変換する。Furthermore, 12 in the configuration shown in the first diagram is a comparator that compares the 6-bit image data of the input pixel density signal with the 6-bit slice level signal from the arithmetic processing unit (CPU) 7 to convert it into λ-valued image data. Convert.
つぎに、本発明画像処理装置において、画素濃度信号の
多値化を行なう場合におけるスライスレベル演算のアル
ゴリズムについて説明する。一般に、レーザビームプリ
ンタにょシ顕像化する多値レベルの潜像は、1画素あた
りのレーザビーム照射時間を制御してビームスポットの
面積を変化させることによって顕像化する。例えば、3
値レベルのプリンタによって顕像化する際には、7画素
を構成するビームスポットを前半と後半とに2分割し、
その双方をオンにして照射する場合、その双方をオフに
して照射しない場合、および、その一方のみをオンにし
て一方のみを照射する場合に得られる3段階の濃度レベ
ルによって画素毎に画像再生を行なう。したがって、/
ii!ii素の前半と後半とにて互いに異なるスライス
レベルを用いて入力画素濃度信号を3値濃度信号に変換
することになる。Next, in the image processing apparatus of the present invention, an algorithm for slice level calculation when performing multi-value conversion of pixel density signals will be explained. Generally, a multilevel latent image visualized by a laser beam printer is visualized by controlling the laser beam irradiation time per pixel and changing the area of the beam spot. For example, 3
When visualizing using a value-level printer, the beam spot that makes up 7 pixels is divided into two halves, the first half and the second half.
Image reproduction is performed for each pixel using three density levels obtained when both are turned on and irradiated, when both are turned off and not irradiated, and when only one is turned on and only one is irradiated. Let's do it. therefore,/
ii! The input pixel density signal is converted into a ternary density signal using different slice levels in the first half and the second half of the ii element.
かかる3値濃度レベルにて画像再生を行なう場合に用い
る二様のスライスレベルL” t L”’ l’l 第
、3図に示すように、次式によって設定する。Two types of slice levels L'' t L'''l'l used when performing image reproduction at such ternary density levels are set by the following equations as shown in FIG.
しかして、画素濃度信号を3値化する場合には、上述の
ように、濃度調整用レバーの設定目盛の変化に対して一
段階のスライスレベルL11+ 、 L12+ ヲトも
に直線的に同じ割合にて変化させる方法と、第グ図ある
いは第S図に示すように、一段階のスライスレベルLf
il 、 L(21を、ともに直線的に変化させるが、
変化の割合を互いに異ならせ、あるいは、調整目盛範囲
の前半と後半とにてさらに異ならせる方法とがある。第
1図示および第5図示のスライスレベルL111 、
L(21の設定は、それぞれつぎの演算式によって行な
う。Therefore, when converting a pixel density signal into three values, as described above, the slice levels L11+ and L12+ of one stage are linearly set at the same rate as the setting scale of the density adjustment lever changes. How to change the slice level Lf of one stage as shown in Figure G or Figure S.
il and L(21 are both changed linearly,
There is a method of making the rate of change different from each other, or making it further different between the first half and the second half of the adjustment scale range. The slice level L111 shown in the first diagram and the fifth diagram,
The settings of L(21 are performed using the following calculation formulas.
第4図示の場合:
つぎに、上述のようにして画素濃度信号の3値化を行な
う場合に第1図示の構成に変更を施すべき部分の回路構
成の例を第6図に示す。図示の構成においては、演算処
理装置(CPU) 7によ、!1l12段階のスライス
レベルL[1+ 、 Lllを設定して、それぞれコン
パレータ2/ 、 nに供給し、入力画素濃度信号をそ
れぞれλ値化する。コンパレータl、22からの各λ値
化画像データは、マルチプレクサnに供給し、外部から
印加する画像データ転送用クロックの2倍の速さのクロ
ック信号によシ交互に切換えることにより、lビット構
成の3値画像データに変換する。In the case shown in FIG. 4: Next, FIG. 6 shows an example of the circuit configuration of the portion that should be modified from the configuration shown in FIG. 1 when the pixel density signal is ternarized as described above. In the illustrated configuration, the arithmetic processing unit (CPU) 7,! Slice levels L[1+ and Lll of 1l12 steps are set and supplied to comparators 2/ and n, respectively, and the input pixel density signals are converted into λ values, respectively. Each λ-valued image data from the comparators l and 22 is supplied to a multiplexer n, and is configured into an l-bit configuration by alternately switching to a clock signal that is twice as fast as the image data transfer clock applied from the outside. Convert to ternary image data.
以上の説明から明らかなように、本発明によれば、撮像
素子により原稿画像を読取った画素濃度信号をλ値化あ
るいは多値化して再生する際に、原稿画像の地色および
画像情報の濃度を、例えばまず、走査方向に沿った/7
画素毎の画素濃度平均値をめ、ついで、ダ主走査毎に画
素濃度平均値の最大値および最小値を検出し、さらに、
演算処理によシそれら最大値および最小値を1crIL
程度の範囲毎にさらに平均した値に基づいてλ値化ある
いは多値化の際のスライスレベルを決定するので、高価
なメモリ装置を備えることなく、コンパレータ、Dフリ
ップフロップなどからなる簡単な構成の回路装置により
準すアルタイム疼て原稿画像の画像情報のみを適切に2
値化あるいは多値化し得るという格別の効果が得られる
。As is clear from the above description, according to the present invention, when a pixel density signal obtained by reading an original image by an image sensor is converted into λ values or multivalued and reproduced, the ground color of the original image and the density of image information are For example, first, /7 along the scanning direction
Determine the average pixel density value for each pixel, then detect the maximum and minimum values of the average pixel density for each main scan, and further,
The maximum and minimum values are calculated by 1crIL through calculation processing.
Since the slice level for λ-value conversion or multi-value conversion is determined based on the average value for each degree range, a simple configuration consisting of comparators, D flip-flops, etc. can be used without the need for expensive memory devices. Appropriately captures only the image information of the original image in real-time based on the circuit device.
The special effect of being able to convert into values or multi-values can be obtained.
第1図は本発明画像処理装置の構成例を示すブロック線
図、
第2図乃至第S図は同じくその画像濃度の2値化および
3値化のだめのスライスレベル設定の態様の例をそれぞ
れ示すグラフ、
第6図は第1図示の構成例の一部を変更した他の構成例
を示すブロック線図である。
l・・・全加算器、
λ、4’、j、乙* 9 + 10 * //・・・D
フリップフロップ、j 、 I 、 /2・・・コンパ
レータ、7・・・演算処理装置(CPU )、
/7・・・濃度調整用可変抵抗器、
2/ 、 22・・・コンパレータ、
B・・・マルチプレクサ。
特許出願人 キャノン株式会社
第1図
第6図FIG. 1 is a block diagram showing a configuration example of the image processing apparatus of the present invention, and FIGS. 2 to S show examples of slice level settings for binarization and ternarization of the image density, respectively. Graph FIG. 6 is a block diagram showing another configuration example in which a part of the configuration example shown in FIG. 1 is changed. l... Full adder, λ, 4', j, O* 9 + 10 * //...D
Flip-flop, j, I, /2... Comparator, 7... Arithmetic processing unit (CPU), /7... Variable resistor for concentration adjustment, 2/, 22... Comparator, B... multiplexer. Patent applicant Canon Co., Ltd. Figure 1 Figure 6
Claims (1)
濃度信号をλ値化する画像処理装置において、原稿画像
の主走査方向に沿って連続した複数画素について画素濃
度の平均値を検出する平均値検出手段と、複数主走査に
亘る単位ブロックについて前記画素濃度の平均値の最大
値および最小値をそれぞれ検出する最大・最小値検出手
段と、複数の前記単位ブロック毎に前記画素濃度の平均
値の最大値および最小値を平均してスライスレベルを算
出するスライスレベル設定手段と、前記スライスレベル
に基づいて前記画素濃度信号を2値化するλ値化手段と
を備えたことを特徴とする画像処理装置。 2、特許請求の範囲第1項記載の画像処理装置において
、前記画素濃度の平均値の最大値および最小値をそれぞ
れ所定値と比較する比較手段を備え、前記最大値および
前記最小値がそれぞれ前記所定値の範囲を超えたときに
l単位ブロック前の前記最大値および前記最小値に置換
して前記スライスレベルを算出するようにしたことを特
徴とする画像処理装置。 3)特許請求の範囲第1項記載の画像処理装置において
、画像濃度を指定する濃度指定手段を備え、その濃度指
定手段によシ指定した画像濃度と前記スライスレベル設
定手段により算出したスライスレベル値とに応じてスラ
イスレベルを設定するようにしたことを特徴とする画像
処理装置。 4)特許請求の範囲第1項記載の画像処理装置において
、前記平均値検出手段が主走査の両端部において連続し
た複数画素をそれぞれ除いて前記画素濃度の平均値を検
出するようにしたことを特徴とする画像処理装置。 5)特許請求の範囲第1項記載の画像処理装置において
、前記手段のうち、少なくともいずれかの前記手段をマ
イクロプロセッサによって構成したことを特徴とする画
像処理装置。 6)撮像素子によシ原稿画像を読取って形成した画素濃
度信号を、Mを正の整数としてM値化する画像処理装置
において、原稿画像の主走査方向に沿って連続した複数
画素について画素濃度の平均値を検出する平均値検出手
段と、複数主走査に亘る単位ブロックについて前記画素
濃度の平均値の最大値および最小値をそれぞれ検出する
最大・最小値検出手段と、複数の前記単位ブロック毎に
前記画像濃度の平均値の最大値および最小値を平均して
M−1個のスライスレベルを算出するスライスレベル設
定手段と、前記M−/個のスライスレベルにそれぞれ基
づいて前記画素濃度信号をそれぞれλ値化するM−/個
の2値化手段を備えたことを特徴とする画像処理装置。 7)特許請求の範囲第6項記載の画像処理装置において
、前記スライスレベル設定手段により算出したM−/個
のスライスレベルが順次に増大するようにしたことを特
徴とする画像処理装置。[Claims] 1) In an image processing device that converts a pixel density signal formed by reading a document image using an image sensor into a λ value, the pixel density of a plurality of consecutive pixels along the main scanning direction of the document image is calculated. average value detection means for detecting an average value; maximum/minimum value detection means for detecting a maximum value and a minimum value of the average value of the pixel density for a plurality of unit blocks over a plurality of main scans; and for each of the plurality of unit blocks. A slice level setting means for calculating a slice level by averaging the maximum and minimum values of the average values of the pixel densities, and a λ value conversion means for binarizing the pixel density signal based on the slice level. An image processing device characterized by: 2. The image processing apparatus according to claim 1, further comprising comparison means for comparing the maximum and minimum values of the average values of pixel densities with predetermined values, respectively, wherein the maximum value and the minimum value are respectively compared with the predetermined values. An image processing apparatus characterized in that when a predetermined value range is exceeded, the slice level is calculated by replacing the slice level with the maximum value and the minimum value l unit blocks before. 3) The image processing apparatus according to claim 1, further comprising a density specifying means for specifying an image density, and the image density specified by the density specifying means and the slice level value calculated by the slice level setting means. An image processing device characterized in that a slice level is set according to 4) In the image processing apparatus according to claim 1, the average value detection means detects the average value of the pixel density by excluding a plurality of consecutive pixels at both ends of the main scan. Characteristic image processing device. 5) An image processing apparatus according to claim 1, wherein at least one of said means is constituted by a microprocessor. 6) In an image processing device that converts a pixel density signal formed by reading a document image by an image sensor into an M value, where M is a positive integer, the pixel density is calculated for a plurality of consecutive pixels along the main scanning direction of the document image. average value detection means for detecting the average value of the pixel density, maximum/minimum value detection means for detecting the maximum and minimum values of the average values of the pixel densities for the unit blocks spanning multiple main scans, and for each of the plurality of unit blocks. slice level setting means for calculating M-1 slice levels by averaging the maximum and minimum values of the image density average values, and calculating the pixel density signal based on the M-/ slice levels, respectively. An image processing device comprising M-/ binarization means each converting into a λ value. 7) An image processing apparatus according to claim 6, wherein the M-/ slice levels calculated by the slice level setting means are sequentially increased.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58159078A JPS6052164A (en) | 1983-09-01 | 1983-09-01 | Picture processing device |
US06/644,558 US4709274A (en) | 1983-08-29 | 1984-08-27 | Image processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58159078A JPS6052164A (en) | 1983-09-01 | 1983-09-01 | Picture processing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6052164A true JPS6052164A (en) | 1985-03-25 |
Family
ID=15685736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58159078A Pending JPS6052164A (en) | 1983-08-29 | 1983-09-01 | Picture processing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6052164A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62183681A (en) * | 1986-02-07 | 1987-08-12 | Fujitsu Ltd | Quantization system for picture signal |
-
1983
- 1983-09-01 JP JP58159078A patent/JPS6052164A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62183681A (en) * | 1986-02-07 | 1987-08-12 | Fujitsu Ltd | Quantization system for picture signal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4709274A (en) | Image processing apparatus | |
US4856075A (en) | Image discrimination | |
US4811115A (en) | Image processing apparatus using approximate auto correlation function to detect the frequency of half-tone image data | |
JPS6198069A (en) | Image processor | |
JPH03208467A (en) | Picture area identification system for picture processing unit | |
EP0340283B1 (en) | Image discrimination with continuous tone area thinning | |
JPH10283470A (en) | Image processor, image processing method and recording medium | |
US5055944A (en) | Image signal processing apparatus | |
JPS6052164A (en) | Picture processing device | |
JPH01115271A (en) | Image processor | |
JPH03185574A (en) | Multivalued image filtering processor | |
JPH01290427A (en) | Image forming device | |
US6842267B1 (en) | Image processing method | |
US5200839A (en) | Image processing apparatus | |
JPS63288565A (en) | Image processor | |
JP2541937B2 (en) | Image processing device | |
JP3064896B2 (en) | Image processing device | |
JP2521744B2 (en) | Image processing device | |
JP3051144B2 (en) | Halftone image processing device | |
JPS6180964A (en) | Picture signal processing method | |
JP2618655B2 (en) | Image reading device | |
JP4074397B2 (en) | Image processing device | |
JP3359045B2 (en) | Image processing apparatus and image processing method | |
JPH0618439B2 (en) | Image processing device | |
JPH0580192B2 (en) |