JPS62256181A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPS62256181A
JPS62256181A JP61099664A JP9966486A JPS62256181A JP S62256181 A JPS62256181 A JP S62256181A JP 61099664 A JP61099664 A JP 61099664A JP 9966486 A JP9966486 A JP 9966486A JP S62256181 A JPS62256181 A JP S62256181A
Authority
JP
Japan
Prior art keywords
color
color information
circuit
block
pixel
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
JP61099664A
Other languages
Japanese (ja)
Inventor
Hirosuke Okano
岡野 啓輔
Nobuo Sugino
杉野 信夫
Masahiko Tamura
政彦 田村
Yoshinori Hatori
羽鳥 好律
Sadao Obana
貞夫 小花
Koji Nakao
康二 中尾
Tsutomu Miyasato
勉 宮里
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.)
KDDI Corp
Panasonic Holdings Corp
Original Assignee
Kokusai Denshin Denwa KK
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 Kokusai Denshin Denwa KK, Matsushita Electric Industrial Co Ltd filed Critical Kokusai Denshin Denwa KK
Priority to JP61099664A priority Critical patent/JPS62256181A/en
Publication of JPS62256181A publication Critical patent/JPS62256181A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Generation (AREA)

Abstract

PURPOSE:To obtain a natural block color picture by deciding the color for coloring the block by using the histogram of the color and coloring. CONSTITUTION:A color information table forming circuit 2 reads the contents of a picture memory for the block unit and processes. Since the picture memory 1 cannot read color data in the direction of a depth with respect to a specific picture element at the same time in case of reading the picture data of the block for the reason why four layers of R, G, B, Y are present in the direction of the depth, it forms a color information table so as to operate the color data of the picture element at the same time. The color data of the color information table formed by the color information table forming circuit 2 is read for the picture element by a color information reading circuit 3 and outputted to a color information identification circuit 4. In the color information identification circuit 4, a picture element color is discriminated based on the values of R, G, B, Y outputted at every picture element and one color of 16 colors represented by 4 bits of R, G, B, Y is selected. In a color distribution detecting circuit 6, the value counted for the color in the same color counting circuit 5 is received, the histogram of the color used in the block is detected, and the block is colored by the use of the color high in the histogram.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は1画素ごとに着色した画像情報をブロック単位
に分割し、ブロック内の色の度数分布によりブロック内
の着色する色を決める画像処理装置に関するものである
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an image processing device that divides image information colored for each pixel into blocks and determines the color to be colored in each block based on the frequency distribution of colors in each block. It is something.

従来の技術 従来の画像処理システムは、第5図に示すようにコンソ
ール12から入力した画像情報をメモリ13にある制御
プログラムにより処理し、画像メモリ1に色情報として
蓄え、ディスプレイ装置11に表示していた。
BACKGROUND OF THE INVENTION As shown in FIG. 5, a conventional image processing system processes image information input from a console 12 using a control program in a memory 13, stores it in an image memory 1 as color information, and displays it on a display device 11. was.

また、ブロック単位に着色した画面を作成する場合、サ
ンプリング方法が用いられていた。サンプリング方法は
、第6図に示すように画素ごとに着色した画像メモリの
内容を縦方向、横方向それぞれブロックサイズの値で格
子状にブロック内で1点の標本点がとれるようにサンプ
リングし、標本点の画素の色データをブロック色として
ブロックごとに着色を行うものである。このように画像
メモリの内容すべてに対してブロックごとに着色を行っ
ていた。
Additionally, when creating a screen colored in blocks, a sampling method was used. As shown in Figure 6, the sampling method is to sample the contents of the image memory colored for each pixel in a grid pattern using the block size values in both the vertical and horizontal directions so that one sample point is taken within each block. Coloring is performed for each block using the color data of the pixels of the sample points as the block color. In this way, all the contents of the image memory are colored block by block.

発明が解決しようとする問題点 このようなサンプリング方法では1標本点が離散的あり
、ブロック内での色の度数分布を考慮していないため、
標本点として選択した画素が特異な場合、選択した画素
色でブロック内を着色する。
Problems to be Solved by the Invention In this sampling method, each sample point is discrete, and the frequency distribution of colors within the block is not considered.
If the pixel selected as a sample point is unique, the inside of the block is colored with the selected pixel color.

したがってサンプリング法で作成した画像は、奇異な感
じを与える場合がある。
Therefore, images created using the sampling method may give a strange impression.

本発明は、ブロック内を着色する方法としてブロック内
の色分布を検出し、検出された色の度数分布を用いて、
最も使用頻度の高い色から順番にブロックを着色する色
として出力する。(例えばブロック内を2色で着色する
場合1最も度数の高い色と、二番目に度数の高い色を用
いる。)以上のような処理をしてブロック着色する色を
出力する画像処理装置を提供することを目的としている
The present invention detects the color distribution within the block as a method of coloring the inside of the block, and uses the frequency distribution of the detected color to
Outputs the blocks in order of color starting from the most frequently used color. (For example, when coloring the inside of a block with two colors, the color with the highest frequency and the color with the second highest frequency are used.) Provided is an image processing device that performs the above processing and outputs the color to be colored in the block. It is intended to.

問題点を解決するための手段 本発明は上記問題点を解決するため、画像メモリの色情
報を画素ごとに操作できるテーブルを作成する色情報テ
ーブル作成回路と、前記色情報テーブル作成回路により
作成したテーブルを用いて画素の色を判断する色情報識
別回路と、前記色情報識別回路から出力される色情報の
うち同一色の色情報の数を計数する同一色計数回路と1
前記同一色計数回路によシ計数した値を比較し使用して
いる色の使用頻度を検出する色分布検出回路とを備え、
前記色分布検出回路により得られた色の使用頻度の高い
色を用いてブロック内を着色する構成となっている。
Means for Solving the Problems In order to solve the above problems, the present invention provides a color information table creation circuit that creates a table that can manipulate color information in an image memory for each pixel, and a color information table creation circuit created by the color information table creation circuit. a color information identification circuit that determines the color of a pixel using a table; and a same color counting circuit that counts the number of color information of the same color among the color information output from the color information identification circuit;
a color distribution detection circuit that compares the values counted by the same color counting circuit and detects the frequency of use of the color being used;
The block is configured to be colored using frequently used colors obtained by the color distribution detection circuit.

作用 本発明は上記した構成により、画素ごとに着色された画
像データを、ブロック単位に分割し1ブロツク内の色の
度数分布を検出し使用頻度の高い色データを出力する。
According to the above-described structure, the present invention divides image data colored for each pixel into blocks, detects the frequency distribution of colors within one block, and outputs frequently used color data.

この色データを用いてブロック内を着色することにより
比較的自然なブロック着色画像を作成する。
By coloring the inside of the block using this color data, a relatively natural block colored image is created.

実施例 第2図は画像処理システムに、本発明の画像処理装置の
一実施例を組み込んだものである。画像情報はコンソー
ル12により入力され、メモリ13内にある制御プログ
ラムに従って中央処理装置10で処理し画像メモリ1に
蓄えられる。ここでは簡単なために画像メモリ1は奥行
き方向に4層あり、16色表示可能なものであp、R,
G。
Embodiment FIG. 2 shows an embodiment of the image processing apparatus of the present invention incorporated into an image processing system. Image information is input through the console 12, processed by the central processing unit 10 according to a control program stored in the memory 13, and stored in the image memory 1. For simplicity, the image memory 1 has four layers in the depth direction and can display 16 colors, p, R,
G.

B、Yとする。画像メモリ1に蓄えられた画像データは
ディスプレイ装置11に表示される。
Let them be B and Y. The image data stored in the image memory 1 is displayed on the display device 11.

ここで画像メモリ1に蓄えられた画像データをブロック
着色する場合は、中央処理装置1oから画像処理を開始
する命令を画像処理装置20に出力する。この命令によ
り画像メモリの内容を処理し始める。
If the image data stored in the image memory 1 is to be colored in blocks, the central processing unit 1o outputs a command to start image processing to the image processing device 20. This instruction begins processing the contents of the image memory.

画像データをブロック着色する方法としては様様な方法
が考えられるが、画像メモリ1の内容を第3図のように
4×4画素のブロックに区切I)、4×4の画素、つま
シ画素番号が101〜116までの16個の画素のうち
最も多く使用されている色と、2番目に多く使用されて
いる色の2色を用いてブロック内を着色する方法を考え
る。
Various methods can be considered for coloring image data in blocks, but the contents of image memory 1 are divided into 4 x 4 pixel blocks as shown in Figure 3. Consider a method of coloring the inside of a block using two colors, the most used color and the second most used color among the 16 pixels from 101 to 116.

第1図に本発明の画像処理装置のブロック図を示す。中
央処理装置10からの指示により色情報テーブル作成回
路2は画像メモリ1の内容をブロック単位で読み込み、
処理する。画像メモリ1は奥行き方向にR,G、B、Y
の4層存在するため、第3図のようなブロックの画像デ
ータを読み込む場合、特定の画素(例えば画素1o1)
に対して奥行き方向の色デー夕が一度に読めないので、
第4図に示す色情報テーブルを作成し、画素の色データ
が一度に操作できるようにする。
FIG. 1 shows a block diagram of an image processing apparatus according to the present invention. In response to instructions from the central processing unit 10, the color information table creation circuit 2 reads the contents of the image memory 1 block by block.
Process. Image memory 1 has R, G, B, Y in the depth direction.
Because there are four layers of
Since the color data in the depth direction cannot be read at once,
A color information table shown in FIG. 4 is created so that color data of pixels can be manipulated at once.

尚、ここでの色情報テーブルに入力されるデータは、各
画素についてR,G、B、Yのうち使用する色に対して
′1″を入力使用しない場合ば”0”を入力する。従う
て、R,Gにのみ111′′が入力されると5画素の色
はRとGをたしあわせた色を示すものとなる。このよう
に、まfR面についてデータを読み第4図に示すR列の
同一の画素番号の位置にデータを書く。同様にしてG面
Note that the data input to the color information table here is ``1'' for the color to be used among R, G, B, and Y for each pixel, and ``0'' if not used.Follow. So, if 111'' is input only to R and G, the color of the 5 pixels will be the sum of R and G.In this way, read the data for the fR plane and get the result shown in Figure 4. Write data to the position of the same pixel number in the R column.Do the same on the G side.

B面、Y面についても行い、第4図の色情報テーブルを
完成させる。色情報テーブル作成回路2により作成され
た色情報テーブルの色データを色情報読み出し回路3に
よシ画素ごとに読み込み色情報識別回路4に出力する。
This is also done for the B side and the Y side, and the color information table shown in FIG. 4 is completed. The color data of the color information table created by the color information table creation circuit 2 is read pixel by pixel by the color information reading circuit 3 and outputted to the color information identification circuit 4.

色情報識別回路4では、画素ごとに出力されたR、G、
B、Yの値を基に画素色を判断し、R,G、B、Yの4
ピツトで表される16色のうち1色を選択する。つまり
色情報識別回路4から1つの画素に対して16本出力さ
れている色情報に相当する色信号ラインのうち1本の色
信号ラインが選択される。ここで4×4画素のブロック
サイズの場合、16の画素があるため、16の画素色が
選ばれたことになる。同一色計数回路5では、色情報識
別回路4で画素ごとに判断された色情報を集計し計数す
る。画素101〜116のそれぞれの画素から出力され
る色信号ライン16本、合計256本のなかで、同一色
の色信号ラインを集め、同一の色ごとに色信号ラインが
何本色情報識別回路4により選択されているか計数する
。色分布検出回路6では、同一色計数回路5で色ごとに
計数した値を受け、これらの値をすべて比較してブロッ
ク内で使用している色の度数分布を検出し、ブロック内
を度数分布の高い色を用いて着色する。
The color information identification circuit 4 outputs R, G,
The pixel color is determined based on the values of B and Y, and the 4 colors of R, G, B, and Y are determined.
Select one color from the 16 colors represented by the pits. That is, one color signal line is selected from among the 16 color signal lines corresponding to color information output from the color information identification circuit 4 for one pixel. Here, in the case of a block size of 4×4 pixels, there are 16 pixels, so 16 pixel colors are selected. The same color counting circuit 5 aggregates and counts the color information determined for each pixel by the color information identifying circuit 4. Among the 16 color signal lines output from each of the pixels 101 to 116, totaling 256 color signal lines, the color signal lines of the same color are collected, and the color information identification circuit 4 determines how many color signal lines there are for each of the same colors. Count whether it is selected. The color distribution detection circuit 6 receives the values counted for each color by the same color counting circuit 5, compares all these values, detects the frequency distribution of the color used within the block, and calculates the frequency distribution within the block. Color using a high color.

発明の効果 以上述べてきたように1本発明によれば、画素ごとに着
色した画像データをブロックに区切り、ブロック内で使
用している色の度数分布を用いてブロック内を着色する
色を決定し着色を行うため、比較的自然なブロック着色
画像が得られる。したがって実用的にきわめて有用であ
る。
Effects of the Invention As described above, according to the present invention, image data colored for each pixel is divided into blocks, and the color to be colored in the block is determined using the frequency distribution of the colors used in the block. Since coloring is carried out in advance, a relatively natural block colored image can be obtained. Therefore, it is extremely useful in practical terms.

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

第1図は本発明の一実施例における画像処理装置の示す
ブロック図、第2図は本発明の一実施例の画像処理装置
を組みこんだ画像処理システムのブロック図、第3図は
画像メモリをブロックに切り出した概念図、第4図は色
情報を画素ごとに操作できるテーブルの概念図、第6図
は従来例を示すブロック図、第6図は従来例のサンプリ
ング方法の概念図である。 1・・・・・・画像メモリ12・・・・・・色情報テー
ブル作成回路、3・・・・・・色情報読み出し回路、4
・・・・・・色情報識別回路16・・・・・・同一色計
数回路、6・・・・・・色分布検出回路、10・・・・
・・中央処理装置111・・・・・・ディスプレイ装置
、12・・・・・・コンソール、13・・・・・・メモ
リ。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名第2
図 第3図 粥4図
FIG. 1 is a block diagram of an image processing device according to an embodiment of the present invention, FIG. 2 is a block diagram of an image processing system incorporating the image processing device according to an embodiment of the present invention, and FIG. 3 is an image memory. Figure 4 is a conceptual diagram of a table that can manipulate color information pixel by pixel, Figure 6 is a block diagram showing a conventional example, and Figure 6 is a conceptual diagram of a conventional sampling method. . 1... Image memory 12... Color information table creation circuit, 3... Color information reading circuit, 4
...Color information identification circuit 16... Same color counting circuit, 6... Color distribution detection circuit, 10...
... Central processing unit 111 ... Display device, 12 ... Console, 13 ... Memory. Name of agent: Patent attorney Toshio Nakao and 1 other person 2nd
Figure 3 Figure 4 Porridge

Claims (1)

【特許請求の範囲】[Claims] 画素単位に着色可能な画像メモリと、前記画像メモリの
内部色情報を画素ごとに操作できるテーブルを作成する
色情報テーブル作成回路と、前記色情報テーブル作成回
路により作成したテーブルを用いて画素の色を判断する
色情報識別回路と、前記色情報識別回路から出力される
色情報のうち同一色の色情報の数を計数する同一色計数
回路と、前記同一色計数回路により計数した値を比較し
使用している色の度数を検出する色分布検出回路とを備
え、画素ごとに着色した画像情報を、縦方向m画素、横
方向n画素のm×n画素の一群から成るブロック単位に
区切り、前記色分布検出回路により得られた使用頻度の
高い色を用いてブロック内を着色することを特徴とする
画像処理装置。
An image memory that can color each pixel, a color information table creation circuit that creates a table that allows the internal color information of the image memory to be manipulated for each pixel, and a color information table creation circuit that creates a pixel color using the table created by the color information table creation circuit. A color information identification circuit that determines the color information, a same color counting circuit that counts the number of color information of the same color among the color information output from the color information identification circuit, and a value counted by the same color counting circuit is compared. and a color distribution detection circuit that detects the frequency of the color used, and divides image information colored for each pixel into blocks each consisting of a group of m×n pixels, m pixels in the vertical direction and n pixels in the horizontal direction, An image processing device characterized in that the inside of the block is colored using frequently used colors obtained by the color distribution detection circuit.
JP61099664A 1986-04-30 1986-04-30 Picture processor Pending JPS62256181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61099664A JPS62256181A (en) 1986-04-30 1986-04-30 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61099664A JPS62256181A (en) 1986-04-30 1986-04-30 Picture processor

Publications (1)

Publication Number Publication Date
JPS62256181A true JPS62256181A (en) 1987-11-07

Family

ID=14253305

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61099664A Pending JPS62256181A (en) 1986-04-30 1986-04-30 Picture processor

Country Status (1)

Country Link
JP (1) JPS62256181A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7072506B1 (en) * 1998-03-09 2006-07-04 Minolta Co Ltd Image processing apparatus image forming apparatus and color image determination method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7072506B1 (en) * 1998-03-09 2006-07-04 Minolta Co Ltd Image processing apparatus image forming apparatus and color image determination method thereof
US7177462B2 (en) 1998-03-09 2007-02-13 Minolta Co., Ltd. Image processing apparatus, image forming apparatus and color image determination method thereof
US7319786B2 (en) 1998-03-09 2008-01-15 Minolta Co., Ltd. Image processing apparatus, image forming apparatus and color image determination method thereof

Similar Documents

Publication Publication Date Title
US4354185A (en) Display system for localizing regions in a mixed text and picture display
JPS62256181A (en) Picture processor
JP3079669B2 (en) Image processing device
JPH09134422A (en) Continuous coloring method for animation and device therefor
JP2924528B2 (en) Labeling processing method and labeling processing apparatus
JPS5947664A (en) Picture paint processing system
JP2552088B2 (en) Screen color changing method and device
JP2713582B2 (en) Plot editor
JP3120469B2 (en) Image display method and apparatus
JPH0736437A (en) Picture data processor
JPH0765057A (en) Dimensional line writing system
JPH075237A (en) Wake display device and method
JPS61223888A (en) Graphic generator
JPS62259146A (en) Observing device for circuit action
JPS61114377A (en) Segment formation system
JPS63184791A (en) Blinking control system
JPH08160935A (en) Character pattern display device
JPH01255969A (en) Display device and display method for logical circuit
JPH06102057A (en) Trend display
JPH07129786A (en) Image display device
JPS646505B2 (en)
JPH0352076A (en) Map processing system
JPS6286392A (en) Handy image display unit
JPS6382600A (en) Screen display system
JPH01161546A (en) Program executing route displaying system