JPH0638629B2 - Image processing method - Google Patents
Image processing methodInfo
- Publication number
- JPH0638629B2 JPH0638629B2 JP60172008A JP17200885A JPH0638629B2 JP H0638629 B2 JPH0638629 B2 JP H0638629B2 JP 60172008 A JP60172008 A JP 60172008A JP 17200885 A JP17200885 A JP 17200885A JP H0638629 B2 JPH0638629 B2 JP H0638629B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- data
- memory
- image memory
- value
- 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 - Lifetime
Links
Landscapes
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
Description
【発明の詳細な説明】 〔技術分野〕 本発明は画像を変換処理する画像処理方法に関するもの
である。Description: TECHNICAL FIELD The present invention relates to an image processing method for converting an image.
従来、この種の画像処理方法の1つとして 印刷業界での電子製版技術、写真ラボ業界でのコンピュ
ータ写真画像処理を応用したプロラボ技術が知られてい
る。Conventionally, as one of the image processing methods of this type, an electronic plate making technique in the printing industry and a professional lab technique applying computer photographic image processing in the photographic laboratory industry are known.
例えば画像原稿上をレイアウトスキヤナ、レーザカラー
プリンタ等の高精度スキヤナにより光電走査して再生画
像を得る場合その工程の中間に信号処理部を設けて入力
濃度信号に対して濃度表現修正(γ補正)、階調設定、
色修正、切り抜き合成等の処理を行ない以下の様な効果
を得ている。For example, when a reproduced image is obtained by photoelectrically scanning an image original with a high-precision scanner such as a layout scanner or a laser color printer, a signal processing unit is provided in the middle of the process to correct the density expression (γ correction) for the input density signal. ), Gradation setting,
The following effects are obtained by performing processing such as color correction and cutout composition.
カラーフイルムの退色復元 ハイライト、シヤドウの階調を整え、色彩表現の誇張 機器故障、撮影ミス、現像ミス等の救済 クリエイテイブイメージを表現し、イメージ領域の拡
大、新しいデザインを創造する。Fading restoration of color film Adjusting highlights and shade gradations, exaggeration of color expression Relief of equipment failure, shooting mistake, development mistake, etc. Expressing creative images, expanding the image area and creating new designs.
従来この種の特殊効果は、規則正しく配列されたモザイ
ク処理やγ曲線を非現実的なものに変化させるポスタリ
ゼーシヨン処理やソラリゼーシヨン処理等がある。とこ
ろがこれだけの処理ではクリエイテイブイメージを表現
し、イメージ領域の拡大、新しいデザインを創造するた
めには数少ないという問題点がある。また別の方法とし
てたとえばDPB7000(クウオンテル社)、アート
ロン2000(アートロニクス社)、レスポンス300
(サイテツクス社)等の切り抜き合成やペイント機能が
あるが、この場合は作成者がタブレツトデジタイザー等
の座標指示装置を用いてオリジナル画像と書き加えてい
くというものでかなりの時間を必要とするばかりでな
く、作成者のセンスが再生画像に反映してしまうという
欠点がある。Conventionally, this kind of special effect includes mosaic processing arranged regularly, posterization processing for changing the γ curve into an unrealistic one, solarization processing, and the like. However, there is a problem in that it is rare to express a creative image, expand the image area, and create a new design with such processing. As another method, for example, DPB7000 (Quantel Corporation), Artron 2000 (Artronix Corporation), Response 300
(Citex Co., Ltd.) has cut-out composition and painting functions, but in this case the creator uses a coordinate pointing device such as a tablet digitizer to add to the original image, which requires a considerable amount of time. However, there is a drawback that the sense of the creator is reflected in the reproduced image.
以下にx方向5、y方向5の大きさのモザイク処理を行
なうものを例にとって説明する。デジタル画像の(m,
n)番目の画素情報をa(m,n)と表現する。ここで
画素情報a(m,n)はフイルム原稿の濃度信号又は輝
度信号をA/D変換したデジタルカウント値を示す。そ
して原画像の画素情報をa(m,n)とし処理後の再生
画像の画素情報をa′(m,n)とするとモザイク処理
では次の様な関係式になる。An example will be described below in which mosaic processing with a size of 5 in the x direction and 5 in the y direction is performed. Digital image (m,
The n) th pixel information is expressed as a (m, n). Here, the pixel information a (m, n) indicates a digital count value obtained by A / D converting the density signal or the luminance signal of the film document. Then, assuming that the pixel information of the original image is a (m, n) and the pixel information of the processed reproduced image is a '(m, n), the following relational expression is obtained in the mosaic processing.
a′(5m−i,5n−j)=a(5m−3,5n−
3) 但しi=0,1,2,3,4 j=0,1,2,3,
4、 m,nは自然数 上関係式では5×5の画素ブロツクの中心の値が代表値
となり、ブロツク内の他の画素にもその値が代入されて
いるがその代表値は5×5の画素ブロツクであればどの
値でもよく又平均値でも良い。a '(5m-i, 5n-j) = a (5m-3, 5n-
3) where i = 0, 1, 2, 3, 4 j = 0, 1, 2, 3,
4, m, n are natural numbers. In the above relational expression, the central value of the pixel block of 5 × 5 is the representative value, and that value is also substituted for the other pixels in the block, but the representative value is 5 × 5. Any value or average value may be used as long as it is a pixel block.
この様に従来の規則正しく配列されたモザイク処理では
矩形のブロツクの配列が規則正しすぎる、ブロツク内の
画素がすべて同じ値であるため原画像情報の欠落が大き
いという様な欠点があり、クリエイテイブイメージを表
現するためにはそれを改良した処理方法が切望されてい
る。In this way, conventional mosaic processing has the drawbacks that the arrangement of rectangular blocks is too regular, and the original image information is greatly lost because all pixels in the block have the same value. In order to achieve this, an improved processing method has been earnestly desired.
本発明の目的は上述従来例の欠点を除去するとともにク
リエイテイブな画像を表現できる画像処理方法を提供す
ることにある。An object of the present invention is to provide an image processing method capable of eliminating the above-mentioned drawbacks of the conventional example and expressing a creative image.
以下、本発明の一実施例について図面を用いて詳細に説
明する。第1図は、カラースキヤナに本発明を用いた時
の濃度信号の流れの一例を示すブロツクダイヤグラムで
ある。入力ドラム1に装填されたフイルム原稿を光電走
査して得られた入力信号は、対数変換回路2にて濃度信
号に変換された後、AD変換器3を経て入力信号処理部
4に入力されて、フイルムの種類に応じてそれぞれその
濃度値を変換し、フイルムの露光量に対して一定の関係
をなす様に変換する。というのはフイルム特性曲線がネ
ガフイルム、ポジフイルム、リバーサルフイルムによっ
て異なり又カラー画像の場合は特にネガフイルムでは
R、G、Bの各色によって異なるためである。この後に
このシステムの心臓部というべき画像処理部5に入力さ
れ、デジタル画像処理が施される。この後画像処理部5
から出力された濃度信号は、出力信号処理部6でレーザ
ー光量の制御信号に変換する処理を行ないDA変換器7
を経て変調器8に入力され光源9から出力されたレーザ
ー光の変調を行ない、出力ドラム10に所望の画像を再
生させる。An embodiment of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing an example of the flow of a density signal when the present invention is applied to a color scanner. An input signal obtained by photoelectrically scanning a film document loaded on the input drum 1 is converted into a density signal by the logarithmic conversion circuit 2 and then input to the input signal processing unit 4 via the AD converter 3. , The density value of each film is converted according to the type of the film, and the density value is converted so as to have a fixed relationship with the exposure amount of the film. This is because the film characteristic curve differs depending on the negative film, the positive film, and the reversal film, and in the case of a color image, especially in the negative film, the R, G, and B colors. After that, the image is input to the image processing unit 5, which is the heart of the system, and digital image processing is performed. After this, the image processing unit 5
The density signal output from the D / A converter 7 is processed by the output signal processing unit 6 to be converted into a laser light amount control signal.
After that, the laser beam input to the modulator 8 and output from the light source 9 is modulated, and the output drum 10 reproduces a desired image.
第2図は画像処理部5の一部をより詳細に示したブロッ
ク図である。CPU11はコントロールプロセツサで、
画像処理部5のすべての実権を握っており、CPUメモ
リ12に格納されている制御プログラムに基づいて画像
処理を制御する。パラメータコントローラ13は演算器
14、パラメータメモリ15、パラメータ設定用I/O
16をコントロールし、処理に必要なパラメータの初期
化、設定、比較等を行なう。プロセツサ18とCPU1
1はCPU BUSを介してイメージコントローラ17
によって接続されておりCPU11の指令によってプロ
セツサー18は動作する。プロセツサー18は画像処理
部5の中核となる部分であり、CPU11の命令に従い
セレクトされた任意のイメージメモリ(1)20〜
(8)27や画像データ用I/O36から画像データを
受けとり、演算された結果をセレクトされた任意のイメ
ージメモリ20〜27や画像データ用I/O36へと送
る。また演算により必要なアドレスにキヤリーをたてる
ためにキヤリー専用メモリであるフラグマツプメモリ1
9にも出力可能である。イメージメモリ20〜27はC
PU BUS,VIDEO BUSのいずれにも接続さ
れているのでCPU11から任意のイメージメモリ20
〜27に読み書きすることも任意のメモリー間でリアル
タイム演算することも可能である。イメージメモリの出
口にルツクアツプテーブル(1)28〜(8)35とい
う高速RAMが接続されている。このRAMは256×
8ビツトの構造をもち、RAMのアドレスライン8本
(0〜255番地を指定できる=0〜255階調を指定
できる)は各イメージメモリーの出力に直結され、デー
タライン8本はVIDEO BUSに接続されている。
またRAMの内容はCPU11より自由に読み書きでき
る。画像データ用I/O36は画像用入出力インターフ
エースであり第1図の入力信号処理部4が画像データ用
I/O36に接続されており、入力信号処理部4から画
像データ入力し、又画像データ用I/O36には出力信
号処理部6も接続されており出力信号処理部6へと画像
データ出力を行なう。FIG. 2 is a block diagram showing a part of the image processing unit 5 in more detail. CPU11 is a control processor,
It has all the real rights of the image processing unit 5, and controls the image processing based on the control program stored in the CPU memory 12. The parameter controller 13 includes a computing unit 14, a parameter memory 15, and a parameter setting I / O.
Control 16 to initialize, set, and compare parameters necessary for processing. Processor 18 and CPU1
1 is an image controller 17 via the CPU BUS
The processor 18 is operated by a command from the CPU 11. The processor 18 is a core portion of the image processing unit 5, and is an arbitrary image memory (1) 20-selected according to a command from the CPU 11.
(8) Image data is received from 27 or the image data I / O 36, and the calculated result is sent to any of the selected image memories 20 to 27 or the image data I / O 36. In addition, a flag map memory 1 which is a dedicated memory for carrying a carrier to a necessary address by calculation
It is also possible to output to 9. Image memories 20-27 are C
Since it is connected to both the PU BUS and the VIDEO BUS, the image memory 20
It is possible to read / write from 27 to 27 and perform real-time operation between arbitrary memories. A high-speed RAM called a backup table (1) 28 to (8) 35 is connected to the exit of the image memory. This RAM is 256x
With 8-bit structure, 8 RAM address lines (0-255 addresses can be specified = 0-255 gray levels can be specified) are directly connected to the output of each image memory, and 8 data lines are connected to VIDEO BUS. Has been done.
The contents of RAM can be freely read and written by the CPU 11. The image data I / O 36 is an image input / output interface, and the input signal processing unit 4 in FIG. 1 is connected to the image data I / O 36. An output signal processing unit 6 is also connected to the data I / O 36 and outputs image data to the output signal processing unit 6.
第3図は画像処理部5で行なわれるデジタル画像処理方
法についてのフローチヤートを示し、第4図はルツクア
ツプテーブル(1)28〜(8)35の状態を示すグラ
フであり横軸に入力階調、縦軸に出力階調を示す。第4
図−(a)では標準状態を示し0番地には0、1番地に
は1、……255番地には255という値が書き込まれ
ているのを示し、入力,出力の内容が同一となる。また
0番地には255、1番地には254、……255番地
に0という値が書き込まれていると入力−出力は濃度デ
ータが反転された画像となることを表わし、これを第4
図−(b)に示す。FIG. 3 shows a flow chart of the digital image processing method performed by the image processing unit 5, and FIG. 4 is a graph showing the states of the backup table (1) 28 to (8) 35, and the horizontal axis shows the input floor. And the vertical axis shows the output gradation. Fourth
In the figure- (a), the standard state is shown, and the value 0 is written in the address 0, the value 1 is written in the address 1, ... The value 255 is written in the address 255, and the input and output contents are the same. If a value of 0 is written in address 0, 255, 1 in address 254, ..., 255, it means that the input-output is an image in which the density data is inverted.
It is shown in FIG.
以下画像処理部5で行なわれるデジタル画像処理方法に
ついてフローチヤート第3図を中心に詳細に説明する。
ここでデジタル画像の濃度データをai(m,n)とい
う形で説明上表わす。但しiはR、G、Bでありそれぞ
れ原画像のR成分画像データ、G成分画像データ、B成
分画像データを示す。また1画素は各成分それぞれ8ビ
ツト構成すなわち256階調表現可能なデータとなって
おり最も濃度の大きいデータ(最も暗いデータ)の値を
0とし最も濃度の小さいデータ(最も明るいデータ)の
値を255とする。The digital image processing method performed by the image processing unit 5 will be described below in detail with reference to the flow chart of FIG.
Here, the density data of the digital image is represented in the form of ai (m, n) for the sake of explanation. However, i is R, G, and B, and indicates R component image data, G component image data, and B component image data of the original image, respectively. In addition, each pixel has 8 bits for each component, that is, data capable of expressing 256 gradations. The value of the data with the highest density (darkest data) is set to 0, and the value of the data with the lowest density (the brightest data) It is set to 255.
ステツプ1 S1の説明 CPU11の命令によりプロセツサ18は画像データ用
I/O36を介して入力信号処理部4により原画像のR
成分画像データをイメージメモリ(1)20に格納す
る。続いて原画像のG成分画像データ、B成分画像デー
タをそれぞれイメージメモリ(2)21,(3)22に
格納する。この時ルツクアツプテーブル(1)28〜
(8)35は第4図−(a)の標準状態である。Step 1 Description of S1 The processor 18 is instructed by the input signal processing unit 4 to transfer the R
The component image data is stored in the image memory (1) 20. Subsequently, the G component image data and the B component image data of the original image are stored in the image memories (2) 21 and (3) 22, respectively. At this time, the Lucky Up Table (1) 28-
(8) 35 is the standard state of FIG.
ステツプ2 S2の説明 プロセツサ18の働きによりイメージメモリ(1)20
の画像データをイメージメモリ(4)23に代入する。
この時ルツクアツプテーブル(1)28の内容は第4図
−(a)で示す様に標準状態であるのでイメージメモリ
(1)20の内容がイメージメモリ(4)23にそのま
まコピーされる。同様にしてイメージメモリ(2)2
1、イメージメモリ(3)22の画像データをそれぞれ
イメージメモリ(5)24、イメージメモリ(6)25
にコピーする。Step 2 Explanation of S2 Image memory (1) 20 by the function of the processor 18
The image data of is substituted into the image memory (4) 23.
At this time, the contents of the look-up table (1) 28 are in the standard state as shown in FIG. 4 (a), so the contents of the image memory (1) 20 are copied to the image memory (4) 23 as they are. Similarly, image memory (2) 2
1. The image data of the image memory (3) 22 are respectively stored in the image memory (5) 24 and the image memory (6) 25.
To copy.
ステツプ3 S3の説明 ここで演算に必要なパラメータの設定を行なう。本実施
例ではパラメータ設定用I/O16よりキーボード(不
図示)等のキー入力によって画素ブロツクの大きさmo
×noおよびその内容(例えば画素ブロツク内のデータ
変換形状)を入力する。内容はmo×noマトリツクス
に0と1で指定し、1のところは演算を行ない代表値を
代入しデータを書きかえるが、0のところは元のイメー
ジのままのデータ値とする。第5図(a),(b)に例
として5×5の場合と9×9の場合の画素ブロツクの内
容を示す。この例ではパラメータ設定用I/O16によ
り作成者が自ら入力する形をとっているがあらかじめそ
の情報をパラメータメモリ15に格納しておけば作業者
のパラメータデータ入力の操作なしに自動化できるのは
言うまでもない。Step 3 Explanation of S3 Here, the parameters necessary for the calculation are set. In the present embodiment, the size of the pixel block mo is input by keying in a keyboard (not shown) or the like from the parameter setting I / O 16.
Input xno and its contents (for example, the data conversion shape in the pixel block). The content is specified by 0 and 1 in the mo × no matrix, the operation is performed at 1 and the representative value is substituted and the data is rewritten, but at 0, the data value is the same as the original image. 5 (a) and 5 (b) show the contents of pixel blocks in the case of 5 × 5 and 9 × 9 as examples. In this example, the creator inputs the data by the parameter setting I / O 16, but if the information is stored in the parameter memory 15 in advance, it can be automated without the operator having to input the parameter data. Yes.
ここで設定された画素ブロツクの大きさmo×noと画
素データの大きさM×Nによって以下の演算に必要なパ
ラメータである1回に演算するための画素ブロツクの個
数P1とそれを繰り返す回数P2を算出する。該パラメ
ータP1,P2は次の演算式によって求めた。Depending on the pixel block size mo × no and the pixel data size M × N set here, the number of pixel blocks P1 for one operation, which is a parameter required for the following operation, and the number of times P2 of repeating the same To calculate. The parameters P1 and P2 were obtained by the following arithmetic expressions.
P1=(M/mo)×(N/no)/4 P2=SQR(mo×no) 但しP1,P2は整数化する。P1 = (M / mo) × (N / no) / 4 P2 = SQR (mo × no) where P1 and P2 are integers.
また以下の演算の制御に用いる制御用パラメータIP1
の初期化を行なう。具体的にはIP1=1とし以下の処
理でIP1=1の時はイメージメモリ(1)20を対象
に行ないIP1=2,IP1=3ではそれぞれイメージ
メモリ(2)21,(3)22を対象に処理する。Further, a control parameter IP1 used for controlling the following calculation
Is initialized. Specifically, when IP1 = 1, the following processing is performed for the image memory (1) 20 when IP1 = 1, and for the image memories (2) 21, (3) 22 when IP1 = 2 and IP1 = 3, respectively. To process.
ステツプ4 S4の説明 ステツプ3で設定した画素ブロツクの形状(1,0から
成る)をx方向,y方向ともに周期的なパターンとなる
画像をイメージメモリ(7)26に作成する。はじめに
プロセツサ18の働きによりイメージメモリ(7)26
をクリアー(すべて0に)し、パラメータメモリ15に
格納されている形状のデータを読み出し周期的にイメー
ジメモリ(7)26に書き込む。画素ブロツクのデータ
をb(m,n)と表わしイメージメモリ(7)26に作
成される画素データをa7(m,n)と表わすと2者の
関係は次の様になる。Step 4 Explanation of S4 An image is formed in the image memory (7) 26 in which the shape (consisting of 1, 0) of the pixel block set in Step 3 is a periodic pattern in both the x and y directions. Introduction The image memory (7) 26 by the function of the processor 18
Is cleared (all are set to 0), and the data of the shape stored in the parameter memory 15 is read out and periodically written in the image memory (7) 26. If the pixel block data is represented by b (m, n) and the pixel data created in the image memory (7) 26 is represented by a7 (m, n), the relationship between the two is as follows.
となる。 Becomes
また上記の周期的画素ブロツクからなる画像と不図示の
外部メモリに格納しておき、ステツプ3のパラメータの
設定後読み出してイメージメモリ(7)26に格納する
方法をとっても良い。It is also possible to store the image composed of the above-mentioned periodic pixel block in an external memory (not shown), read it out after setting the parameters of step 3, and store it in the image memory (7) 26.
ステツプ5 S5の説明 IP1はこれから処理を行なうイメージメモリの指定す
る制御用パラメータであり、IP1=1の時は結果出力
をイメージメモリ(1)20とし演算に必要な参照イメ
ージメモリをイメージメモリ(4)23とする。またI
P1=2の時はそれぞれイメージメモリ(2)21と
(5)24であり、IP1=3の時はイメージメモリ
(3)22と(6)25である。そしてIP1=4にな
ると本画像処理部での演算を終了し次のシーケンスに移
る。Step 5 Description of S5 IP1 is a control parameter designated by the image memory to be processed. When IP1 = 1, the result output is the image memory (1) 20 and the reference image memory required for the operation is the image memory (4 ) 23. Also I
When P1 = 2, they are the image memories (2) 21 and (5) 24, respectively, and when IP1 = 3, they are the image memories (3) 22 and (6) 25. Then, when IP1 = 4, the calculation in the main image processing unit is ended and the process proceeds to the next sequence.
ステツプ6 S6の説明 以下の演算で用いる制御用パラメータの初期設定であり
IP2=1とする。この制御用パラメータはステツプ1
1でカウントアツプされステツプ12でステツプ3で算
出した画素ブロツクの演算の繰り返し回数P1と比較し
制御する。Step 6 Description of S6 IP2 = 1, which is the initial setting of control parameters used in the following calculations. This control parameter is step 1
The count is incremented by 1 and step 12 compares it with the number of times P1 of calculation of the pixel block calculated in step 3 to control the pixel block.
ステツプ7 S7の説明 以下で行なわれる処理に用いる乱数系列の設定を行な
う。この時点で乱数系列の設定を行なうことによりイメ
ージメモリ(1)20〜(3)22を対象に行なう処理
での乱数の発生が同じ値になり、ブロツク処理部の指定
位置を3イメージメモリとも同じにする。Step 7 Description of S7 A random number sequence used in the following processing is set. By setting the random number sequence at this point, the generation of random numbers in the process performed on the image memories (1) 20 to (3) 22 becomes the same value, and the designated position of the block processing unit is the same as that of the 3 image memories. To
ステツプ8 S8の説明 乱数発生によって基本となるズレ量を算出する。ここで
はx方向に対して0からmoの間の値を発生させ、y方
向に対しては0からnoの間の値を発生させる。ここで
該ズレ量をそれぞれms,nsとして表わしておく。Step 8 Explanation of S8 A basic shift amount is calculated by generating a random number. Here, a value between 0 and mo is generated for the x direction, and a value between 0 and no is generated for the y direction. Here, the deviation amounts are represented as ms and ns, respectively.
ステツプ9 S9の説明 制御パラメータIP1によって指定されるイメージメモ
リのデータをプロセツサ18の働きによりイメージメモ
リ(8)27にコピーする。すなわちIP1=1の時は
イメージメモリ(4)23のデータを、IP1=2の時
はイメージメモリ(5)24のデータを、IP1=3の
時はイメージメモリ(6)25のデータをそれぞれコピ
ーする。そしてイメージメモリ(8)27にブロツク処
理部の指定を次の様に乱数を用いて行なう。x方向につ
いては0からM/mo(但し切りすてにより整数化)の
範囲で乱数Rxを発生させy方向については0からN/
no(但し切りすてにより整数化)の範囲で乱数Ryを
発生させる。この乱数と先のステツプ8で求めたシフト
量ms,nsとからイメージメモリ(8)27の(Rx
×mo−ms,Ry×no−ns)を左上とし、x方向
mo,y方向noの矩形部分を矩形内の代表値のデータ
で書きかえる。ここでは代表値を矩形の中心のデータ値
とした。すなわちイメージモリ(8)27のデータを一
般的にa(m,n)と表現すると4点a(Rx×mo−
ms,Ry×no−ns)、a(Rx×mo−ms+m
o−1,Ry×no−ns)、a(Rx×mo−ms+
mo−1,Ry×no−ns+no−1),a(Rx×
mo−ms,Ry×no−ns+no−1)で囲まれる
部分を のデータ値とするので次の関係式を満足する演算であ
る。Step 9 Explanation of S9 The data of the image memory designated by the control parameter IP1 is copied to the image memory (8) 27 by the function of the processor 18. That is, the data in the image memory (4) 23 is copied when IP1 = 1, the data in the image memory (5) 24 is copied when IP1 = 2, and the data in the image memory (6) 25 is copied when IP1 = 3. To do. Then, the block processing unit is designated in the image memory (8) 27 by using random numbers as follows. A random number Rx is generated in the range of 0 to M / mo in the x direction (which is converted to an integer by cutting it) and 0 to N / in the y direction.
A random number Ry is generated within the range of no (cut into integers by cutting). From the random numbers and the shift amounts ms and ns obtained in the previous step 8, (Rx of the image memory (8) 27
Xmo-ms, Ryxno-ns) is set to the upper left, and the rectangular portion in the x direction mo and the y direction no is rewritten with the data of the representative value in the rectangle. Here, the representative value is the data value at the center of the rectangle. That is, when the data of the image memory (8) 27 is generally expressed as a (m, n), four points a (Rx × mo−
ms, Ry × no-ns), a (Rx × mo-ms + m
o-1, Ry × no-ns), a (Rx × mo-ms +
mo-1, Ryxno-ns + no-1), a (Rxx
mo-ms, Ry × no-ns + no-1) The data value of is a calculation that satisfies the following relational expression.
但し、0≦i≦mo−1,0≦j≦no−1 上記の様に乱数を発生させその値により画素ブロツク部
分のデータを書き変える演算をステツプ3で算出した画
素ブロツクの個数P1回繰り返えす。 However, 0≤i≤mo-1, 0≤j≤no-1 As described above, the operation of rewriting the data of the pixel block portion by generating the random number and rewriting the data in the pixel block portion by the value is repeated P1 times the number of pixel blocks. Return.
ステツプ10 S10の説明 イメージメモリ(8)27に作成した画素ブロツクの画
像とイメージメモリ(7)26に作成した“0、1”か
らなる画像ブロツクの位置を合わせるのにプロセツサー
18によりイメージメモリ(7)26をシフト演算す
る。シフト演算とは指定されたイメージメモリをx方向
又はy方向に平行移動させ、移動方向端の1ライン画素
列を反対側の1ライン画素列に代入する処理をいう。す
なわちx方向に+1シフト処理するのプロセツサー18
への入力画像(もとの画像)をa(m,n)とし出力画
像(結果の画像)をa′(m,n)とすると次の関係が
ある。Step 10 Explanation of S10 The processor 18 is used to align the image of the pixel block created in the image memory (8) 27 with the image block of "0, 1" created in the image memory (7) 26. ) 26 is shifted. The shift operation is a process of moving the designated image memory in parallel in the x direction or the y direction and substituting the one line pixel row at the end of the moving direction into the one line pixel row on the opposite side. That is, the processor 18 that performs the +1 shift processing in the x direction
If the input image (original image) to a and the output image (resulting image) are a '(m, n), then the following relationships exist.
a′(m,n)=a(m−1,n)但しa′(0,n)
=a(M,n) x方向−1シフト演算はa′(m,n)=a(m+1,
n) 但しa′(M,n)=a(0,n) y方向+1シフト演算はa′(m,n)=a(m,n−
1) 但しa′(m,0)=a(m,N) y方向−1シフト演算はa′(m,n)=a(m,n+
1) 但しa′(m,N)=a(m,0) となる。このシフト演算を用いてイメージメモリ(7)
26の画像をx方向に−ms、y方向に−nsシフトす
る。そしてフラグマツプメモリ19をクリアした後イメ
ージモリ(7)26の“1”の画素位置にフラグをたて
る処理をプロセツサー18の働きによりフラグマツプメ
モリ19に対して行なう。次にフラグマツプメモリ19
にフラグのたっている画素位置のみのデータをイメージ
メモリ(4)23からイメージメモリ(1)20に代入
する。当然イメージメモリ(4)23からイメージメモ
リ(1)20への処理は制御用パラメーターIP1=1
の時であり、IP1=2,3のときはそれぞれイメージ
メモリ(5)24からイメージメモリ(2)21、イメ
ージメモリ(6)25からイメージメモリ(3)22へ
の処理を行なう。この後再びシフト演算を用いてイメー
ジメモリ(7)26の画像をx方向にms、y方向にn
s移動し、もとの位置関係にしておく。a '(m, n) = a (m-1, n) where a' (0, n)
= A (M, n) x direction -1 shift operation is a '(m, n) = a (m + 1,
n) However, a ′ (M, n) = a (0, n) y direction + 1 shift operation is a ′ (m, n) = a (m, n−
1) However, a '(m, 0) = a (m, N) y direction -1 shift operation is a' (m, n) = a (m, n +)
1) However, a '(m, N) = a (m, 0). Image memory using this shift operation (7)
26 images are shifted by −ms in the x direction and −ns in the y direction. After clearing the flag map memory 19, the flag map memory 19 is processed by the processor 18 to set a flag at the pixel position "1" of the image memory (7) 26. Next, the flag map memory 19
The data of only the pixel position with the flag is assigned from the image memory (4) 23 to the image memory (1) 20. Naturally, the processing from the image memory (4) 23 to the image memory (1) 20 is performed by the control parameter IP1 = 1.
When IP1 = 2 and 3, processing is performed from the image memory (5) 24 to the image memory (2) 21 and from the image memory (6) 25 to the image memory (3) 22, respectively. After that, the image in the image memory (7) 26 is again subjected to the shift operation to display the image in the x direction for ms and the y direction for n
s Move and keep the original positional relationship.
ステツプ11,12 S11,S12の説明 ステツプ11で制御用パラメータIP2のカウントアツ
プを行ないステツプ12で該パラメータによって分岐
し、IP2がP2より大きい時は次のステツプであるス
テツプ13に進み、P2に等しいか又は小さい時はステ
ツプ8から繰り返す。すなわちステツプ8〜ステツプ1
2までをP2回繰り返すことにより、ステツプ3で設定
した画素ブロツクの形状b(m,n)の“1”の部分の
形のみをランダムにその代表値によってP1×P2個の
画素ブロツク数書きかえる。Steps 11 and 12 Explanation of S11 and S12 Step 11 counts up the control parameter IP2 and branches at step 12 according to the parameter. When IP2 is larger than P2, the process proceeds to the next step 13 which is equal to P2. If it is small, repeat from step 8. That is, step 8 to step 1
By repeating P2 times up to 2 times, only the shape of the "1" part of the shape b (m, n) of the pixel block set in step 3 is randomly rewritten with the representative value of P1 × P2 pixel block numbers. .
ステツプ13 S13の説明 制御用パラメータIP1のカウントアツプを行ない、ス
テツプ5に移る。Step 13 Explanation of S13 The control parameter IP1 is counted up, and the process proceeds to step 5.
以上の様なデジタル画像処理を行ない、その結果はイメ
ージメモリ(1)20、イメージメモリ(2)21、イ
メージメモリ(3)22にそれぞれR、G、B成分画像
データが格納されていることになり、画像を再生する場
合には、イメージメモリ(1)20、イメージメモリ
(2)21、イメージメモリ(3)22よりR、G、B
成分画像を読み出し画像データ用I/O36より出力信
号処理部に出力する。The digital image processing as described above is performed, and the result is that the R, G, and B component image data are stored in the image memory (1) 20, the image memory (2) 21, and the image memory (3) 22, respectively. When reproducing an image, R, G, B from the image memory (1) 20, the image memory (2) 21, and the image memory (3) 22.
The component image is read out and output from the image data I / O 36 to the output signal processing unit.
以上の様に本実施例によれば画素ブロツクの大きさ、及
び画素ブロツク内の画素データの変換を任意に指定でき
るので以下に示す(1)〜(5)が可能となる。As described above, according to this embodiment, the size of the pixel block and the conversion of the pixel data in the pixel block can be arbitrarily designated, so that the following (1) to (5) can be performed.
(1)従来の規則正しい矩形のモザイクに比べ離散度が
高く、矩形さが目立たないので異なったクリエイテイブ
イメージを表現できる。(1) Compared with the conventional regular rectangular mosaic, the degree of discreteness is high and the rectangle is inconspicuous, so that different creative images can be expressed.
(2)ブロツク内の画素がすべて同じ値にならないため
原画像情報が小さく原画像の良さを残すことができる。(2) Since the pixels in the block do not all have the same value, the original image information is small and the goodness of the original image can be retained.
(3)画素ブロツクの形状によって同じ処理方法で例え
ば油絵風、点描風等に近い印象を与える様にいろいろな
表現の画像を作成できる。(3) Images of various expressions can be created by the same processing method depending on the shape of the pixel block so as to give an impression similar to oil painting or dot painting.
(4)従来の銀塩システムで行なわれていた「暗室処
理」や印刷システムの電子製版では無かった新しい画像
を提供できるとともに作画の自由度を増すことができ
る。(4) It is possible to provide a new image, which is not provided by the "dark room processing" that has been performed by the conventional silver halide system or the electronic plate making of the printing system, and it is possible to increase the degree of freedom in drawing.
(5)画像処理のプロセスを無人化できるのでラボ的な
普及が望める。(5) Since the image processing process can be unmanned, it can be expected to spread in a laboratory.
又本実施例では画像処理部に画像専用処理装置を用いた
がミニコン等の汎用コンピユーターを用いても同じ効果
が得られることは言うまでもない。In this embodiment, the image processing unit is used as the image processing unit, but it goes without saying that the same effect can be obtained by using a general-purpose computer such as a minicomputer.
また本実施例では、フイルムより画像入力したがスチー
ルビデオカメラ、ビデオカメラ等から被写体から直接画
像データを取りこんでも又磁気フロツピーデイスク、磁
気テープ、光デイスク、バブルメモリー等の記録媒体を
介して画像データを入力しても同様の効果が得られる。Further, in the present embodiment, the image is input from the film, but even if the image data is directly captured from the subject from a still video camera, a video camera, etc., the image is recorded via a recording medium such as a magnetic floppy disk, a magnetic tape, an optical disk or a bubble memory. The same effect can be obtained by inputting data.
以上説明したように、本発明によれば、入力された画像
データを第1の記憶手段及び第2の記憶手段に記憶さ
せ、第1の記憶手段に記憶された画像データ中の任意の
点のデータを読み出し、第1の記憶手段から読み出され
た任意の点のデータを用いた所定のパターンをなす複数
の点のデータによって第2の記憶手段に記憶された画像
データを書き換え、第2の記憶手段に記憶された画像デ
ータを出力するので、原画像情報の欠落を抑えつつ、原
画像の雰囲気を自由に変えることができ、自然な感じの
クリエイティブな画像が得られる。As described above, according to the present invention, input image data is stored in the first storage means and the second storage means, and any point in the image data stored in the first storage means is stored. The data is read, the image data stored in the second storage means is rewritten with the data of a plurality of points forming a predetermined pattern using the data of the arbitrary points read from the first storage means, and the second data is stored. Since the image data stored in the storage unit is output, the atmosphere of the original image can be freely changed while suppressing the loss of the original image information, and a natural-looking creative image can be obtained.
第1図はカラースキヤナに本発明を用いた時の濃度信号
の流れの一例を示すブロツク図、第2図は第1図の画像
処理部の一部をより詳しく示すブロツク図、第3図は本
実施例のフローチヤートを示す図、第4図(a),
(b)は第3図の説明で使用したルツクアツプテーブル
の状態を示す図、第5図(a),(b)は第3図フロー
チヤートで実施したパラメータの設定の例を示した図で
ある。 1……入力ドラム、2……対数変換回路、 3……AD変換器、4……入力信号処理部、 5……画像処理部、6……出力信号処理部、 7……DA変換器、8……変調器、 9……レーザー光源、10……出力ドラム、 11……コントロールプロセツサ、 12……CPUメモリ、 13……パラメータコントローラー、 14……演算器、15……パラメータメモリ、 16……パラメータ設定用I/O、 17……イメージコントローラ、 18……プロセツサ、19……フラグマツプメモリ、 20〜27……イメージメモリ、 28〜35……ルツクアツプテーブル、 36……画像データ用I/OFIG. 1 is a block diagram showing an example of the flow of a density signal when the present invention is applied to a color scanner, FIG. 2 is a block diagram showing in more detail a part of the image processing section of FIG. 1, and FIG. The figure which shows the flow chart of an Example, FIG. 4 (a),
(B) is a diagram showing the state of the look-up table used in the explanation of FIG. 3, and FIGS. 5 (a) and 5 (b) are diagrams showing an example of parameter setting performed in the flow chart of FIG. is there. 1 ... Input drum, 2 ... Logarithmic conversion circuit, 3 ... AD converter, 4 ... Input signal processing unit, 5 ... Image processing unit, 6 ... Output signal processing unit, 7 ... DA converter, 8 ... Modulator, 9 ... Laser light source, 10 ... Output drum, 11 ... Control processor, 12 ... CPU memory, 13 ... Parameter controller, 14 ... Arithmetic unit, 15 ... Parameter memory, 16 ...... Parameter setting I / O, 17 ...... Image controller, 18 ...... Processor, 19 ...... Frag map memory, 20 to 27 ...... Image memory, 28 to 35 ...... Lookup table, 36 ...... For image data I / O
フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/387 4226−5C (72)発明者 漆原 一宣 神奈川県川崎市高津区下野毛770番地 キ ヤノン株式会社玉川事業所内 (72)発明者 松村 進 神奈川県川崎市高津区下野毛770番地 キ ヤノン株式会社玉川事業所内 (72)発明者 大村 宏志 神奈川県川崎市高津区下野毛770番地 キ ヤノン株式会社玉川事業所内 (56)参考文献 特開 昭59−41968(JP,A)Continuation of front page (51) Int.Cl. 5 Identification number Office reference number FI Technical indication location H04N 1/387 4226-5C (72) Inventor Kazunori Urushihara 770 Shimonoge, Takatsu-ku, Kawasaki-shi, Kanagawa Canon Inc. Inside the Tamagawa Plant (72) Inventor Susumu Matsumura 770 Shimonoge, Takatsu-ku, Kawasaki City, Kanagawa Prefecture Canon Inc. Inside the Tamagawa Plant (72) Hiroshi Omura 770, Shimonoge, Takatsu-ku, Kawasaki City, Kanagawa Inside the Tamagawa Plant, Canon Inc. ( 56) References JP-A-59-41968 (JP, A)
Claims (1)
び第2の記憶手段に記憶させるステップと、 前記第1の記憶手段に記憶された画像データ中の任意の
点のデータを読み出すステップと、 前記第1の記憶手段から読み出された任意の点のデータ
を用いた所定のパターンをなす複数の点のデータによっ
て前記第2の記憶手段に記憶された画像データを書き換
えるステップと、 前記第2の記憶手段に記憶された画像データを出力する
ステップと、 を有することを特徴とする画像処理方法。1. A step of storing input image data in a first storage means and a second storage means, and a step of reading out data at an arbitrary point in the image data stored in the first storage means. And rewriting the image data stored in the second storage means with data of a plurality of points forming a predetermined pattern using the data of the arbitrary points read from the first storage means, And a step of outputting the image data stored in the second storage means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60172008A JPH0638629B2 (en) | 1985-08-05 | 1985-08-05 | Image processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60172008A JPH0638629B2 (en) | 1985-08-05 | 1985-08-05 | Image processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6232772A JPS6232772A (en) | 1987-02-12 |
| JPH0638629B2 true JPH0638629B2 (en) | 1994-05-18 |
Family
ID=15933808
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60172008A Expired - Lifetime JPH0638629B2 (en) | 1985-08-05 | 1985-08-05 | Image processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0638629B2 (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5941968A (en) * | 1982-09-01 | 1984-03-08 | Nec Corp | Facsimile device |
-
1985
- 1985-08-05 JP JP60172008A patent/JPH0638629B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6232772A (en) | 1987-02-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4953227A (en) | Image mosaic-processing method and apparatus | |
| US5086497A (en) | Image output command method for image processing system | |
| USRE43747E1 (en) | Method and system for image processing | |
| EP0389743B1 (en) | Apparatus and accompanying method for converting a bit mapped monochromatic image to a grey scale image using table look up operations | |
| US5018078A (en) | Apparatus and method for processing huge image information at high speed | |
| US5163122A (en) | Image processing system | |
| JPS6255137B2 (en) | ||
| JPS6282472A (en) | Picture processing system | |
| JPH0638629B2 (en) | Image processing method | |
| JPH10191090A (en) | Apparatus and method for manufacturing color conversion table and recording medium | |
| JPH0679336B2 (en) | Image processing method | |
| JPH0721828B2 (en) | Image processing method | |
| JPS62179060A (en) | Image processing method | |
| JP2001128015A (en) | Picture processor | |
| EP0418868B1 (en) | Image processing system | |
| JPS62179061A (en) | Image processing method | |
| JPS62198975A (en) | Image processing method | |
| JPS59204378A (en) | Image processor | |
| JPS62152075A (en) | Image processing device | |
| JP2000335024A (en) | Printer system and dither data processing method | |
| JPH0695339B2 (en) | Image processing method | |
| JPH08102850A (en) | Picture processor | |
| JPH0391088A (en) | Image processor | |
| JPS60130263A (en) | Intermediate tone picture processing method | |
| JPH0679337B2 (en) | Image processing method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| EXPY | Cancellation because of completion of term |