JPH04143868A - Picture processing method - Google Patents
Picture processing methodInfo
- Publication number
- JPH04143868A JPH04143868A JP2268100A JP26810090A JPH04143868A JP H04143868 A JPH04143868 A JP H04143868A JP 2268100 A JP2268100 A JP 2268100A JP 26810090 A JP26810090 A JP 26810090A JP H04143868 A JPH04143868 A JP H04143868A
- Authority
- JP
- Japan
- Prior art keywords
- image
- image processing
- specific area
- original
- processing method
- 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 22
- 238000000034 method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 239000002131 composite material Substances 0.000 description 5
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Landscapes
- Controls And Circuits For Display Device (AREA)
- Processing Or Creating Images (AREA)
- Image Processing (AREA)
- Facsimile Image Signal Circuits (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、原画像に特定領域を設定し、この領域内の画
像に対して所望の画像処理を施すことのできる画像処理
方法に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing method that can set a specific area in an original image and perform desired image processing on the image within this area.
[従来の技術]
従来より、イメージスキャナー等で読み込んだ原画像に
対して階調補正、輪郭強調等の画像処理を施し、所望の
画像を得る方法が種々提案されている。この場合、原画
像に対する処理範囲を特定しないで画一的に画像処理を
行うと、適切な処理が施された部分と、適切な処理が施
されない部分とが生じることになる。[Prior Art] Various methods have been proposed to obtain a desired image by performing image processing such as gradation correction and edge enhancement on an original image read by an image scanner or the like. In this case, if image processing is uniformly performed without specifying the processing range for the original image, some parts will be appropriately processed and some parts will not be.
そこで、例えば、イメージスキャナー等で読み込まれ、
CRTに表示された原画像に対して、ライトペン等を用
いて処理部分を特定し、その部分に対し所望の画像処理
を行う方法が提案されている。Therefore, for example, it is read with an image scanner etc.
A method has been proposed in which a processing portion of an original image displayed on a CRT is specified using a light pen or the like, and desired image processing is performed on that portion.
[発明が解決しようとする課題]
しかしながら、前記の方法では、特定範囲に対する所望
の画像処理は可能となるが、前記特定範囲の指定が極め
て面倒であるという欠点がある。[Problems to be Solved by the Invention] However, in the above method, although desired image processing can be performed on a specific range, there is a drawback that specifying the specific range is extremely troublesome.
そこで、本発明では、原画像に対する画像処理範囲の特
定が極めて容易であり、これによって所望の画像を迅速
に得ることのできる画像処理方法を提供することを目的
とする。SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide an image processing method in which it is extremely easy to specify an image processing range for an original image, and thereby a desired image can be quickly obtained.
[課題を解決するための手段]
前記の課題を解決するために、本発明は、原画像の特定
領域に対して所望の画像処理を施す画像処理方法におい
て、
前記原画像をCRT上に表示するとともに、特定点とパ
ラメータにより決まる特定領域を同時に重ねて表示し、
次いで、前記特定点とパラメータを変化させCRT上で
所望の特定領域を設定した後、前記特定領域に対して所
望の画像処理を施すことを特徴とする。[Means for Solving the Problems] In order to solve the above-mentioned problems, the present invention provides an image processing method for performing desired image processing on a specific area of an original image, including displaying the original image on a CRT. At the same time, a specific point and a specific area determined by parameters are displayed in an overlapping manner.
Next, after setting a desired specific area on the CRT by changing the specific point and parameters, desired image processing is performed on the specific area.
U作用コ
前記のように、本発明に係る画像処理方法では、CRT
上において原画像に指定した特定点を基準として特定領
域を設定し、この特定領域に対して所望の画像処理を施
すことができる。U Effect As described above, in the image processing method according to the present invention, the CRT
A specific area is set based on the specific point specified in the original image above, and desired image processing can be performed on this specific area.
二の場合、前記特定領域の設定が極めて容易であり、こ
れによって所望の画像を迅速に得ることが可能となる。In the second case, it is extremely easy to set the specific area, thereby making it possible to quickly obtain a desired image.
[実施例]
本発明に係る画像処理方法について、実施例を挙げ、添
付図面を参照しながら以下詳細に説明する。[Examples] The image processing method according to the present invention will be described in detail below by giving examples and referring to the accompanying drawings.
第1図は本実施例の画像処理方法が適用される装置の概
略構成を示す。FIG. 1 shows a schematic configuration of an apparatus to which the image processing method of this embodiment is applied.
同図において、参照符号10は画像処理装置を示し、こ
の画像処理装置10にはA/D変換器12を介してCC
Dカメラ14が接続されるとともに、コンソール16が
接続される。CCDカメラ14はRGB切換フィルタ1
8を介して原稿Sに記録された原画像の読み取りを行う
。In the figure, reference numeral 10 indicates an image processing device, and this image processing device 10 is connected to a CC via an A/D converter 12.
The D camera 14 is connected, and the console 16 is also connected. CCD camera 14 has RGB switching filter 1
8, the original image recorded on the document S is read.
コンソール16はCRTデイスプレィ20、キーボード
22およびマウス24を備え、前記CRTデイスプレィ
20に表示された原画像あるいは後述する処理画像に基
づき画像処理装置1Oに対して所望の指示を行う。The console 16 includes a CRT display 20, a keyboard 22, and a mouse 24, and gives desired instructions to the image processing apparatus 1O based on the original image displayed on the CRT display 20 or a processed image to be described later.
画像処理装置10はCPU26、ROM2g、処理条件
記憶部30.LTJ前記憶部32、原画像記憶a34
R134G134 B、 マスク記憶部36および処理
画像記憶部38R138G138Bを備え、これらはバ
ス40に接続される。The image processing device 10 includes a CPU 26, a ROM 2g, a processing condition storage section 30. LTJ front storage unit 32, original image storage a34
R134G134B, a mask storage section 36, and a processed image storage section 38R138G138B, which are connected to the bus 40.
なお、バス40には処理画像をハードコピーとして出力
するためのプリンタ42が接続される。Note that a printer 42 is connected to the bus 40 for outputting the processed image as a hard copy.
CPU26は画像処理装置10の全体の制御を行い、R
OM28は前記CPU26における処理手順を規定する
プログラムを保持する。処理条件記憶部30はキーボー
ド22あるいはマウス24によって設定された原画像に
対する処理条件を記憶する。LU前前記線部32原画像
を前記処理条件に基づいて変換し処理画像とし、あるい
は後述するマスクデータを変換するためのルックアップ
テーブル(LUT)を記憶する。The CPU 26 controls the entire image processing device 10, and
The OM 28 holds a program that defines the processing procedure in the CPU 26. The processing condition storage unit 30 stores processing conditions for the original image set using the keyboard 22 or the mouse 24. The pre-LU line portion 32 original image is converted into a processed image based on the processing conditions, or a look-up table (LUT) for converting mask data, which will be described later, is stored.
原画像記憶部34R,34G、34BはRGB切換フィ
ルタ18によって分離され、CCDカメラ14で読み取
られたR、G、B各色の原画像を記憶する。マスク記憶
部36は原画像に対して所望の画像処理を施すべく設定
された特定領域をマスクデータとして記憶する。処理画
像記憶838R138G、38Bは原画像の前記特定領
域に対して所望の画像処理を施した処理画像を記憶する
。The original image storage units 34R, 34G, and 34B are separated by an RGB switching filter 18 and store R, G, and B original images read by the CCD camera 14. The mask storage unit 36 stores a specific area set to perform desired image processing on the original image as mask data. The processed image storage 838R138G, 38B stores a processed image obtained by performing desired image processing on the specific area of the original image.
本実施例に係る画像処理方法が適用される画像処理装置
10は基本的には以上のように構成されるものであり、
次に、この画像処理装f10を用いた画像処理方法につ
いて説明する。The image processing device 10 to which the image processing method according to the present embodiment is applied is basically configured as described above.
Next, an image processing method using this image processing device f10 will be explained.
先ず、第2図に示すフローチャートに基づき原画像の読
取動作について説明する。First, the original image reading operation will be explained based on the flowchart shown in FIG.
原稿Sに記録された原画像をRGB切換フィルタ18を
Rに設定した状態でCCDカメラ14によって読み取る
(SL、S2)。読み取られた原画像はA/D変換器1
2によってデジタル信号に変換された後、バス40を介
して原画像記憶部34Rに記憶されるとともに、コンソ
ール16のCRTデイスプレィ20に表示される(33
.34)。次いで、RGB切換フィルタ18をGおよび
Bに設定した状態で32乃至S4の動作を繰り返し、原
画像記憶部34G、34Bに夫々の原画像を記憶させる
(S5)。The original image recorded on the document S is read by the CCD camera 14 with the RGB switching filter 18 set to R (SL, S2). The read original image is sent to A/D converter 1
After being converted into a digital signal by 2, it is stored in the original image storage unit 34R via the bus 40 and displayed on the CRT display 20 of the console 16 (33
.. 34). Next, the operations from 32 to S4 are repeated with the RGB switching filter 18 set to G and B, and the respective original images are stored in the original image storage sections 34G and 34B (S5).
次に、第3図のフローチャートに基づき原画像に対して
特定領域を設定する場合について説明する。Next, a case in which a specific area is set for the original image will be described based on the flowchart in FIG.
先ず、第4図に示すように、CRTデイスプレィ20に
原画像44を表示しく510)、この原画像44に対し
マウス24を用いて所望の画像処理を施す箇所の中心に
特定点46を指定する(Sll)。次に、マウス24に
より前記特定点46を中心とする円周48の直径を調整
し、前記円周48によって囲まれる特定領域50を設定
する(512)。この場合、特定領域50は原画像44
に対して所望の画像処理を施す領域を示し、その領域は
マウス24によって任意に調整可能である。First, as shown in FIG. 4, the original image 44 is displayed on the CRT display 20 (510), and a specific point 46 is specified at the center of the area where desired image processing is to be performed on the original image 44 using the mouse 24. (Sll). Next, the diameter of the circumference 48 centered on the specific point 46 is adjusted using the mouse 24, and a specific area 50 surrounded by the circumference 48 is set (512). In this case, the specific area 50 is the original image 44
It shows an area on which desired image processing is to be performed, and the area can be arbitrarily adjusted using the mouse 24.
次いで、前記特定領域50に対応するマスクデータを作
成する(313)。このマスクデータは特定領域50に
対してのみ所望の画像処理を施すために作成されるもの
であり、例えば、前記特定領域50に対応する原画像4
4の位置データを1とし、その他を0としてマスク記憶
部36に記憶させる。なお、このマスクデータはマスク
像52としてCRTデイスプレィ20に第5図のように
表示される(S14)。オペレータは第5図に示すマス
ク像52が所望のものであれば(S15)、該当するマ
スクデータをそのままマスク記憶936に記憶させてお
く(S16)。また、所望のものでない場合には再びS
IO乃至S14の処理を繰り返し行うことで所望のマス
ク像52を得ることができる。Next, mask data corresponding to the specific area 50 is created (313). This mask data is created in order to perform desired image processing only on the specific area 50. For example, the original image 4 corresponding to the specific area 50 is
The position data of No. 4 is set to 1, and the others are set to 0 and stored in the mask storage unit 36. This mask data is displayed as a mask image 52 on the CRT display 20 as shown in FIG. 5 (S14). If the operator desires the mask image 52 shown in FIG. 5 (S15), the operator stores the corresponding mask data as is in the mask memory 936 (S16). Also, if it is not what you want, S
A desired mask image 52 can be obtained by repeatedly performing the processes from IO to S14.
次に、第6図のフローチャートに従い、特定領域50内
の原画像44に所望の画像処理を行う場合について説明
する。Next, a case in which desired image processing is performed on the original image 44 within the specific area 50 will be described according to the flowchart in FIG.
先ず、オペレータはマウス24あるいはキーボード22
を用いて処理条件の設定を行う(S20)。この場合、
第7図に示すように、CRTデイスプレィ20には原画
像44および特定領域50が表示されているとともに、
複数の処理条件設定マーク54が表示されている。なお
、この処理条件設定マーク54は、例えば、特定領域5
0内の原画像44を台表示されているものよりも「明る
くする」、あるいは「暗くする」、といった処理条件に
対応しているものとする。First, the operator uses the mouse 24 or the keyboard 22.
Processing conditions are set using (S20). in this case,
As shown in FIG. 7, an original image 44 and a specific area 50 are displayed on the CRT display 20, and
A plurality of processing condition setting marks 54 are displayed. Note that this processing condition setting mark 54 is, for example,
It is assumed that the original image 44 within 0 corresponds to processing conditions such as making it "brighter" or "darker" than the displayed image.
そこで、オペレータがマウス24を用いて所望の処理条
件を選択すると、画像処理装置10におけるCPU26
は前記処理条件に対応するルックアップテーブルをLU
前記憶部32より選択し、原画像記憶部34R134G
、34Bに記憶されている各色の原画像44に対して階
調の変換を施して処理画像として夫々処理画像記憶部3
8R,38G、38Bに記憶させる(321)。Therefore, when the operator selects desired processing conditions using the mouse 24, the CPU 26 in the image processing apparatus 10
is the lookup table corresponding to the processing conditions as LU
Selected from the previous storage section 32, and the original image storage section 34R134G
, 34B are subjected to gradation conversion to the original images 44 of each color and stored as processed images in the processed image storage unit 3.
It is stored in 8R, 38G, and 38B (321).
次に、CPU26は前記処理画像記憶部38R,38G
、38Bより順次処理画像を読み出しく322)、この
処理画像とマスク記憶部36に記憶されたマスク像52
との共通部分55を第8図に示すようにして抽出する(
S23)。Next, the CPU 26 executes the processing image storage sections 38R and 38G.
, 38B 322), and the processed images and the mask image 52 stored in the mask storage unit 36.
The common part 55 with is extracted as shown in FIG.
S23).
なお、この共通部分55は処理画像とマスクデータの論
理積を求めることで得ることができる。Note that this common portion 55 can be obtained by calculating the logical product of the processed image and mask data.
続いて、CPU26はマスクデータをLU前記憶部32
に記憶されたルックアップテーブル(第9図参照)を用
いて反転することで反転マスク像を作成し、この反転マ
スク像と前記処理画像との共通部分57を第10図に示
すようにして抽出する(324)。Subsequently, the CPU 26 stores the mask data in the pre-LU storage section 32.
An inverted mask image is created by inverting using a lookup table (see FIG. 9) stored in the image, and a common portion 57 between this inverted mask image and the processed image is extracted as shown in FIG. (324).
最後に、S23で得られた共通部分55(第8図参照)
と324で得られた共通部分57(第10図参照)とを
合成する(S25)。なお、この合成は各共通部分55
.57の論理和によって実行可能である。そこで、この
処理をRGBの各色に対して行い(326)、さらに合
成することで、第11図に示すように、特定領域50内
が処理画像56となり、特定領域50外が原画像44と
なる合成画像58を得ることができる。この合成画像5
8はCRTデイスプレィ20に表示される(S27)。Finally, the common part 55 obtained in S23 (see Figure 8)
and the common portion 57 obtained in step 324 (see FIG. 10) are synthesized (S25). Note that this synthesis involves each common part 55
.. It can be executed by 57 logical sums. Therefore, by performing this processing for each color of RGB (326) and further compositing, as shown in FIG. A composite image 58 can be obtained. This composite image 5
8 is displayed on the CRT display 20 (S27).
なお、所望の合成画像58でない場合には再び820乃
至S27の処理を繰り返すことで所望の合成画像58を
得ることができる(32g)。Note that if the desired composite image 58 is not obtained, the desired composite image 58 can be obtained by repeating the processes from 820 to S27 again (32g).
[発明の効果]
以上のように、本発明に係る画像処理方法によれば、次
のような効果が得られる。[Effects of the Invention] As described above, according to the image processing method according to the present invention, the following effects can be obtained.
すなわち、CRT上で原画像に対し特定点を指定し、前
記特定点を基準とした特定領域を設定することにより、
容易に所望の画像処理範囲を設定することができる。従
って、画像処理範囲の設定作業から画像処理作業に速や
かに移行することができるため、例えば、種々の画像処
理条件を設定して画像の調整を図る際に特に至便である
。That is, by specifying a specific point on the original image on the CRT and setting a specific area based on the specific point,
A desired image processing range can be easily set. Therefore, it is possible to quickly shift from the image processing range setting work to the image processing work, which is particularly convenient when adjusting an image by setting various image processing conditions, for example.
第1図は、本発明に係る画像処理方法の一実施例が適用
される画像処理装置の構成ブロック図、
第2図は、本発明に係る画像処理方法における原画像の
読取処理のフローチャート、第3図は、本発明に係る画
像処理方法におけるマスク像作成のフローチャート、
第4図は、本発明に係る画像処理方法における特定領域
設定の際の表示の説明図、
第5図は、本発明に係る画像処理方法におけるマスク像
の説明図、
第6図は、本発明に係る画像処理方法における画像処理
のフローチャート、
第7図は、本発明に係る画像処理方法における処理条件
設定の際の表示の説明図、
第8図および第10図は、本発明に係る画像処理方法に
おける共通部分作成の際の説明図、第9図は、本発明に
係る画像処理方法における反転マスク像を作成する際の
ルックアップテーブルの説明図、
第11図は、本発明に係る画像処理方法における合成画
像の表示の説明図である。
10・・・画像処理装置 14・・・CCDカメラ
6・・・コンソール
0・・・CRTデイスプレィ
2・・・キーボード 24・・・マウス6・・・
CPU 28・・・ROM0・・・処理条
件記憶部 32・・・LU前記憶部4R,34G、3
4B・・・原画像記憶部6・・・マスク記憶部
8R138G、38B・・・処理画像記憶部2・・・プ
リンタ 44・・・原画像6・・・特定点
50・・・特定領域2・・・マスク像
4・・・処理条件設定マークFIG. 1 is a block diagram of the configuration of an image processing apparatus to which an embodiment of the image processing method according to the present invention is applied. FIG. 2 is a flowchart of an original image reading process in the image processing method according to the present invention. 3 is a flowchart of mask image creation in the image processing method according to the present invention, FIG. 4 is an explanatory diagram of the display when setting a specific area in the image processing method according to the present invention, and FIG. 5 is a flowchart for creating a mask image in the image processing method according to the present invention. FIG. 6 is a flowchart of image processing in the image processing method according to the present invention; FIG. 7 is an illustration of a display when setting processing conditions in the image processing method according to the present invention. FIG. 8 and FIG. 10 are explanatory diagrams when creating a common part in the image processing method according to the present invention, and FIG. 9 is an explanatory diagram when creating an inverted mask image in the image processing method according to the present invention. Explanatory diagram of look-up table FIG. 11 is an explanatory diagram of display of a composite image in the image processing method according to the present invention. 10... Image processing device 14... CCD camera 6... Console 0... CRT display 2... Keyboard 24... Mouse 6...
CPU 28... ROM0... Processing condition storage section 32... LU front storage section 4R, 34G, 3
4B... Original image storage unit 6... Mask storage unit 8R138G, 38B... Processed image storage unit 2... Printer 44... Original image 6... Specific point
50...Specific area 2...Mask image 4...Processing condition setting mark
Claims (1)
画像処理方法において、 前記原画像をCRT上に表示するとともに、特定点とパ
ラメータにより決まる特定領域を同時に重ねて表示し、
次いで、前記特定点とパラメータを変化させCRT上で
所望の特定領域を設定した後、前記特定領域に対して所
望の画像処理を施すことを特徴とする画像処理方法。(1) In an image processing method for performing desired image processing on a specific area of an original image, the original image is displayed on a CRT, and a specific area determined by a specific point and a parameter is simultaneously displayed in an overlapping manner,
Next, after setting a desired specific area on a CRT by changing the specific point and parameters, the image processing method is characterized in that desired image processing is performed on the specific area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2268100A JPH04143868A (en) | 1990-10-04 | 1990-10-04 | Picture processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2268100A JPH04143868A (en) | 1990-10-04 | 1990-10-04 | Picture processing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04143868A true JPH04143868A (en) | 1992-05-18 |
Family
ID=17453897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2268100A Pending JPH04143868A (en) | 1990-10-04 | 1990-10-04 | Picture processing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04143868A (en) |
-
1990
- 1990-10-04 JP JP2268100A patent/JPH04143868A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2790562B2 (en) | Image processing method | |
US6778186B2 (en) | Method of and apparatus for carrying out gray conversion on color image | |
US5379129A (en) | Method for compositing a source and destination image using a mask image | |
JP2000052605A5 (en) | ||
JPS62206556A (en) | Artificial coloring method for picture image | |
JPH0373668A (en) | Image processor | |
JPH03127284A (en) | Color image processing device | |
JPH04143868A (en) | Picture processing method | |
JPH06105185A (en) | Brightness correction method | |
JP3322945B2 (en) | Display control device | |
JP2887255B2 (en) | Image synthesis device | |
JP2713677B2 (en) | Color image color change processing method and color image synthesis processing method | |
JPH04143869A (en) | Picture processing method | |
JPS63106872A (en) | Image processor | |
JP3550177B2 (en) | Image processing device | |
JP2688811B2 (en) | How to color black and white images | |
JP2578409B2 (en) | Image processing device | |
JP2756047B2 (en) | Color image color adjustment method and apparatus, and image synthesis method | |
JPH05120417A (en) | Color image color adjustment and image composition method and device | |
JPH07111583A (en) | Device and method for generating color print | |
JPH10149431A (en) | Image processing method | |
JPH11220620A (en) | Method for setting up image processing condition | |
JPS62110366A (en) | Layout scanner | |
JP4314525B2 (en) | Corrected image display method and apparatus | |
JPH02228653A (en) | Cutting device |