JPS62198975A - Image processing method - Google Patents
Image processing methodInfo
- Publication number
- JPS62198975A JPS62198975A JP61042510A JP4251086A JPS62198975A JP S62198975 A JPS62198975 A JP S62198975A JP 61042510 A JP61042510 A JP 61042510A JP 4251086 A JP4251086 A JP 4251086A JP S62198975 A JPS62198975 A JP S62198975A
- Authority
- JP
- Japan
- Prior art keywords
- image
- block
- value
- data
- decided
- 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
- 238000003672 processing method Methods 0.000 title claims description 9
- 238000012545 processing Methods 0.000 claims abstract description 49
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 230000004044 response Effects 0.000 abstract description 4
- 230000015654 memory Effects 0.000 description 40
- 238000000034 method Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000013461 design Methods 0.000 description 4
- 238000012937 correction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- XTKDAFGWCDAMPY-UHFFFAOYSA-N azaperone Chemical compound C1=CC(F)=CC=C1C(=O)CCCN1CCN(C=2N=CC=CC=2)CC1 XTKDAFGWCDAMPY-UHFFFAOYSA-N 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 238000005562 fading Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010422 painting Methods 0.000 description 1
- 230000008929 regeneration Effects 0.000 description 1
- 238000011069 regeneration method Methods 0.000 description 1
- 229910052709 silver Inorganic materials 0.000 description 1
- 239000004332 silver Substances 0.000 description 1
- -1 silver halide Chemical class 0.000 description 1
Landscapes
- Preparing Plates And Mask In Photomechanical Process (AREA)
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
【発明の詳細な説明】
く分 野〉
本発明は入力画像信号に対して所定の変換処理を施す画
像処理方法に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an image processing method that performs predetermined conversion processing on an input image signal.
〈従来技術)
従来より、かかる画像処理が行なわれている。例えば、
印刷業界での電子製版技術、写真ラボ業界でのコンピュ
ータ写真画像処理を応用したプロラボ技術もその1つで
ある。(Prior Art) Such image processing has been conventionally performed. for example,
One such example is electronic platemaking technology in the printing industry and professional laboratory technology that applies computer photographic image processing in the photo lab industry.
画像原稿台上をレイアウトスキャナ等の高精度スキャナ
により光電走査して得られた画像データに対して濃度表
現修正(γ補正)、階調設定1色修正、切り抜き合成等
の処理を行ない、更にプリンタで処理されたデータを再
生することにより、以下の様な効果を得ている。The image data obtained by photoelectrically scanning the image document table with a high-precision scanner such as a layout scanner is subjected to processing such as density expression correction (γ correction), gradation setting single color correction, and crop composition, and then to the printer. By reproducing the processed data, the following effects are obtained.
・℃カラーフィルムの退色復元
■ハイライト、シャドウの階調を整え、色彩表現の誇張
(か機器故障、撮影ミス、現像ミス等の救済■クリエイ
ティブイメージを表現し、イメージ領域の拡大、新しい
デザインを創造する。・Restoring fading color of °C color film ■ Adjusting the gradation of highlights and shadows and exaggerating color expression (or relieving equipment failures, shooting mistakes, development mistakes, etc.) ■ Expressing creative images, expanding the image area, and creating new designs Create.
特に■の特殊効果は、規則正しく配列されたモザイク処
理や7曲線を非現実的なものに変化させるボスタリゼー
ション処理やソラリゼーシゴン処理等がある。ところが
これだけの処理では、クリエイティブイメージを表現し
、イメージ領域の拡大、新しいデザインを創造するため
には数少ないという問題点がある。又、別の方法として
例えばDPB7000 (クラオンチル社)、アートロ
ン2000 (アートロニクス社)、レスポンス300
(サイテックス社)等の切り抜き合成やペイント機能
があるが、この場合は作成者がタブレットデジタイザー
等の座標指示装置を用いてオリジナル画像に描き加えて
いくというもので、かなりの時間を必要とするばかりで
なく5作成者のセンスが再生画像に反映してしまうとい
う欠点がある。Particularly, the special effects (■) include a regularly arranged mosaic process, a bossarization process that changes the seven curves into something unrealistic, and a solarization process. However, with this amount of processing, there is a problem that there are only a few ways to express creative images, expand the image area, and create new designs. In addition, as another method, for example, DPB7000 (Kuraonchiru Co., Ltd.), Artron 2000 (Artronix Co., Ltd.), Response 300
(Sitex) etc., there are cutout composition and painting functions, but in this case, the creator uses a coordinate indicating device such as a tablet digitizer to add to the original image, which takes a considerable amount of time. In addition, there is a drawback that the taste of the creator is reflected in the reproduced image.
以下にX方向5人力画素分、y方向5入力画素分の大き
さの合計25画素を一つのデータ値に変換してモザイク
処理を行なうものを例にとって説明する。デジタル画像
の(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 is performed by converting a total of 25 pixels, 5 manual pixels in the X direction and 5 input pixels in the Y direction, into one data value. The (m, n)th pixel information of the digital image is expressed as a(m, n). Here, image information a (m, n) indicates a digital count value obtained by A/D converting the density signal or luminance signal of the film original, and the pixel information of the original image is assumed to be a (m, n), and the regeneration after processing is When pixel information of an image is a'(m, n), the following relational expression is obtained in 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 number) In the above relational expression, the center value of the 5 x 5 pixel block becomes the representative value, and that value is substituted for other pixels in the block.
The representative value may be any value as long as it is a 5×5 pixel block (or it may be an average value).
この様に従来の規則正しく配列されたモザイク処理では
、矩形のブロックの配列が規則正しすぎる、或はブロッ
クの形状がすべて同じであるため原画像情報の欠落が大
きい等の欠点があった。In this conventional mosaic process in which the blocks are arranged regularly, there are drawbacks such as the arrangement of the rectangular blocks being too regular or the block shapes all being the same, resulting in a large loss of original image information.
〈目 的〉
本発明は上述の従来の欠点を除去し、従来の数少ない特
殊効果処理に新しい画像処理方法を提供し1作成者のセ
ンスに左右されることなくクリエイティブイメージを表
現し、イメージ領域の拡大、新しいデザインを創造する
のに大いに役立つ画像処理方法の提供を目的としている
0例えば写真画像を扱う広告、デザイン業界に貢献する
ばかりでなく、一般消費者に対しても従来の写真技術で
は難しく又は不可能であった特殊写真技法を簡単に取り
入れることが可能な画像処理方法の提供を目的としてい
る。<Purpose> The present invention eliminates the above-mentioned conventional drawbacks, provides a new image processing method for the few conventional special effects processing, 1 expresses creative images without being influenced by the creator's sense, and improves the image area. Our goal is to provide an image processing method that is very useful for creating new designs, such as advertising that deals with photographic images, as well as contributing to the design industry, as well as providing general consumers with images that are difficult to achieve using traditional photographic techniques. Another object of the present invention is to provide an image processing method that can easily incorporate special photographic techniques that have previously been impossible.
特に本発明はモザイク処理において、より絵画的な画像
を得ることができる画像処理方法の提供を目的としてい
る。In particular, the present invention aims to provide an image processing method capable of obtaining a more painterly image in mosaic processing.
〈実施例〉
以下本発明の1実施例について図面を用いて詳細に説明
する。<Example> Hereinafter, one example of the present invention will be described in detail using the drawings.
第1図は、カラースキャナに本発明を用いた時の濃度信
号の流れの1例を示すブロックダイヤグラムである。入
力ドラム1に装填されたフィルム原稿を光電走査して得
られた入力信号は、対数変換回路2にて濃度信号に変換
された後、AD変換器3を経て入力信号処理部4に入力
されて、フィルムの種類に応じてそれぞれその濃度値を
変換し、フィルムの露光量に対して一定の関係をなす様
に変換する。というのはフィルム特性曲線がネガフィル
ム、ポジフィルム、リバーサルフィルムによって異なり
又カラー画像の場合は特にネガフィルムでは、R9G、
Bの各色によって異なるためである。この後にこのシス
テムの心臓部というべき画像処理部5に入力され、デジ
タル画像処理が施される。この後画像処理部5から出力
された濃度信号は、出力信号処理部6でレーザー光量の
制御信号に変換する処理を行ないDA変換器7を経て変
調器8に入力され光源9から出力されたレーザー光の変
調を行ない、出力ドラム10に所望の画像を再生させる
。FIG. 1 is a block diagram showing an example of the flow of density signals when the present invention is used in a color scanner. An input signal obtained by photoelectrically scanning a film original loaded on an input drum 1 is converted into a density signal by a logarithmic conversion circuit 2, and then inputted to an input signal processing section 4 via an AD converter 3. , the density values are converted depending on the type of film, and are converted so as to have a constant relationship with the exposure amount of the film. This is because film characteristic curves differ depending on negative film, positive film, and reversal film, and in the case of color images, especially negative film, R9G,
This is because it differs depending on each color of B. Thereafter, the image is input to the image processing section 5, which is the heart of this system, and subjected to digital image processing. Thereafter, the density signal output from the image processing section 5 is processed to be converted into a control signal for the laser light amount in the output signal processing section 6, and is inputted to the modulator 8 via the DA converter 7, and the laser beam output from the light source 9 is inputted to the modulator 8. The light is modulated to reproduce a desired image on the output drum 10.
第2図は画像処理部5の一部をより詳細に示したブロッ
ク図である。CrtJllはコントロールプロセッサで
、画像処理部5のすべての実権を握っており、CPUメ
モリ12のメモリにより画像処理を制御する。パラメー
タコントローラ13は演算器14、パラメータメモリ1
5、パラメータ設定用l1016をコントロールし、処
理に必要なパラメータの初期化、設定、比較等を行なう
、プロセッサー18とCPUIIの間はイメージコント
ローラ17によって接続されており、CPUIIの指令
によってプロセッサー18は動作する。プロセッサー1
8は画像処理部5の中核となる部分であり、CPUII
の命令に従いセレクトされた任意のイメージメモリ20
〜27や画像データ用l1036の中から画像データを
受けとり、演算された結果をセレクトされた任意のイメ
ージメモリ20〜27や画像データ用l103Bへと送
る。また演算により必要なアドレスにキャリーをたてる
ためにキャリー専用メモリであるフラグマツプメモリ1
9にも出力可能である。FIG. 2 is a block diagram showing a part of the image processing section 5 in more detail. CrtJll is a control processor that has full control over the image processing section 5 and controls image processing using the memory of the CPU memory 12. The parameter controller 13 includes a calculator 14 and a parameter memory 1.
5. An image controller 17 connects the processor 18 and the CPU II, which controls the parameter setting l1016 and initializes, sets, and compares parameters necessary for processing, and the processor 18 operates according to instructions from the CPU II. do. processor 1
8 is the core part of the image processing unit 5, and the CPU II
Any image memory 20 selected according to the instruction of
27 and the image data l1036, and sends the calculated result to any selected image memory 20 to 27 or the image data l103B. In addition, flag map memory 1, which is a carry-only memory, is used to place a carry at the address required by an operation.
9 can also be output.
イメージメモリ20〜27はCPU BUS。Image memories 20 to 27 are CPU BUS.
VIDEOBUSのいずれにも接続されているのでCP
UIIから任意のイメージメモリ20〜27に読み書き
することも、任意のメモリー間でリアルタイム演算する
ことも可能である。イメージメモリの出口にルックアッ
プテ、−プル28〜35という高速RAMが接続されて
いる。このRAMは256X8ビツトの構造をもち、R
AMのアドレスライン8本(0〜255番地を指定でき
る=O〜255階調を指定できる)は各イメージメモリ
ー出力に直結され、データライン8木はVIDEOBU
Sに接続されている。またRAMの内容はCPU11よ
り自由に読み書きできる0画像データ用l1036は画
像用入出力インターフェイスであり、第1図の入力信号
処理部4から画像データ入力し、出力信号処理部6へと
画像データ出力を行なう。Since it is connected to both VIDEOBUS, the CP
It is also possible to read and write from the UII to any of the image memories 20 to 27, and to perform real-time calculations between arbitrary memories. A high-speed RAM called look-up terminals 28 to 35 is connected to the output of the image memory. This RAM has a 256x8 bit structure, and R
The 8 AM address lines (addresses 0 to 255 can be specified = gradations from 0 to 255 can be specified) are directly connected to each image memory output, and the 8 data lines are connected to VIDEOBU.
Connected to S. The contents of the RAM can be freely read and written by the CPU 11. The image data l1036 is an image input/output interface, which inputs image data from the input signal processing section 4 in FIG. 1 and outputs the image data to the output signal processing section 6. Do the following.
第3図は画像処理部5で行なわれるデジタル画像処理方
法についてのフローチャートを示し、第4図はルックア
ップテーブル24〜27の状態を示すグラフであり横軸
に入力階調、縦軸に出力階調を示す、第4図(a)では
標準状態を示し0番地には011番地には1 、−−−
−−−255番地には255という値が書き込まれてい
るのを示し入力、出力の内容が同一となる。FIG. 3 shows a flowchart regarding the digital image processing method performed by the image processing unit 5, and FIG. Figure 4(a) shows the standard state, with 1 at address 0 and 1 at address 011, ---
--- This indicates that the value 255 has been written at address 255, and the input and output contents are the same.
また逆に0番地には255.1番地には254゜−−−
−−−−−255番地にOという値が書き込まれている
と入力−出力は濃度データが反転されることになり、こ
れを第4図(b)に示す。Conversely, address 0 is 255. Address 1 is 254°---
------If the value O is written at address 255, the input-output density data will be inverted, and this is shown in FIG. 4(b).
以下画像処理部5で行なわれるデジタル画像処理方法に
ついてフローチャート第3図を中心に詳細に説明する。The digital image processing method performed by the image processing section 5 will be described in detail below with reference to the flowchart in FIG. 3.
ここでデジタル画像の濃度データをai(m、n)とい
う形で説明上表わす、但しiはR,G、Bでありそれぞ
れ原画像のR成分画像データ、G成分画像データ、B成
分画像データを示す、また1画素は各成分それぞれ8ビ
ット構成すなわち256階調表現可能なデータとなって
おり最も濃度の大きいデータ(最も暗いデータ)の値を
0とし最も濃度の小さいデータ(最も明るいデータ)の
値を255とする。Here, the density data of the digital image is expressed in the form ai (m, n) for the purpose of explanation, where i is R, G, and B, and represents the R component image data, G component image data, and B component image data of the original image, respectively. Also, one pixel consists of 8 bits for each component, that is, data that can be expressed in 256 gradations.The data with the highest density (the darkest data) is set to 0, and the data with the lowest density (the brightest data) is Set the value to 255.
スーツプI Sl 寸
CPUIIの命令によりプロセッサ18は画像データ用
l1036を介して入力信号処理部4(第1図)より原
画像のR成分画像データをイメージメモリ(L)20に
格納する。続いて原画像のG成分画像データ、B成分画
像データをそれぞれイメージメモリ(2) (3)
21 。In response to a command from the CPU II, the processor 18 stores the R component image data of the original image from the input signal processing unit 4 (FIG. 1) via the image data l1036 in the image memory (L) 20. Next, the G component image data and B component image data of the original image are stored in the image memory (2) (3).
21.
22に格納する。この時ルックアップテーブル(1)
〜(8)28〜35は第4図−(a)の標準状態である
。22. At this time, lookup table (1)
-(8) 28-35 are the standard states of FIG. 4-(a).
スーツプ2 32 電【
フロセッサ18の働きによりイメージメモリ(1)20
の画像データをイメージメモリ(4)23に代入する。Image memory (1) 20 due to the action of processor 18
The image data of is assigned to the image memory (4) 23.
この時ルックアップテーブル(1)28の内容は第4図
−(a)で示す様に標準状態であるのでイメージメモリ
(1)20の内容がイメージメモリ(4)23にそのま
まコピーされる。同様にしてイメージメモリ(2)21
.イメージメモリ(3)22の画像データをそれぞれイ
メージメモリ(5)24、イメージメモリ(6)25に
コピーする。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 as they are to the image memory (4) 23. Similarly, image memory (2) 21
.. Image data in image memory (3) 22 is copied to image memory (5) 24 and image memory (6) 25, respectively.
スーツプ3 S3 テ
以下で行なわれる処理に用いる乱数系列の設定を行なう
。Setup 3 S3 Sets the random number sequence used for the processing performed below.
ステップ4 S4の宝1
ここでは演算に必要なパラメータの設定を行なう。本実
施例ではパラメータ設定用l1016よりキーボード(
不図示)によって参照画素ブロックの大きさn(、xn
(、(正方領域)のnoを入力する。この例ではパラメ
ータ設定用l1016により作成者が自ら入力する形を
とっているが、あらかじめその情報をパラメータメモリ
15に格納しておけば作業者のパラメータデー人力の操
作なしに自動化できるのは、言うまでもない、ここで設
定された画素ブロックの大きさn(、xn□と画像デー
タの大きさMXNによって以下の演算に必要なパラメー
タである画素ブロックの個数P1を算出する。Step 4 Treasure 1 of S4 Here, parameters necessary for calculation are set. In this embodiment, the keyboard (
The size of the reference pixel block is n(,xn
(, (square area). In this example, the creator inputs the information himself/herself using the parameter setting l1016, but if the information is stored in the parameter memory 15 in advance, the operator's parameter It goes without saying that the data can be automated without manual operation.The number of pixel blocks, which is a parameter required for the following calculation, is determined by the pixel block size n(, xn□ and the image data size MXN set here). Calculate P1.
該パラメータPiは次の演算式によって求めた。The parameter Pi was determined by the following arithmetic expression.
P1= (M/no)X (N/no)X4但しpiは
整数化子る。P1= (M/no)X (N/no)X4 However, pi is an integer.
ステップ5 S51
参照する画素ブロックの位置の指定を次の様に乱数を用
いて行なう、X方向については0がらM−n□ 、Y方
向については0がらN−nQの範囲で乱数を発生させる
。これらの値をそれぞれRx 、Ryとすれば、左が(
Rx 、Ry)右下が(Rx+no−1、Ry+n□−
1)の正方領域が参照画素ブロックとなる。Step 5 S51 The position of the pixel block to be referred to is specified using random numbers as follows. Random numbers are generated in the range of 0 to M-n□ for the X direction and from 0 to N-nQ for the Y direction. If these values are Rx and Ry, respectively, then the left is (
Rx, Ry) lower right is (Rx+no-1, Ry+n□-
The square area 1) becomes a reference pixel block.
ステップ6 S6の看i
以下の演算の制御に用いる制御用パラメータIPIの初
期化を行なう、具体的にはIPl=1とし、以下の処理
でIPl=1のときはイメージメモリ(4)23を参照
し、IP1=2 、IP1=3のときはそれぞれイメー
ジメモリ (5)24 、(6)25を参照する。Step 6 S6 Initialize the control parameter IPI used to control the following calculations. Specifically, set IPl = 1, and when IPl = 1 in the following process, refer to image memory (4) 23. However, when IP1=2 and IP1=3, image memories (5)24 and (6)25 are referred to, respectively.
ステップ7 S7の;
IPlによりこれから参照を行なうイメージメモリ(4
)、(5)、(6)を順に指定する。Step 7 S7; Image memory (4) to be referenced from now on by IPl.
), (5), and (6) in order.
スーツプ8 38 ?+
参照画素ブロックの中心点を求め、その点からブロック
内の横方向の各画素値を比較し、最大値をもつ画素の位
置と最小値をもつ画素の位置から、その2画素間の距離
を測る。同様にして、縦方向についても距離をJllる
。この2つの値はパラメータメモリ15に入れておく。Soop 8 38? + Find the center point of the reference pixel block, compare each horizontal pixel value in the block from that point, and calculate the distance between the two pixels from the position of the pixel with the maximum value and the position of the pixel with the minimum value. measure. Similarly, the distance in the vertical direction is determined. These two values are stored in the parameter memory 15.
ステップ9 S9の1 制御用パラメータIPIのカウントアツプを行う。Step 9 S9-1 Counts up the control parameter IPI.
スーツプ10 SIOの慴
ステップ8で求めた距離の横方向及び縦方向の平均をと
り、縦横比を求める。この縦横比から、処理画素ブロッ
クの外状を決定する。具体的にはステップ8で求めた各
イメージメモリ(4)、(5)、(6)に対する横方向
及び縦方向の距離をそれぞれ(dxl 、 dyt)。SIO Step 10 Average the distances determined in Step 8 in the horizontal and vertical directions to determine the aspect ratio. From this aspect ratio, the outer shape of the processing pixel block is determined. Specifically, the horizontal and vertical distances for each image memory (4), (5), and (6) obtained in step 8 are (dxl, dyt), respectively.
(dx2.dy2)、(dx3.dy3)とすれば横方
向の平均dxと縦方向の平均dyはdx= (dxl+
dx2+dx3)/3 。(dx2.dy2), (dx3.dy3), the average dx in the horizontal direction and the average dy in the vertical direction are dx= (dxl+
dx2+dx3)/3.
d y = (d y l +dy2+dV3) /
3、で求まり、縦と横の長い方を処理画素ブロックの−
・辺としてnQを対応させれば、短辺は、横方向が伎い
とき(dy/dX)Xnoで与えられ、逆に縦方向が長
いときは(dx/dy)XnQで求められる。こうして
処理画素ブロックの形状を各参照ブロック毎に決定する
。次に処理画素ブロックの位置決めを行なう。例えば縦
方向に長いブロックが決定されてとすると、参照画素ブ
ロックの位置が左上が(Rx 、Ry)、右下が(Rx
+n□−1、Ry+n0−1)とすれば、その中心(x
c 、yc)は
と;[iける。但しXC、VCはともに整数化する。ま
た、処理画素ブロックの大きさは縦がno、横が(dx
/dy)Xnoで表現できることから求める処理画素ブ
ロックに位置は左に、右下で表現すると
と記述できる。但し、各座標の値は整数化する。このよ
うに、参照画素ブロックの中心を意識して処理画素ブロ
ックの位置を決定する。d y = (d y l +dy2+dV3) /
3, and the longer vertical and horizontal ones are - of the processing pixel block.
- If nQ is used as a side, the short side is given by (dy/dX)Xno when the horizontal direction is short, and conversely when it is long in the vertical direction, it is given by (dx/dy)XnQ. In this way, the shape of the processing pixel block is determined for each reference block. Next, the processing pixel block is positioned. For example, if a vertically long block is determined, the positions of the reference pixel blocks are (Rx, Ry) at the top left and (Rx, Ry) at the bottom right.
+n□-1, Ry+n0-1), its center (x
c, yc) Hato; [i get. However, both XC and VC are converted into integers. Also, the size of the processing pixel block is no in height and (dx
/dy) Since it can be expressed by However, the value of each coordinate is converted into an integer. In this way, the position of the processing pixel block is determined with the center of the reference pixel block in mind.
ステップ11.12 S11.312の31ステツプ
11では以下の演算の制御に用いる制御用パラメータI
P2の初期化を行なう。ステップ12では原画像へ処理
部分を代入する。Step 11.12 In S11.312 31 Step 11, the control parameter I used to control the following calculations is
Initialize P2. In step 12, the processed portion is substituted into the original image.
実際には制御パラメータIP2で指定されるイメージメ
モリのデータをプロセッサ18の1動らきによりイメー
ジメモリ(8)27にコピーする。IP2=l 、IP
2=2.IP2=3のそれぞれの場合、イメージメモリ
(1)20゜イメージメモリ(2)21.イメージメモ
リ(3)22を指定する。次にステップ10で決定した
画素ブロック部分をブロック内の代表値のデータで書き
替える。ここでは代表(+i’lを参照画素ブロックの
中心値とした。すなわちイメージメモリ(8)27のデ
ータを一般的にa(m。Actually, data in the image memory designated by the control parameter IP2 is copied to the image memory (8) 27 by one movement of the processor 18. IP2=l, IP
2=2. For each case of IP2=3, image memory (1) 20° image memory (2) 21. Specify image memory (3) 22. Next, the pixel block portion determined in step 10 is rewritten with data of the representative value within the block. Here, the representative (+i'l) is taken as the center value of the reference pixel block. That is, the data in the image memory (8) 27 is generally a(m).
n)と表現すると、処理画素ブロック内のデータをa
(XC、VC)の値とするので、次の関係式を満足する
演算である。n), the data in the processing pixel block is expressed as a
Since the values are (XC, VC), the calculation satisfies the following relational expression.
a (xc+ 5 、yc+j)=a (xc 、yc
)但し決定した形状が縦長のときは
でi、Sは整数化する。a (xc+5,yc+j)=a(xc,yc
) However, when the determined shape is vertically long, i and S are converted into integers.
ステップ13 14 S13,514の1Fステツプ
13で制御用パラメータIP2のカウントアツプを行な
う。Steps 13 and 14 In step 13 of 1F of S13 and 514, the control parameter IP2 is counted up.
ステップ14では制御用パラメータIP2により処理す
るイメージメモリを選択する。In step 14, the image memory to be processed is selected using the control parameter IP2.
スーツプ15 16 S15 S16 、iステ
ップ15では制御用パラメータP1のカウントダウンを
行なう。Step 15 16 S15 S16 In step 15, the control parameter P1 is counted down.
ステップ16では制御用パラメータPi(処理すべき参
照ブロックの数)が0がどうが判定し、0になるまでス
テップ5からステップ14までを繰り返す。PLが0に
なるとすべての参照ブロックについてS5〜S14の処
理が終了したことになる。In step 16, it is determined whether the control parameter Pi (the number of reference blocks to be processed) is 0, and steps 5 to 14 are repeated until it becomes 0. When PL becomes 0, it means that the processes of S5 to S14 have been completed for all reference blocks.
以上のようなデジタル画像処理を行ない、その結果はイ
メージメモリ(1)20.イメージメモリ(2)21.
イメージメモリ(3)22にそれぞれ本実施例のモザイ
ク処理されたR9G、B成分画像データが格納されてい
ることになる。The above digital image processing is performed, and the result is stored in the image memory (1) 20. Image memory (2)21.
The image memory (3) 22 stores the mosaiced R9G and B component image data of this embodiment.
以上の如く本実施例に依れば、従来の規則正しい矩形モ
ザイクに比べ離散度が高く、異なったクリエイティブイ
メージを表現できる。又、ブロックの形状が被写体の形
状に近似しているため原画像の良さが残される。As described above, according to this embodiment, the degree of discreteness is higher than that of the conventional regular rectangular mosaic, and different creative images can be expressed. Furthermore, since the shape of the block approximates the shape of the subject, the quality of the original image is preserved.
更に従来の銀塩システムで行なわれていた「暗室処理」
や印刷システムの電子製版では無かった新しい画像を提
供できるとともに作画の自由度を増す、従って画像処理
のプロセスを無人化できるのでラボ的な普及が望める。Furthermore, the “darkroom processing” that was performed in conventional silver halide systems
It is possible to provide new images that were not available with electronic prepress or printing systems, and it also increases the degree of freedom in drawing. Therefore, the image processing process can be automated, so it is hoped that it will become popular as a laboratory.
尚、本実施例では画像処理部に画像専用処理装置を用い
たがミニコン等の汎用コンピュータを用いても同じ効果
が得られることは言うまでもない。また未実施例ではフ
ィルムより画家入力したが、スチールビデオカメラ、ビ
デオカメラ等から直接画像データを取り込んでも、また
磁気フロッピーディスク、磁気テープ、光ディスク等の
記録媒体を介して画像データを入力しても同様の効果は
得られる。さらに、形状決定の手段として他のパラメー
タを用いたり(例えば参照画素ブロック内のデータの平
均値との大小比較から縦横比を求め形状決定する等)、
処理画像に有効とならない小さい形状を算出しないため
の最小領域値の設定および縦横比を用いて処理画面ブロ
ック領域が参照画素ブロック領域を越える形状の設定を
許すことも可能である。In this embodiment, a dedicated image processing device is used as the image processing section, but it goes without saying that the same effect can be obtained by using a general-purpose computer such as a minicomputer. In addition, in the unimplemented example, the artist was input from film, but it is also possible to input image data directly from a still video camera, video camera, etc., or input image data via a recording medium such as a magnetic floppy disk, magnetic tape, optical disk, etc. A similar effect can be obtained. Furthermore, other parameters may be used as a means of determining the shape (for example, determining the shape by determining the aspect ratio from a size comparison with the average value of data in the reference pixel block),
It is also possible to set a minimum area value so as not to calculate a small shape that is not effective in the processed image, and to allow the setting of a shape in which the processing screen block area exceeds the reference pixel block area by using the aspect ratio.
〈効 果〉
以I−の如く1本発明に依れば、モザイク処理の為のブ
ロックの形状が被写体(原画像)の形状に近似している
ため原画像の良さを保存できると共に、使用者を選ばず
クリエイテブな画像を形成できる。<Effects> As described in I- below, according to the present invention, the shape of the block for mosaic processing approximates the shape of the subject (original image), so the quality of the original image can be preserved, and the user You can create creative images regardless of your choice.
第1図はカラースキャナの本発明を用いた時の画像信号
の流れに1例を示すブロック図、第2図は第1図の画像
処理部の1部をより詳しく示すブロック図、第3図は本
実施例のフローチャート図、第4図(a)、(b)は第
3図の説明で使用したルックアップテーブルの特性図で
ある。
1−−−−−一人カドラム 2−一一一附数変換回路
3−−−−−−A D変換器 4−一一一人力信号処
理部5−−−−−−画像処理部 6−−−−出力信号
処理部7−−−−−−D A変換器 8−一−−変調
器9−−−−−−レーザー光源 1〇−出力ドラム11
−−−−コントロールプロセッサ
12−−−−CP Uメモリ
13−−−−パラメータコントローラー14−−−一演
算器
15−−−−パラメータメモリ
16−−−−パラメータ設定用l10
17−−−−イメージコントローラ
18−−−−プロセッサFig. 1 is a block diagram showing an example of the flow of image signals when the present invention is used in a color scanner, Fig. 2 is a block diagram showing a part of the image processing section in Fig. 1 in more detail, and Fig. 3 is a flowchart of this embodiment, and FIGS. 4(a) and 4(b) are characteristic diagrams of the lookup table used in the explanation of FIG. 1-----One quad drum 2--111 suffix conversion circuit 3-----A/D converter 4--111 power signal processing section 5-----Image processing section 6-- ---Output signal processing section 7-----DA converter 8-1--Modulator 9--Laser light source 10-Output drum 11
---- Control processor 12 ---- CPU memory 13 ---- Parameter controller 14 ---- One computing unit 15 ---- Parameter memory 16 ---- Parameter setting l10 17 ---- Image Controller 18---Processor
Claims (1)
いて画面内の複数の領域の画像データから画像の形状に
関する特徴を抽出し、その特徴に合わせて区域を設定し
、前記区域内のすべての画素データの値を所定の代表値
に変換することを特徴とする画像処理方法。In image processing that performs conversion processing on still image signals for one screen, features related to the shape of the image are extracted from image data of multiple areas within the screen, areas are set according to the characteristics, and all areas within the area are An image processing method characterized by converting pixel data values into predetermined representative values.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61042510A JPS62198975A (en) | 1986-02-27 | 1986-02-27 | Image processing method |
US07/007,785 US4953227A (en) | 1986-01-31 | 1987-01-28 | Image mosaic-processing method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61042510A JPS62198975A (en) | 1986-02-27 | 1986-02-27 | Image processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62198975A true JPS62198975A (en) | 1987-09-02 |
Family
ID=12638061
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61042510A Pending JPS62198975A (en) | 1986-01-31 | 1986-02-27 | Image processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62198975A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2598555A (en) * | 2020-08-26 | 2022-03-09 | Catchum 88 Ltd | Fishing weight discharge device |
-
1986
- 1986-02-27 JP JP61042510A patent/JPS62198975A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2598555A (en) * | 2020-08-26 | 2022-03-09 | Catchum 88 Ltd | Fishing weight discharge device |
GB2598555B (en) * | 2020-08-26 | 2024-01-24 | Catchum 88 Ltd | Fishing weight discharge device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4953227A (en) | Image mosaic-processing method and apparatus | |
US5164825A (en) | Image processing method and apparatus for mosaic or similar processing therefor | |
US6757425B2 (en) | Processing image data to transform color volumes | |
JP2000013623A (en) | Image processing method, device and recording medium | |
JP4272880B2 (en) | Color correction method, image processing apparatus, and lookup table | |
JPS62198975A (en) | Image processing method | |
JP2502284B2 (en) | Image processing method | |
JPS6223353B2 (en) | ||
JPS62179060A (en) | Picture processing method | |
JPS6232772A (en) | Image processing method | |
JP2740517B2 (en) | Image processing device | |
JP2844573B2 (en) | Image processing method | |
JPS62179059A (en) | Picture processing method | |
JP4208889B2 (en) | Image processing method, apparatus, and recording medium | |
JP2814769B2 (en) | Image processing device | |
JPS6232578A (en) | Picture processing method | |
JP2000078421A (en) | Device, method and system for processing image | |
JP2740516B2 (en) | Image processing device | |
JPS63245778A (en) | Image processing method | |
JPH0695339B2 (en) | Image processing method | |
JPS62198976A (en) | Image processing method | |
JP2601059B2 (en) | Image processing device | |
JPS62202273A (en) | Image processing method | |
JP2000013595A (en) | Image processing method, device and recording medium | |
JPS6230473A (en) | Image printing device |