JPS62179059A - Picture processing method - Google Patents

Picture processing method

Info

Publication number
JPS62179059A
JPS62179059A JP2051986A JP2051986A JPS62179059A JP S62179059 A JPS62179059 A JP S62179059A JP 2051986 A JP2051986 A JP 2051986A JP 2051986 A JP2051986 A JP 2051986A JP S62179059 A JPS62179059 A JP S62179059A
Authority
JP
Japan
Prior art keywords
image
data
mosaic
picture
memory
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.)
Granted
Application number
JP2051986A
Other languages
Japanese (ja)
Other versions
JPH0679336B2 (en
Inventor
Makoto Katsuma
眞 勝間
Hiroyuki Kimura
木村 裕行
Kazunobu Urushibara
漆原 一宣
Susumu Matsumura
進 松村
Hiroshi Omura
大村 宏志
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2051986A priority Critical patent/JPH0679336B2/en
Priority to US07/007,785 priority patent/US4953227A/en
Publication of JPS62179059A publication Critical patent/JPS62179059A/en
Publication of JPH0679336B2 publication Critical patent/JPH0679336B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)
  • Studio Circuits (AREA)

Abstract

PURPOSE:To express a creative image, and to attain a mosaic process in which the feature of a bit of original picture information is utilized, by changing a mosaic shape corresponding to an input picture data. CONSTITUTION:When the picture data of an original picture is divided into plural sections consisting of plural picture elements, and the conversion process of the picture data in each section is performed with a central value in each section, and the shape of each section is varied corresponding to the picture data of the original picture. In this way, the creative image having a high discrete degree and different from a conventional mosaic process with a regular rectangle can be expressed. Also, since the sizes of picture element blocks (mosaic) are not always equal, and the size is small at a high contrast area, and adversely, it is large at a low contrast area, the mosaic process where the feature of the bit of original information is utilized can be realized.

Description

【発明の詳細な説明】 く技術分野〉 本発明は画像を変僕処理する画像処理方法に関する。[Detailed description of the invention] Technical fields> The present invention relates to an image processing method for processing an image.

〈従来技術〉 従来、この種の画像処理方法の1つとして、印刷業界で
の電子製版技術、写真ラボ業界でのコンピュータ写真画
像処理を応用したプロラボ技術が知られている。
<Prior Art> Conventionally, as one of the image processing methods of this type, there has been known a pro-laboratory technology that applies electronic plate-making technology in the printing industry and computer photographic image processing in the photo-laboratory industry.

例えば画像原稿上をレイアウトスキャナ、レーザカラー
プリンタ等の高精度スキャナにより元電走査に再生画像
を得る場合その工程の中間に信号処理部を設けて入力濃
度信号に対して濃度表現修正(r補正)、階調設定、色
修正、切シ抜き合成等の処理を行ない以下の様な効果を
得ている。
For example, when obtaining a reproduced image by scanning an image original with a high-precision scanner such as a layout scanner or laser color printer, a signal processing section is installed in the middle of the process to correct the density expression (r correction) for the input density signal. By performing processing such as gradation setting, color correction, cutout synthesis, etc., the following effects were obtained.

■ カラーフィルムの退色復元 ■ ハイライト、シャドウの階調を整え、色彩表現の誇
張 ■ 機器故障、撮影ミス、現像ミス等の救済■ クリエ
イティブイメージを表現し、イメージ領域の拡大、新し
いデザインを創造する。
■ Restoration of fading color film ■ Adjusting the gradation of highlights and shadows and exaggerating color expression ■ Relief from equipment failures, shooting mistakes, development errors, etc. ■ Expressing creative images, expanding the image area, and creating new designs .

この様な特殊処理を実行する場合、フィルム原稿をカラ
ースキャナの高精度スキャナ又はカラー撮像管、カラー
撮像板(たとえばCCD)等により光電走査して得たフ
ィルム原稿のa開信号又は輝度信号等のデジタル画像信
4i!−を処理している。
When performing such special processing, the a-open signal or brightness signal of the film document obtained by photoelectrically scanning the film document with a high-precision color scanner, a color image pickup tube, a color image pickup plate (such as a CCD), etc. Digital image communication 4i! − is being processed.

従来この欅の特殊効果は、規則正しく配列されたモザイ
ク処理や1曲線を非現実的にものに変化させるボスタリ
ゼーション処理やソラリゼーション処理等がある。とこ
ろがこれだけの処理ではクリエイティブイメージを表現
し、イメージ領域の拡大、宜しいデザインを創造するた
めには数少ないという問題点がある。、また別の方法と
してたとえばDPB 7000 (クラオンチル社)、
アートロン2000 (アートロニクス社)レスポンス
300(サイテックス社)等の切す抜き合成やペイント
e能があるが、この場合は作成者がタブレットデジタイ
ザー等の庄標指示装置を用いてオリジナル画像と描き加
えていくというものでかなりの時間を必要とするばかり
でなく、作成者のセンスが再成画像に反映してしまうと
いう欠点がある。
Conventional special effects for Keyaki include regularly arranged mosaic processing, bossarization processing and solarization processing that transform a single curve into something unrealistic. However, there is a problem that this amount of processing is insufficient to express a creative image, expand the image area, and create a good design. , Another method is, for example, DPB 7000 (Kuraonchiru Co., Ltd.),
There are cut-out composites and paint e-functions such as Artron 2000 (Artronics) and Response 300 (Sitex), but in this case, the creator uses a tablet digitizer or other pointing device to add the original image and draw. Not only does this take a considerable amount of time to process, but it also has the disadvantage that the creator's taste is reflected in the regenerated image.

以下にX方向5、y方向5の大きさの合計25画素を一
つの区分としてモザイク処理を行なうものを例にとって
説明する。デジタル画像の(m、n)番目の画素情報を
a (m、n)と表現する。
The following will explain an example in which a mosaic process is performed using a total of 25 pixels, 5 pixels in the X direction and 5 pixels in the Y direction, as one section. The (m, n)th pixel information of the digital image is expressed as a (m, n).

ここで画素情報a (m、n)はフィルム原稿のV度信
号又は輝度信号をA/D変換したデジタルカウント値を
示す。そして原画像の画素情報をa(m。
Here, the pixel information a (m, n) indicates a digital count value obtained by A/D converting the V degree signal or luminance signal of the film original. Then, the pixel information of the original image is expressed as a(m).

n)とし処理後の再成画像の画素情報をa’(m。n), and the pixel information of the regenerated image after processing is a'(m.

n)とするとモザイク処理では次の様な関係式%式%) 上関係式では5×5の画素ブロックの中心の値が代表値
と々リブロック内の他の画素にもその値が代入されてい
るがその代表値は5×5の画素ブロックであればどの値
でもよく又平均値でも良い。
In the above relation, the value at the center of the 5 x 5 pixel block is the representative value, and that value is assigned to other pixels in the reblock. However, the representative value may be any value as long as it is a 5×5 pixel block, or may be an average value.

この様に従来の規則正しく配列されたモザイク処理では
次の様な欠点があり、クリエイティブイメージを表現す
るためにはそれを改良した処理方法が切望されている。
As described above, the conventional regularly arranged mosaic processing has the following drawbacks, and an improved processing method is desperately needed in order to express creative images.

■ 矩形のブロックの配列が規則正しすぎる■ ブロッ
ク内の画素がすべて同じ値であるため原画像が細かい表
現(高周波成分の多いところ)を必要としているところ
の情報が欠落してしまう。
■ The arrangement of rectangular blocks is too regular ■ All pixels in the block have the same value, so information in areas where the original image requires detailed expression (areas with many high frequency components) is lost.

く目的〉 本発明は上述促米例の欠点を除去し、従来の数少ない特
殊効果処理に宜しい画像処理方法に提供し、作成者のセ
ンスに左右されることなくクリエイティブイメージを表
現し、イメージ領域の拡大、新しいデザインを創造する
のに太いに役立ち、そして例えば写真画@をあつかり広
告、デザイン業界に貢献するばかりでなく一般消費者に
対しても従来の写真技術では帷しく又は不可能であった
特殊写真技法を簡単に取り入れることが可ロヒになシ写
真業界、写真ラボ業界等の産朶上の発達に寄与すること
が可能になった画1重処理方法の提供を目的としている
Purpose of the invention The present invention eliminates the drawbacks of the above-mentioned examples, provides an image processing method that is suitable for the few conventional special effects processing, expresses creative images without being influenced by the taste of the creator, and improves the image area. It is very useful for enlarging and creating new designs, and for example, using photographic images for advertising, not only contributes to the design industry, but also to the general consumer. The object of the present invention is to provide a single-image processing method that can easily incorporate special photographic techniques and contribute to the development of industries such as the photographic industry and the photographic laboratory industry.

特に本発明においては、入力画像データに応じてモザイ
ク形状を変える画像処理方法の提供を目的としている。
In particular, the present invention aims to provide an image processing method that changes the mosaic shape depending on input image data.

以下本発明の1実施例について図面を用いて詳細に説明
する。第1図は、カラースキャナに本発明を用いた時の
a度信号の流れの1例を示すブロックダイヤグラムであ
る。入力ドラム1に装填されたフィルム原稿を光電走査
して得られた入力信号は、対数変換回路2にて濃度信号
に変換された後、AD変排器3を経て入力信号処理部4
に入力されて、フィルムの種類に応じてそれぞれその濃
度値を変換し、フィルムの露光骨に対して一定の関係を
なす様に変換する。
Hereinafter, one embodiment of the present invention will be described in detail using the drawings. FIG. 1 is a block diagram showing an example of the flow of a degree signal 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 sent to an input signal processing unit 4 via an AD transformer 3.
The density values are converted according to the type of film, and are converted so as to have a certain relationship with the exposed bones of the film.

というのはフィルム特性曲線がネガフィルム、ポジフィ
ルム、リバーサルフィルムによって異なり又カラー画像
の場合は特にネガフィルムではR,G、Bの各色に工っ
て異なるためである。この後にこのシステムの心臓部と
いうべき画像処理部5に入力され、デジタル画像処理が
施される。この後画像処理部5から出力された濃度信号
は、出力信号処理部6でレーザー元iの制御店号に変換
する処理を行ないDA変変声器上経て変調器8に入力さ
れ光源9から出力されたレーザ光の変調を行ない、出力
ドラム10に所望の画像全再生させる。
This is because film characteristic curves differ depending on negative film, positive film, and reversal film, and in the case of color images, especially in negative film, they differ for each color of R, G, and 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 the control store name of the laser source i in the output signal processing section 6, passed through a DA voice transformer, inputted to the modulator 8, and outputted from the light source 9. The output drum 10 reproduces the entire desired image by modulating the laser beam.

第2図は画像処理部5の一部をより詳細に示したブロッ
ク図である。
FIG. 2 is a block diagram showing a part of the image processing section 5 in more detail.

CPU 11 Hコントロールプロセッサで、画像処理
部5のすべての実権を握っており、CPUメモリ12の
メモリにより画1象処理を制御する。
CPU 11H A control processor which has full control over the image processing section 5 and controls image processing using the memory of the CPU memory 12.

パラメータコントローラ13は演算器14.パラメータ
ーメモリ15、パラメーター設定用X1016をコント
ロールし、処理に必蚤なパラメータの初期化、設定、比
較等を行なう。プロセッサー18と0ptT 11の間
はイメージコントローラ17によって接続されておりC
PU 11の指令によってプロセッサー18は動作する
。プロセッサー18は画像処理部5の中核となる部分で
あシ、C!PU 11の命令に従いセレクトされた任意
のイメージメモリ20〜26.16ビツト用積算イメー
ジメモリ27や画像データ出力1036の中から画像デ
ータを受けとシ、演算器れた結果をセレクトされた任意
のイメージメモリ20〜26、16ビツト用積算イメー
ジメモリ27や画像データJ1111056へと送る。
The parameter controller 13 is a computing unit 14. It controls the parameter memory 15 and the parameter setting X 1016, and initializes, sets, and compares parameters necessary for processing. The processor 18 and 0ptT 11 are connected by an image controller 17 and C
The processor 18 operates according to instructions from the PU 11. The processor 18 is the core part of the image processing section 5. Any image memory 20 to 26 selected according to the commands of the PU 11 receives image data from the 16-bit integration image memory 27 and the image data output 1036, and outputs the result of the arithmetic unit to any selected image. It is sent to memories 20 to 26, 16-bit integration image memory 27, and image data J1111056.

また演算により必要なアドレスにキャリーをたてるため
にキャリー専用メモリであるフラグマツプメモリ19に
も出力可能である。イメージメモリ20〜2616ビツ
ト用M’nイメージメモIJ 27iCPUBUD、 
VIDKOBUSのいずれにも接続されているので(!
PU 11から任意のイメージメモリ20〜26、16
ビツト用積算イメージメモリ27に読み書きすることも
任意のメモリー間でリアルタイム演算することも可能で
ある。イメージメモリの出口にルックアップテーブル2
8〜34という扁速RAMが接続されている。このRA
Mは256X8ピツトの構造をもち、 RAMのアドレ
スライン8本(0〜255番地を指定できる=θ〜25
5階調を指定できる)は各イメージメモリーの出力に直
結され、データライン8本はVIDEOBUBに接続さ
れている。またRAMの内容はCPU 11よシ自由に
読み書きできる。画像データ用I1055は画像用入出
力インターフエイスであり第1図の入力信号処理部4か
ら画像データ入力し、出力信号処理部6へと画像データ
出力を行なう。
It can also be output to the flag map memory 19, which is a carry-only memory, in order to set up a carry at a necessary address by calculation. M'n image memo IJ 27i CPUBUD for image memory 20-2616 bits,
Since it is connected to both VIDKOBUS (!
Any image memory 20 to 26, 16 from PU 11
It is also possible to read and write to and from the bit integration image memory 27, and to perform real-time calculations between arbitrary memories. Lookup table 2 at the exit of image memory
A number of fast RAMs numbered 8 to 34 are connected. This R.A.
M has a structure of 256 x 8 pits, and has 8 RAM address lines (addresses 0 to 255 can be specified = θ to 25).
(5 gradations can be specified) are directly connected to the output of each image memory, and 8 data lines are connected to VIDEOBUB. Further, the contents of the RAM can be freely read and written by the CPU 11. The image data input/output interface 1055 inputs image data from the input signal processing section 4 shown in FIG. 1 and outputs the image data to the output signal processing section 6.

第3図は画像処理部5で行なわれるデジタル画像処理方
法についてのフローチャートを示し、第4図はルックア
ップテーブル24〜26の状態を示すグラフであり横軸
に入力階調、縦軸に出力階鯛を示す。第4図(alでは
標準状態を示し0番地には0.1番地には1、・・・・
・255番地には255という値が曹き込まれているの
を示し、入力、出力の内容が同一となる。また第4図(
biには0番地には255.1番地には254゜・・・
・・255番地に0という値が書き込まれ、入力−出力
はS度データが反転された画像となることを示している
FIG. 3 shows a flowchart regarding the digital image processing method performed by the image processing unit 5, and FIG. Showing sea bream. Figure 4 (al shows the standard state, 0 for address 0. 1 for address 1, etc.)
・It shows that the value 255 has been inserted into address 255, and the input and output contents are the same. Also, Figure 4 (
Bi has 255 degrees at address 0, 254 degrees at address 1...
...A value of 0 is written at address 255, indicating that the input-output will be an image in which the S-degree data is inverted.

以下画實処理部5で行かわれるデジタル画像処理方法に
ついてフローチャート第3図を中心に詳細に説明する。
The digital image processing method performed by the image processing unit 5 will be described in detail below with reference to the flowchart in FIG.

ここでデジタル画像の濃度データをai(m、n)とい
う形で説明上表わす。但し1けR,G、Bでありそれぞ
れ原画像のR成分画像データ、G成分画像データ、B成
分画像データとを示す。また1画素は各成分それぞれ8
ビット構成すなわち256階調表現可能なデータとなっ
ており最も濃度の大きいデータ(i&も階いデータ)の
値をφとし最も濃度の小さいデータ(最も明るいデータ
)の値を255とする。
Here, the density data of the digital image is expressed in the form ai (m, n) for the purpose of explanation. However, digits R, G, and B indicate R component image data, G component image data, and B component image data of the original image, respectively. Also, one pixel is 8 for each component.
The data has a bit structure, that is, data that can be expressed in 256 gradations, and the value of the data with the highest density (i & also gradation data) is set to φ, and the value of the data with the lowest density (the brightest data) is set to 255.

ステップ1 81の説明 CPU 11の命令によ勺プロセッサ18は画像データ
用工102 Bを介して入力信号処理部4よシ原画像の
R成分画像データをイメージメモリ(1120KVI!
納する。続いて原画像のG成分画像データ、B成分画像
データをそれぞれイメージメモ’J (21(3121
,22に格狛する。この時ルックアップテーブル(1)
〜(7) 28〜34は第4図(a)の標準状態である
Explanation of Step 1 81 According to a command from the CPU 11, the processor 18 transfers the R component image data of the original image to the input signal processing unit 4 via the image data processing unit 102B to the image memory (1120KVI!
pay. Next, the G component image data and the B component image data of the original image are respectively image memo'J (21 (3121
, 22. At this time, lookup table (1)
-(7) 28-34 are the standard states in FIG. 4(a).

ステップ2 82の説明 プロセッサ18の働きによりイメージメモリf1120
の画像データをイメージメモリ(4123に代入する。
Step 2 Explanation of 82 The image memory f1120 is
The image data of is assigned to the image memory (4123).

この時ルックアップテーブル(112Bの内容は第4図
(alで示す様に標準状態であるのでイメージメモリf
1120の内容がイメージメモリ(4125にそのまま
コピーされる。同様圧してイメージメモリ(2121、
イメージメモリf3122の画像データをそれぞれイメ
ージメモIJ (5124、イメージメモリ(6125
にコピーする。
At this time, the contents of the lookup table (112B) are in the standard state as shown in FIG. 4 (al), so the image memory f
The contents of 1120 are copied as is to the image memory (4125). Similarly, the contents of the image memory (2121,
The image data of image memory f3122 is stored in image memo IJ (5124, image memory (6125), respectively).
Copy to.

ステップ3 85の説明 ここでは演算に必要なパラメータの設定を行なう。本実
施形ではパラメータ設定用l1016よυキーボード(
不図示)によって基本画素ブロックの大きさを表わすパ
ラメータおよび該画素ブロックの形を表わすパラメータ
を入力する。
Description of Step 3 85 Here, parameters necessary for calculation are set. In this embodiment, the parameter setting l1016 and υ keyboard (
(not shown), a parameter representing the size of the basic pixel block and a parameter representing the shape of the pixel block are input.

以下の例では基本画素ブロックの大きさを表わすパラメ
ータをその形の外接四角形の一辺がそれぞれm09no
という形で与えられ、画素ブロックの形はランダムな形
状を選択したことKする。
In the example below, the parameter representing the size of the basic pixel block is set to m09no for each side of the circumscribed rectangle of that shape.
It is assumed that the shape of the pixel block is a random shape.

本説明では、形が不規則であるが、例えば円、三角形、
四角形等の固定の形にしても良い。またこの場合基本画
素ブロックの大きさを表わすパラメータは外接四角形の
一辺という形ではく円の場合は直径、多角形の場合は外
接円直径として与えてもよい。そしてこれらのパラメー
タは上述の様にパラメータ設定用1101(Sにより作
成者が自ら入力する形式をとっているがあらかじめその
情報をパラメータメモリに格納しておけば作業者のパラ
メータデータ入力の操作なしに自動化できるのは言うま
でもない。
In this explanation, the shapes are irregular, such as circles, triangles, etc.
It may be a fixed shape such as a rectangle. In this case, the parameter representing the size of the basic pixel block may be given not as one side of a circumscribed quadrilateral, but as the diameter in the case of a circle, or as the diameter of the circumscribed circle in the case of a polygon. As mentioned above, these parameters are entered by the creator himself using the parameter setting 1101 (S), but if the information is stored in the parameter memory in advance, the operator does not have to input the parameter data. Needless to say, it can be automated.

ここで設定された基本画素ブロックの大きさmO+”O
と画像データの大きさMXHにより、以下の演算に必要
なパラメータである画素ブロックB+m数P1をP 1
=(M/mo) ’ (N/n□) X 2の演算式に
よって求めた。
The size of the basic pixel block set here mO+”O
and the size of image data MXH, the number of pixel blocks B + m, which is a parameter necessary for the following calculation, is P1
=(M/mo)' (N/n□)

次に以下の演算の制御に用いる制御用パラメータエP1
の初期化を行なう。具体的にはIPl =1とし以下の
処理でIPl = 1の時はイメージメモリ(1120
を対象に行ない、工P1=2.工P1=6ではそれぞれ
イメージメモ17 (21、(3) 21 、22を対
象に処理する。
Next, control parameter E P1 used to control the following calculations
Initialize. Specifically, when IPl = 1, and in the following process, when IPl = 1, the image memory (1120
The target was P1=2. In step P1=6, image memos 17 (21, (3) 21, 22) are processed.

以下のステップで画素ブロックの大きさを決定する際に
参照する為の画像データを作成し。
In the following steps, create image data to refer to when determining the size of the pixel block.

イメージメモリ(ハに格納する。本実施形ではイメージ
メモリ(1)のR成分画像データとイメージメモリ(2
)のG成分画像データ、イメージメモリ(3)のB成分
原画像データよりそれぞれをR:G:B=3:6:1の
割合でたし合わせ視感度に近い画像データとして参照画
像データを作成して説明を行なうが視感度としてR,G
、Bの割合いのもつとも高いG成分画像データだけを参
照1F1ii儂データとして用いて行なうことも可能で
ある。
In this embodiment, the R component image data in the image memory (1) and the image memory (2) are stored in the image memory (C).
) and the B component original image data of image memory (3) are added together at a ratio of R:G:B=3:6:1 to create reference image data as image data close to the visual sensitivity. I will explain this using R and G as visibility.
, it is also possible to use only the G component image data with the highest proportion of B as the reference 1F1ii data.

プロセッサー18の働きにより16ビツト用イメージメ
モリ(8)をリセットする。次にイメージメモリ(1)
をイメージメモリ(8)に3回たしあわせ、そのデータ
にイメージメモリ(2)、イメージメモリ(3)のデー
タをそれぞれ6回、1回たしあわせる。すなわちイメー
ジメモリ(11、(21、(31のデータをそれぞれa
i(m、n) i=R+G*Bとしイメージメモリ(8
1のデータをWa(m、n)と表わすとw a (m 
rn)=5XaR(rn、n) +6XaG (m、n
)+aB(m、n’)となる。次てそのイメージメモリ
(8)のデータを10で除算しイメージメモリ(7)K
格納する。
The 16-bit image memory (8) is reset by the action of the processor 18. Next, image memory (1)
is added to the image memory (8) three times, and the data in the image memory (2) and image memory (3) are added six times and once, respectively, to the data. In other words, data of image memory (11, (21, (31) is stored in a
i (m, n) i=R+G*B and image memory (8
If the data of 1 is expressed as Wa (m, n), w a (m
rn) = 5XaR (rn, n) + 6XaG (m, n
)+aB(m, n'). Next, divide the data in the image memory (8) by 10 and divide the data in the image memory (7)K.
Store.

すなわちイメージメモリ(ハのデータa7(m、n)は
aT(m、n)=(3Xau(m、n)+6Xao(m
、n)+aB(m、n)/10と々る ステップ5  E15の説明 1P1はこれから処理を行危うイメージメモリの指定を
する制御用パラメータであシエPI = 1の時は結果
出力をイメージメモリ(1120と1演算に必要な参照
イメージをイメージメモリ(4)23とする。また工p
z = 2の時は、それぞれイメージメモリ(2) 2
1と(5)24であ)IPl=5の時は、イメージメモ
リ(3)22と(6125である。
In other words, data a7 (m, n) of image memory (c) is aT (m, n) = (3Xau (m, n) + 6Xao (m
,n)+aB(m,n)/10 Step 5 Explanation of E15 1P1 is a control parameter that specifies the image memory at risk of processing from now on.When PI = 1, the result output is transferred to the image memory ( The reference image required for 1120 and 1 calculation is image memory (4) 23.
When z = 2, image memory (2) 2
1 and (5) 24) and when IPl=5, the image memories are (3) 22 and (6125).

そしてUPI −4になると本画像処理部での演算を終
了し次のシーケンスに移る。
Then, when the UPI reaches -4, the calculation in the image processing section ends and the process moves to the next sequence.

以下の演算で用いる制御用パラメータの初期設定であり
、工P2=1とする。この制御用パラメータはステップ
11でカウントアツプされステップ12でステップ3で
算出し友画素ブロックの演算の繰り返し回数P1と比較
し制御する。
This is the initial setting of control parameters used in the following calculations, and is set to P2=1. This control parameter is counted up in step 11, calculated in step 3 in step 12, and compared with the number of repetitions P1 of the computation of the friend pixel block for control.

以下で行なわれる処理に用いる乱数系列の設定を行なう
。この時点で乱数系列の設定を行なつことによりイメー
ジメモリ(1)〜(3120〜22を対象に行なう処理
での乱数の発生が同じ直になり、ブロック処理部の指定
位置を3イメージメモリとも同じにする。
Set the random number sequence used for the processing that will be performed below. By setting the random number series at this point, the random numbers will be generated in the same direction in the processing performed on image memories (1) to (3120 to 22), and the specified position of the block processing section will be the same for all three image memories. Make it.

乱数発生によって画素ブロックを発生する為の基本位置
を算出する。ここでは、X方向に対してrからVの間を
発生させ、y方向に対しては1からHの間を発生させる
。ここで該基本位@をそれぞれms、nBとして表わし
ておく。
A basic position for generating a pixel block is calculated by random number generation. Here, a value between r and V is generated in the X direction, and a value between 1 and H is generated in the y direction. Here, the basic position @ is expressed as ms and nB, respectively.

ステップ8によって発生するms、nBした値に(m、
−」、 n、 +”!n )に囲まれるところのデータ
値aT(1,j)の最大値と最小値の差dを求める。
ms, nB generated by step 8 (m,
-", n, +"!n), the difference d between the maximum value and minimum value of the data value aT(1, j) is determined.

この差dによってdの値の大きい時は、実際に書き込む
画素ブロックの大きさmb、nbを小さくし、dの値が
小さい時は、実際Ktlき込む画素ブロックの大きさm
k)*”t) を大きくする。本実施形では、実際に書
き込む画素ブロックm’b r nbを次式の様に最大
値と最小値の差dに対しM磯釣に変化させたものである
が非線型又は数種類の場合いわけによって行なってもよ
いのは言うまでもない。
Due to this difference d, when the value of d is large, the sizes mb and nb of the pixel blocks to be actually written are made small, and when the value of d is small, the size of the pixel blocks to be actually written is ktl.
k) *"t). In this embodiment, the pixel block m'br nb to be actually written is changed to M Isozuri for the difference d between the maximum value and the minimum value as shown in the following equation. However, it goes without saying that it may be performed in some cases in non-linear or several types of cases.

”b =fllo  mo X v255n1) = 
n(1no X 6./255 (但し整数化する)ス
テップ10B10の説明 ステップ9によって求められた画素ブロックの大きさm
b、nbによってイメージメモリ(4)上のmb n8
+nb、 、 (m8−mb、nf3+nb )で囲ま
れる画素2’      2        2   
   2ブロツク内の任意の位置を第5図の様にイメー
ジメモ1月1)の(ms、nB)の値で書き込む。これ
は制御用パラメータエP2;1の場合であj91P2−
2.3の時はそれぞれイメージメモ1月2)からイメー
ジメモリ(5)へ、イメージメモリ(3)からイメージ
メモリ(6)へ選択した値を書き込んでいく。
”b=fllo mo X v255n1)=
n (1 no
mb n8 on image memory (4) by b, nb
+nb, , (m8-mb, nf3+nb) pixel 2' 2 2
Write the value (ms, nB) of the image memo (January 1) at an arbitrary position within two blocks as shown in FIG. This is the case of control parameter P2;1, and j91P2-
At the time of 2.3, the selected value is written from the image memo (January 2) to the image memory (5) and from the image memory (3) to the image memory (6), respectively.

ステップ11で制御用パラメータエP2のカウントアツ
プを行ないステップ12で該パラメータによって分枝し
、rp2がP2より大きい時は次のステップであるステ
ップ13に進み、P2に等しいか又は小さい時はステッ
プ8から繰り返す。すなわちステップ8〜ステツプ12
まではP2回繰シ返し22個の画素ブロックをイメージ
メモU (4> 、 +51 、 (6)にそれぞれ書
き込む。
In step 11, the control parameter ep P2 is counted up, and in step 12, branching is performed according to the parameter. When rp2 is greater than P2, the process proceeds to the next step, step 13, and when it is equal to or smaller than P2, step 8 Repeat from That is, step 8 to step 12
Until then, 22 pixel blocks are written P2 times to the image memo U (4>, +51, (6), respectively).

制御用パラメータrP1のカウントアツプを行かい、ス
テップ5に移る。
The control parameter rP1 is counted up, and the process moves to step 5.

以上の様なデジタル画像処理を行ない、その結果はイメ
ージメモリ(4125イメージメモリ(5)24、イメ
ージメモ1月6)25にそれぞれR,G、B成分画像デ
ータが格納されていることに々る。
The above digital image processing is performed, and the result is that R, G, and B component image data are stored in the image memory (4125 image memory (5) 24, image memo January 6) 25, respectively. .

前説明ではステップ9での画像ブロックの大きさ決定の
際にmoxnoの画素ブロック内の最大値と最小値によ
って実際に書き込む画素ブロックの大きさfJ) Xn
1)を決定していたが、次の様な方法によっても可能で
ある。
In the previous explanation, when determining the size of the image block in step 9, the size of the pixel block to be actually written is determined using the maximum and minimum values in the pixel block of moxno.
1) was determined, but it is also possible by the following method.

画素ブロックm□ X n(1の範囲内の隣接する画素
素の総和によって判断することも可能である。
It is also possible to determine by the sum of adjacent pixels within the range of pixel block m□Xn(1).

すなわちイメージメモリ(ハの画像データをラグラジア
ンや他の微分オペレータをした画像にしその画像に対し
、画素ブロックmO’Knoの範囲内の値の総和日をと
シ、総和Sの値の大きいものに対してmbt nbを小
さくとシ、総和Bの値の小さいものに対しm’b*nb
を大きくすることKよっても本発明と同等の効果が得ら
れる。
In other words, the image data in the image memory (C) is processed by Lagradian or other differential operators, and for that image, the sum of the values within the range of the pixel block mO'Kno is calculated. If mbt nb is small, m'b*nb is
The same effect as the present invention can be obtained by increasing K.

以上の様に本実施例に依れば、従来の規則正しい使者の
モザイク処理に比べ、離散塵が高く、異なつ九クリエイ
ティブイメージを表現できる。
As described above, according to this embodiment, the discrete dust is higher than in the conventional regular messenger mosaic processing, and nine different creative images can be expressed.

又、画素ブロック(モザイク)の大きさがすべて同じ値
にならず、コントラストの大きいところは小さく、逆に
コントラストの小さいところは大きくなるので原画像情
報の特徴を生かしたモザイク処理が可能になる。例えば
写真の被写体以外の非合焦域は大きなモザイクで構成す
ることができる。
Furthermore, the sizes of the pixel blocks (mosaic) do not all have the same value; areas with high contrast are small, and areas with low contrast are large, making it possible to perform mosaic processing that takes advantage of the characteristics of the original image information. For example, an out-of-focus area other than the subject of a photograph can be configured with a large mosaic.

又、従来の銀塩システムで行なわれていた「暗室処理」
や印刷システムの電子製版では無かった宜しい画像を提
圓できるとともに作画の自由度を増す。
In addition, "dark room processing" that was performed in conventional silver halide systems
It is possible to provide suitable images that were not possible with electronic plate making or printing systems, and the degree of freedom in drawing is increased.

又、画像処理のプロセスを無人化できるので専門家を必
安とせず、ラボ的な普及が望める。
In addition, since the image processing process can be automated, it does not require the use of experts, and it is hoped that it will be widely used in laboratories.

尚本実施例では画像処理部に画像専用処理装置を用いた
がミニコン等の汎用コンピューターを用いても同じ効果
が得られることは言うまでもない。
In this embodiment, a dedicated image processing device 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.

また本実施形では、フィルムより両債入力したがスチー
ルビデオカメラ、ビデオカメラ等から被写体から直接画
像データを取りこんでも又磁気フロッピーディスク、磁
気テープ、光ディスク、バブルメモリー等の記録媒体を
介して画像データを入力しても同様の効果は得られる。
Furthermore, in this embodiment, image data is input from film, but even if image data is directly captured from a still video camera, video camera, etc., image data can also be captured via a recording medium such as a magnetic floppy disk, magnetic tape, optical disk, bubble memory, etc. The same effect can be obtained by inputting .

く効果〉 以上の如く1本発明に依れば、従来の規則正しいモザイ
ク処理に比べ、クリエイティブイメージを表現できると
共に、原画像情報の特徴を生かしたモザイク処理が可能
となる。特に原画のコントラストに応じて区分の形状を
変化させることKよる効果は極めて大である。
Effects> As described above, according to the present invention, compared to conventional regular mosaic processing, it is possible to express a creative image and to perform mosaic processing that takes advantage of the characteristics of the original image information. In particular, the effect of changing the shape of the sections according to the contrast of the original image is extremely large.

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

第1図はカラースキャナに本発明を用いた時のm11信
号の流れの1例を示すブロック図、タル2図は第1図の
画像処理部の1部をよシ詳しく示すブロック図、第3図
は実施例のフローチャート図、第4図(at 、 (b
lは第3図の説明で使用したルックアップテーブルの状
態を示す図、第5図(al 、 (blはパラメータの
設定の例を示した図である。 1・・・入力ドラム 2・・・対数変櫓回路 3・・・AD変換器 4・・・入力信号処理部 5・・・画像処理部 6・・・出力信号処理部 7・・・DA変換器 8・・・変調器 9・・・レーザー光源 10・・・出力ドラム 11・1コントロールプロセツサ 12・++ cptyメモリ 13、・、パラメーターコントローラー14・・・演算
器 15・・・パラメータメモリ 16・・・パラメータ設定用l10 17・・・イメージコントローラ 18・・・プロセッサ 19・・・フラグマツプメモリ 20〜27・・・イメージメモリ 28〜35・・・ルックアップテーブル36・・・画像
データ用I10
Figure 1 is a block diagram showing an example of the m11 signal flow when the present invention is used in a color scanner, Figure 2 is a block diagram showing a part of the image processing section in Figure 1 in more detail, and Figure 3 is a block diagram showing an example of the flow of the m11 signal when the present invention is used in a color scanner. The figures are flowcharts of the embodiment, and Fig. 4 (at, (b)
1 is a diagram showing the state of the lookup table used in the explanation of FIG. 3, and FIG. 5 is a diagram showing an example of setting parameters. 1... Input drum 2... Logarithmic converter circuit 3...AD converter 4...Input signal processing section 5...Image processing section 6...Output signal processing section 7...DA converter 8...Modulator 9...・Laser light source 10...Output drum 11・1 control processor 12・++ cpty memory 13, ・Parameter controller 14...Calculator 15...Parameter memory 16...L10 for parameter setting 17... Image controller 18...Processor 19...Flag map memories 20-27...Image memories 28-35...Lookup table 36...I10 for image data

Claims (2)

【特許請求の範囲】[Claims] (1)原画像の画像データを複数の画素から成る複数の
区分に分け、各区分内の画素データを該代表値により変
換処理する画像処理において、原画像の画像データに応
じて前記区分の形状を変化させることを特徴とする画像
処理方法。
(1) In image processing in which the image data of an original image is divided into multiple sections each consisting of a plurality of pixels, and the pixel data in each section is converted using the representative value, the shape of the section is determined according to the image data of the original image. An image processing method characterized by changing.
(2)特許請求の範囲第1項において原画像の画像コン
トラストに応じて前記区分の形状を変化させることを特
徴とする画像処理方法。
(2) An image processing method according to claim 1, characterized in that the shape of the section is changed depending on the image contrast of the original image.
JP2051986A 1986-01-31 1986-01-31 Image processing method Expired - Fee Related JPH0679336B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2051986A JPH0679336B2 (en) 1986-01-31 1986-01-31 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
JP2051986A JPH0679336B2 (en) 1986-01-31 1986-01-31 Image processing method

Publications (2)

Publication Number Publication Date
JPS62179059A true JPS62179059A (en) 1987-08-06
JPH0679336B2 JPH0679336B2 (en) 1994-10-05

Family

ID=12029406

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2051986A Expired - Fee Related JPH0679336B2 (en) 1986-01-31 1986-01-31 Image processing method

Country Status (1)

Country Link
JP (1) JPH0679336B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5038223A (en) * 1988-02-29 1991-08-06 Canon Kabushiki Kaisha Image processing method and apparatus for imparting a pictorial or painter-like effect

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5038223A (en) * 1988-02-29 1991-08-06 Canon Kabushiki Kaisha Image processing method and apparatus for imparting a pictorial or painter-like effect

Also Published As

Publication number Publication date
JPH0679336B2 (en) 1994-10-05

Similar Documents

Publication Publication Date Title
US4953227A (en) Image mosaic-processing method and apparatus
US5097518A (en) Technique for performing digital image scaling by logically combining or replicating pixels in blocks of differing groupsizes
JPS6255137B2 (en)
US6577320B1 (en) Method and apparatus for processing multiple types of pixel component representations including processes of premultiplication, postmultiplication, and colorkeying/chromakeying
US6917718B2 (en) Process for making images defocused
JPH0481227B2 (en)
JPS62179059A (en) Picture processing method
JPS5935270A (en) Picture element density converter
JPS62179060A (en) Picture processing method
JP4811401B2 (en) Image processing method and image processing apparatus
JPS62198975A (en) Image processing method
JPS6232772A (en) Image processing method
JPS6232578A (en) Picture processing method
JPS62198976A (en) Image processing method
JPS63245778A (en) Image processing method
JPH01156069A (en) Image processor
JPH01161580A (en) Picture processor
JP2502284B2 (en) Image processing method
JPS62179061A (en) Picture processing method
JPH0695339B2 (en) Image processing method
JPH08328539A (en) Image display method and device
JPH08102850A (en) Picture processor
JPS60191562A (en) Picture processing unit
JPH05346955A (en) Image data correcting method
JPS6272072A (en) Picture processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees