JPH04255078A - Image processor - Google Patents

Image processor

Info

Publication number
JPH04255078A
JPH04255078A JP3009568A JP956891A JPH04255078A JP H04255078 A JPH04255078 A JP H04255078A JP 3009568 A JP3009568 A JP 3009568A JP 956891 A JP956891 A JP 956891A JP H04255078 A JPH04255078 A JP H04255078A
Authority
JP
Japan
Prior art keywords
image
luminance
value
reference value
luminance signal
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
JP3009568A
Other languages
Japanese (ja)
Inventor
Nobuaki Tsukamoto
塚本伸明
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP3009568A priority Critical patent/JPH04255078A/en
Publication of JPH04255078A publication Critical patent/JPH04255078A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)

Abstract

PURPOSE:To obtain an image processor capable of automatically correcting a binary reference value at the time of changing the distribution of luminance. CONSTITUTION:A luminance signal in a fine time is converted into a discrete multi-value, operation for sorting the converted value into several ranks is executed for a fixed time, a reference value for binalization is found out based upon the distribution state of the information stored for the fixed time to respective ranks, and an appropriate binary image is formed from an input signal.

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 processing apparatus, and more particularly to the configuration of a binarization device of the image processing apparatus.

【0002】0002

【従来の技術】従来の画像処理装置における2値化処理
は、固定、または半固定の基準値を用いて入力輝度信号
から2値化された輝度情報を生成し、2値化画像が出力
される構成であった。
2. Description of the Related Art Binarization processing in a conventional image processing device generates binarized luminance information from an input luminance signal using a fixed or semi-fixed reference value, and outputs a binarized image. The configuration was as follows.

【0003】0003

【発明が解決しようとする課題】しかし、テレビカメラ
等からの入力信号は、画像ごとに輝度分布が一定ではな
く、被写体や照明等の環境変化による、輝度分布の変化
への対応は不十分であった。このため入力信号から得ら
れる2値化画像が最適となるように、適時調製する必要
があった。
[Problem to be solved by the invention] However, the brightness distribution of input signals from television cameras etc. is not constant for each image, and it is insufficient to cope with changes in the brightness distribution due to changes in the subject, lighting, etc. there were. Therefore, it was necessary to timely prepare the binarized image obtained from the input signal so that it would be optimal.

【0004】そこで、本発明は多少の輝度分布の変化に
対し2値化基準値を自動で補正できる構成を実現するこ
とを目的とするものである。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to realize a configuration that can automatically correct a binarization reference value in response to a slight change in luminance distribution.

【0005】[0005]

【課題を解決するための手段】本発明の画像処理装置は
、輝度信号を基準値により2値化し画像情報を生成する
画像形成装置において、輝度信号を多値情報として蓄積
する機能と、蓄積された情報から基準値を求める演算回
路を備え、求められた基準値により輝度信号を2値化す
ることを特徴とする。
[Means for Solving the Problems] The image processing device of the present invention is an image forming device that binarizes a luminance signal using a reference value to generate image information. The luminance signal is characterized in that it includes an arithmetic circuit that obtains a reference value from the obtained information, and binarizes the luminance signal using the obtained reference value.

【0006】[0006]

【作用】本発明の上記構成によれば、画像の輝度分布に
より2値化基準値が選択されるため、照明や被写体によ
り輝度分布が変化しても適切な2値画像が得られる。
According to the above structure of the present invention, since the binarization reference value is selected according to the luminance distribution of the image, an appropriate binary image can be obtained even if the luminance distribution changes depending on the illumination or the subject.

【0007】[0007]

【実施例】図1は本発明を画像処理装置に応用した場合
の実施を示すブロック図である。図中1は工業用テレビ
カメラ、2は輝度信号をディジタル値に変換する回路で
ある。3はディジタル値をメモリに格納するための中央
処理演算装置、4はメモリ。5は処理結果を2値化輝度
信号に変換する回路、6は輝度信号を写しだすモニター
テレビである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram showing the implementation of the present invention when applied to an image processing apparatus. In the figure, 1 is an industrial television camera, and 2 is a circuit that converts a luminance signal into a digital value. 3 is a central processing unit for storing digital values in memory, and 4 is a memory. 5 is a circuit that converts the processing result into a binary luminance signal, and 6 is a monitor television that displays the luminance signal.

【0008】カメラから入力された映像を直接モニター
テレビで写した場合、図2の様になったとする。この時
の映像を図3の様に格子状の微小区画に分割し各区画の
明るさはその区画に相当する輝度信号をディジタル変換
した値とする。各格子をディジタル変換した結果を元の
格子に当てはめて記述した図が図4である。この25区
画の明るさ、すなわち輝度をヒストグラムを用いて表わ
したグラフが図の5である。グラフの横軸に輝度、縦軸
に度数をとり、このグラフの分布から2値化基準値を求
める。まずグラフ中の最も右に位置する輝度をAとし、
グラフ中最も度数の高い輝度をBとする。AとBの輝度
差をBから引いた値を求めこれを輝度Cとする。A、B
、Cの関係を式で表わせば、「C=B−(A−B)=2
×B−A」となり、このCの値を基準輝度とする。各区
画の輝度をこのCと比較し小さければ0、同じか大きけ
れば、1として再度格子状に表現した結果が、図6であ
る。
[0008] Suppose that when the image input from the camera is directly captured on a monitor television, it will look like the image shown in FIG. The image at this time is divided into grid-like minute sections as shown in FIG. 3, and the brightness of each section is determined by digitally converting the luminance signal corresponding to that section. FIG. 4 is a diagram in which the results of digital conversion of each grid are applied to the original grid. 5 in the figure is a graph showing the brightness, or luminance, of these 25 sections using a histogram. The horizontal axis of the graph represents luminance and the vertical axis represents frequency, and the binarization reference value is determined from the distribution of this graph. First, let A be the brightness located on the rightmost side of the graph,
Let B be the brightness with the highest frequency in the graph. A value is obtained by subtracting the brightness difference between A and B from B, and this value is set as brightness C. A, B
, C can be expressed as a formula: "C=B-(A-B)=2
×B-A", and this value of C is taken as the reference luminance. The brightness of each section is compared with this C, and if it is smaller, it is set as 0, and if it is the same or larger, it is set as 1, and the result is expressed again in a grid form as shown in FIG.

【0009】[0009]

【発明の効果】以上に述べたように本発明によれば、輝
度分布が図4から図7の様に変化した場合でも、基準値
を固定とした場合の2値化画像を表わす図8の様にはな
らず、図6の様に正確に被写体と背景を分離した画像を
得ることができる。
As described above, according to the present invention, even when the luminance distribution changes as shown in FIGS. 4 to 7, the image shown in FIG. Instead, it is possible to obtain an image in which the subject and background are accurately separated as shown in FIG.

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

【図1】本発明を実施した画像処理装置のブロック図。FIG. 1 is a block diagram of an image processing device implementing the present invention.

【図2】カメラが捉えた生画像を描画した図。FIG. 2 is a diagram depicting a raw image captured by a camera.

【図3】図2を格子状に区分した図。FIG. 3 is a diagram in which FIG. 2 is divided into a grid.

【図4】区分された各区画の輝度を区画内に数値をあて
はめた図。
FIG. 4 is a diagram in which the brightness of each divided section is applied to a numerical value within the section.

【図5】図4の輝度分布を横軸に輝度、縦軸に度数とし
て描いたヒストグラム。
FIG. 5 is a histogram depicting the luminance distribution in FIG. 4 with luminance on the horizontal axis and frequency on the vertical axis.

【図6】処理結果を各区画ごとに1または0を代入し、
0を代入した区画を斜線で示した図。
[Fig. 6] Substituting 1 or 0 for each partition as a processing result,
A diagram in which sections in which 0 has been substituted are shown with diagonal lines.

【図7】図4と同一の被写体を異なった明るさでカメラ
が捉えた時に生じる輝度分布とそのヒストグラム。
FIG. 7 shows the brightness distribution and its histogram that occur when the camera captures the same subject as in FIG. 4 with different brightness.

【図8】図7の画像を図3中Cの値で処理した結果と新
たに基準値を求めて処理した結果を相互に比較した図。
8 is a diagram comparing the results obtained by processing the image in FIG. 7 using the value C in FIG. 3 and the result obtained by processing the image by newly determining a reference value; FIG.

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

1  テレビカメラ 2  アナログ−ディジタル変換回路 3  中央処理装置 4  メモリ 5  ディジタル−アナログ変換回路 6  モニターテレビジョン 1 TV camera 2 Analog-digital conversion circuit 3 Central processing unit 4 Memory 5 Digital-analog conversion circuit 6 Monitor television

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  輝度信号を2値化する処理を有する画
像処理装置において、輝度信号をディジタル変換により
多値化した情報を格納する機能を備え、前述の格納され
た情報から、輝度信号を2値化するための基準値を求め
る演算機能を備え、求められた基準値を元に輝度信号を
、2値化することを特徴とする画像処理装置。
Claim 1: An image processing device that has a process of binarizing a luminance signal, which has a function of storing information obtained by digitally converting the luminance signal into a multivalued signal, and converts the luminance signal into two values from the stored information. An image processing device comprising an arithmetic function for obtaining a reference value for converting into a value, and binarizing a luminance signal based on the obtained reference value.
JP3009568A 1991-01-30 1991-01-30 Image processor Pending JPH04255078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3009568A JPH04255078A (en) 1991-01-30 1991-01-30 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3009568A JPH04255078A (en) 1991-01-30 1991-01-30 Image processor

Publications (1)

Publication Number Publication Date
JPH04255078A true JPH04255078A (en) 1992-09-10

Family

ID=11723903

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3009568A Pending JPH04255078A (en) 1991-01-30 1991-01-30 Image processor

Country Status (1)

Country Link
JP (1) JPH04255078A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6995802B2 (en) 2000-09-28 2006-02-07 Keiichi Sugimoto Image binarization method and binary image creation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6995802B2 (en) 2000-09-28 2006-02-07 Keiichi Sugimoto Image binarization method and binary image creation method

Similar Documents

Publication Publication Date Title
JPH03160573A (en) Picture threshold value decision method
JPH041866A (en) Method and device for image processing
JPH04255078A (en) Image processor
JPS58186291A (en) Gradation converting method of color video signal
JPS62297981A (en) Binarization system for image
JP3144226B2 (en) Screen size adjustment device and aspect detection method
JPH07154675A (en) Method for dividing picture data detection pattern and image pickup device
JP2521744B2 (en) Image processing device
JPS62198266A (en) Color picture information processor
JP3018628B2 (en) Image reading device
JPS6145690A (en) Processor of binary picture
JP3019522B2 (en) Image reading device
JPS61232769A (en) Image editing device
JP2702747B2 (en) Image signal processing device
JPH0520487A (en) Binary image converter
JPH0573056B2 (en)
JPH087099A (en) Area dividing device
JPH0342976A (en) Picture input device
JPH0916773A (en) Image processor
JPS63155270A (en) Image recognition device
JPH04101570A (en) Image signal binarizing device
JPH01264472A (en) Binarization device for picture
JPH06245074A (en) Method and device for binarizing image
JPS5829551B2 (en) 2D pattern information processing device
JPH01158879A (en) Binary picture forming device