[go: up one dir, main page]

JP2006011618A - Photographic image processing method and apparatus - Google Patents

Photographic image processing method and apparatus Download PDF

Info

Publication number
JP2006011618A
JP2006011618A JP2004184935A JP2004184935A JP2006011618A JP 2006011618 A JP2006011618 A JP 2006011618A JP 2004184935 A JP2004184935 A JP 2004184935A JP 2004184935 A JP2004184935 A JP 2004184935A JP 2006011618 A JP2006011618 A JP 2006011618A
Authority
JP
Japan
Prior art keywords
sharpening
area
data
sharpening process
processing
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
JP2004184935A
Other languages
Japanese (ja)
Inventor
Keisuke Izumi
圭介 泉
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 JP2004184935A priority Critical patent/JP2006011618A/en
Publication of JP2006011618A publication Critical patent/JP2006011618A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

【課題】 鑑賞に堪えうる程度に画像のざらつきを抑制しながら鮮鋭化するための画像処理をシンプル且つ高速に行なうことができる写真画像処理装置を提供する。
【解決手段】 原画像データから人物の顔領域を検出する顔領域検出手段と、検出された顔領域を含む第一領域データに対して第一の鮮鋭化処理を行なう第一鮮鋭化処理手段と、少なくとも前記第一領域以外の領域データに対して前記第一の鮮鋭化処理よりも強度の強い第二の鮮鋭化処理を行なう第二鮮鋭化処理手段とからなり、第一鮮鋭化処理手段は、原画像データから顔領域データを切り取り、切り取った顔領域データに対して第一の鮮鋭化処理を行なうものであり、第二鮮鋭化処理手段は、原画像データに対して第二の鮮鋭化処理を行ない、第二の鮮鋭化処理を行なった画像データに第一鮮鋭化処理手段による処理後の顔領域データを貼り付けるものである。
【選択図】 図4
PROBLEM TO BE SOLVED: To provide a photographic image processing apparatus capable of performing image processing for sharpening while suppressing the roughness of an image to the extent that it can be appreciated, at a high speed.
SOLUTION: Face area detecting means for detecting a face area of a person from original image data, and first sharpening processing means for performing a first sharpening process on first area data including the detected face area. The second sharpening processing means for performing a second sharpening processing having a strength higher than that of the first sharpening processing on at least the area data other than the first area, and the first sharpening processing means The face area data is cut out from the original image data, the first sharpening process is performed on the cut face area data, and the second sharpening processing means performs the second sharpening process on the original image data. Processing is performed, and the face area data processed by the first sharpening processing means is pasted on the image data subjected to the second sharpening processing.
[Selection] Figure 4

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 granular noise or the like is noticeable on a flat portion such as a face or a skin portion, resulting in a rough image. Therefore, if the sharpening process is weakened, the feeling of roughness is reduced, but the sharpness of the entire image is reduced, so that a photographic print that can be enjoyed cannot be obtained. 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-mentioned object, a first characteristic configuration of a photographic image processing method according to the present invention is a photograph for sharpening input original image data as described in claim 1 of the claims. An image processing method, comprising: a face area detecting step for detecting a human face area from the original image data; and a first sharpening process for performing a first sharpening process on first area data including the detected face area. And a second sharpening process step of performing a second sharpening process having a higher strength than the first sharpening process on at least region data other than the first region.

上述の構成によれば、顔領域検出工程で原画像データから検出された顔領域とそれ以外の領域に分離され、顔領域とそれ以外の領域とで強度の異なる鮮鋭化処理が実行される。このとき、顔領域に対して実行される第一鮮鋭化処理工程では顔のざらつきが目立たない程度に鮮鋭化され、その他の領域に対して実行される第二鮮鋭化処理工程では第一鮮鋭化処理工程における鮮鋭化処理よりも強度の強い鮮鋭化処理が実行されるので、シャープネスの程度が大きく改善される。従って、高度で複雑な画像処理技術を駆使しなくとも、汎用的な鮮鋭化処理技術を用いて画像全体として十分に鮮鋭化しながらも、顔領域に関してはざらつきのない鑑賞に堪えうる写真プリントのための高速の画像処理方法を得ることができるようになるのである。   According to the above-described configuration, the face area detected from the original image data in the face area detection step is separated into the other area and the sharpening process having different intensities is executed between the face area and the other area. At this time, the first sharpening process performed on the face area is sharpened to such an extent that the roughness of the face is not noticeable, and the second sharpening process performed on the other areas is first sharpened. Since the sharpening process having a higher strength than the sharpening process in the processing step is executed, the degree of sharpness is greatly improved. Therefore, for a photographic print that can withstand rough viewing of the face area while fully sharpening the entire image using general-purpose sharpening technology, without using sophisticated and complex image processing technology. Thus, a high-speed image processing method can be obtained.

同第二の特徴構成は、同請求項2に記載した通り、上述の第一特徴構成に加えて、前記第一鮮鋭化処理工程は、前記原画像データから前記顔領域データを切り取り、切り取った顔領域データに対して第一の鮮鋭化処理を行なうものであり、前記第二鮮鋭化処理工程は、前記原画像データに対して第二の鮮鋭化処理を行ない、前記第二の鮮鋭化処理を行なった画像データに前記第一鮮鋭化処理工程による処理後の顔領域データを貼り付けるものである点にある。   In the second feature configuration, as described in claim 2, in addition to the first feature configuration described above, the first sharpening process step cuts and cuts out the face area data from the original image data. The first sharpening process is performed on the face area data, and the second sharpening process step performs the second sharpening process on the original image data, and the second sharpening process. The face area data after the processing in the first sharpening processing step is pasted on the image data subjected to the above.

上述の構成によれば、第二鮮鋭化処理工程で、原画像に対して領域分離することなく高速に全画像を鮮鋭化処理でき、その処理後の画像に第一の鮮鋭化処理された画像を貼り付けることで効率的に最終画像が得られることとなるのである。   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.

同第三の特徴構成は、同請求項3に記載した通り、上述の第二特徴構成に加えて、前記第二鮮鋭化処理工程は、原画像から前記第一領域を中心として放射状に段階的に広がる複数の領域データを切り取り、各領域データに対して前記第一領域から離間する程強度の強い鮮鋭化処理を行ない、鮮鋭化処理後の各画像データを前記第一領域に対する離間距離の遠いものから順番に貼り付けるものである点にある。   In the third feature configuration, as described in claim 3, in addition to the second feature configuration described above, the second sharpening processing step is stepwise from the original image in a radial manner centering on the first region. A plurality of area data spread out, and sharpening processing is performed so that each area data is separated from the first area, and each image data after the sharpening process is far away from the first area. It is in the point that it sticks in order from the thing.

上述の構成によれば、第一領域から放射状になだらかに鮮鋭度が変化するので、顔領域に強度を大きく弱めた鮮鋭化処理を行なっても、周辺画像との間で鮮鋭感の境界が認識されるような不都合が生じることなく、顔領域から周辺にかけて自然な感じで鮮鋭化処理することができるようになるのである。   According to the above configuration, the sharpness gradually changes radially from the first region, so that even if sharpening processing with greatly reduced intensity is performed on the face region, the sharpness boundary is recognized with the surrounding image. Thus, the sharpening process can be performed with a natural feeling from the face area to the periphery without causing such inconvenience.

同第四の特徴構成は、同請求項4に記載した通り、上述の第一から第三の何れかの特徴構成に加えて、前記第一鮮鋭化処理工程はさらに粒状抑制処理を含むものである点にある。   In the fourth feature configuration, as described in claim 4, in addition to any of the first to third feature configurations described above, the first sharpening treatment step further includes a grain suppression process. It is in.

第一領域における鮮鋭化処理の強度を弱めすぎるとぼけた画像になり、強めすぎるとざらつきが生じる。そこで、有る程度強度の強い鮮鋭化処理を施した後に粒状抑制処理を施すことにより、鮮鋭感を保ちながらざらつきを抑制することができるのであり、高度で複雑な画像処理技術を駆使することなく、品質のよい写真プリントを生成することができるようになるのである。   If the strength of the sharpening process in the first region is too weak, the image becomes blurred, and if it is too strong, roughness occurs. Therefore, it is possible to suppress roughness while maintaining sharpness by applying grain suppression processing after performing strong sharpening processing to some extent, without making full use of advanced and complicated image processing technology, This makes it possible to produce high-quality photo prints.

本発明による写真画像処理装置の第一の特徴構成は、同請求項5に記載した通り、入力された原画像データを鮮鋭化処理する写真画像処理装置であって、前記原画像データから人物の顔領域を検出する顔領域検出手段と、検出された顔領域を含む第一領域データに対して第一の鮮鋭化処理を行なう第一鮮鋭化処理手段と、少なくとも前記第一領域以外の領域データに対して前記第一の鮮鋭化処理よりも強度の強い第二の鮮鋭化処理を行なう第二鮮鋭化処理手段とからなる点にある。   The first characteristic configuration of the photographic image processing apparatus according to the present invention is the photographic image processing apparatus for sharpening the input original image data, as described in claim 5, Face area detecting means for detecting a face area, first sharpening processing means for performing a first sharpening process on the first area data including the detected face area, and at least area data other than the first area On the other hand, the second sharpening process means performs a second sharpening process having a strength higher than that of the first sharpening process.

同第二の特徴構成は、同請求項6に記載した通り、上述の第一特徴構成に加えて、前記第一鮮鋭化処理手段は、前記原画像データから前記顔領域データを切り取り、切り取った顔領域データに対して第一の鮮鋭化処理を行なうものであり、前記第二鮮鋭化処理手段は、前記原画像データに対して第二の鮮鋭化処理を行ない、前記第二の鮮鋭化処理を行なった画像データに前記第一鮮鋭化処理手段による処理後の顔領域データを貼り付けるものである点にある。   In the second feature configuration, in addition to the first feature configuration described above, the first sharpening processing unit cuts out the face area data from the original image data, and cuts out the face area data. The first sharpening process is performed on the face area data, and the second sharpening processing unit performs a second sharpening process on the original image data, and the second sharpening process. The face area data after the processing by the first sharpening processing means is pasted on the image data subjected to the above.

同第三の特徴構成は、同請求項7に記載した通り、上述の第二特徴構成に加えて、前記第二鮮鋭化処理手段は、原画像から前記第一領域を中心として放射状に段階的に広がる複数の領域データを切り取り、各領域データに対して前記第一領域から離間する程強度の強い鮮鋭化処理を行ない、鮮鋭化処理後の各画像データを前記第一領域に対する離間距離の遠いものから順番に貼り付けるものである点にある。   In the third feature configuration, as described in claim 7, in addition to the second feature configuration described above, the second sharpening processing unit is configured such that the second sharpening processing unit is stepped radially from the original image around the first region. A plurality of area data spread out, and sharpening processing is performed so that each area data is separated from the first area, and each image data after the sharpening process is far away from the first area. It is in the point that it sticks in order from the thing.

同第四の特徴構成は、同請求項8に記載した通り、上述の第一から第三の何れかの特徴構成に加えて、前記第一鮮鋭化処理手段はさらに粒状抑制処理手段を含むものである点にある。   In the fourth feature configuration, as described in claim 8, in addition to any of the first to third feature configurations described above, the first sharpening processing means further includes a granularity suppression processing means. In the point.

本発明による写真画像処理プログラムの第一の特徴構成は、同請求項9に記載した通り、コンピュータに、入力された原画像データから人物の顔領域を検出する顔領域検出工程と、検出された顔領域を含む第一領域データに対して第一の鮮鋭化処理を行なう第一鮮鋭化処理工程と、少なくとも前記第一領域以外の領域データに対して前記第一の鮮鋭化処理よりも強度の強い第二の鮮鋭化処理を行なう第二鮮鋭化処理工程とを実行させるための写真画像処理プログラムである点にある。   According to the first characteristic configuration of the photographic image processing program of the present invention, as described in claim 9, a face area detecting step for detecting a face area of a person from input original image data in a computer is detected. A first sharpening process step of performing a first sharpening process on the first area data including the face area, and at least stronger than the first sharpening process on area data other than the first area; This is a photographic image processing program for executing a second sharpening process step for performing a strong second sharpening process.

同第二の特徴構成は、同請求項10に記載した通り、上述の第一特徴構成に加えて、前記第一鮮鋭化処理工程は、前記原画像データから前記顔領域データを切り取り、切り取った顔領域データに対して第一の鮮鋭化処理を行なうものであり、前記第二鮮鋭化処理工程は、前記原画像データに対して第二の鮮鋭化処理を行ない、前記第二の鮮鋭化処理を行なった画像データに前記第一鮮鋭化処理工程による処理後の顔領域データを貼り付けるものである点にある。   In the second feature configuration, as described in claim 10, in addition to the first feature configuration described above, the first sharpening processing step cuts and cuts out the face area data from the original image data. The first sharpening process is performed on the face area data, and the second sharpening process step performs the second sharpening process on the original image data, and the second sharpening process. The face area data after the processing in the first sharpening processing step is pasted on the image data subjected to the above.

同第三の特徴構成は、同請求項11に記載した通り、上述の第二特徴構成に加えて、前記第二鮮鋭化処理工程は、原画像から前記第一領域を中心として放射状に段階的に広がる複数の領域データを切り取り、各領域データに対して前記第一領域から離間する程強度の強い鮮鋭化処理を行ない、鮮鋭化処理後の各画像データを前記第一領域に対する離間距離の遠いものから順番に貼り付けるものである点にある。   In the third feature configuration, as described in claim 11, in addition to the second feature configuration described above, the second sharpening processing step is stepwise from the original image in a radial manner centering on the first region. A plurality of area data spread out, and sharpening processing is performed so that each area data is separated from the first area, and each image data after the sharpening process is far away from the first area. It is in the point that it sticks in order from the thing.

同第四の特徴構成は、同請求項12に記載した通り、上述の第一から第三の何れかの特徴構成に加えて、前記第一鮮鋭化処理工程はさらに粒状抑制処理工程を含むものである点にある。   In the fourth feature configuration, as described in claim 12, in addition to any of the first to third feature configurations described above, the first sharpening treatment step further includes a granularity suppression treatment step. In the point.

以上説明した通り、本発明によれば、鑑賞に堪えうる程度に画像のざらつきを抑制しながら鮮鋭化するための画像処理を高速に行なうことができる写真画像処理方法及びその装置等を提供することができるようになった。   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 for the purpose of reducing the number of processing target pixels of the image processing performed during the above-described verification operation to increase the speed, and the image file to be read for the image captured by the digital still camera The verification operation is performed on the thumbnail image attached to, 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 executed at the time of the verification operation for 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 of the minimum area including Furthermore, it is also possible to adopt a method in which the operator designates and inputs a face area from an image displayed on the monitor 3 with a mouse.

前記鮮鋭化処理手段5bは、前記顔領域検出手段5aによって検出された顔領域を第一領域R0(図5(a)参照)とする画像データに対して第一の鮮鋭化処理を行なう第一鮮鋭化処理手段5cと、少なくとも前記第一領域R0以外の領域データに対して前記第一の鮮鋭化処理よりも強度の強い第二の鮮鋭化処理を行なう第二鮮鋭化処理手段5dを備えて構成されている。   The sharpening processing means 5b performs a first sharpening process on image data in which the face area detected by the face area detection means 5a is the first area R0 (see FIG. 5A). Sharpening processing means 5c and second sharpening processing means 5d for performing a second sharpening process having a strength stronger than that of the first sharpening process on at least region data other than the first region R0. It is configured.

詳述すると、前記第一鮮鋭化処理手段5cは、前記顔領域検出手段5aによって検出された顔領域を切り出して(S3)、図5(b)に示すように、当該顔領域に対してのみ通常使用される平均的な強度のラプラシアンフィルタ処理、つまり、画像の平坦部分におけるざらつきが目立たない程度の強度のラプラシアンフィルタ処理を実行する(S6)。   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). The Laplacian filter process with an average intensity that is normally used, that is, the Laplacian filter process with an intensity that makes the roughness in the flat portion of the image inconspicuous is executed (S6).

前記第二鮮鋭化処理手段5dは、図5(a),(c),(d)に示すように、原画像から前記第一領域R0を中心として放射状にそれよりも広い第二領域R1,R2,R3を切り出して(S4,S5)、各領域データに対して前記第一領域R0から離間する程強度の強い鮮鋭化処理を行ない(S7)、図5(e)に示すように、鮮鋭化処理後の各画像データを前記第一領域R0に対する離間距離の遠いものから順番に貼り付ける(S9)。   As shown in FIGS. 5A, 5C, and 5D, the second sharpening processing unit 5d is configured so that the second region R1, which is radially wider than the first region R0 from the original image, is centered on the first region R0. R2 and R3 are cut out (S4 and S5), and sharpening processing is performed on each area data so that the intensity increases as the distance from the first area R0 increases (S7). As shown in FIG. Each image data after the digitizing process is pasted in order from the one with the longest separation distance to the first region R0 (S9).

前記第二鮮鋭化処理手段5dによる各切出し領域に対する鮮鋭化処理は、前記第一鮮鋭化処理手段5cで使用されるラプラシアンフィルタよりも強度が強く、第一領域R0から離間した領域ほど次第に強度が強くなるラプラシアンフィルタが使用される。   The sharpening processing for each cut-out area by the second sharpening processing means 5d is stronger than the Laplacian filter used in the first sharpening processing means 5c, and the intensity is gradually increased as the area is separated from the first area R0. A strong Laplacian filter is used.

このようにして得られた画像データは、第一領域から放射状に拡大された領域毎になだらかに鮮鋭度が変化するように調整されることで、例えば顔領域に強度を大きく弱めた鮮鋭化処理を行なっても、周辺画像との間で鮮鋭感の境界が認識されるような不都合が生じることなく、顔領域から周辺にかけて自然な感じで鮮鋭化処理することができるようになるのである。   The image data obtained in this way is adjusted so that the sharpness changes gently for each area radially expanded from the first area, for example, a sharpening process that greatly reduces the intensity in the face area Even if the image processing is performed, the sharpening process can be performed with a natural feeling from the face region to the periphery without causing a disadvantage that the boundary of the sharpness is recognized with the peripheral image.

上述したラプラシアンフィルタ処理は、図6(a)から(d)に示すように、原画像データを二次微分して、その値を原画像データから減算する一連の演算処理をRGB成分毎に実行するもので、原画像に無かったアンダーシュート部とオーバーシュート部が生成されるとともにエッジの傾斜が大きくなるため、エッジの濃淡変化が強調され、くっきりと見えるようになるのである。フィルタサイズは、原画像サイズに応じて適宜設定されるもので、例えば3000×2000画素では、3×3のフィルタサイズが好適であり、6000画素×4000画素では5×5のフィルタサイズが好適である。   In the Laplacian filter processing described above, as shown in FIGS. 6A to 6D, a series of arithmetic processing is performed for each RGB component that secondarily differentiates the original image data and subtracts the value from the original image data. As a result, an undershoot and an overshoot that were not present in the original image are generated, and the inclination of the edge is increased, so that the change in the shade of the edge is emphasized and the image can be clearly seen. The filter size is appropriately set according to the original image size. For example, a filter size of 3 × 3 is preferable for 3000 × 2000 pixels, and a filter size of 5 × 5 is preferable for 6000 pixels × 4000 pixels. is there.

しかしながら、このような鮮鋭化処理によって、顔の肌領域のような濃淡の差がそれ程顕著でない領域において、銀塩写真フィルムから入力された画像データに含まれる粒状ノイズや、デジタルスチルカメラによる画像データに含まれるショットノイズや電気的ノイズに対してもエッジが強調されるために、これらによりざらつきが生じることとなる。そこで、前記第一鮮鋭化処理手段5cによる鮮鋭化処理では、図6(e)左に示すようなラプラシアンフィルタに例えば移動平均フィルタ等の平滑化フィルタの重み係数を掛けて得られる図6(e)右に示すようなフィルタを使用することにより鮮鋭度を抑制することができる。このようなラプラシアンフィルタによる鮮鋭化強度は、上述したようにフィルタの各要素に重み係数を掛けることにより調整することができ、中心画素の係数を大に設定し、或いは、フィルタサイズを大に設定することによって強度を強くすることができ、それらを組み合わせて調整することも可能である。つまり、第二鮮鋭化処理で使用されるラプラシアンフィルタは、このような手法により第一鮮鋭化処理で使用されるラプラシアンフィルタよりも強度が強く設定されたものが使用されるのである。   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, a Laplacian filter as shown on the left of FIG. 6E is multiplied by a weighting factor of a smoothing filter such as a moving average filter, for example (FIG. 6E). ) Sharpness can be suppressed by using a filter as shown on the right. The sharpening intensity by such a Laplacian filter can be adjusted by multiplying each element of the filter by a weighting coefficient as described above, and the coefficient of the center pixel is set to a large value or the filter size is set to a large value. By doing so, the strength can be increased, and it is also possible to adjust them in combination. In other words, the Laplacian filter used in the second sharpening process has a strength set higher than that of the Laplacian filter used in the first sharpening process.

さて、前記鮮鋭化処理手段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 on the first area data including the detected face area, and at least area data other than the first area A second sharpening process step for performing a second sharpening process that is stronger than the first sharpening process, wherein the first sharpening process step is performed from the original image data. The face area data is cut out, and a first sharpening process is performed on the cut face area data, and the second sharpening process step includes a second sharpening process on the original image data. Performing the second sharpening process on the face area data after the first sharpening process step, and the second sharpening process step from the original image Cut out a plurality of area data that spreads in a stepwise manner centering on the first area, and performs a sharpening process that is strong enough to separate each area data from the first area, and each image after the sharpening process The data is pasted in order from the longest distance from the first area. Furthermore, it is preferable that the first sharpening treatment step includes a granularity suppression processing step in which the granularity suppression processing described above is performed after the first sharpening processing.

以下、別実施形態を説明する。上述の実施形態で説明した顔検出アルゴリズムは一例であり、これらに限定されるものではなく、適宜公知の顔検出アルゴリズムを用いることが可能である。   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.

上述した第一鮮鋭化処理手段では、第一領域つまり顔領域にラプラシアンフィルタ処理を施すものを説明したが、さらに粒状抑制処理手段を備え、ラプラシアンフィルタ処理を施した後に粒状抑制処理を施すものであってもよい。粒状抑制処理とは、銀塩フィルムからの入力画像データに含まれる粒状ノイズや、デジタルスチルカメラによる撮影画像に現われるショットノイズや電気的ノイズ等のノイズを抑制する平滑化フィルタ処理で、特に、大きな濃度変化を保存しながら微小な変動のみ選択的に平滑化するメディアンフィルタや可変加重平均フィルタをRGBの色毎に施すことにより実現できる。   In the first sharpening processing unit described above, the Laplacian filter processing is performed on the first region, that is, the face region. However, the first sharpening processing unit further includes the grain suppression processing unit, and performs the grain suppression processing after performing the Laplacian filter processing. There may be. Grain suppression processing is smoothing filter processing that suppresses noise such as granular noise included in input image data from silver halide film and shot noise and electrical noise that appear in images captured by digital still cameras. This can be realized by applying a median filter or a variable weighted average filter for each RGB color that selectively smoothes only minute fluctuations while preserving density changes.

上述の実施形態では、第二鮮鋭化処理手段が、原画像から前記第一領域を中心として放射状に段階的に広がる複数の領域データを切り取り、各領域データに対して前記第一領域から離間する程強度の強い鮮鋭化処理を行ない、鮮鋭化処理後の各画像データを前記第一領域に対する離間距離の遠いものから順番に貼り付けるものとして説明したが、少なくとも前記第一領域以外の領域データに対して前記第一の鮮鋭化処理よりも強度の強い第二の鮮鋭化処理を行なうものであればよく、前記第一領域を中心として放射状に段階的に広がる複数の領域データを切り取るものではなく、前記第一領域以外の領域に前記第一の鮮鋭化処理よりも強度の強い第二の鮮鋭化処理を一律に行なうものであってもよい。また、前記第一領域を中心として放射状に段階的に広がる複数の領域データを切り取る場合に、その切取り領域のサイズ、それら切取り領域に施すラプラシアンフィルタの強度は本発明の範囲で適宜設定可能である。   In the above-described embodiment, the second sharpening processing unit cuts out a plurality of area data that spreads stepwise from the original image around the first area, and separates each area data from the first area. It has been explained that sharpening processing with a strong intensity is performed, and each image data after the sharpening processing is pasted in order from a distance that is far from the first area, but at least in the area data other than the first area On the other hand, what is necessary is just to perform a second sharpening process that is stronger than the first sharpening process, and does not cut out a plurality of area data that spreads in a stepwise manner centering on the first area. The second sharpening process having a higher strength than the first sharpening process may be uniformly performed on the area other than the first area. In addition, when a plurality of region data that radially expands stepwise from the first region, the size of the cut region and the strength of the Laplacian filter applied to the cut region can be set as appropriate within the scope of the present invention. .

上述した画像処理部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 having a film scanner or a photographic printer. However, the photographic image processing program is installed in a personal computer and realized as an image editing apparatus. Also good.

写真画像処理装置の外観説明図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)は第三領域に対して第二鮮鋭化処理がなされた画像、(e)は第二鮮鋭化処理がなされた複数の画像及び第一鮮鋭化処理がなされた画像を順次貼り付けた画像の各説明図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 image that has been subjected to the second sharpening process on the third area, (e) is a plurality of images that have been subjected to the second sharpening process, and Each explanatory drawing of the image which stuck the image which was made the 1st sharpening process one by one ラプラシアンフィルタ処理の説明図で、(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

符号の説明Explanation of symbols

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 (12)

入力された原画像データを鮮鋭化処理する写真画像処理方法であって、
前記原画像データから人物の顔領域を検出する顔領域検出工程と、検出された顔領域を含む第一領域データに対して第一の鮮鋭化処理を行なう第一鮮鋭化処理工程と、少なくとも前記第一領域以外の領域データに対して前記第一の鮮鋭化処理よりも強度の強い第二の鮮鋭化処理を行なう第二鮮鋭化処理工程とからなる写真画像処理方法。
A photographic image processing method for sharpening input raw image data,
A face area detecting step of detecting a human face area from the original image data; a first sharpening process step of performing a first sharpening process on the first area data including the detected face area; A photographic image processing method comprising: a second sharpening process step for performing a second sharpening process having higher strength than the first sharpening process on area data other than the first area.
前記第一鮮鋭化処理工程は、前記原画像データから前記顔領域データを切り取り、切り取った顔領域データに対して第一の鮮鋭化処理を行なうものであり、前記第二鮮鋭化処理工程は、前記原画像データに対して第二の鮮鋭化処理を行ない、前記第二の鮮鋭化処理を行なった画像データに前記第一鮮鋭化処理工程による処理後の顔領域データを貼り付けるものである請求項1記載の写真画像処理方法。   The first sharpening process step is to cut the face area data from the original image data, and to perform a first sharpening process on the cut face area data, the second sharpening process step, A second sharpening process is performed on the original image data, and the face area data processed by the first sharpening process is pasted on the image data subjected to the second sharpening process. Item 2. A photographic image processing method according to Item 1. 前記第二鮮鋭化処理工程は、原画像から前記第一領域を中心として放射状に段階的に広がる複数の領域データを切り取り、各領域データに対して前記第一領域から離間する程強度の強い鮮鋭化処理を行ない、鮮鋭化処理後の各画像データを前記第一領域に対する離間距離の遠いものから順番に貼り付けるものである請求項2記載の写真画像処理方法。   The second sharpening processing step cuts out a plurality of area data that radially spread from the original image in a stepwise manner centering on the first area, and the sharpness that is stronger as the area data is separated from the first area. The photographic image processing method according to claim 2, wherein the image processing is performed, and the image data after the sharpening processing are pasted in order from the one having a long separation distance with respect to the first region. 前記第一鮮鋭化処理工程はさらに粒状抑制処理を含むものである請求項1から3の何れかに記載の写真画像処理方法。   The photographic image processing method according to claim 1, wherein the first sharpening processing step further includes a graininess suppression processing. 入力された原画像データを鮮鋭化処理する写真画像処理装置であって、
前記原画像データから人物の顔領域を検出する顔領域検出手段と、検出された顔領域を含む第一領域データに対して第一の鮮鋭化処理を行なう第一鮮鋭化処理手段と、少なくとも前記第一領域以外の領域データに対して前記第一の鮮鋭化処理よりも強度の強い第二の鮮鋭化処理を行なう第二鮮鋭化処理手段とからなる写真画像処理装置。
A photographic image processing apparatus for sharpening input original image data,
Face area detecting means for detecting a face area of a person from the original image data, first sharpening processing means for performing a first sharpening process on the first area data including the detected face area, and at least the above-mentioned A photographic image processing apparatus comprising: a second sharpening processing unit that performs a second sharpening process having higher strength than the first sharpening process on area data other than the first area.
前記第一鮮鋭化処理手段は、前記原画像データから前記顔領域データを切り取り、切り取った顔領域データに対して第一の鮮鋭化処理を行なうものであり、前記第二鮮鋭化処理手段は、前記原画像データに対して第二の鮮鋭化処理を行ない、前記第二の鮮鋭化処理を行なった画像データに前記第一鮮鋭化処理手段による処理後の顔領域データを貼り付けるものである請求項5記載の写真画像処理装置。   The first sharpening processing means cuts out the face area data from the original image data, and performs a first sharpening process on the cut face area data, and the second sharpening processing means, A second sharpening process is performed on the original image data, and the face area data processed by the first sharpening processing means is pasted on the image data subjected to the second sharpening process. Item 6. The photographic image processing apparatus according to Item 5. 前記第二鮮鋭化処理手段は、原画像から前記第一領域を中心として放射状に段階的に広がる複数の領域データを切り取り、各領域データに対して前記第一領域から離間する程強度の強い鮮鋭化処理を行ない、鮮鋭化処理後の各画像データを前記第一領域に対する離間距離の遠いものから順番に貼り付けるものである請求項6記載の写真画像処理装置。   The second sharpening processing means cuts out a plurality of area data that radially expand from the original image in a stepwise manner centering on the first area, and sharpens that are strong enough to be separated from the first area for each area data. The photographic image processing apparatus according to claim 6, wherein the image processing is performed, and the image data after the sharpening is pasted in order from a distance farther from the first region. 前記第一鮮鋭化処理手段はさらに粒状抑制処理手段を含むものである請求項5から7の何れかに記載の写真画像処理装置。   The photographic image processing apparatus according to claim 5, wherein the first sharpening processing unit further includes a graininess suppression processing unit. コンピュータに、入力された原画像データから人物の顔領域を検出する顔領域検出工程と、検出された顔領域を含む第一領域データに対して第一の鮮鋭化処理を行なう第一鮮鋭化処理工程と、少なくとも前記第一領域以外の領域データに対して前記第一の鮮鋭化処理よりも強度の強い第二の鮮鋭化処理を行なう第二鮮鋭化処理工程とを実行させるための写真画像処理プログラム。   A face area detecting step for detecting a human face area from original image data input to a computer, and a first sharpening process for performing a first sharpening process on the first area data including the detected face area Photographic image processing for executing a process and a second sharpening process step of performing a second sharpening process having a strength stronger than that of the first sharpening process on at least area data other than the first area program. 前記第一鮮鋭化処理工程は、前記原画像データから前記顔領域データを切り取り、切り取った顔領域データに対して第一の鮮鋭化処理を行なうものであり、前記第二鮮鋭化処理工程は、前記原画像データに対して第二の鮮鋭化処理を行ない、前記第二の鮮鋭化処理を行なった画像データに前記第一鮮鋭化処理工程による処理後の顔領域データを貼り付けるものである請求項9記載の写真画像処理プログラム。   The first sharpening process step is to cut the face area data from the original image data, and to perform a first sharpening process on the cut face area data, the second sharpening process step, A second sharpening process is performed on the original image data, and the face area data processed by the first sharpening process is pasted on the image data subjected to the second sharpening process. Item 10. A photographic image processing program according to Item 9. 前記第二鮮鋭化処理工程は、原画像から前記第一領域を中心として放射状に段階的に広がる複数の領域データを切り取り、各領域データに対して前記第一領域から離間する程強度の強い鮮鋭化処理を行ない、鮮鋭化処理後の各画像データを前記第一領域に対する離間距離の遠いものから順番に貼り付けるものである請求項10記載の写真画像処理プログラム。   The second sharpening processing step cuts out a plurality of area data that radially spread from the original image in a stepwise manner centering on the first area, and the sharpness that is stronger as the area data is separated from the first area. The photographic image processing program according to claim 10, wherein the image processing is performed and the image data after the sharpening processing is pasted in order from the one having a long separation distance with respect to the first region. 前記第一鮮鋭化処理工程はさらに粒状抑制処理工程を含むものである請求項9から11の何れかに記載の写真画像処理プログラム。   The photographic image processing program according to any one of claims 9 to 11, wherein the first sharpening processing step further includes a graininess suppression processing step.
JP2004184935A 2004-06-23 2004-06-23 Photographic image processing method and apparatus Pending JP2006011618A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

Publication Number Publication Date
JP2006011618A true JP2006011618A (en) 2006-01-12

Family

ID=35778842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004184935A Pending JP2006011618A (en) 2004-06-23 2004-06-23 Photographic image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP2006011618A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010039946A (en) * 2008-08-07 2010-02-18 Ricoh Co Ltd Image processor, imaging device, image processing method and program
JP4930638B2 (en) * 2008-05-30 2012-05-16 富士通株式会社 Image correction apparatus and image correction method

Citations (13)

* 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 Image processing device
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
JP2000287219A (en) * 1999-03-29 2000-10-13 Seiko Epson Corp Image processing method, image processing apparatus, and recording medium storing image processing program
JP2000347278A (en) * 1999-06-04 2000-12-15 Fuji Photo Film Co Ltd Camera and photographing method
JP2001057630A (en) * 1999-08-18 2001-02-27 Fuji Photo Film Co Ltd Image processing unit and image processing method
JP2001177728A (en) * 1999-12-17 2001-06-29 Fuji Photo Film Co Ltd Edge detection method and image processing method
JP2003259290A (en) * 2002-03-01 2003-09-12 Konica Corp Picture processing method and picture processor
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
JP2004173328A (en) * 2004-03-15 2004-06-17 Sony Corp Image processing device

Patent Citations (13)

* 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 Image processing device
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
JP2000287219A (en) * 1999-03-29 2000-10-13 Seiko Epson Corp Image processing method, image processing apparatus, and recording medium storing image processing program
JP2000347278A (en) * 1999-06-04 2000-12-15 Fuji Photo Film Co Ltd Camera and photographing method
JP2001057630A (en) * 1999-08-18 2001-02-27 Fuji Photo Film Co Ltd Image processing unit and image processing method
JP2001177728A (en) * 1999-12-17 2001-06-29 Fuji Photo Film Co Ltd Edge detection method and image processing method
JP2003259290A (en) * 2002-03-01 2003-09-12 Konica Corp Picture processing method and picture processor
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
JP2004173328A (en) * 2004-03-15 2004-06-17 Sony Corp Image processing device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4930638B2 (en) * 2008-05-30 2012-05-16 富士通株式会社 Image correction apparatus and image correction method
US8655095B2 (en) 2008-05-30 2014-02-18 Fujitsu Limited Image correction apparatus and image correction method
JP2010039946A (en) * 2008-08-07 2010-02-18 Ricoh Co Ltd Image processor, imaging device, image processing method and program

Similar Documents

Publication Publication Date Title
JP2006011685A (en) Photographic image processing method and apparatus
JP4780374B2 (en) Image processing method and program for suppressing granular noise, and granular suppression processing module for implementing the method
JP4368513B2 (en) Image processing method and apparatus, and recording medium
JP2005141477A (en) Image sharpening processing method and image processing apparatus for implementing the method
JP5157678B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
JP4496465B2 (en) Red-eye correction method, program, and apparatus for implementing the method
JP2010068361A (en) Photographic image processing method, photographic image processing program, and photographic image processor
JP4366634B2 (en) Noise pixel map creation method, apparatus and program for implementing the method, and photo print apparatus
JP4482307B2 (en) Image processing device
JP5157760B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
JP4496856B2 (en) Photographic image processing method and apparatus
JP2010087769A (en) Method, program and apparatus for processing photographic image
JP4655210B2 (en) Density correction curve generation method and density correction curve generation module
JP2006146646A (en) Photographic image processing method and apparatus
JP2006011618A (en) Photographic image processing method and apparatus
JP2005159387A (en) Method for determining density characteristic curve and density correction management apparatus for implementing this method
JP2007200069A (en) Photographic image processing method and apparatus
JP2007249802A (en) Image processor and image processing method
JP4507078B2 (en) Automatic face image correction method and apparatus
JP5157677B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
JP2007200068A (en) Photographic image processing method and apparatus
JP2006059162A (en) Tooth image correction method and apparatus
JP4635884B2 (en) Image processing apparatus and method
JP5062156B2 (en) Photo image processing method, photo image processing program, and photo image processing apparatus
JP2006215677A (en) Photo image processing device

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

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100323

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100622

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110111