JP2006222563A - Image processing apparatus and image correction method - Google Patents

Image processing apparatus and image correction method Download PDF

Info

Publication number
JP2006222563A
JP2006222563A JP2005032097A JP2005032097A JP2006222563A JP 2006222563 A JP2006222563 A JP 2006222563A JP 2005032097 A JP2005032097 A JP 2005032097A JP 2005032097 A JP2005032097 A JP 2005032097A JP 2006222563 A JP2006222563 A JP 2006222563A
Authority
JP
Japan
Prior art keywords
correction
screen
image processing
processing apparatus
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005032097A
Other languages
Japanese (ja)
Inventor
Hiroyuki Sawa
弘之 佐波
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 JP2005032097A priority Critical patent/JP2006222563A/en
Publication of JP2006222563A publication Critical patent/JP2006222563A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To perform correction jobs compatible with types of a plurality of correction processes without omission even when an operator for designating correction differs from an operational amplifier for actually performing the correction processes. <P>SOLUTION: One or multiple correction regions in image data and types of correction processes applied to each correction region are set on a correction region designation menu (step S201), and an image for the correction processing corresponding to each correction region is displayed on a display means (step S204) on the basis of setting contents. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、画像データの補正処理を可能とする画像処理装置及び画像補正方法に関するものである。   The present invention relates to an image processing apparatus and an image correction method that enable image data correction processing.

店舗等において画像補正を行う際に補正領域を指定する操作者と補正を行う操作者、確認を行う操作者が異なっている場合がある。このような場合に、補正処理を作業の漏れが発生しないようにすることが重要である。通常の補正操作の場合、一人の操作者が補正領域の選択、除去、確認までを行うことを前提として、設計されているため、このような分業作業を行うことは難しい。   When performing image correction in a store or the like, an operator who specifies a correction area may be different from an operator who performs correction and an operator who performs confirmation. In such a case, it is important to prevent the correction process from leaking work. In a normal correction operation, it is designed on the assumption that a single operator selects, removes, and confirms a correction area, and thus it is difficult to perform such a division work.

また、特許文献1では、1つの補正機能での画像補正の領域指定を行う画面と補正処理を行う画面を分けて、画像補正の領域を指定に従って画像補正を行うことにより、分業作業に対応し、補正処理を漏れなく行う装置についての提案がある。   Further, in Patent Document 1, a screen for performing image correction area designation with a single correction function and a screen for performing correction processing are separated, and image correction is performed according to the image correction area designation, thereby corresponding to division work. There is a proposal for an apparatus that performs correction processing without omission.

特開2000−57362号公報JP 2000-57362 A

しかしながら、特許文献1に開示される発明は1つの画像補正機能に限ったもので、一度に複数の画像補正機能に対しての補正分業作業に対応していない。   However, the invention disclosed in Patent Document 1 is limited to one image correction function, and does not support correction work for a plurality of image correction functions at a time.

そこで、本発明の目的は、補正の指定を行う操作者と実際に補正処理を行う操作者とが異なる場合でも、複数の補正処理の種別に対応した漏れのない補正作業を行うことを可能とすることにある。   Therefore, an object of the present invention is to perform leak-free correction work corresponding to a plurality of correction processing types even when an operator who designates correction is different from an operator who actually performs correction processing. There is to do.

本発明の画像処理装置は、指定操作に応じて、画像データ内における一又は複数の補正領域と前記各補正領域に対する補正処理の種別とを設定する設定手段と、前記設定手段にて設定された前記各補正領域と前記補正処理の種別との対応付けを記録する記録手段と、前記記録手段における記録内容に基づいて、前記各補正領域に対応する補正処理用の画面を表示手段上に表示させる表示制御手段とを有することを特徴とする。
本発明の画像補正方法は、画像処理装置による画像補正方法であって、指定操作に応じて、画像データ内における一又は複数の補正領域と前記各補正領域に対する補正処理の種別とを設定する設定ステップと、前記設定ステップにて設定された前記各補正領域と前記補正処理の種別との対応付けを記録媒体に記録する記録ステップと、前記記録媒体内の記録内容に基づいて、前記各補正領域に対応する補正処理用の画面を表示手段上に表示させる表示制御ステップとを含むことを特徴とする。
本発明のプログラムは、前記画像補正方法をコンピュータに実行させることを特徴とする。
本発明のコンピュータ読み取り可能な記録媒体は、前記プログラムを記録したことを特徴とする。
The image processing apparatus of the present invention is set by the setting means for setting one or a plurality of correction areas in the image data and the type of correction processing for each correction area according to the designation operation, and the setting means Recording means for recording the association between each correction area and the type of the correction process, and a screen for correction processing corresponding to each correction area is displayed on the display means based on the recorded contents in the recording means. Display control means.
The image correction method of the present invention is an image correction method by an image processing apparatus, and sets one or a plurality of correction areas in image data and the type of correction processing for each correction area in accordance with a designation operation. A step of recording on the recording medium a correspondence between each correction area set in the setting step and the type of the correction process, and each correction area based on the recording content in the recording medium And a display control step for displaying a correction processing screen corresponding to the above on the display means.
A program according to the present invention causes a computer to execute the image correction method.
The computer-readable recording medium of the present invention is characterized in that the program is recorded.

本発明によれば、指定操作に応じて、画像データ内における一又は複数の補正領域と各補正領域に対する補正処理の種別とを設定し、その設定内容に基づいて、各補正領域に対応する補正処理用の画面を表示させるように構成したので、補正の指定を行う操作者と実際に補正処理を行う操作者とが異なる場合でも、複数の補正処理の種別に対応した漏れのない補正作業を行うことが可能となる。   According to the present invention, one or a plurality of correction areas in the image data and the type of correction processing for each correction area are set according to the designation operation, and the correction corresponding to each correction area is performed based on the setting content. Since the screen for processing is displayed, even if the operator who designates the correction is different from the operator who actually performs the correction processing, correction work without omission corresponding to a plurality of correction processing types can be performed. Can be done.

以下、本発明を適用した好適な実施形態を、添付図面を参照しながら詳細に説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments to which the invention is applied will be described in detail with reference to the accompanying drawings.

<第1の実施形態>
先ず、本発明の第1の実施形態について説明する。本実施形態に係る画像補正システムは、赤目除去、ごみ除去、しわ除去の機能を有する。図1は、本実施形態に係る画像補正システムの全体構成を示す図である。
<First Embodiment>
First, a first embodiment of the present invention will be described. The image correction system according to the present embodiment has red-eye removal, dust removal, and wrinkle removal functions. FIG. 1 is a diagram illustrating an overall configuration of an image correction system according to the present embodiment.

図1において、101は画像入力装置であり、画像をデジタルデータとして読み込む装置である。これには、スキャナ、PCカード、フレキシブルディスク、MO、ZIPドライブなどが含まれる。   In FIG. 1, reference numeral 101 denotes an image input device that reads an image as digital data. This includes scanners, PC cards, flexible disks, MO, ZIP drives, and the like.

102は、画像補正を行う本アプリケーションプログラムを実行するコンピュータであり、これには、一時的に画像データや、画像情報その他、動作時の計算結果などを保管するRAMや、ハードディスクのような外部記憶装置を含むものとする。   Reference numeral 102 denotes a computer that executes the application program for performing image correction. This includes a RAM that temporarily stores image data, image information, and other calculation results during operation, and an external storage such as a hard disk. Including equipment.

103は、画像処理や画面操作などのコマンドを入力する入力装置であり、例えばキーボードや、マウス(いずれも非図示)等が適用される。   Reference numeral 103 denotes an input device for inputting commands such as image processing and screen operation. For example, a keyboard, a mouse (both not shown), and the like are applied.

104は、表示装置であり、画像処理結果やアプリケーション画面を表示する装置であり、ディスプレイが含まれる。   Reference numeral 104 denotes a display device that displays an image processing result and an application screen, and includes a display.

105は、出力装置であり、本アプリケーションで補正を行った後、画像出力を行うためのものであり、インクジェットプリンタ、LBPなどの出力装置が適用可能である。   Reference numeral 105 denotes an output device for outputting an image after correction by this application, and an output device such as an ink jet printer or LBP is applicable.

図2は、本発明の第1の実施形態における画像補正アプリケーションの画面遷移の流れを示すフローチャートである。   FIG. 2 is a flowchart showing the flow of screen transition of the image correction application according to the first embodiment of the present invention.

ステップS201は、補正領域指定画面であり、この画面を用いて複数種類の補正機能の領域設定を行うことが可能である。ステップS202〜ステップS205のループはステップS201で指定された補正処理の回数繰り返される。ステップS204は除去処理画面であり、ステップS201で指定された補正処理の1つについて除去を行う。除去処理画面はそれぞれの補正機能に固有のものであり、現在対象の補正種別の除去処理画面が表示される。ステップS205では次の補正処理へシフトを行い、補正処理がなくなれば(ステップS202/yes)、ステップS206の印刷画面に移り、印刷を行うと終了となる。   Step S201 is a correction area designation screen, and areas for a plurality of types of correction functions can be set using this screen. The loop from step S202 to step S205 is repeated for the number of correction processes specified in step S201. Step S204 is a removal process screen, and removal is performed for one of the correction processes specified in step S201. The removal processing screen is unique to each correction function, and the removal processing screen of the current correction type is displayed. In step S205, a shift is made to the next correction process. If there is no correction process (step S202 / yes), the process moves to the print screen in step S206, and the process ends when printing is performed.

図3は、本発明の第1の実施形態におけるアプリケーションの表示画面を示す図である。301は補正対象の画像を表示する補正対象表示領域である。302、303、304は本アプリケーションの補正メニューボタンであり、それぞれ赤目除去メニューボタン302、ごみ除去メニューボタン303、しわ除去メニューボタン304である。305は1つ1つの補正に対してコメントを入力するエディットボックスであり、例えば、"お客様の指示"や、"オペレータが発見"等の補正に関する備考的なものを入力しておく。306は次画面ボタンであり、補正領域を全て指定が終了した際は除去画面に移る。   FIG. 3 is a diagram showing an application display screen according to the first embodiment of the present invention. A correction target display area 301 displays an image to be corrected. Reference numerals 302, 303, and 304 denote correction menu buttons of this application, which are a red-eye removal menu button 302, a dust removal menu button 303, and a wrinkle removal menu button 304, respectively. Reference numeral 305 denotes an edit box for inputting a comment for each correction. For example, remarks relating to correction such as “customer instruction” and “find by operator” are input. Reference numeral 306 denotes a next screen button. When all the correction areas have been designated, the screen moves to a removal screen.

図4は補正処理がごみ除去処理の場合の除去処理画面を示す図である。
401は補正メニューボタンであり、現在はごみ除去メニューボタンが選択され、強調表示されている。402は補正対象の領域を拡大表示するウインドウであり、補正領域指定画面で指定された領域が拡大表示される。403はごみ除去の機能メニューであり、3つのブラシボタン(太、中、細)404より構成されている。405はコメント用のエディットボックスであり、現在の補正に関するコメントが表示される。406は次処理ボタンであり、このボタンを選択すると現在の補正を確定して、次の処理へ画面が変わる。
FIG. 4 is a diagram showing a removal processing screen when the correction processing is dust removal processing.
Reference numeral 401 denotes a correction menu button. At present, the dust removal menu button is selected and highlighted. Reference numeral 402 denotes a window for enlarging and displaying an area to be corrected, and an area designated on the correction area designating screen is enlarged and displayed. A dust removal function menu 403 includes three brush buttons 404 (thick, medium, and thin). Reference numeral 405 denotes a comment edit box, which displays a comment relating to the current correction. Reference numeral 406 denotes a next processing button. When this button is selected, the current correction is confirmed and the screen changes to the next processing.

図5は、補正処理が赤目除去の場合の除去処理画面を示す図である。
501は補正機能のメニューボタンであり、現在は赤目除去メニューボタンが選択され、強調表示されている。502は補正対象の領域を拡大表示するウインドウであり、補正領域指定画面で指定された領域が拡大表示される。503は赤目除去の機能メニューであり、3つのブラシボタン(太、中、細)504と除去後の色味を調整するスライダバー505より構成されている。506はコメント用のエディットボックスであり、現在の補正に関するコメントが表示される。507は次処理ボタンであり、このボタンを選択すると現在の補正を確定して次の処理へ画面が変わる。
FIG. 5 is a diagram showing a removal processing screen when the correction processing is red-eye removal.
Reference numeral 501 denotes a menu button for a correction function. Currently, the red-eye removal menu button is selected and highlighted. Reference numeral 502 denotes a window for enlarging and displaying the area to be corrected, and the area designated on the correction area designating screen is enlarged and displayed. Reference numeral 503 denotes a red-eye removal function menu, which includes three brush buttons (thick, medium, and thin) 504 and a slider bar 505 that adjusts the color after removal. Reference numeral 506 denotes a comment edit box, which displays a comment relating to the current correction. Reference numeral 507 denotes a next processing button. When this button is selected, the current correction is confirmed and the screen changes to the next processing.

図6は、補正処理がしわ除去の場合の除去処理画面を示す図である。
601は補正機能のメニューボタンであり、現在はしわ除去メニューボタンが選択され、強調表示されている。602は補正対象の領域を拡大表示するウインドウであり、補正領域設定画面で指定された領域が拡大表示される。603はしわ除去の機能メニューであり、線指定ボタン604と除去の強度を調整するスライダバー605より構成されている。606はコメント用のエディットボックスであり、現在の補正に関するコメントが表示される。607は次処理ボタンであり、このボタンを選択すると現在の補正を確定して次の処理へ画面が変わる。
FIG. 6 is a diagram illustrating a removal process screen when the correction process is wrinkle removal.
Reference numeral 601 denotes a correction function menu button, and the wrinkle removal menu button is currently selected and highlighted. Reference numeral 602 denotes a window for enlarging and displaying the area to be corrected, and the area designated on the correction area setting screen is enlarged and displayed. Reference numeral 603 denotes a wrinkle removal function menu, which includes a line designation button 604 and a slider bar 605 for adjusting the removal strength. Reference numeral 606 denotes a comment edit box, which displays a comment relating to the current correction. Reference numeral 607 denotes a next processing button. When this button is selected, the current correction is confirmed and the screen changes to the next processing.

次に図2〜11を用いてアプリケーションの操作の流れを説明する。
アプリケーションを起動すると、補正対象の画像が読み込まれ、補正領域指定画面(ステップS201)が表示される。この状態で補正対象の画像が図3の301の補正対象表示領域に表示される。補正領域の指定を行う操作者はこの画面にて、補正処理の種類と補正時に拡大表示する領域、補正に対するコメントの入力を行う。
Next, the flow of application operations will be described with reference to FIGS.
When the application is activated, an image to be corrected is read and a correction area designation screen (step S201) is displayed. In this state, the correction target image is displayed in the correction target display area 301 in FIG. On this screen, the operator who designates the correction area inputs the type of correction processing, the area to be enlarged at the time of correction, and a comment for the correction.

次に、図7を用いて補正領域指定の操作を説明する。
まず、操作者は補正機能を補正メニューボタン701〜703より選択する。例えば、ごみ除去メニューボタン702を選択した場合、カーソル(不図示)を補正対象画像表示領域704上に移動し、ごみ706のある部分でクリックをする。すると、図8に示すアルゴリズムにより、ごみ領域と拡大表示するための領域が計算されて矩形705が表示され、補正処理の種類がすぐに分かるように補正種別マーカ707が矩形付近に表示される。
Next, an operation for specifying a correction area will be described with reference to FIG.
First, the operator selects a correction function from the correction menu buttons 701 to 703. For example, when the dust removal menu button 702 is selected, a cursor (not shown) is moved onto the correction target image display area 704 and clicked on a portion where the dust 706 is present. Then, the algorithm shown in FIG. 8 calculates the dust area and the area to be enlarged and displays the rectangle 705, and the correction type marker 707 is displayed near the rectangle so that the type of the correction process can be immediately understood.

次に、図8のアルゴリズムに関して説明を行う。
ここでのごみは輝度方向で背景画素に対して異差があることを前提とする。ステップS801では選択された位置を中心に所定の画素数の矩形を切り取る。この部分画像に対して、輝度、色差成分の色空間、例えばLab空間に分解をする(ステップS802)。この分解した輝度Lのチャネルに関して、ヒストグラムのストレッチを行い、ごみ部分と背景部分のコントラストをあげる(ステップS803)。この画像に関し、選択した位置は明らかにごみ部分であると仮定して、この位置の画素値を取得し(ステップS804)、選択した位置を始点に所定の閾値で領域の抽出を行い、マスクデータを作成する(ステップS805)。次に、補正領域の矩形サイズをこのマスクデータを走査して、確定する(ステップS806)。この領域にさらにマージンを付加して、表示領域とする(ステップS807)。このほかに、赤目除去、しわ除去に関しても同様の操作により、補正領域の設定を行う。
Next, the algorithm of FIG. 8 will be described.
It is assumed that the dust here has a difference in the luminance direction with respect to the background pixels. In step S801, a rectangle having a predetermined number of pixels is cut out around the selected position. The partial image is decomposed into a color space of luminance and color difference components, for example, a Lab space (step S802). A histogram is stretched for the decomposed luminance L channel to increase the contrast between the dust portion and the background portion (step S803). With respect to this image, assuming that the selected position is clearly a dust part, the pixel value of this position is acquired (step S804), the region is extracted with a predetermined threshold value from the selected position as a starting point, and mask data Is created (step S805). Next, the rectangular size of the correction area is determined by scanning the mask data (step S806). A margin is further added to this area to form a display area (step S807). In addition, correction areas are set by the same operation for red-eye removal and wrinkle removal.

赤目除去に関しては図9に示す。選択された点近傍の所定の領域の画素を取得し(ステップS901)、これについて検出を行う。切り出した領域をHSLに分離を行う(ステップS902)。色相と彩度で閾値を設け、赤目の候補領域を抽出し(ステップS903)、こられの候補領域を2値化して(ステップS904)、円形度の評価を行い(ステップS905)、最終的に赤目部分のマスクを生成する(ステップS906)。次に、補正領域の矩形サイズを、マスクデータを走査して確定する(ステップS907)。この領域にさらにマージンを付加して、拡大表示領域とする(ステップS908)。   The red-eye removal is shown in FIG. A pixel in a predetermined region near the selected point is acquired (step S901), and detection is performed on this. The cut out area is separated into HSL (step S902). A threshold is set by hue and saturation, candidate areas for red eyes are extracted (step S903), these candidate areas are binarized (step S904), and circularity is evaluated (step S905), and finally A mask for the red-eye portion is generated (step S906). Next, the rectangular size of the correction area is determined by scanning the mask data (step S907). A margin is further added to this area to make an enlarged display area (step S908).

しわ除去に関しては図10に示す。選択された点近傍の所定の領域の画素を取得し(ステップS1001)、これについて検出を行う。切り出した領域をLab空間に分離を行う(ステップS1002)。Lチャネルについてコントラストとガンマを調整し、しわの部分の強調を行い(ステップS1003)、2値化してしわ除去のためのマスクを作成する(ステップS1004)。   The wrinkle removal is shown in FIG. Pixels in a predetermined region near the selected point are acquired (step S1001), and detection is performed on this. The cut out region is separated into Lab space (step S1002). The contrast and gamma of the L channel are adjusted to emphasize the wrinkle portion (step S1003), and binarization is performed to create a mask for removing wrinkles (step S1004).

次に、補正領域の矩形サイズをマスクデータを走査して、矩形領域を確定する(ステップS1005)。この領域にさらにマージンを付加して、拡大表示領域とする(ステップS1006)。   Next, the rectangular area is determined by scanning the mask data for the rectangular size of the correction area (step S1005). A margin is further added to this area to make an enlarged display area (step S1006).

以上説明したアルゴリズムにより検出を行い、拡大領域と処理の種別を画像上に表示を行う。これをそれぞれの処理が必要な回数繰り返す。   Detection is performed by the algorithm described above, and the enlarged region and the type of processing are displayed on the image. This is repeated as many times as necessary for each process.

例えば、ごみ除去、赤目除去、しわ除去を1つずつ選択した場合の結果を図7に示す。この状態でのデータ構造を図11に示す。図7中の補正処理1、2、3として、ごみ除去、赤目除去、しわ除去が設定されている。一つに補正処理に関して、拡大位置、除去機能の種別、コメント、ステータスを保持してある。   For example, FIG. 7 shows the result when selecting dust removal, red-eye removal, and wrinkle removal one by one. The data structure in this state is shown in FIG. As the correction processes 1, 2, and 3 in FIG. 7, dust removal, red-eye removal, and wrinkle removal are set. For one correction process, an enlargement position, a removal function type, a comment, and a status are held.

補正領域の指定が全て終わった場合は、次画面ボタン(図3の306)を選択し、補正領域指定画面(図3)を終了し、除去処理画面(図2のステップS204)に移る。この時点で、補正領域指定データが図7、図11のようになっている場合の処理に関して説明を行う。   When all the correction areas have been designated, the next screen button (306 in FIG. 3) is selected, the correction area designation screen (FIG. 3) is terminated, and the process proceeds to the removal processing screen (step S204 in FIG. 2). At this point, the processing when the correction area designation data is as shown in FIGS. 7 and 11 will be described.

図11の補正処理データの構造はごみ除去、赤目除去、しわ除去の順に管理されているので、図4のごみ除去の画面が表示される。このとき、拡大表示領域を補正処理データに従ってウインドウ402上に拡大表示を行う。   Since the structure of the correction processing data in FIG. 11 is managed in the order of dust removal, red-eye removal, and wrinkle removal, the dust removal screen of FIG. 4 is displayed. At this time, the enlarged display area is enlarged and displayed on the window 402 according to the correction processing data.

補正の種別はごみ除去であるので、補正メニューボタン401でごみ除去が強調表示されると共に、ごみ除去の機能メニュー403が同時に表示されてごみ除去が可能となる。ここで、操作者はブラシボタン404のうち1つを選択し、ごみ部分でドラッグして選択を開始し、選択が終了するとともに除去処理が開始される。   Since the type of correction is dust removal, dust removal is highlighted by the correction menu button 401 and a dust removal function menu 403 is displayed at the same time to enable dust removal. Here, the operator selects one of the brush buttons 404 and drags the garbage portion to start the selection. When the selection is completed, the removal process is started.

除去処理のアルゴリズムは、まずブラシボタン404で選択された領域のマスクを作成する。そして、そのマスクの内で、5*5等のメディアンフィルタを掛けてごみの除去を行う。このようにして、ごみの除去が終了したら、次処理ボタン406を選択し、次の処理に移る。   In the removal processing algorithm, first, a mask of an area selected by the brush button 404 is created. Then, within the mask, a median filter such as 5 * 5 is applied to remove dust. When the removal of dust is completed in this way, the next process button 406 is selected, and the next process is started.

図11の補正処理データでは、次の処理として赤目除去が管理されているので、図5の赤目除去の画面が表示される。図5の画面はごみ除去の画面で、501で赤目機能のメニューボタンを強調表示し、赤目除去の機能メニュー503が表示されたものである。図11の補正処理データの赤目除去の拡大領域に従って画像を拡大し、補正対象表示領域であるウインドウ502上に表示する。   In the correction process data of FIG. 11, since the red-eye removal is managed as the next process, the red-eye removal screen of FIG. 5 is displayed. The screen of FIG. 5 is a screen for removing dust. In 501, the menu button for red eye function is highlighted and a function menu 503 for red eye removal is displayed. The image is enlarged in accordance with the red-eye removal enlargement area of the correction processing data shown in FIG.

この画面では操作者はブラシボタン504を選択し、502上の赤目の部分をドラッグして塗りつぶす。すると、塗りつぶした部分の彩度を落とし、色相を変化させて赤目の除去が行われる。なお、505の色味の調整スライダバーを調整することにより、この色相を変化させることができる。赤目除去の処理が終了したら、次処理ボタン507を選択して次の処理を行う。   In this screen, the operator selects the brush button 504 and drags the red-eye portion on 502 to fill it. Then, the red eye is removed by reducing the saturation of the filled portion and changing the hue. The hue can be changed by adjusting the color adjustment slider bar 505. When the red-eye removal process is completed, the next process button 507 is selected to perform the next process.

図11の補正処理データでは、次の処理としてしわ除去が管理されているので、図6のしわ除去の画面が表示される。この画面も赤目除去同様に601でしわ除去メニューボタンを強調表示し、しわ除去の機能メニュー603が表示されたものである。   In the correction processing data of FIG. 11, wrinkle removal is managed as the next processing, so the wrinkle removal screen of FIG. 6 is displayed. In this screen as well, the wrinkle removal menu button is highlighted at 601 and the function menu 603 for wrinkle removal is displayed as in the case of red eye removal.

図11の補正処理データのしわ除去の拡大領域に従って画像を拡大し、補正対象表示領域602に表示する。この画面では操作者は直線ツール604を用いて始点と終点をクリックすることにより、しわ除去を行う。   The image is enlarged according to the wrinkle removal enlargement area of the correction processing data in FIG. 11 and displayed in the correction target display area 602. On this screen, the operator removes wrinkles by clicking the start point and end point using the straight line tool 604.

しわ除去のアルゴリズムはごみ傷と同様であり、直線ツール604で選択した領域のマスクを作成し、選択領域に対してメディアンフィルタを掛ける。ただし、しわを完全に除去してしまうと誇張しすぎる場合があるので、強度の調整のスライダバー605で補正前の画像とのαブレンドを行い、除去具合を調整することができる。   The wrinkle removal algorithm is the same as that for dust scratches. A mask for the area selected by the straight line tool 604 is created, and a median filter is applied to the selected area. However, if wrinkles are completely removed, it may be too exaggerated, so that the degree of removal can be adjusted by performing alpha blending with the image before correction using the slider bar 605 for intensity adjustment.

このような流れで処理を補正領域数分繰り返し、補正領域がなくなった場合は、次処理ボタン607を選択すると印刷画面(ステップS206)に移り、印刷の設定を行って印刷を実行する。   In this flow, the process is repeated for the number of correction areas, and when there are no correction areas, when the next process button 607 is selected, the screen moves to a print screen (step S206), print settings are performed, and printing is executed.

以上説明したように作業を行うことにより、補正領域指定画面(ステップS201)、除去処理画面(ステップS204)での操作者が違った場合でも、補正処理データに従い、1つずつ、補正種別、拡大表示位置に従い、拡大表示し、処理機能を変更するので、簡単且つ処理の漏れがなく全ての補正処理を行うことができる。   By performing the operations as described above, even if the operators on the correction area designation screen (step S201) and the removal processing screen (step S204) are different, the correction type and the enlargement are performed one by one according to the correction processing data. In accordance with the display position, the display is enlarged and the processing function is changed, so that all correction processes can be performed easily and without omission of processing.

なお、本実施形態では、補正機能をごみ傷、赤目除去、しわ除去のみを実装した場合について説明を行ったが、例えば、一部の領域を選択して色調整、シャープネス、ぼかしを掛けるような機能を追加しても良い。また、領域を選択する補正処理ではなく、画像全体に対する色調整なども、表示領域を画面全体として、画面の右下に補正のマーカを付加することにより、同様に扱える。   In the present embodiment, the case where only the dust scratches, red-eye removal, and wrinkle removal are implemented as the correction function has been described. Functions may be added. Further, instead of correction processing for selecting an area, color adjustment for the entire image can be handled in the same manner by adding a correction marker to the lower right of the screen with the display area as the entire screen.

また、本実施形態では、赤目、ごみ傷、しわ除去に関して設定をした順に補正データを並べたが、これは処理ごとにソートを行うことも可能である。一部の補正処理では、補正順が重要になる場合もある。例えば、色ノイズ除去、ごみ除去、赤目除去、色補正の順序等とするようにしても良い。   In this embodiment, the correction data is arranged in the order of setting regarding red eye, dust scratches, and wrinkle removal. However, this can be sorted for each process. In some correction processes, the correction order may be important. For example, the order of color noise removal, dust removal, red-eye removal, and color correction may be used.

また、本実施形態で述べた、赤目除去、しわ除去、ごみ除去の検出部分、除去部分は他のアルゴリズムを用いてもよい。また、本実施形態では、表示領域の算出に際して、領域検出を用いたが、例えば、補正機能のボタンを選択後、矩形領域を囲む操作をマウスで行い、領域を指定する方法も可能である。   Further, other algorithms may be used for the detection part and the removal part of red-eye removal, wrinkle removal, and dust removal described in the present embodiment. In the present embodiment, the area detection is used for calculating the display area. However, for example, after selecting the correction function button, an operation for surrounding the rectangular area can be performed with the mouse to specify the area.

また、さらに構成を簡単にして、補正領域指定画面にて拡大縮小機能を設け、補正種別を選択して、画面上を選択した際の表示されている領域を補正処理の際の拡大表示領域としてもよい。   Furthermore, the configuration is further simplified, an enlargement / reduction function is provided on the correction area designation screen, the correction type is selected, and the displayed area when the screen is selected is used as an enlarged display area for correction processing. Also good.

次に、本発明の第2の実施形態について説明する。本発明の第2の実施形態は除去処理画面(ステップS204)の画面構成を変更して、補正対象の画像全体を表示しながら補正処理を行うことができるように構成した。   Next, a second embodiment of the present invention will be described. In the second embodiment of the present invention, the screen configuration of the removal processing screen (step S204) is changed so that the correction processing can be performed while displaying the entire image to be corrected.

図12に除去処理画面の構成を示す。1201は除去処理対象画像表示領域であり、除去処理の対象画像を表示する。この表示は図2のステップS201の補正領域指定画面と同様になっている。   FIG. 12 shows the configuration of the removal processing screen. A removal processing target image display area 1201 displays a removal processing target image. This display is similar to the correction area designation screen in step S201 of FIG.

1202は現在処理の対象となっている拡大領域を表示する。1203は処理に対するコメント欄であり、1204は現在処理の対象となっている補正データに対する補正機能が表示される。現在はごみ除去であるので、ごみ除去のツールが表示されている。   Reference numeral 1202 displays an enlarged area that is currently the target of processing. Reference numeral 1203 denotes a comment field for processing, and 1204 displays a correction function for correction data currently being processed. Since it is currently debris removal, a debris removal tool is displayed.

操作者は画面全体を見ながら、処理領域を拡大した状態で補正処理ができ、円滑に作業を進めることができる。なお、次処理ボタン1205を選択したときに、補正が完了した矩形を非表示にし、残りの除去作業がどの程度あるかを表示してもよい。また、現在補正中の処理領域を1201の表示領域で強調表示して、現在どの部分の補正が行われているか分かるようにしても良い。また、複数の補正領域を指定していると矩形同士が重なってしまう場合がある。このような際に、表示を簡単化するために、拡大領域の矩形を合成することが有効である。   The operator can perform the correction process while enlarging the processing area while looking at the entire screen, and can proceed smoothly. When the next processing button 1205 is selected, the corrected rectangle may be hidden and the remaining removal work may be displayed. Further, the processing area currently being corrected may be highlighted in the display area 1201 so that it can be understood which part is currently being corrected. In addition, when a plurality of correction areas are specified, the rectangles may overlap each other. In such a case, in order to simplify the display, it is effective to synthesize the rectangle of the enlarged region.

図12において、しわ除去の拡大領域と赤目除去の拡大領域が重なっている。そこで、図13に示すように2つの矩形を含む領域に合成をし、マーカを2つ並べて表示するようにする。これにより、表示が分かりやすくなり、処理作業の際に、拡大表示領域が処理毎に完全に別であるために、頻繁に領域が変わってしまうことを防ぎ、操作者にストレスなく、補正処理を進めることができる。   In FIG. 12, the enlarged region for removing wrinkles and the enlarged region for removing red eyes overlap. Therefore, as shown in FIG. 13, the images are combined into an area including two rectangles, and two markers are displayed side by side. This makes it easy to understand the display, and during the processing work, the enlarged display area is completely different for each process, so it is possible to prevent the area from changing frequently and to perform correction processing without stress on the operator. Can proceed.

除去処理が完了したものに関しては、図14に示すように他の処理が残っている場合は、終了した処理のマーカのみを消去し、処理状況を把握しやすいようにしてもよい。   As for what has been removed, if other processes remain as shown in FIG. 14, only the marker of the finished process may be deleted to make it easier to grasp the processing status.

以上のように、補正領域指定画面で補正種別と拡大表示領域をそれぞれ複数処理、指定し、この補正データにより、1つの処理ごとに除去処理画面で補正種別による補正モードで、領域を拡大表示して除去処理を行い、これを情報数繰り返して処理することにより、補正の指定を行う操作者と除去処理を行う操作者が違った場合も除去処理を簡単に漏れなく行うことができる。   As described above, multiple correction types and enlarged display areas can be processed and specified on the correction area designation screen, and the correction data can be enlarged and displayed in the correction mode based on the correction type on the removal processing screen for each process. By performing the removal process and repeating this process for the number of pieces of information, even if the operator who designates correction differs from the operator who performs the removal process, the removal process can be performed easily and without omission.

また、除去画面にて補正対象画像と現在処理中の領域拡大表示を同時に行い、現在除去している領域を強調表示し、除去された処理のマーカと矩形を非表示にすることにより、どの部分を除去していて、残りどの程度の作業があるかが一目でわかる。   In addition, the image to be corrected and the area currently being processed are enlarged on the removal screen at the same time, the currently removed area is highlighted, and the marker and rectangle of the removed process are hidden so that any part can be displayed. You can see at a glance how much work remains.

また、複数の補正領域の矩形が近い場合は、矩形を合成して、処理マーカを複数、矩形近傍に表示することにより、拡大処理の回数を減らし、円滑に処理を進めると同時に、拡大表示領域が頻繁に変わることを防ぎ、操作者に作業上の負荷が掛かることを防ぐことができる。   In addition, when the rectangles of a plurality of correction areas are close, by combining the rectangles and displaying a plurality of processing markers in the vicinity of the rectangle, the number of enlargement processes can be reduced and the process can be smoothly performed. Can be prevented from changing frequently, and the operator can be prevented from being burdened with work.

また、本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体を、システム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても、達成されることは言うまでもない。   Another object of the present invention is to supply a storage medium storing software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and the computer (or CPU or MPU) of the system or apparatus stores the storage medium. Needless to say, this can also be achieved by reading and executing the program code stored in.

この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、プログラムコード自体及びそのプログラムコードを記憶した記憶媒体は本発明を構成することになる。   In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the program code itself and the storage medium storing the program code constitute the present invention.

プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。   As a storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼動しているOS(基本システム或いはオペレーティングシステム)などが実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, by executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an OS (basic system or operating system) running on the computer based on the instruction of the program code. Needless to say, a case where the functions of the above-described embodiment are realized by performing part or all of the actual processing and the processing is included.

さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。   Further, after the program code read from the storage medium is written in a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. It goes without saying that the CPU or the like provided in the expansion board or function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

本発明の実施形態に係る画像補正システムの全体構成を示す図である。1 is a diagram illustrating an overall configuration of an image correction system according to an embodiment of the present invention. 本発明の第1の実施形態における画像補正アプリケーションの画面遷移の流れを示すフローチャートである。It is a flowchart which shows the flow of the screen transition of the image correction application in the 1st Embodiment of this invention. 本発明の第1の実施形態におけるアプリケーションの表示画面を示す図である。It is a figure which shows the display screen of the application in the 1st Embodiment of this invention. 補正処理がごみ除去処理の場合の除去処理画面を示す図である。It is a figure which shows the removal process screen in case correction | amendment processing is a dust removal process. 補正処理が赤目除去の場合の除去処理画面を示す図である。It is a figure which shows the removal process screen in case correction processing is red-eye removal. 補正処理がしわ除去の場合の除去処理画面を示す図である。It is a figure which shows the removal process screen in case correction processing is wrinkle removal. ごみ除去、赤目除去、しわ除去を1つずつ選択した場合の結果を示す図である。It is a figure which shows the result at the time of selecting dust removal, red-eye removal, and wrinkle removal one by one. ごみ領域と拡大表示するための領域を表示するためのアルゴリズムを示す図である。It is a figure which shows the algorithm for displaying the area | region for a garbage area | region and an enlarged display. 赤目除去と拡大表示するための領域を表示するためのアルゴリズムを示す図である。It is a figure which shows the algorithm for displaying the area | region for red-eye removal and enlarged display. しわ除去と拡大表示するための領域を表示するためのアルゴリズムを示す図である。It is a figure which shows the algorithm for displaying the area | region for wrinkle removal and enlarged display. ごみ除去、赤目除去、しわ除去を1つずつ選択した場合の管理データ構造を示す図である。It is a figure which shows the management data structure at the time of selecting dust removal, red-eye removal, and wrinkle removal one by one. 本発明の第2の実施形態における除去処理画面の構成を示す図である。It is a figure which shows the structure of the removal process screen in the 2nd Embodiment of this invention. 矩形の合成例を示す図である。It is a figure which shows the example of a synthetic | combination of a rectangle. 終了した処理のマーカを消去した例を示す図である。It is a figure which shows the example which deleted the marker of the process which complete | finished.

符号の説明Explanation of symbols

101 画像入力装置
102 コンピュータ
103 入力装置
104 表示装置
105 出力装置
301、402、502、602、704 補正対象画像表示領域
302〜304、401、501、601、701〜703 補正メニューボタン
305、405、506、606、712 エディットボックス
306、406、507、607、713 次画面ボタン
403 ゴミ除去の機能メニュー
404、504 ブラシボタン
503 赤目除去の機能メニュー
505、605 スライダバー
603 しわ除去の機能メニュー
604 線指定ボタン
705、709、711 矩形
706 ごみ
707、708、710 補正種別マーカ
101 Image Input Device 102 Computer 103 Input Device 104 Display Device 105 Output Device 301, 402, 502, 602, 704 Correction Target Image Display Areas 302-304, 401, 501, 601, 701-703 Correction Menu Buttons 305, 405, 506 , 606, 712 Edit box 306, 406, 507, 607, 713 Next screen button 403 Dust removal function menu 404, 504 Brush button 503 Red-eye removal function menu 505, 605 Slider bar 603 Wrinkle removal function menu 604 Line designation button 705, 709, 711 Rectangle 706 Garbage 707, 708, 710 Correction type marker

Claims (15)

指定操作に応じて、画像データ内における一又は複数の補正領域と前記各補正領域に対する補正処理の種別とを設定する設定手段と、
前記設定手段にて設定された前記各補正領域と前記補正処理の種別との対応付けを記録する記録手段と、
前記記録手段における記録内容に基づいて、前記各補正領域に対応する補正処理用の画面を表示手段上に表示させる表示制御手段とを有することを特徴とする画像処理装置。
Setting means for setting one or a plurality of correction areas in the image data and the type of correction processing for each of the correction areas according to the designation operation;
Recording means for recording the association between each correction area set by the setting means and the type of the correction process;
An image processing apparatus comprising: display control means for displaying a correction processing screen corresponding to each correction area on the display means based on the recording contents of the recording means.
前記補正処理用の画面には、該当する補正領域の拡大表示画面が含まれることを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the correction processing screen includes an enlarged display screen of a corresponding correction area. 前記表示制御手段は、前記各補正領域に対応する前記補正処理用の画面を順次表示することを特徴とする請求項1又は2に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the display control unit sequentially displays the correction processing screens corresponding to the correction regions. 前記表示制御手段は、前記設定手段による設定結果を示す設定画面を前記表示手段上に表示させることを特徴とする請求項1に記載の画像処理装置。   The image processing apparatus according to claim 1, wherein the display control unit displays a setting screen indicating a setting result by the setting unit on the display unit. 前記設定画面上では、前記各補正領域を示す情報が表示されることを特徴とする請求項4に記載の画像処理装置。   The image processing apparatus according to claim 4, wherein information indicating each correction area is displayed on the setting screen. 前記設定画面上では、前記各補正領域の補正処理の種別を示す情報が更に表示されることを特徴とする請求項5に記載の画像処理装置。   The image processing apparatus according to claim 5, wherein information indicating a type of correction processing of each correction area is further displayed on the setting screen. 前記表示制御手段は、前記補正処理用の画面とともに前記設定画面を表示することを特徴とする請求項4乃至6の何れか1項に記載の画像処理装置。   The image processing apparatus according to claim 4, wherein the display control unit displays the setting screen together with the correction processing screen. 前記設定画面上では、現在補正処理中の補正領域を他の補正領域とは異なる表示態様とすることを特徴とする請求項7に記載の画像処理装置。   8. The image processing apparatus according to claim 7, wherein on the setting screen, the correction area currently being corrected is displayed differently from the other correction areas. 前記表示制御手段は、補正処理が終了した補正領域を非表示にすることを特徴とする請求項7又は8に記載の画像処理装置。   The image processing apparatus according to claim 7, wherein the display control unit hides the correction area for which the correction process has been completed. 前記設定画面上では、複数の補正領域が互いに重畳する場合、前記複数の補正領域を合成した合成補正領域を表示することを特徴とする請求項7乃至9の何れか1項に記載の画像処理装置。   10. The image processing according to claim 7, wherein when the plurality of correction areas are superimposed on each other on the setting screen, a combined correction area obtained by combining the plurality of correction areas is displayed. apparatus. 前記複数の補正領域に対応する各補正処理の種別を示す情報が前記合成補正領域について表示されることを特徴とする請求項10に記載の画像処理装置。   The image processing apparatus according to claim 10, wherein information indicating a type of each correction process corresponding to the plurality of correction areas is displayed for the composite correction area. 前記合成補正領域について表示される前記各補正処理の種別を示す情報は、前記複数の補正領域に対応する補正処理が終了する度に、終了した補正処理の種別を示す情報が消去されることを特徴とする請求項11に記載の画像処理装置。   The information indicating the type of each correction process displayed for the composite correction area is deleted every time the correction process corresponding to the plurality of correction areas is completed. The image processing apparatus according to claim 11, wherein the image processing apparatus is an image processing apparatus. 画像処理装置による画像補正方法であって、
指定操作に応じて、画像データ内における一又は複数の補正領域と前記各補正領域に対する補正処理の種別とを設定する設定ステップと、
前記設定ステップにて設定された前記各補正領域と前記補正処理の種別との対応付けを記録媒体に記録する記録ステップと、
前記記録媒体内の記録内容に基づいて、前記各補正領域に対応する補正処理用の画面を表示手段上に表示させる表示制御ステップとを含むことを特徴とする画像補正方法。
An image correction method by an image processing apparatus,
A setting step for setting one or a plurality of correction areas in the image data and the type of correction processing for each of the correction areas in accordance with the designation operation;
A recording step of recording a correspondence between each correction area set in the setting step and the type of the correction process on a recording medium;
And a display control step of displaying on the display means a screen for correction processing corresponding to each of the correction areas based on the content recorded in the recording medium.
請求項13に記載の画像補正方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the image correction method according to claim 13. 請求項14に記載のプログラムを記録したコンピュータ読み取り可能な記録媒体。   The computer-readable recording medium which recorded the program of Claim 14.
JP2005032097A 2005-02-08 2005-02-08 Image processing apparatus and image correction method Pending JP2006222563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005032097A JP2006222563A (en) 2005-02-08 2005-02-08 Image processing apparatus and image correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005032097A JP2006222563A (en) 2005-02-08 2005-02-08 Image processing apparatus and image correction method

Publications (1)

Publication Number Publication Date
JP2006222563A true JP2006222563A (en) 2006-08-24

Family

ID=36984604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005032097A Pending JP2006222563A (en) 2005-02-08 2005-02-08 Image processing apparatus and image correction method

Country Status (1)

Country Link
JP (1) JP2006222563A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111179205A (en) * 2019-12-09 2020-05-19 中国资源卫星应用中心 Remote sensing image color correction method based on ground object classification mask

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111179205A (en) * 2019-12-09 2020-05-19 中国资源卫星应用中心 Remote sensing image color correction method based on ground object classification mask
CN111179205B (en) * 2019-12-09 2023-09-26 中国四维测绘技术有限公司 Remote sensing image color correction method based on ground object classification mask

Similar Documents

Publication Publication Date Title
JP4587461B2 (en) Image editing apparatus and control method thereof
JP4539318B2 (en) Image information evaluation method, image information evaluation program, and image information evaluation apparatus
JP4468404B2 (en) Information processing apparatus control method, information processing apparatus, and program
JP2007074694A (en) Image-editing apparatus and control method for the same, computer program, storage media
JP5036331B2 (en) Image processing apparatus, image processing method, and program
JP2007043506A (en) Image processing apparatus, image processing method thereof, program, and storage medium
JP2010125778A (en) Printing apparatus and program
US20110187721A1 (en) Line drawing processing apparatus, storage medium storing a computer-readable program, and line drawing processing method
JPH1185962A (en) Picture position adjustment device and computer readable recording medium recording picture position adjustment program
JP2008146225A (en) Editor, edit method, and edit program
JP2006222563A (en) Image processing apparatus and image correction method
JP2010130510A (en) Printing device and program
JP2010125779A (en) Printing apparatus and program
JP2008040676A (en) Presentation apparatus and presentation control method
JPH08235344A (en) Scenario editor
JP2003046746A (en) Method and apparatus for processing image
JP2011015280A (en) Image editing apparatus, program and image playback apparatus
JP2009042989A (en) Image processing apparatus
JP2004240672A (en) Image edit program
JP2001273509A (en) Method and device for editing document picture
JP2006309622A (en) Image processor, image processing method, image processing program and recording medium
JP2001127987A (en) Method and device for recording image and recording medium
JP2004342045A (en) User interface device, display method and program thereof
JP4933202B2 (en) Image processing apparatus and image processing method
JP4309987B2 (en) Raster data editing method and apparatus