JPS639272A - Digital color picture editing device - Google Patents

Digital color picture editing device

Info

Publication number
JPS639272A
JPS639272A JP61151385A JP15138586A JPS639272A JP S639272 A JPS639272 A JP S639272A JP 61151385 A JP61151385 A JP 61151385A JP 15138586 A JP15138586 A JP 15138586A JP S639272 A JPS639272 A JP S639272A
Authority
JP
Japan
Prior art keywords
data
color
signal
red
circuit
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
JP61151385A
Other languages
Japanese (ja)
Inventor
Tadao Hayashi
忠男 林
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP61151385A priority Critical patent/JPS639272A/en
Publication of JPS639272A publication Critical patent/JPS639272A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Image Communication Systems (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

PURPOSE:To replace a color of an original into an optional color in red, green and blue components in an optional designated region in the original by designating an optional region in the original and outputting the red, green and blue component selectively between boundary points. CONSTITUTION:A device 3 designating the edition region and content and a circuit 302 representing the boundary point of the region in the main scanning direction at each line decided by the data are provided. A processing data selection circuit 304 obtains an L signal at the boundary point of the region and selects and outputs a signal from the data red R, green G and blue B to be processed at each boundary point signal. In applying partial color change, the row of the output color R is set in a selection circuit 304r as R, G, R, A, B. The R data is outputted at first, the G data by the L signal of the boundary point, the R data by the next L signal and then the R, B, R data are outputted as the red data. Similarly, an output color is set respectively to selection circuits 304g, 304b and 1 the setting value to the selection circuits 304 is revised by the setting value of new line depending on the line signal.

Description

【発明の詳細な説明】 (技術分野) 本発明はカラー画像を色分解してデジタル信号に変換す
ると共に各色ごとに感光体にレーザで書き込み、重ね合
わせてカラー画像を記録紙上に得るデジタルカラー画像
装置に関し、部分色換えの如き画像編集装置に係るもの
である。
Detailed Description of the Invention (Technical Field) The present invention is a digital color image that separates a color image, converts it into digital signals, writes each color on a photoreceptor with a laser, and superimposes the color images on a recording paper. The present invention relates to an image editing device such as a partial color changing device.

(従来技術) 原稿画像中の編集の対象となる特定領域の指定を行わせ
る原稿画像の61域指定に関しては、従来から種々の装
置、方法が提案されている。
(Prior Art) Various devices and methods have been proposed in the past for specifying 61 areas of a document image to specify a specific area to be edited in the document image.

例えば、原稿画像を一度デイスプレイ面に表示させ、ラ
イトベンなどを用いて画像編集の対象となる領域を指定
させる方法があるが、このような方法によれば装置全体
が複雑かつ大型化し°ζしまうという欠点がある。
For example, there is a method of displaying the original image on the display screen and then using a light ben or the like to specify the area to be edited, but this method makes the entire device complicated and large. There are drawbacks.

また、原稿画像中の特定領域を容易に指定することので
きる簡便な手段として、原稿台面にそのコンタクトガラ
ス上にのせられた原稿のX−Y座標」二の各2位置をア
ドレス的に指定することのできるレバー機構を設け、そ
れによって設定されたX軸上のラインおよびY軸上のラ
インによって囲まれる領域を画像編集の対象となる領域
として指定するようにしたものも公知である。しかし、
このような原稿画像中の特定領域の指定方法では、指定
値のずれが大きく、また複数の領域を同時に指定させて
それを判定させることが困難なものになっている。さら
にスキャナにより原稿画像を画素ごとに分解して読み取
る際(またはブロックによる画像の記録時であってもよ
い)、その原稿面を画素単位または画素の整数倍単位に
分割し、その分割された主走査及び副走査方向における
各アドレスに基づいて原稿面における任意の2点を指定
し、その指定された2点を対角とする方形を画像編集の
対象となる特定領域として取り扱うようにしたものも公
知となっている。
In addition, as a simple means for easily specifying a specific area in a document image, two positions in the X-Y coordinates of the document placed on the contact glass on the document table are designated as addresses. It is also known to provide a lever mechanism that can be used to designate an area surrounded by a set line on the X-axis and a line on the Y-axis as an area to be image edited. but,
In such a method of specifying a specific area in a document image, there is a large deviation in the specified values, and it is difficult to simultaneously specify and judge a plurality of areas. Furthermore, when a scanner separates and reads a document image pixel by pixel (or when recording an image in blocks), the document surface is divided into pixels or integral multiples of pixels, and the divided main There is also a method in which two arbitrary points on the document surface are specified based on each address in the scanning and sub-scanning directions, and a rectangle with the two specified points as diagonals is treated as a specific area to be edited. It is publicly known.

しかしこの場合、指定できる画像編集領域は対角線上の
2点で表せる四角形のみであった為、四角形の集合で表
せる多角形の領域の編集をする際、複数回の指定をしな
くてはならなかった。
However, in this case, the only image editing area that could be specified was a rectangle that could be represented by two diagonal points, so when editing a polygonal area that could be represented by a set of rectangles, it would have to be specified multiple times. Ta.

また従来、指定した領域内で色を変える場合ソフト処理
で行った為、リアルタイムで処理することができず、画
面全体を記憶しておくフレームメモリが必要であった。
Furthermore, in the past, changing colors within a specified area was done using software processing, which made it impossible to process in real time and required a frame memory to store the entire screen.

(目的) 本発明はこの様な従来例の欠点を解消し、デジタルカラ
ー画像装置において、原稿中、任意の領域を指定し、そ
の領域内のRGB成分(赤、緑、青成分)をフレームメ
モリ無しでRGB中任意の色と入れ換えることを可能と
することを目的とするものである。
(Purpose) The present invention solves the drawbacks of the conventional example, and uses a digital color imaging device to specify an arbitrary area in a document and store the RGB components (red, green, and blue components) in the area in a frame memory. The purpose of this is to make it possible to replace any color in RGB without any color.

(構成) そのために本発明は、編集領域及び内容を指定する装置
と、そのデータから決まる各ラインごとの主走査方向の
領域の境界点を示す回路と、その境界点間に処理すべき
、赤、緑、青成分を選択し、赤成分、緑成分、青成分と
して出力する回路を有することを特徴とするものである
(Structure) To achieve this, the present invention includes a device for specifying the editing area and contents, a circuit for indicating the boundary points of the area in the main scanning direction for each line determined from the data, and red and red lines to be processed between the boundary points. , green, and blue components and output them as red, green, and blue components.

以下、本発明の一実施例を説明する。An embodiment of the present invention will be described below.

第1図は編集機能を有するデジタルカラー画像装置の一
般的な構成図である。1は画像出力装置2は画像読取装
置である。3は領域指定装置であり、領域指定装置3上
のある基準点からの距離で原稿上の点あるいは領域をx
−y座標で指定するものである。4は領域指定装置3上
の点を指定するための入力装置である。画像読取装置2
では原稿の色濃度をRGBの3色に色分解し、各画素ご
とに測定する。測定されたデータは画像出力装置1に送
られ、様々な処理をされた後、Bk(ブラック)、Y(
イエロー)、M(マゼンタ)、C(シアン)のデータに
されレーザに出力される。
FIG. 1 is a general configuration diagram of a digital color image device having an editing function. 1 is an image output device, and 2 is an image reading device. 3 is an area specifying device, which determines a point or area on the document by the distance from a certain reference point on the area specifying device 3.
- It is specified by the y coordinate. 4 is an input device for specifying a point on the area specifying device 3; Image reading device 2
Then, the color density of the original is separated into three colors, RGB, and measured for each pixel. The measured data is sent to the image output device 1, and after being subjected to various processing, it is converted into Bk (black), Y (
The data is converted into data of (yellow), M (magenta), and C (cyan) and output to a laser.

感光体にレーザによって書き込まれた各色の潜像は、B
k、YXM、C各色に現像され顕像となり、転写紙」−
に重ねられることでコラ−コピーを得る。
The latent images of each color written on the photoreceptor by a laser are B
It is developed into K, YXM, and C colors and becomes a visible image, which is then printed on transfer paper.
Obtain a collage copy by being superimposed on it.

第2図はシステムのブロック図である。FIG. 2 is a block diagram of the system.

CCD100から入力された画素データば101〜10
3で示ずブロックで、シェーディング補正、γ補正され
、画像編集回路(11104によって指定領域内のRG
Bデータを任意の組み合わせで交換する部分色換え等の
編集処理が行われる。羊の後、補色生成回路105、マ
スキング処理回路106、OCR処理回路107により
減法混色データY、M、C,Bkのデータが作成され、
中間調処理回路108によってこれが2値データに変え
られ、ラインメモリ109に格納される。
Pixel data input from CCD 100 101 to 10
In the block not shown in 3, shading correction and γ correction are performed, and the image editing circuit (11104)
Editing processing such as partial color change is performed to exchange B data in an arbitrary combination. After the sheep, subtractive color mixture data Y, M, C, and Bk are created by the complementary color generation circuit 105, the masking processing circuit 106, and the OCR processing circuit 107.
This is converted into binary data by the halftone processing circuit 108 and stored in the line memory 109.

画像処理回路(21110は、移動や鏡像その他の画像
処理を行う回路でラインメモリ109のデータの一部を
マスクしたり、ラインメモリ109のデータを読み出す
タイミングやアドレスを変えたりする。そして処理され
たデータに従いレーザドライバ112が駆動され、レー
ザ113がコントロールされる。
The image processing circuit (21110 is a circuit that performs movement, mirror image processing, and other image processing) masks part of the data in the line memory 109 and changes the timing and address for reading data in the line memory 109. Laser driver 112 is driven according to the data, and laser 113 is controlled.

尚、CCD 100、ラインメモリ109、レーザドラ
イバ112、レーザ113等は各色ごとに設けである。
Note that the CCD 100, line memory 109, laser driver 112, laser 113, etc. are provided for each color.

114ば101〜112の周期を制御する回路である。114 is a circuit that controls the period of 101 to 112.

また外部インターフェイス回路117は、ccnからの
入力以外の外部入力装置からのデータを入力するための
インターフェイス回路である。
Further, the external interface circuit 117 is an interface circuit for inputting data from an external input device other than the input from the ccn.

201〜206はCPUを含む制御、演算回路であり、
I10ボート201の入力ボートには第1図の領域指定
装置3からのデータが入力される。
201 to 206 are control and arithmetic circuits including a CPU;
Data from the area specifying device 3 shown in FIG. 1 is input to the input port of the I10 port 201.

本発明は画像処理回路(11104による部分色換えに
関する編集機能に関するものである。
The present invention relates to an editing function regarding partial color change by an image processing circuit (11104).

第3図は、原稿の部分色換えを行う領域を示すものであ
る。主走査方向をX、副走査方向をy、走査開始点0を
原点(0,O)とする。斜線部頷域p、q、rにおいて
色換えの処理を行う。今、仮に領域pにおいてはRED
とGRF、ENを、領域qにおいてはG RE E N
 、!= B L U Eを、領域rにおいてはB L
 U EとRE DO色を換えるとする。
FIG. 3 shows an area in which partial color change of a document is performed. Let the main scanning direction be X, the sub-scanning direction be y, and the scanning start point 0 be the origin (0, O). Color change processing is performed in the shaded areas p, q, and r. Now, if in area p, RED
and GRF, EN, and in region q, G RE E N
,! = B L U E, and B L U E in region r
Suppose we want to change the UE and REDO colors.

すなわち、領域pにおいて原稿では赤だった画像は緑に
、緑色だった画像は赤で出力する。同様に領域q、rも
考える。これらの情報は第1図における領域指定装置3
7入力され、画像出力装置1に送られる。それらの情報
は第2図におけるCPTJ202で判断され、画像編集
回路(11104にコードを設定する。
That is, in the area p, an image that was red in the document is output as green, and an image that was green in the original is output as red. Similarly, consider regions q and r. This information is provided by the area specifying device 3 in Fig. 1.
7 is input and sent to the image output device 1. These pieces of information are determined by the CPTJ 202 in FIG. 2, and a code is set in the image editing circuit (11104).

今、第3図におけるラインlを走査すると仮定する。ラ
インのアドレスを示すyデータによってCPtJ202
は、領域の境界を示す点S、A、BC,D、F、のX方
向のアドレスを画像編集回路(1)】04に設定する。
Assume now that line 1 in FIG. 3 is to be scanned. CPtJ202 by y data indicating the address of the line.
sets the addresses in the X direction of points S, A, BC, D, and F, which indicate the boundaries of the area, in the image editing circuit (1)]04.

またRGBの各色ごとにSA。Also, SA for each RGB color.

AB、BC,CD、r)E、EF間で処理すべきデータ
の色を走査の順に画像編集回路fl)104に設定する
。これを第4図に表で示す。この場合、REDの出力は
、主走査上で境界の領域が来る度にR,G、R,R,B
、Rのデータを処理して出力する。同様にGREENの
出力はG、 R,G、 B。
The colors of data to be processed between AB, BC, CD, r)E, and EF are set in the image editing circuit fl) 104 in the order of scanning. This is shown in a table in FIG. In this case, the output of RED is R, G, R, R, B every time the boundary area comes on the main scan.
, R is processed and output. Similarly, the output of GREEN is G, R, G, B.

G、 Gのデータを処理して出力し、Blueの出力は
13.B、B、G、R,Bのデータを処理したものであ
る。これを各ラインごとに設定することで、第3図の領
域p、q、rで色を換えた画像が出力される。′ また、第4図における色換えデータの代わりに、なにも
出力しないOデータを処理するならば、指定領域内また
は外で画像を出力しないマスキングやトリミングを同一
の回路で&l処理することもできる。
G, G data are processed and output, and Blue output is 13. This is the result of processing B, B, G, R, and B data. By setting this for each line, an image with different colors in areas p, q, and r in FIG. 3 is output. 'Also, if O data that does not output anything is processed instead of the color change data in Figure 4, masking and trimming that do not output an image within or outside the specified area can also be processed using the same circuit. can.

以下、その実施例を示す。Examples are shown below.

第5図は、第2図における画像編集回路flll。FIG. 5 shows the image editing circuit full in FIG. 2.

4のブロック図を示す。領域指定装置3から人力された
編集情報に従って、CPUはIloを通じて領域の各境
界点の主走査方向のアドレスをコンパレータ(1〜n)
3Q2に設定する。一方、アドレスカウンタ301は、
データCLKをカウントし、入力中画素の主走査方向ア
ISレスをコンパレーク (1〜n)302に与える。
4 is shown. According to the editing information manually inputted from the area specifying device 3, the CPU calculates the address in the main scanning direction of each boundary point of the area through the comparators (1 to n) through Ilo.
Set to 3Q2. On the other hand, the address counter 301 is
The data CLK is counted and the main scanning direction IS address of the pixel being input is given to the comparator (1 to n) 302.

アドレスカウンタ301は、ライン信号によりリセット
を受け、初期化される。と同時にコンパレータ(1〜n
)302には、新しいラインの境界点のアドレスがセッ
トされる。ただし境界点数はn以下となるように領域を
指定する。コンパレータ(1〜n)  302は、境界
点になると1クロツク(データCLK)う〕のLow信
号をOR回路303に与える。
Address counter 301 is reset and initialized by a line signal. At the same time, a comparator (1 to n
) 302 is set with the address of the boundary point of the new line. However, the area is specified so that the number of boundary points is n or less. The comparators (1 to n) 302 give a low signal of one clock (data CLK) to the OR circuit 303 when the boundary point is reached.

これにより処理データ選択回路304は領域の境界点で
LOW信号を得る。処理データ選択回路304には領域
ごとに処理すべきデータが主走査方向に順番に設定され
ており、境界点の信号の度に、処理すべきデータR,G
、Bデータの中から選択し出力する。
As a result, the processing data selection circuit 304 obtains a LOW signal at the boundary point of the area. Data to be processed for each region is set in the processing data selection circuit 304 in order in the main scanning direction, and data R, G to be processed is set for each boundary point signal.
, B data is selected and output.

第3図のように部分の色換えを行う場合、処理データ選
択回路304rには第4図の出力色Rの行(R,G、R
,R,B、R)が設定されており、最初はRデータ、境
界点のLow信号でGデータ、次のL o w信号でR
データ、以下、R,B、RデータをT?Er)のデータ
として出力する。同様にして処理データ選択回路304
gには第4図G行(G、 R,G、 B、 c、 c)
 、304bにはB行(B、  B、  B、 G、 
 R,B)が設定されている。
When changing the color of a portion as shown in FIG.
, R, B, R) are set, the first is R data, the low signal at the boundary point is G data, and the next Low signal is R data.
Data, hereafter, R, B, R data is T? Output as data of Er). Similarly, the processing data selection circuit 304
In g, line G in Figure 4 (G, R, G, B, c, c)
, 304b has B rows (B, B, B, G,
R, B) are set.

304処理デ一タ選択回路への設定値は、ライン信号に
よって新しいラインの設定値に変えられる。
The setting value to the 304 processing data selection circuit is changed to the setting value of a new line by the line signal.

処理データ選択回路304「の例を第6図に示す。設定
値は第4図の場合である。
An example of the processing data selection circuit 304 is shown in FIG. 6.The set values are as shown in FIG.

シフトレジスタ401,402,403の設定値は図の
下方が下位のビットであり、出力の最下位のビットのみ
をとり、ゲートに用いている。今の場合シフトレジスタ
に8bitのものを各1つずつ用いるため、境界点は8
までしか設定できない。これらの設定値はC,PtJよ
りI/(’)を通じて設定される。同様の回路を304
g、304bに用いる。またマスキングやトリミングに
より画像をイレースする場合は、各シフトレジスタの対
応するbitを全てI、OWにずれば良い。
The lower bits of the set values of the shift registers 401, 402, and 403 are shown in the lower part of the diagram, and only the lowest bit of the output is taken and used for the gate. In this case, one 8-bit shift register is used for each shift register, so the boundary point is 8
You can only set up to These set values are set by C and PtJ through I/('). 304 similar circuits
g, used for 304b. Further, when erasing an image by masking or trimming, all the corresponding bits of each shift register may be shifted to I and OW.

第7図、第8図は上述した制御動作を示すフローチャー
トである。
FIGS. 7 and 8 are flowcharts showing the above-mentioned control operation.

図においてXn−Ynはいずれも主走査方向、副走査方
向のドツト間距離を単位上した値である。
In the figure, Xn-Yn are both values obtained by increasing the distance between dots in the main scanning direction and the sub-scanning direction.

またNは領域の頂点の数を示し、さらにMin(X、、
)はラインfl二の境界点X、、のうち最も小さいもの
を示す。
In addition, N indicates the number of vertices of the region, and Min(X, ,
) indicates the smallest of the boundary points X, , on the line fl2.

(効果) 以上本発明によれば、原稿中、指定した領域内のRGB
成分を任意のRGB成分の色に変換できるため、自由な
カラー編集が可能である。また同一の回路でマスキング
やトリミングが可能である。
(Effect) According to the present invention, RGB in a specified area in a document
Since the components can be converted to any RGB component color, free color editing is possible. Furthermore, masking and trimming can be performed using the same circuit.

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

第1図は編集機能を有するデジタルカラー画像装置の外
観斜視図、第2図は本発明に係るシステムブロック図、
第3図は原稿の部分色換えを行う領域を示す図、第4図
は色換え領域ごとのRGB出力のデータを示す図、第5
図は第2図における画像&li集回路(1)のブロック
図、第6図は第5図における処理データ選択回路の一例
を示す図、第7図、第8図は本発明の制御動作に係るフ
ローチャートである。 第3因 第7図 どPHIAL’丁ハ 付開叩bJ−Jどlど(ヒυ 第8図
FIG. 1 is an external perspective view of a digital color image device having an editing function, and FIG. 2 is a system block diagram according to the present invention.
Figure 3 is a diagram showing the area where partial color change is performed on the original, Figure 4 is a diagram showing RGB output data for each color change area, and Figure 5 is a diagram showing the RGB output data for each color change area.
The figure is a block diagram of the image &li collection circuit (1) in Figure 2, Figure 6 is a diagram showing an example of the processing data selection circuit in Figure 5, and Figures 7 and 8 are related to the control operation of the present invention. It is a flowchart. 3rd cause 7th figure

Claims (1)

【特許請求の範囲】[Claims] カラー画像を色分解してデジタル信号に変換すると共に
各色ごとに感光体にレーザで書き込み、重ね合わせてカ
ラー画像を記録紙上に得るデジタルカラー画像装置にお
いて、編集領域及び内容を指定する装置と、そのデータ
から決まる各ラインごとの主走査方向の領域の境界点を
示す回路と、その境界点間に処理すべき、赤、緑、青成
分を選択し、赤成分、緑成分、青成分として出力する回
路を有するデジタルカラー画像編集装置。
A device for specifying editing areas and contents in a digital color image device that separates a color image and converts it into digital signals, writes each color on a photoreceptor with a laser, and superimposes the color image on recording paper. A circuit that indicates the boundary points of the area in the main scanning direction for each line determined from the data, and selects the red, green, and blue components to be processed between the boundary points and outputs them as red, green, and blue components. A digital color image editing device having a circuit.
JP61151385A 1986-06-30 1986-06-30 Digital color picture editing device Pending JPS639272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61151385A JPS639272A (en) 1986-06-30 1986-06-30 Digital color picture editing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61151385A JPS639272A (en) 1986-06-30 1986-06-30 Digital color picture editing device

Publications (1)

Publication Number Publication Date
JPS639272A true JPS639272A (en) 1988-01-14

Family

ID=15517423

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61151385A Pending JPS639272A (en) 1986-06-30 1986-06-30 Digital color picture editing device

Country Status (1)

Country Link
JP (1) JPS639272A (en)

Similar Documents

Publication Publication Date Title
EP0369702B1 (en) Image processing apparatus and method
JPH05145735A (en) Image processor provided with insert synthesizing function
JPH07221971A (en) Image processing method and device therefor
JPS6255137B2 (en)
JP3317446B2 (en) Image processing device
US5200832A (en) Color image recording device with color edit and conversion processing
JPH04336865A (en) Monochromatic color edit system in color picture recorder
US5361141A (en) Image processor
JP3152426B2 (en) Image processing device
JPS639272A (en) Digital color picture editing device
JPH09307740A (en) Image processing unit
JP3503136B2 (en) Pixel interpolation device and pixel interpolation method
JP2740517B2 (en) Image processing device
JP2686258B2 (en) Image data processing device
JP2556336B2 (en) Color image processor
JPH02295351A (en) Picture processing system
JP3039657B2 (en) Image processing device
JP3060564B2 (en) Image input device and method of cutting out area using the same
JP2903175B2 (en) Image processing device
JPH01252069A (en) Picture processing method in color picture forming device
JPH0227369A (en) Color picture processor
JP2727455B2 (en) Image data processing device
JPH0638021A (en) Color image processor
JPH10334222A (en) Image processor
JPS62216081A (en) Image patterning system