JP4496856B2 - Photographic image processing method and apparatus - Google Patents

Photographic image processing method and apparatus Download PDF

Info

Publication number
JP4496856B2
JP4496856B2 JP2004184936A JP2004184936A JP4496856B2 JP 4496856 B2 JP4496856 B2 JP 4496856B2 JP 2004184936 A JP2004184936 A JP 2004184936A JP 2004184936 A JP2004184936 A JP 2004184936A JP 4496856 B2 JP4496856 B2 JP 4496856B2
Authority
JP
Japan
Prior art keywords
face area
sharpening
image data
processing
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2004184936A
Other languages
Japanese (ja)
Other versions
JP2006011619A (en
Inventor
圭介 泉
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.)
Noritsu Koki Co Ltd
Original Assignee
Noritsu Koki Co Ltd
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 Noritsu Koki Co Ltd filed Critical Noritsu Koki Co Ltd
Priority to JP2004184936A priority Critical patent/JP4496856B2/en
Publication of JP2006011619A publication Critical patent/JP2006011619A/en
Application granted granted Critical
Publication of JP4496856B2 publication Critical patent/JP4496856B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Image Analysis (AREA)

Description

本発明は、現像済みの銀塩写真フィルムからフィルムスキャナによって読み込まれた原画像データや、デジタルスチルカメラにより撮影された原画像データを鮮鋭化処理する写真画像処理方法、写真画像処理装置、及び写真画像処理プログラムに関する。   The present invention relates to a photographic image processing method, a photographic image processing apparatus, and a photographic image processing method for sharpening original image data read from a developed silver halide photographic film by a film scanner and original image data photographed by a digital still camera. The present invention relates to an image processing program.

一般的に、銀塩写真の画像をフィルムスキャナで取り込んだデジタル画像を処理して、写真プリンタで出力する場合には、フィルムスキャナやデジタルスチルカメラ等の入力系、及び、写真プリンタ等の出力系夫々の固有の原因により鮮鋭度が低下して出力写真の画質が劣化するという問題があり、劣化した鮮鋭度を回復させるためにラプラシアンフィルタやアンシャープマスクによる鮮鋭化処理が行われていたが、このような鮮鋭化処理においては、画像の鮮鋭度が向上すると、却って顔等の平坦部に粒状ノイズ等が目立ち、ざらついた画像になるという問題があった。このような問題は、銀塩写真に特有の問題ではなく、デジタルスチルカメラ等で撮影されたデジタル画像に対しても、画像の鮮鋭度が向上すると、却ってショットノイズや電気的ノイズ等の種々のノイズが目立つという同様の問題として認識されている。そこで、従来は、原画像の特性を抽出し、抽出した原画像の特性に基づいて夫々異なる鮮鋭化処理を複雑に絡めた種々の画像処理方法が提案されていた。
特開2001−76134公報
Generally, when processing a digital image obtained by taking a silver halide photograph image with a film scanner and outputting it with a photographic printer, an input system such as a film scanner or a digital still camera and an output system such as a photographic printer There is a problem that the sharpness decreases due to each unique cause and the image quality of the output photo deteriorates, and in order to recover the deteriorated sharpness, sharpening processing using a Laplacian filter or unsharp mask was performed, In such sharpening processing, when the sharpness of the image is improved, there is a problem that grain noise or the like is conspicuous on a flat portion such as a face, resulting in a rough image. Such a problem is not a problem peculiar to a silver salt photograph, and various images such as shot noise and electric noise are improved when the sharpness of an image is improved even for a digital image taken with a digital still camera or the like. It is recognized as a similar problem that noise is conspicuous. Therefore, conventionally, various image processing methods have been proposed in which the characteristics of the original image are extracted and different sharpening processes are complicatedly involved based on the extracted characteristics of the original image.
JP 2001-76134 A

しかし、写真画像に対する一般的な鮮鋭化処理の結果、画像のざらつきが特に問題となるのは人物の顔領域程度であるにもかかわらず、上述したような複雑な鮮鋭化処理方法を実行するものでは、画像全体を対象として複雑な演算処理を繰り返し実行する必要があるために処理時間が長くなるという問題があった。特に拡大処理された画像に対しては相当量の時間を要するものとなっていた。   However, as a result of a general sharpening process on a photographic image, the above-described complex sharpening process method is executed even though the roughness of the image is particularly problematic in the face area of a person. However, there is a problem that processing time becomes long because complicated arithmetic processing needs to be repeatedly executed for the entire image. In particular, a considerable amount of time is required for an enlarged image.

本発明は、上述の従来欠点に鑑み、鑑賞に堪えうる程度に画像のざらつきを抑制しながら鮮鋭化するための画像処理を高速に行なうことができる写真画像処理方法及びその装置等を提供することを目的とする。   In view of the above-described conventional drawbacks, the present invention provides a photographic image processing method, an apparatus, and the like that can perform image processing for sharpening while suppressing image roughness to the extent that it can be appreciated. With the goal.

上述の目的を達成するため、本発明による写真画像処理方法の第一の特徴構成は、特許請求の範囲の書類の請求項1に記載した通り、コンピュータに入力されたカラー原画像データを鮮鋭化処理する写真画像処理方法であって、所定の特徴量に基づいて人物の顔領域を検出する顔領域検出アルゴリズムを実行する顔領域検出手段により、前記原画像データから人物の顔領域を検出する顔領域検出工程と、所定の鮮鋭化処理アルゴリズムを実行する第一鮮鋭化処理手段により、前記原画像データのうち前記顔領域検出工程で検出された顔領域データに対して、所定のラプラシアンフィルタ係数に基づいて色成分毎に鮮鋭化処理を実行し、鮮鋭化処理後の画像データと前記原画像データの差分が予め設定された閾値以上となるエッジを色成分毎に抽出し、当該エッジが前記閾値に収まるようにクリップ処理することで粒状ノイズまたはショットノイズを除去する第一鮮鋭化処理工程と、所定の鮮鋭化処理アルゴリズムを実行する第二鮮鋭化処理手段により、少なくとも前記顔領域以外の領域データに対して前記ラプラシアンフィルタ係数に基づいて色成分毎に鮮鋭化処理を実行する第二鮮鋭化処理工程と、からなる点にある。 In order to achieve the above object, a first characteristic configuration of a photographic image processing method according to the present invention is to sharpen color original image data input to a computer as described in claim 1 of the document of claims. A photographic image processing method for processing a face for detecting a human face area from the original image data by a face area detecting means for executing a face area detecting algorithm for detecting a human face area based on a predetermined feature amount A first Laplacian filter coefficient is applied to the face area data detected in the face area detection step in the original image data by the area detection step and a first sharpening processing unit that executes a predetermined sharpening processing algorithm. Based on the sharpening process for each color component based on the edge, the edge of the difference between the image data after the sharpening process and the original image data is equal to or greater than a preset threshold value for each color component. Out, a first sharpening process step in which the edges to remove granular noise or shot noise by clipping to fit into the threshold, the second sharpening means for executing a predetermined sharpening processing algorithm, at least And a second sharpening process step of executing a sharpening process for each color component on the basis of the Laplacian filter coefficient with respect to area data other than the face area .

上述の構成によれば、顔領域検出工程で原画像データから検出された顔領域とそれ以外の領域に分離され、顔領域とそれ以外の領域とで異なる鮮鋭化処理が実行される。このとき、顔領域に対して実行される第一鮮鋭化処理工程では、所定のラプラシアンフィルタ係数に基づいて色成分毎に鮮鋭化処理が実行され、鮮鋭化処理後の画像データと前記原画像データの差分が予め設定された閾値以上となるエッジが色成分毎に抽出され、当該エッジが前記閾値に収まるようにクリップ処理されることによって粒状ノイズまたはショットノイズに起因する顔のざらつきが抑制される。その他の領域に対して実行される第二鮮鋭化処理工程では、ラプラシアンフィルタ係数に基づいて色成分毎に鮮鋭化処理が実行され、ざらつき抑制処理が実行されないので、少なくとも第一鮮鋭化処理よりも処理速度が向上する。つまり、クリップ処理では、ラプラシアンフィルタ処理により粒状ノイズ等のざらつきが目立つ領域が選択的に抽出されて平滑化される。従って、鮮鋭化のための画像処理全体にかかる処理時間を短縮しながらも、顔領域に関してはざらつきのない鑑賞に堪えうる写真プリントを得ることができるようになるのである。 According to the above-described configuration, the face area detected from the original image data in the face area detection step is separated into other areas and different sharpening processes are executed between the face area and the other areas. At this time, in the first sharpening process performed on the face area , the sharpening process is executed for each color component based on a predetermined Laplacian filter coefficient, and the image data after the sharpening process and the original image data are processed. Are extracted for each color component, and clipping processing is performed so that the edges fall within the threshold, thereby suppressing facial roughness caused by granular noise or shot noise. . In the second sharpening process executed for other regions , the sharpening process is executed for each color component based on the Laplacian filter coefficient, and the roughness suppressing process is not executed, so at least than the first sharpening process. Processing speed is improved. In other words, in the clipping process, an area where graininess or the like is conspicuous is selectively extracted and smoothed by the Laplacian filter process. Accordingly, it is possible to obtain a photographic print that can withstand the appreciation of the face area while reducing the processing time for the entire image processing for sharpening.

同第二の特徴構成は、同請求項2に記載した通り、上述の第一特徴構成に加えて、前記第一鮮鋭化処理工程は、前記顔領域検出工程で検出された顔領域に基づいて前記原画像データから顔領域データを切り取り、切り取った顔領域データに対して前記先鋭化処理及び前記クリップ処理を実行し、前記第二鮮鋭化処理工程は、処理後の画像データに前記第一鮮鋭化処理工程による処理後の顔領域データを貼り付ける貼付処理を実行する点にある。 In the second feature configuration, as described in claim 2, in addition to the first feature configuration described above, the first sharpening processing step is based on the face region detected in the face region detection step. Face area data is cut from the original image data, the sharpening process and the clip process are executed on the cut face area data, and the second sharpening process step adds the first sharpening process to the processed image data. This is in that a pasting process for pasting face area data after the processing in the processing step is performed .

上述の構成によれば、第二鮮鋭化処理工程で、原画像に対して領域分離することなく高速に全画像を鮮鋭化処理でき、その処理後の画像に第一の鮮鋭化処理された画像を貼り付けることで効率的に最終画像が得られることとなるのである。 According to the above-described configuration, in the second sharpening processing step, the entire image can be sharpened at high speed without separating the area from the original image, and the image after the first sharpening processing is performed on the processed image. By pasting, the final image can be obtained efficiently .

本発明による写真画像処理装置の第一の特徴構成は、特許請求の範囲の書類の請求項に記載した通り、入力されたカラー原画像データを鮮鋭化処理する鮮鋭化処理手段を備えた写真画像処理装置であって、前記原画像データから所定の特徴量に基づいて人物の顔領域を検出する顔領域検出手段と、前記原画像データのうち前記顔領域検出手段で検出された顔領域データに対して、所定のラプラシアンフィルタ係数に基づいて色成分毎に鮮鋭化処理を実行し、鮮鋭化処理後の画像データと前記原画像データの差分が予め設定された閾値以上となるエッジを色成分毎に抽出し、当該エッジが前記閾値に収まるようにクリップ処理することで粒状ノイズまたはショットノイズを除去する第一鮮鋭化処理と、少なくとも前記顔領域以外の領域データに対して前記ラプラシアンフィルタ係数に基づいて色成分毎に鮮鋭化処理を実行する第二鮮鋭化処理とからなる点にある。 A first characteristic configuration of a photographic image processing apparatus according to the present invention is a photograph provided with a sharpening processing means for sharpening input color original image data as described in claim 3 of the document of the claims. An image processing apparatus, wherein a face area detecting unit detects a face area of a person based on a predetermined feature amount from the original image data, and face area data detected by the face area detecting unit in the original image data In contrast, a sharpening process is executed for each color component based on a predetermined Laplacian filter coefficient, and an edge where the difference between the image data after the sharpening process and the original image data is equal to or greater than a preset threshold is set as a color component. extracted for each, a first sharpening process of removing granular noise or shot noise by the edges is clipping to fit the threshold value, other than at least the face area region data It lies in comprising a second sharpening process for executing the sharpening process for each color component on the basis of the Laplacian filter coefficients for.

同第二の特徴構成は、同請求項に記載した通り、上述の第一特徴構成に加えて、前記第一鮮鋭化処理手段は、前記顔領域検出手段で検出された顔領域に基づいて前記原画像データから顔領域データを切り取り、切り取った顔領域データに対して前記先鋭化処理及び前記クリップ処理を実行し、前記第二鮮鋭化処理手段は、処理後の画像データに前記第一鮮鋭化処理工程による処理後の顔領域データを貼り付ける貼付処理を実行する点にある。 In the second feature configuration, as described in claim 4 , in addition to the first feature configuration described above, the first sharpening processing means is based on the face area detected by the face area detection means. Face area data is cut out from the original image data, the sharpening process and the clip process are executed on the cut face area data, and the second sharpening processing means adds the first sharpening process to the processed image data. This is in that a pasting process for pasting face area data after the processing in the processing step is performed .

本発明による写真画像処理プログラムの第一の特徴構成は、同請求項に記載した通り、コンピュータに、入力されたカラー原画像データから所定の特徴量に基づいて人物の顔領域を検出する顔領域検出工程と、前記原画像データのうち前記顔領域検出工程で検出された顔領域データに対して、所定のラプラシアンフィルタ係数に基づいて色成分毎に鮮鋭化処理を実行し、鮮鋭化処理後の画像データと前記原画像データの差分が予め設定された閾値以上となるエッジを色成分毎に抽出し、当該エッジが前記閾値に収まるようにクリップ処理することで粒状ノイズまたはショットノイズを除去する第一鮮鋭化処理工程と、少なくとも前記顔領域以外の領域データに対して前記ラプラシアンフィルタ係数に基づいて色成分毎に鮮鋭化処理を実行する第二鮮鋭化処理工程と、を実行させるための写真画像処理プログラムである点にある。 The first characteristic configuration of the photographic image processing program according to the present invention is a face for detecting a face area of a person based on a predetermined characteristic amount from input color original image data to a computer as described in claim 5. A sharpening process is performed for each color component based on a predetermined Laplacian filter coefficient on the face area data detected in the face detection process in the area detection step and the original image data, and after the sharpening process Edges for which the difference between the original image data and the original image data is greater than or equal to a preset threshold is extracted for each color component, and granular noise or shot noise is removed by clipping so that the edges fall within the threshold a first sharpening process, perform a sharpening process for each color component on the basis of the Laplacian filter coefficients for at least the face area other than the area data A second sharpening process step lies in a photographic image processing program for causing execution.

同第二の特徴構成は、同請求項に記載した通り、上述の第一特徴構成に加えて、前記第一鮮鋭化処理工程は、前記顔領域検出工程で検出された顔領域に基づいて前記原画像データから顔領域データを切り取り、切り取った顔領域データに対して前記先鋭化処理及び前記クリップ処理を実行するものであり、前記第二鮮鋭化処理工程は、処理後の画像データに前記第一鮮鋭化処理工程による処理後の顔領域データを貼り付ける貼付処理を実行するものである点にある。 In the second feature configuration, as described in claim 6 , in addition to the first feature configuration described above, the first sharpening processing step is based on the face region detected in the face region detection step. The face area data is cut out from the original image data, and the sharpening process and the clip process are executed on the cut face area data, and the second sharpening process step is performed on the processed image data. It is in the point which performs the sticking process which pastes the face area data after the process by a 1st sharpening process process .

以上説明した通り、本発明によれば、鑑賞に堪えうる程度に画像のざらつきを抑制しながら鮮鋭化するための画像処理を高速に行なうことができる写真画像処理方法及びその装置等を提供することができるようになった。   As described above, according to the present invention, it is possible to provide a photographic image processing method, an apparatus thereof, and the like that can perform image processing for sharpening while suppressing roughness of the image to an extent that can be appreciated. Can now.

以下に本発明による写真画像処理装置を説明する。デジタル方式の写真画像処理装置は、図1及び図2に示すように、撮影済みのネガフィルム(以下、単に「フィルム」と記す。)F等から写真画像を読み取るフィルムスキャナ1aや、デジタルスチルカメラによる撮影画像データが格納されたSDカードやメモリスティック等の各種のカード型メモリM等に対応したメディアドライバ1bを備えた画像データ入力部1と、入力された画像データを格納するハードディスク等でなる画像データ記憶部2と、前記画像データに基づいて画像を表示するモニタ3と、キーボードやマウスを備えた操作入力部4と、前記モニタ3に表示された画像に対する前記操作入力部4を介した各種操作に基づいて、前記画像データを編集処理する画像処理部5と、画像処理後のデータに基づいて印画紙Pを露光して写真プリントを生成する写真プリンタ6と、上述の各ブロックをシステムとして制御するシステムコントローラ7(以下、「コントローラ7」と記す。)を備えて構成される。   The photographic image processing apparatus according to the present invention will be described below. As shown in FIGS. 1 and 2, the digital photographic image processing apparatus includes a film scanner 1a that reads a photographic image from a filmed negative film (hereinafter simply referred to as “film”) F, and a digital still camera. The image data input unit 1 includes a media driver 1b corresponding to various card-type memories M such as an SD card or a memory stick in which captured image data is stored, and a hard disk or the like that stores the input image data. An image data storage unit 2, a monitor 3 for displaying an image based on the image data, an operation input unit 4 having a keyboard and a mouse, and the operation input unit 4 for the image displayed on the monitor 3 The image processing unit 5 that edits the image data based on various operations, and the photographic paper P is exposed based on the data after the image processing. A photographic printer 6 for generating a photographic print Te, the system controller 7 controls the individual blocks of the above as a system (hereinafter referred to as "the controller 7".) Configured with a.

前記フィルムスキャナ1aは、前記フィルムFに読取用の照明光を照射する照明光学系10と、前記フィルムFを搬送するフィルム搬送部11と、当該フィルム搬送部11により搬送されたフィルムFに記録されたコマ画像を読み取る画像読取部12と、前記照明光学系10、前記フィルム搬送部11及び前記画像読取部12による画像読取プロセスを制御するスキャナ制御部13を備えて構成される。   The film scanner 1 a is recorded on the illumination optical system 10 that irradiates the illumination light for reading onto the film F, the film transport unit 11 that transports the film F, and the film F transported by the film transport unit 11. An image reading unit 12 for reading the frame image, and a scanner control unit 13 for controlling an image reading process by the illumination optical system 10, the film transport unit 11, and the image reading unit 12.

前記照明光学系10は、前記フィルムFの搬送方向である副走査方向(図2で矢印で示す)に直交する主走査方向に沿って配置した棒状のハロゲンランプ10aと、前記ハロゲンランプ10aからの光線束の色分布を調整する調光フィルタ10bと、同光線束をスリット状に集光するシリンドリカルレンズ10cと、強度分布を均一にする拡散板10dと、幅狭のスリット10eを備えて構成される。   The illumination optical system 10 includes a rod-shaped halogen lamp 10a arranged along a main scanning direction orthogonal to a sub-scanning direction (indicated by an arrow in FIG. 2) that is a conveyance direction of the film F, and A light control filter 10b that adjusts the color distribution of the light beam, a cylindrical lens 10c that collects the light beam in a slit shape, a diffusion plate 10d that makes the intensity distribution uniform, and a narrow slit 10e are configured. The

前記フィルム搬送部11は、図外の搬送モータにより駆動され、長尺のフィルムFを前記スリット10eの直下のフィルム投影部に向けて所定速度で搬送する複数の搬送ローラ対11aを備えて構成される。   The film transport unit 11 is driven by a transport motor (not shown), and includes a plurality of transport roller pairs 11a that transport the long film F toward the film projection unit directly below the slit 10e at a predetermined speed. The

前記画像読取部12は、集光レンズ、CCDラインセンサ、サンプルホールド回路、A/D変換器等を備えて構成してあり、前記フィルムFを透過した前記照明光学系10からのスリット光が集光レンズによりCCDラインセンサ上に結像され、CCDラインセンサにより読み取られたアナログ信号がA/D変換器によりデジタルデータに変換されるように構成されている。前記CCDラインセンサは、フィルム透過光のR成分、G成分、B成分の各成分の光を選択的に通過させるカラーフィルタが夫々設けられた3列のラインセンサで構成され、以ってフィルム上の各コマ画像がフィルムFの搬送に伴って、R成分、G成分、B成分の各色成分に分解して読み込まれる。   The image reading unit 12 includes a condenser lens, a CCD line sensor, a sample hold circuit, an A / D converter, and the like, and slit light from the illumination optical system 10 that has passed through the film F is collected. An analog signal formed on the CCD line sensor by the optical lens and read by the CCD line sensor is converted to digital data by the A / D converter. The CCD line sensor is composed of three lines of line sensors each provided with a color filter that selectively transmits light of each of the R component, G component, and B component of the transmitted light of the film. As the film F is conveyed, each frame image is separated into R component, G component, and B component color components and read.

前記写真プリンタ6は、ロール状の印画紙Pが収容されたペーパーマガジン60と、前記ペーパーマガジン60から印画紙Pを引き出して搬送する複数の印画紙搬送ローラ61と、搬送ローラ61を駆動するモータ62と、搬送される印画紙Pの感光面を露光する蛍光ビーム方式のプリントヘッド63と、露光済みの印画紙Pに現像、漂白、定着の各処理を施す現像処理部64と、現像処理された印画紙Pを乾燥しながら搬送する乾燥部65と、乾燥された印画紙Pを最終のプリントとして排出する排出部66とを備えて構成され、前記ペーパーマガジン60から引き出された印画紙Pは現像処理の前後何れかに配置されたカッター(図示せず)によって所定のプリントサイズにカットされて排出部66に出力される。   The photographic printer 6 includes a paper magazine 60 in which roll-shaped photographic paper P is accommodated, a plurality of photographic paper transport rollers 61 that pull out and transport the photographic paper P from the paper magazine 60, and a motor that drives the transport roller 61. 62, a fluorescent beam type print head 63 that exposes the photosensitive surface of the conveyed photographic paper P, a development processing unit 64 that performs development, bleaching, and fixing processes on the exposed photographic paper P, and development processing. The photographic paper P drawn out from the paper magazine 60 includes a drying unit 65 that transports the photographic paper P while drying, and a discharge unit 66 that discharges the dried photographic paper P as a final print. The paper is cut into a predetermined print size by a cutter (not shown) disposed either before or after the development processing and output to the discharge unit 66.

前記プリントヘッド63は、グリッド電圧の調節により発光が制御される蛍光体にレンズとカラーフィルタを装着した蛍光体素子を主走査方向に並べた赤色発光ブロックと緑色発光ブロックと青色発光ブロックの三列で構成され、前記フィルムスキャナ1a等を介して読み取られ編集処理された画像データのR成分、G成分、B成分の各画素データに基づいて駆動制御することにより印画紙P上に写真画像が露光される。   The print head 63 includes three rows of a red light emission block, a green light emission block, and a blue light emission block in which phosphor elements each having a lens and a color filter mounted on a phosphor whose light emission is controlled by adjusting a grid voltage are arranged in the main scanning direction. The photographic image is exposed on the photographic paper P by controlling the driving based on the R component, G component, and B component pixel data of the image data read and edited through the film scanner 1a and the like. Is done.

前記コントローラ7は、CPU、ROM、データ処理領域として使用されるRAM、画像データ編集のために使用されるRAM、及び、周辺回路を備えてなるハードウェア、及び、前記ROMに格納され前記CPUで実行されるプログラムでなるソフトウェアを備えて構成され、本発明に関連する機能ブロックに分割して説明すると、図3に示すように、前記モニタ3に表示されたウィンドウ上のソフトスイッチ等を含むグラフィック操作画面の表示や当該グラフィック操作画面を介した前記操作入力部4によるユーザー操作に対応した制御コマンドを生成するグラフィックユーザーインターフェース部(以下、「GUI部」と記す。)7aと、前記モニタ3への表示データが格納されるビデオメモリ7bと、前記画像データ記憶部2から読み出された画像がロードされ、各種の画像処理が施される画像処理メモリ7dと、処理後の画像データをCD−R等のメディアに書き込むための画像ファイルに編集する画像ファイル編集部7cと、画像処理後のデータを前記写真プリンタ6に対応した出力データに変換するプリントデータ変換部7e等を備えて構成される。   The controller 7 includes a CPU, a ROM, a RAM used as a data processing area, a RAM used for image data editing, hardware including peripheral circuits, and a CPU stored in the ROM. If it is divided into functional blocks related to the present invention and is composed of software consisting of programs to be executed, as shown in FIG. 3, a graphic including soft switches and the like on a window displayed on the monitor 3 A graphic user interface unit (hereinafter referred to as “GUI unit”) 7 a that generates a control command corresponding to a user operation by the operation input unit 4 via the operation screen display or the graphic operation screen, and the monitor 3 Are read from the video memory 7b and the image data storage unit 2. An image processing memory 7d to which the output image is loaded and subjected to various types of image processing; an image file editing unit 7c for editing the processed image data into an image file for writing to a medium such as a CD-R; A print data conversion unit 7e for converting the image processed data into output data corresponding to the photo printer 6 is provided.

前記画像処理部5は、所定のアルゴリズムで対象画像を編集処理するソフトウェアと、画像処理プロセッサを備えたハードウェアで構成され、前記画像処理メモリ7dにロードされた画像データに対して人物の顔領域を検出する顔領域検出手段5aと、鮮鋭化処理を行なう鮮鋭化処理手段5bと、鮮鋭化処理された画像データに対してカラーバランスを調整するカラー補正手段5eと、階調性を整える階調補正手段5f等を備えて構成されている。   The image processing unit 5 is composed of software that edits a target image with a predetermined algorithm and hardware including an image processor, and a human face area for image data loaded in the image processing memory 7d A face area detecting means 5a for detecting a sharpening, a sharpening processing means 5b for performing a sharpening process, a color correcting means 5e for adjusting a color balance with respect to the sharpened image data, and a gradation for adjusting the gradation. The correction means 5f is provided.

前記コントローラ7からフィルム読取指令が送られると、前記スキャナ制御部13は、前記ハロゲンランプ10aを点灯させた後に、前記フィルム搬送部11を駆動して前記フィルムFを副走査方向に所定速度で搬送し、前記画像読取部12によりフィルム上に記録されたコマ画像を順次読み取り、読み取った画像データを前記コントローラ7に送信し、スキャナ制御部から送信された画像データが前記画像データ記憶部2に記憶される。   When a film reading command is sent from the controller 7, the scanner control unit 13 turns on the halogen lamp 10a and then drives the film transport unit 11 to transport the film F at a predetermined speed in the sub-scanning direction. Then, the frame images recorded on the film are sequentially read by the image reading unit 12, the read image data is transmitted to the controller 7, and the image data transmitted from the scanner control unit is stored in the image data storage unit 2. Is done.

また、前記コントローラ7による制御の下で、前記メディアドライバ1bにメディアが挿入されると、当該メディアに記憶されている画像データが読み込まれて前記画像データ記憶部2に記憶される。   When a medium is inserted into the media driver 1 b under the control of the controller 7, image data stored in the medium is read and stored in the image data storage unit 2.

前記画像データ記憶部2に記憶された画像データは、前記画像処理部5により所定の画像処理が施され、前記プリントデータ変換部7eにより変換されたプリントデータが前記写真プリンタ6に出力される。前記写真プリンタ6では、入力されたプリントデータに基づいて前記プリントヘッド63が駆動され、前記プリントヘッド63により露光された印画紙Pが現像処理されて写真プリントとして出力される。   The image data stored in the image data storage unit 2 is subjected to predetermined image processing by the image processing unit 5, and the print data converted by the print data conversion unit 7 e is output to the photo printer 6. In the photo printer 6, the print head 63 is driven based on the input print data, and the photographic paper P exposed by the print head 63 is developed and output as a photo print.

詳述すると、前記写真画像処理装置では、前記フィルムスキャナ1aから入力される画像に基づいて写真プリントを生成する場合、先ずプレスキャン動作によりフィルム画像が低解像度で読み込まれて前記モニタ3に表示され、表示されたコマ画像に対してオペレータによる前記操作入力部4を介したプリントサイズやプリント枚数の設定処理とともに、各コマ画像のカラーバランス等の画質が検定される。   More specifically, in the photographic image processing apparatus, when a photographic print is generated based on an image input from the film scanner 1a, a film image is first read at a low resolution by a pre-scan operation and displayed on the monitor 3. The image quality such as the color balance of each frame image is verified with the setting processing of the print size and the number of prints by the operator via the operation input unit 4 for the displayed frame image.

この検定作業は、前記コントローラ7とオペレータによる対話形式で進められ、上述したプリント枚数の設定の他に前記画像処理部5による画像処理条件が決定される一連の作業で、鮮鋭化処理、カラー補正処理、階調補正処理等の一連の画像処理が予め定められた条件で自動的に実行されて前記モニタ3に表示された低解像度の画像に対して、その補正結果が適切であるか否かがオペレータにより評価され、カラーフェリアが発生する等種々の不都合が生じる場合にはマニュアル操作でカラー補正等が行なわれ、その補正条件が内部メモリに記憶される。   This verification operation is carried out in an interactive manner between the controller 7 and the operator, and in addition to the setting of the number of prints described above, a series of operations in which the image processing conditions are determined by the image processing unit 5, sharpening processing, color correction Whether a correction result is appropriate for a low-resolution image displayed on the monitor 3 by automatically executing a series of image processing such as processing and gradation correction processing under predetermined conditions. Is evaluated by the operator, and when various inconveniences such as occurrence of color failure occur, color correction or the like is performed manually, and the correction condition is stored in the internal memory.

上述の検定作業が終了して写真プリントを出力する際に、本スキャン、つまり、前記フィルムスキャナ1aを介した高解像度でのフィルム画像の読込み処理が行なわれ、本スキャンによる画像データに対して、上述した各種の画像処理が実行され、必要な場合には検定作業で設定された補正条件で画像処理が実行され、その後、前記プリントデータ変換部7eで変換処理されたプリントデータが前記写真プリンタ6に出力される。プレスキャン動作は、上述の検定作業時に行なわれる画像処理の処理対象画素数を減らして高速化するために設けられたもので、デジタルスチルカメラによる撮影画像に対しては、読み込まれる画像ファイルに添付されたサムネイル画像に対して検定作業が実行され、サムネイル画像が無いときには、入力された画像を間引き処理して生成されたサムネイル画像に対して検定作業がなされる。   When the above-described verification operation is completed and a photographic print is output, a main scan, that is, a film image reading process at a high resolution via the film scanner 1a is performed. The various image processing described above is executed, and if necessary, the image processing is executed under the correction conditions set in the verification operation. Thereafter, the print data converted by the print data conversion unit 7e is transferred to the photographic printer 6. Is output. The pre-scan operation is provided in order to reduce the number of pixels subject to image processing performed during the above-described verification operation and increase the processing speed. For images taken with a digital still camera, the pre-scan operation is attached to the read image file. The verification operation is performed on the thumbnail image that has been performed, and when there is no thumbnail image, the verification operation is performed on the thumbnail image generated by thinning the input image.

以下、前記フィルムスキャナ1aの本スキャンによる高解像度画像データ、または前記メディアドライバ1bから入力された高解像度画像データに対する画像編集処理を、図4に示すフローチャートについて説明する。前記画像データ入力部1から入力され、前記画像データ記憶部2に格納された画像データは、コマ画像単位の順番にRGB点順次RAW形式またはRGB面順次RAW形式で前記画像処理メモリ7dに展開され(S1)、前記顔領域検出手段5aにより顔領域が検出される(S2)。当該顔領域検出手段5aによる顔領域の検出アルゴリズムとしては、様々な公知のアルゴリズムを用いることが可能で、図5(a)に示すように、原画像データから顔領域を包含する最小面積の矩形領域としてその一対の対角座標P1,P2が出力される。ここで、前記顔領域検出手段5aによる顔領域の検出は、プレスキャンによる低解像度データやサムネイル画像データに対して検定作業時に実行し、得られた対角座標P1,P2に基づいて高解像度データにおける対角座標を演算処理して求めるものであってもよい。   Hereinafter, an image editing process for high-resolution image data by the main scan of the film scanner 1a or high-resolution image data input from the media driver 1b will be described with reference to a flowchart shown in FIG. The image data input from the image data input unit 1 and stored in the image data storage unit 2 is developed in the image processing memory 7d in the RGB dot sequential RAW format or the RGB plane sequential RAW format in the order of the frame image unit. (S1) A face area is detected by the face area detecting means 5a (S2). Various known algorithms can be used as the face area detection algorithm by the face area detecting means 5a. As shown in FIG. 5A, a rectangle having the minimum area including the face area from the original image data. The pair of diagonal coordinates P1, P2 is output as a region. Here, the detection of the face area by the face area detecting means 5a is performed at the time of the verification operation on the low resolution data and the thumbnail image data by the pre-scan, and the high resolution data is obtained based on the obtained diagonal coordinates P1 and P2. It may be obtained by calculating the diagonal coordinates at.

顔領域検出アルゴリズムとしては、例えば、特開平08−63597号公報に開示されるものを用いることができる。つまり、各画素のBGR値から、明度、色相、彩度、色度、(B−R)、(G−R)といった色の特徴量を求め、これらの色の特徴量が予め定めた範囲内に入っていれば、対象画素が肌色であると判定し、肌色と判定された画素から成る画像に対してエッジ抽出を行ない、予め設定されたサイズ、長軸/短軸(la/lb)の比率の異なる複数の楕円あるいは円形の顔テンプレート(顔テンプレートは、楕円ないしは円の輪郭か否かで2値化されている)と、抽出されたエッジ画像のマッチング度を求める。マッチング度が予め定めた閾値以上であるときに顔候補領域であると判定し、その領域を包含する最小面積の矩形領域としてその一対の対角座標P1,P2を出力するように処理するものである。   As the face area detection algorithm, for example, the algorithm disclosed in Japanese Patent Laid-Open No. 08-63597 can be used. That is, color feature values such as brightness, hue, saturation, chromaticity, (BR), and (GR) are obtained from the BGR value of each pixel, and the feature values of these colors are within a predetermined range. If it is, the target pixel is determined to be a skin color, edge extraction is performed on an image composed of pixels determined to be a skin color, and a predetermined size and a long axis / short axis (la / lb) are set. A degree of matching between a plurality of ellipse or circular face templates with different ratios (the face template is binarized depending on whether it is an ellipse or a contour of a circle) and the extracted edge image is obtained. When the matching degree is equal to or greater than a predetermined threshold, the face candidate area is determined to be processed, and the pair of diagonal coordinates P1 and P2 are output as a rectangular area having the minimum area including the area. is there.

また、顔領域の輪郭、目、鼻、口、耳などのパターンに基づいて人の顔領域を検出するニューラルネットワーク等を利用したパターン認識手法を用いて顔領域を検出し、検出された顔領域を包含する最小面積の矩形領域としてその一対の対角座標P1,P2を出力することも可能である。さらには、オペレータがモニタ3に表示された画像から顔領域をマウスで指定入力する方法を採用することも可能である。   In addition, the face area is detected by using a pattern recognition technique using a neural network or the like that detects a human face area based on the contour of the face area, eyes, nose, mouth, ears, etc. It is also possible to output the pair of diagonal coordinates P1 and P2 as a rectangular area having a minimum area including Furthermore, it is possible to adopt a method in which an operator designates and inputs a face area from an image displayed on the monitor 3 with a mouse.

前記鮮鋭化処理手段5bは、前記顔領域検出手段5aによって検出された顔領域の画像データに対してざらつき抑制処理を含む第一の鮮鋭化処理を行なう第一鮮鋭化処理手段5cと、少なくとも前記顔領域以外の領域データに対して前記ざらつき抑制処理を除く第二の鮮鋭化処理を行なう第二鮮鋭化処理手段5dを備えて構成されている。詳述すると、前記第一鮮鋭化処理手段5cは、前記顔領域検出手段5aによって検出された顔領域を切り出して(S3)、図5(b)に示すように、当該顔領域に対してのみラプラシアンフィルタ処理及びラプラシアンフィルタ処理の後に生じた画像のエッジを選択的に平滑化するクリップ処理、つまり処理速度は遅いものの、ざらつきの無い高精細な鮮鋭化処理を実行する(S4)。前記第二鮮鋭化処理手段5dは、図5(c)に示すように、原画像全体をラプラシアンフィルタ処理、つまり処理速度が速い鮮鋭化処理を実行し(S5)、その処理後の画像データに上述のステップS4による処理後の顔領域の画像を貼り付ける(S6)。ここに、ステップS5では、顔領域を含めて原画像全体をラプラシアンフィルタ処理を実行するものを説明したが、検出された顔領域を除いてラプラシアンフィルタ処理を実行するものであってもよい。   The sharpening processing means 5b includes a first sharpening processing means 5c that performs a first sharpening process including a roughening suppression process on the image data of the face area detected by the face area detecting means 5a, and at least the A second sharpening processing means 5d for performing a second sharpening process excluding the roughness suppressing process on area data other than the face area is provided. More specifically, the first sharpening processing means 5c cuts out the face area detected by the face area detecting means 5a (S3), and only the face area as shown in FIG. 5 (b). A Laplacian filter process and a clip process that selectively smoothes the edges of the image generated after the Laplacian filter process, that is, a high-definition sharpening process that has a low processing speed but no roughness are executed (S4). As shown in FIG. 5C, the second sharpening processing means 5d performs Laplacian filter processing on the entire original image, that is, sharpening processing with a high processing speed (S5), and applies the processed image data to the processed image data. The face area image after the processing in step S4 is pasted (S6). In step S5, the Laplacian filter process is performed on the entire original image including the face area. However, the Laplacian filter process may be performed on the detected face area.

このように、顔領域とその他の領域を分離して、顔領域に対してはラプラシアンフィルタ処理によりシャープネスが向上した画像に目立つ粒状のノイズをクリップ処理で低減させて、ざらつきの無い顔画像とし、その他の領域はラプラシアンフィルタ処理により鮮鋭化処理することで、全体として鮮鋭化処理に掛かる時間を短縮しながらも、鑑賞に堪えうる写真画像に編集することができるのである。   In this way, the face area and other areas are separated, and for the face area, the granular noise that is noticeable in the image whose sharpness has been improved by Laplacian filter processing is reduced by clip processing, and a face image without roughness is obtained. By sharpening the other areas by Laplacian filter processing, the entire image can be edited into a photographic image that can be enjoyed while reducing the time required for the sharpening processing as a whole.

上述した第一鮮鋭化処理手段5c及び第二鮮鋭化処理手段5dによるラプラシアンフィルタ処理は、図6(a)から(d)に示すように、原画像データを二次微分して、その値を原画像データから減算する一連の演算処理をRGB成分毎に実行するもので、原画像に無かったアンダーシュート部とオーバーシュート部が生成されるとともにエッジの傾斜が大きくなるため、エッジの濃淡変化が強調され、くっきりと見えるようになるのである。フィルタサイズは、原画像サイズに応じて適宜設定されるもので、例えば3000×2000画素では、図6(e)に示すような3×3のフィルタサイズが好適であり、6000画素×4000画素では5×5のフィルタサイズが好適である。 In the Laplacian filter processing by the first sharpening processing means 5c and the second sharpening processing means 5d described above, as shown in FIGS. 6A to 6D, the original image data is secondarily differentiated, and the value is obtained. A series of arithmetic processes to be subtracted from the original image data is executed for each RGB component. Undershoot and overshoot parts that were not in the original image are generated and the slope of the edge is increased, so that the change in the shade of the edge is changed. It is emphasized and you can see clearly. The filter size is appropriately set according to the original image size. For example, in the case of 3000 × 2000 pixels, a filter size of 3 × 3 as shown in FIG. 6E is suitable, and in the case of 6000 pixels × 4000 pixels. A filter size of 5x5 is preferred.

しかしながら、このような鮮鋭化処理によって、顔の肌領域のような濃淡の差がそれ程顕著でない領域において、銀塩写真フィルムから入力された画像データに含まれる粒状ノイズや、デジタルスチルカメラによる画像データに含まれるショットノイズや電気的ノイズに対してもエッジが強調されるために、これらによりざらつきが生じることとなる。そこで、前記第一鮮鋭化処理手段5cによる鮮鋭化処理では、図7に示すように、上述のラプラシアンフィルタ処理を施した後の画像データと原画像データのRGB成分毎の差分をとり、その値(オーバーシュート部またはアンダーシュート部)が予め設定されている閾値よりも大きなエッジ部分を抽出し、抽出されたエッジ部分が前記閾値に収まるようにクリップ処理を行なうのである。その結果、顔領域のざらつきが解消され、美しい仕上りの写真プリントが得られるのである。ここに、クリップ処理の可否を決定する閾値は試行錯誤等により適宜設定される値である。   However, with such sharpening processing, grain noise included in image data input from a silver halide photographic film or image data from a digital still camera in a region where the difference in shading such as the skin region of the face is not so significant. Since edges are also emphasized against shot noise and electrical noise included in the noise, roughness is caused by these. Therefore, in the sharpening processing by the first sharpening processing means 5c, as shown in FIG. 7, the difference between the RGB data of the image data after the above-described Laplacian filter processing and the original image data is taken, and the value An edge portion where (overshoot portion or undershoot portion) is larger than a preset threshold value is extracted, and clip processing is performed so that the extracted edge portion falls within the threshold value. As a result, the roughness of the face area is eliminated, and a beautifully finished photo print can be obtained. Here, the threshold value for determining whether or not clip processing is possible is a value that is appropriately set by trial and error.

さて、前記鮮鋭化処理手段5bによって鮮鋭化処理された画像データは次に前記カラー補正手段5eによりカラー補正される。カラー補正処理としては、例えば、平均的な戸外の被写体は、ネガ全体の色を混ぜ合わせると灰色に近くなるというエバンスの説に基づいて、色に偏りが見られる場合は、ネガフィルムを透過したRGBの積算光が印画紙上でグレーに再現されるようにRGBの各露光量を調節するための処理で、入力された画像データの平均値を各画素のRGB毎に演算導出し、RGB各平均値がそれぞれグレーに対応する所定の値となるように調整する処理である。上述した検定作業時に個別に補正条件が設定された画像に対しては、その補正条件に基づいて補正処理される。   The image data sharpened by the sharpening means 5b is then color-corrected by the color correction means 5e. As color correction processing, for example, based on Evans's theory that an average outdoor subject becomes close to gray when the color of the entire negative is mixed, it passes through the negative film when there is a bias in color. In the process to adjust each RGB exposure amount so that the RGB integrated light is reproduced in gray on the photographic paper, the average value of the input image data is calculated and derived for each RGB of each pixel, and each RGB average This is a process of adjusting the values so as to become predetermined values corresponding to gray. For an image for which correction conditions are individually set during the above-described verification operation, correction processing is performed based on the correction conditions.

さらに、出力された写真プリントが所定の階調性で再現されるように、前記階調補正手段5fにより、前記印画紙Pの種類及び前記写真プリンタ6の現像処理液の状態に基づいて予めテストプリントで得られた補正テーブルデータに基づいて前記カラー補正された画像データが変換処理され、処理後のデータが前記プリントデータ変換部7eでプリントデータに変換されて出力される。   Further, in order to reproduce the output photographic print with a predetermined gradation, the gradation correction means 5f performs a test in advance based on the type of the photographic paper P and the state of the developing solution of the photographic printer 6. The color-corrected image data is converted based on the correction table data obtained by printing, and the processed data is converted into print data by the print data conversion unit 7e and output.

上述した鮮鋭化処理を実行するためのプログラムは、前記画像処理部5に設けられたROMに格納され、前記画像処理プロセッサにより実行されるもので、入力された原画像データから人物の顔領域を検出する顔領域検出工程と、検出された顔領域データに対してざらつき抑制処理を含む第一の鮮鋭化処理を行なう第一鮮鋭化処理工程と、少なくとも前記顔領域以外の領域データに対して前記ざらつき抑制処理を除く第二の鮮鋭化処理を行なう第二鮮鋭化処理工程とを実行させるための写真画像処理プログラムとして格納されている。そして、前記第一鮮鋭化処理工程は、前記原画像データから前記顔領域データを切り取り、切り取った顔領域データに対して第一の鮮鋭化処理を行なうものであり、前記第二鮮鋭化処理工程は、前記原画像データに対して第二の鮮鋭化処理を行ない、前記第二の鮮鋭化処理を行なった画像データに前記第一鮮鋭化処理工程による処理後の顔領域データを貼り付けるものであり、前記第一の鮮鋭化処理はラプラシアンフィルタ処理と前記ラプラシアンフィルタ処理の後に生じたエッジを選択的に平滑化するクリップ処理で構成され、前記第二の鮮鋭化処理はラプラシアンフィルタ処理で構成されている。   A program for executing the above-described sharpening process is stored in the ROM provided in the image processing unit 5 and executed by the image processor, and the human face area is extracted from the input original image data. A face area detecting step to detect, a first sharpening process step of performing a first sharpening process including a roughness suppressing process on the detected face area data, and at least the area data other than the face area It is stored as a photographic image processing program for executing the second sharpening process step for performing the second sharpening process excluding the roughness suppressing process. The first sharpening process step is a step of cutting the face area data from the original image data and performing a first sharpening process on the cut face area data, and the second sharpening process step. The second sharpening process is performed on the original image data, and the face area data processed by the first sharpening process step is pasted on the image data subjected to the second sharpening process. The first sharpening process includes a Laplacian filter process and a clip process for selectively smoothing edges generated after the Laplacian filter process, and the second sharpening process includes a Laplacian filter process. ing.

以下、別実施形態を説明する。上述の実施形態で説明した顔検出アルゴリズムは一例であり、これらに限定されるものではなく、適宜公知の顔検出アルゴリズムを用いることが可能である。   Hereinafter, another embodiment will be described. The face detection algorithms described in the above-described embodiments are examples, and the present invention is not limited to these, and known face detection algorithms can be used as appropriate.

上述した実施形態では、鮮鋭化処理としてラプラシアンフィルタ処理を用いるものを説明したが、使用されるラプラシアンフィルタのサイズ、係数は適宜設定されるもので、例示のものに限定されるものではない。   In the above-described embodiment, the Laplacian filter process is used as the sharpening process. However, the size and coefficient of the Laplacian filter to be used are set as appropriate, and are not limited to the examples.

上述した画像処理部5の具体的構成は、高速の画像処理プロセッサによりソフトウェア処理するもののみならず、ASIC等を用いてハードウェアで構成することも可能である。また、ソフトウェア処理するものではその処理プログラムがOS管理下で実行されるアプリケーションプログラムとして装置のハードディスクなどにインストールされる形態で実現することができる。   The specific configuration of the image processing unit 5 described above can be configured not only by software processing by a high-speed image processing processor but also by hardware using an ASIC or the like. Further, in the case of software processing, the processing program can be realized in the form of being installed in the hard disk of the apparatus as an application program executed under OS management.

上述した実施形態では、写真画像処理プログラムがフィルムスキャナや写真プリンタを備えた写真画像処理装置にインストールされるものを説明したが、パーソナルコンピュータにインストールされ、画像編集装置として実現されるのもであってもよい。   In the above-described embodiment, the photographic image processing program is installed in a photographic image processing apparatus including a film scanner and a photographic printer. However, the photographic image processing program is installed in a personal computer and realized as an image editing apparatus. May be.

写真画像処理装置の外観説明図External view of photographic image processing device 画像データ処理部の機能ブロック構成図Functional block diagram of the image data processing unit システムコントローラ及び画像処理部の機能ブロック構成図Functional block diagram of system controller and image processing unit 鮮鋭化処理手順を示すフローチャートFlow chart showing sharpening processing procedure 鮮鋭化処理手順を示す説明図で、(a)は原画像から顔領域が検出されたもの、(b)は顔領域に対して第一鮮鋭化処理がなされた画像、(c)は第二鮮鋭化処理がなされた画像、(d)は第二鮮鋭化処理がなされた画像に第一鮮鋭化処理がなされた画像を貼り付けた画像の各説明図It is explanatory drawing which shows the sharpening process procedure, (a) is what the face area was detected from the original image, (b) is the image in which the first sharpening process was performed with respect to the face area, (c) is the second (D) is an explanatory view of an image obtained by pasting an image subjected to the first sharpening process to an image subjected to the second sharpening process. ラプラシアンフィルタ処理の説明図で、(a)は原画像、(b)は一次微分画像、(c)は二次微分画像、(d)は原画像から二次微分値を減算した画像、(e)はラプラシアンフィルタの各説明図FIG. 6 is an explanatory diagram of Laplacian filter processing, where (a) is an original image, (b) is a primary differential image, (c) is a secondary differential image, (d) is an image obtained by subtracting a secondary differential value from the original image, (e ) Each illustration of Laplacian filter クリップ処理の説明図Illustration of clip processing

1:画像データ入力部
1a:フィルムスキャナ
1b:メディアドライバ
2:画像データ記憶部
3:モニタ
4:操作入力部
5:画像処理部
5a:顔領域検出手段
5b:鮮鋭化処理手段
5c:第一鮮鋭化処理手段
5d:第二鮮鋭化処理手段
5e:カラー補正手段
5f:階調補正手段
6:写真プリンタ
7:システムコントローラ
1: Image data input unit 1a: Film scanner 1b: Media driver 2: Image data storage unit 3: Monitor 4: Operation input unit 5: Image processing unit 5a: Face area detection unit 5b: Sharpening processing unit 5c: First sharpening Processing means 5d: second sharpening processing means 5e: color correction means 5f: gradation correction means 6: photo printer 7: system controller

Claims (6)

コンピュータに入力されたカラー原画像データを鮮鋭化処理する写真画像処理方法であって、
所定の特徴量に基づいて人物の顔領域を検出する顔領域検出アルゴリズムを実行する顔領域検出手段により、前記原画像データから人物の顔領域を検出する顔領域検出工程と、
所定の鮮鋭化処理アルゴリズムを実行する第一鮮鋭化処理手段により、前記原画像データのうち前記顔領域検出工程で検出された顔領域データに対して、所定のラプラシアンフィルタ係数に基づいて色成分毎に鮮鋭化処理を実行し、鮮鋭化処理後の画像データと前記原画像データの差分が予め設定された閾値以上となるエッジを色成分毎に抽出し、当該エッジが前記閾値に収まるようにクリップ処理することで粒状ノイズまたはショットノイズを除去する第一鮮鋭化処理工程と、
所定の鮮鋭化処理アルゴリズムを実行する第二鮮鋭化処理手段により、少なくとも前記顔領域以外の領域データに対して前記ラプラシアンフィルタ係数に基づいて色成分毎に鮮鋭化処理を実行する第二鮮鋭化処理工程と、からなる写真画像処理方法。
A photographic image processing method for sharpening color original image data input to a computer ,
A face area detection step of detecting a face area of the person from the original image data by a face area detection means for executing a face area detection algorithm for detecting a face area of the person based on a predetermined feature amount ;
For each color component based on a predetermined Laplacian filter coefficient with respect to the face area data detected in the face area detection step of the original image data by a first sharpening processing means that executes a predetermined sharpening processing algorithm. The sharpening process is executed, and an edge where the difference between the sharpened image data and the original image data is greater than or equal to a preset threshold is extracted for each color component, and clipped so that the edge falls within the threshold A first sharpening process that removes granular noise or shot noise by processing;
A second sharpening process that executes a sharpening process for each color component based on the Laplacian filter coefficient for at least region data other than the face region by a second sharpening processing unit that executes a predetermined sharpening processing algorithm And a photographic image processing method.
前記第一鮮鋭化処理工程は、前記顔領域検出工程で検出された顔領域に基づいて前記原画像データから顔領域データを切り取り、切り取った顔領域データに対して前記先鋭化処理及び前記クリップ処理を実行し、
前記第二鮮鋭化処理工程は、処理後の画像データに前記第一鮮鋭化処理工程による処理後の顔領域データを貼り付ける貼付処理を実行する請求項1記載の写真画像処理方法。
In the first sharpening process step, face area data is cut out from the original image data based on the face area detected in the face area detection step, and the sharpening process and the clip process are performed on the cut face area data. Run
2. The photographic image processing method according to claim 1, wherein the second sharpening processing step executes a pasting process in which the face area data after the processing by the first sharpening processing step is pasted on the processed image data.
入力されたカラー原画像データを鮮鋭化処理する鮮鋭化処理手段を備えた写真画像処理装置であって、
前記原画像データから所定の特徴量に基づいて人物の顔領域を検出する顔領域検出手段と、
前記原画像データのうち前記顔領域検出手段で検出された顔領域データに対して、所定のラプラシアンフィルタ係数に基づいて色成分毎に鮮鋭化処理を実行し、鮮鋭化処理後の画像データと前記原画像データの差分が予め設定された閾値以上となるエッジを色成分毎に抽出し、当該エッジが前記閾値に収まるようにクリップ処理することで粒状ノイズまたはショットノイズを除去する第一鮮鋭化処理と、
少なくとも前記顔領域以外の領域データに対して前記ラプラシアンフィルタ係数に基づいて色成分毎に鮮鋭化処理を実行する第二鮮鋭化処理とからなる写真画像処理装置。
A photographic image processing apparatus comprising a sharpening processing means for sharpening input color original image data,
Face area detection means for detecting a face area of a person based on a predetermined feature amount from the original image data;
A sharpening process is performed for each color component based on a predetermined Laplacian filter coefficient on the face area data detected by the face area detection unit in the original image data, and the image data after the sharpening process and the First sharpening process for extracting granular noise or shot noise by extracting edges for each color component that have a difference between original image data equal to or greater than a preset threshold value and clipping the edges to be within the threshold value When,
A photographic image processing apparatus comprising: a second sharpening process that executes a sharpening process for each color component based on the Laplacian filter coefficient for at least area data other than the face area.
前記第一鮮鋭化処理手段は、前記顔領域検出手段で検出された顔領域に基づいて前記原画像データから顔領域データを切り取り、切り取った顔領域データに対して前記先鋭化処理及び前記クリップ処理を実行し、
前記第二鮮鋭化処理手段は、処理後の画像データに前記第一鮮鋭化処理工程による処理後の顔領域データを貼り付ける貼付処理を実行する請求項3記載の写真画像処理装置。
The first sharpening processing means cuts face area data from the original image data based on the face area detected by the face area detection means, and the sharpening process and the clip process are performed on the cut face area data. Run
4. The photographic image processing apparatus according to claim 3, wherein the second sharpening processing means executes a pasting process for pasting the face area data after the processing by the first sharpening processing step to the processed image data.
コンピュータに、入力されたカラー原画像データから所定の特徴量に基づいて人物の顔領域を検出する顔領域検出工程と、
前記原画像データのうち前記顔領域検出工程で検出された顔領域データに対して、所定のラプラシアンフィルタ係数に基づいて色成分毎に鮮鋭化処理を実行し、鮮鋭化処理後の画像データと前記原画像データの差分が予め設定された閾値以上となるエッジを色成分毎に抽出し、当該エッジが前記閾値に収まるようにクリップ処理することで粒状ノイズまたはショットノイズを除去する第一鮮鋭化処理工程と、
少なくとも前記顔領域以外の領域データに対して前記ラプラシアンフィルタ係数に基づいて色成分毎に鮮鋭化処理を実行する第二鮮鋭化処理工程と、を実行させるための写真画像処理プログラム。
A face area detecting step for detecting a face area of a person based on a predetermined feature amount from color original image data input to a computer;
A sharpening process is performed for each color component based on a predetermined Laplacian filter coefficient on the face area data detected in the face area detection step in the original image data, and the image data after the sharpening process and the A first sharpening process that extracts granular noise or shot noise by extracting edges for each color component where the difference of the original image data is equal to or greater than a preset threshold, and clipping the edges so that they fall within the threshold Process,
At least the face second sharpening process and, photographic image processing program for executing the executing the sharpening process for each color component on the basis of the Laplacian filter coefficient for the region data other than the region.
前記第一鮮鋭化処理工程は、前記顔領域検出工程で検出された顔領域に基づいて前記原画像データから顔領域データを切り取り、切り取った顔領域データに対して前記先鋭化処理及び前記クリップ処理を実行するものであり、
前記第二鮮鋭化処理工程は、処理後の画像データに前記第一鮮鋭化処理工程による処理後の顔領域データを貼り付ける貼付処理を実行するものである請求項5記載の写真画像処理プログラム。
In the first sharpening process step, face area data is cut out from the original image data based on the face area detected in the face area detection step, and the sharpening process and the clip process are performed on the cut face area data. Is to execute
6. The photographic image processing program according to claim 5, wherein the second sharpening process step executes a pasting process for pasting the face area data after the processing by the first sharpening process step to the processed image data .
JP2004184936A 2004-06-23 2004-06-23 Photographic image processing method and apparatus Expired - Fee Related JP4496856B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004184936A JP4496856B2 (en) 2004-06-23 2004-06-23 Photographic image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004184936A JP4496856B2 (en) 2004-06-23 2004-06-23 Photographic image processing method and apparatus

Publications (2)

Publication Number Publication Date
JP2006011619A JP2006011619A (en) 2006-01-12
JP4496856B2 true JP4496856B2 (en) 2010-07-07

Family

ID=35778843

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004184936A Expired - Fee Related JP4496856B2 (en) 2004-06-23 2004-06-23 Photographic image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP4496856B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4528857B2 (en) 2008-12-24 2010-08-25 株式会社東芝 Image processing apparatus and image processing method
JP7445109B2 (en) * 2019-07-30 2024-03-07 富士通株式会社 Image processing program, image processing device, image processing system, and image processing method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07274017A (en) * 1994-04-01 1995-10-20 Ricoh Co Ltd Picture processor
JPH09233423A (en) * 1996-02-27 1997-09-05 Fuji Photo Film Co Ltd Image data converting method for digital printer
JPH1186021A (en) * 1997-09-09 1999-03-30 Fuji Photo Film Co Ltd Image processor
JPH11339035A (en) * 1998-05-21 1999-12-10 Fuji Photo Film Co Ltd Method for deciding image processing parameter and device therefor
JP2000196901A (en) * 1998-12-24 2000-07-14 Dainippon Screen Mfg Co Ltd Method for emphasizing sharpness of picture and recording medium recording program for executing its process
JP2000278532A (en) * 1999-03-26 2000-10-06 Noritsu Koki Co Ltd Image processor, image processing method and recording medium recorded with image processing program
JP2000347278A (en) * 1999-06-04 2000-12-15 Fuji Photo Film Co Ltd Camera and photographing method
JP2002033940A (en) * 2000-07-17 2002-01-31 Sanyo Electric Co Ltd Clipping circuit and image processor using the same
WO2002085037A1 (en) * 2001-04-11 2002-10-24 Koninklijke Philips Electronics N.V. Picture signal contrast control
JP2003163807A (en) * 1993-10-08 2003-06-06 Matsushita Electric Ind Co Ltd Gradation conversion processing apparatus
JP2003281534A (en) * 2002-03-22 2003-10-03 Seiko Epson Corp Image processor and image output device
JP2004120224A (en) * 2002-09-25 2004-04-15 Fuji Photo Film Co Ltd Image correction processing apparatus and program

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003163807A (en) * 1993-10-08 2003-06-06 Matsushita Electric Ind Co Ltd Gradation conversion processing apparatus
JPH07274017A (en) * 1994-04-01 1995-10-20 Ricoh Co Ltd Picture processor
JPH09233423A (en) * 1996-02-27 1997-09-05 Fuji Photo Film Co Ltd Image data converting method for digital printer
JPH1186021A (en) * 1997-09-09 1999-03-30 Fuji Photo Film Co Ltd Image processor
JPH11339035A (en) * 1998-05-21 1999-12-10 Fuji Photo Film Co Ltd Method for deciding image processing parameter and device therefor
JP2000196901A (en) * 1998-12-24 2000-07-14 Dainippon Screen Mfg Co Ltd Method for emphasizing sharpness of picture and recording medium recording program for executing its process
JP2000278532A (en) * 1999-03-26 2000-10-06 Noritsu Koki Co Ltd Image processor, image processing method and recording medium recorded with image processing program
JP2000347278A (en) * 1999-06-04 2000-12-15 Fuji Photo Film Co Ltd Camera and photographing method
JP2002033940A (en) * 2000-07-17 2002-01-31 Sanyo Electric Co Ltd Clipping circuit and image processor using the same
WO2002085037A1 (en) * 2001-04-11 2002-10-24 Koninklijke Philips Electronics N.V. Picture signal contrast control
JP2003281534A (en) * 2002-03-22 2003-10-03 Seiko Epson Corp Image processor and image output device
JP2004120224A (en) * 2002-09-25 2004-04-15 Fuji Photo Film Co Ltd Image correction processing apparatus and program

Also Published As

Publication number Publication date
JP2006011619A (en) 2006-01-12

Similar Documents

Publication Publication Date Title
JP4780374B2 (en) Image processing method and program for suppressing granular noise, and granular suppression processing module for implementing the method
JP2006011685A (en) Photographic image processing method and its device
US7173732B2 (en) Image processing method
JP3726653B2 (en) Image processing method, image processing apparatus, and recording medium on which program for executing image processing method is recorded
JP5157678B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
JP2005141477A (en) Image sharpening process and image processor implementing this process
JP4366634B2 (en) Noise pixel map creation method, apparatus and program for implementing the method, and photo print apparatus
JP5125954B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
JP2007249802A (en) Image processor and image processing method
JP4496856B2 (en) Photographic image processing method and apparatus
JP5157760B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
JP4482307B2 (en) Image processing device
JP2007200069A (en) Photographic image processing method and device thereof
JP2006146646A (en) Method and apparatus for processing photographic image
JP2006011618A (en) Photographic image processing method and its device
JP2005159387A (en) Method of determining density characteristic curve and density correction management apparatus for executing this method
JP4655211B2 (en) Generation method, generation program and generation module of correction characteristics used for contrast correction
JP2007200068A (en) Photographic image processing method and device thereof
JP5157677B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
JP2008079196A (en) Image correcting method, image correcting program and image correcting module
JP2009010853A (en) Image correction method and image correction apparatus
JP2006215677A (en) Photographic image processor
JP2005159388A (en) Contrast adjusting method, and contrast adjusting apparatus for executing this method
JP5062156B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
JP4324870B2 (en) Image processing method, image processing program, and apparatus for implementing the image processing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070606

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091215

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100215

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100323

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100405

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees