JP2006053859A - Image processor, method and program - Google Patents

Image processor, method and program Download PDF

Info

Publication number
JP2006053859A
JP2006053859A JP2004236533A JP2004236533A JP2006053859A JP 2006053859 A JP2006053859 A JP 2006053859A JP 2004236533 A JP2004236533 A JP 2004236533A JP 2004236533 A JP2004236533 A JP 2004236533A JP 2006053859 A JP2006053859 A JP 2006053859A
Authority
JP
Japan
Prior art keywords
image
wrinkle
confirmation
processed
value
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.)
Withdrawn
Application number
JP2004236533A
Other languages
Japanese (ja)
Inventor
Tatsuya Aoyama
達也 青山
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film 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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP2004236533A priority Critical patent/JP2006053859A/en
Publication of JP2006053859A publication Critical patent/JP2006053859A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently confirm the effect of beauty skin treatment for removing a wrinkle component performed to a photographic image. <P>SOLUTION: A processed image D1 of removing the wrinkle component is generated by extracting the wrinkle component from an image D0. A wrinkle quantity detecting means 13 detects a wrinkle component quantity on respective areas of dividing the image D0 into 9 areas, and an area determining means 15 determines the largest area of the wrinkle component quantity as a confirming area. An image extracting means 17 extracts a postprocessing confirming image Db and a processed confirming image Da corresponding to the confirming area from the respective image D0 and processed image D1, and a display control means 21 displays a synthetic image G0 of these images on a monitor 19. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、顔を含む写真画像に対して、美肌処理、具体的には、顔に含まれるノイズ、肌上のシワ、シミ等のシワ成分を抑制、除去する処理を行う画像処理方法および装置並びに画像処理方法をコンピュータに実行させるためのプログラムに関するものである。   The present invention relates to an image processing method and apparatus for performing beautiful skin processing on a photographic image including a face, specifically, processing for suppressing and removing wrinkle components such as noise, wrinkles on the skin, and wrinkles contained in the face. The present invention also relates to a program for causing a computer to execute an image processing method.

人物の顔を含む写真画像(以下略して単に画像という)からシワやシミ等を抑制、除去する美肌処理が従来行われている。例えば、ノイズ除去に通常用いられるローパスフィルタ(LPF)を適用することにより美肌処理を行うことができる。しかし、LPFは、画像からシワ、シミおよびシワ成分を抑制することができる一方、画像信号中のエッジ部分を劣化させてしまい、画像全体をぼかしてしまうという欠点がある。   2. Description of the Related Art Conventionally, skin beautification processing for suppressing and removing wrinkles and spots from photographic images including human faces (hereinafter simply referred to as images) has been performed. For example, skin beautification can be performed by applying a low pass filter (LPF) that is usually used for noise removal. However, LPF can suppress wrinkles, wrinkles, and wrinkle components from an image, but has a drawback of degrading an edge portion in an image signal and blurring the entire image.

また、シワや、シミ等の成分の多くが、画像の高周波数成分に小振幅の信号として存在することを利用して、画像中の小振幅の高周波シワ成分を分離し抑制するために考案されたε−フィルタ(ε−分離非線形デジタルフィルタ)をシワ、シミ等の除去に適用することも行われている(非特許文献1)。ε−フィルタは、画像信号中の小振幅のレベル変化のみを平坦化する特性を有しているため、ε―フィルタを用いて美肌処理した画像は、急峻なレベル変化を有するエッジが保存され、全体のキレが殆ど損なわれない。   Also, it was devised to separate and suppress high-frequency wrinkle components of small amplitude in the image by utilizing the fact that many components such as wrinkles and spots exist as small-amplitude signals in the high-frequency components of the image. In addition, an ε-filter (ε-separated nonlinear digital filter) is also applied to remove wrinkles and spots (Non-Patent Document 1). Since the ε-filter has a characteristic of flattening only a small amplitude level change in an image signal, an image having a beautifying skin using the ε-filter stores an edge having a steep level change, The overall sharpness is hardly impaired.

ε−フィルタは、基本的に、振幅のレベルの変化量に対して非線形関数を適用して得た値を元の画像信号から減算するように作用するものである。この非線形関数は、信号の振幅が所定の閾値より大きいとき、出力を0とする関数である。すなわち、ε−フィルタを適用した場合、画像中の、振幅が閾値より大きい部位では、非線形関数の出力が0であり、美肌処理後の画像においては、その部位の元の信号が保持される一方、振幅が閾値以下の部位では、美肌処理後の画像においては、その部位の信号値が元の信号値から非線形関数の出力(その絶対値が0より大きい)を引いた値になる。こうすることによって、いわゆるノイズではないが、小振幅の明暗変化を呈するシワや、シミ等の部位において、明暗変化が平滑化され、シワ、シミ等を目立たなくさせることができるとともに、振幅の大きいエッジ部分を保持することができる。   The ε-filter basically serves to subtract a value obtained by applying a nonlinear function to the amount of change in amplitude level from the original image signal. This nonlinear function is a function that sets the output to 0 when the amplitude of the signal is larger than a predetermined threshold. That is, when the ε-filter is applied, the output of the non-linear function is 0 in the part where the amplitude is larger than the threshold value in the image, and the original signal of the part is retained in the image after the skin beautification process. In the region where the amplitude is equal to or less than the threshold value, in the image after the skin beautification process, the signal value of the region is a value obtained by subtracting the output of the nonlinear function (the absolute value is greater than 0) from the original signal value. By doing this, although it is not so-called noise, the change in brightness is smoothed in wrinkles or spots such as wrinkles or spots with small amplitude, and the wrinkles and spots can be made inconspicuous and the amplitude is large. The edge portion can be held.

また、特許文献1には、シワ、シミを除去しつつ、肌の肌理、質感を保持するために、閾値ε0の値が大きい非線形関数を適用してシワ等の成分を抽出し、閾値ε0の値が小さい非線形関数を適用して肌の肌理、質感を表す成分を抽出し、さらに、元の信号からシワ等の成分を減ずるとともに、肌の肌理、質感を表す成分を加算することによって、シワ、シミ等を除去しつつ、肌の肌理、質感を保持する方法が提案されている。   Further, in Patent Document 1, in order to maintain the texture and texture of the skin while removing wrinkles and spots, a nonlinear function having a large threshold value ε0 is applied to extract components such as wrinkles. Applying a nonlinear function with a small value to extract the skin texture and texture components, subtracting components such as wrinkles from the original signal, and adding the skin texture and texture components to the wrinkles. A method of retaining the texture and texture of the skin while removing spots and the like has been proposed.

このような、画像に対して施した美肌処理の効果を確認するためには、処理後の画像をモニタ等の表示画面に表示させて操作者に確認させることが行われている。しかし、例えば、携帯カメラの場合、解像度が小さい付属のモニタに処理済みの画像を表示させるために、処理済みの画像を縮小しなければならないが、縮小した画像を付属のモニタで確認しても美肌処理の効果を確認することができない。このため、市販のデジタルカメラのうち、撮像して得た画像に対して、操作者に表示領域を指定させ、指定された領域を等倍でまたは拡大して付属のモニタに表示させることによって画像のボケ状況を確認し易くするものがあり、このようなデジタルカメラを用いれば、保存された処理済み画像を記憶手段から読み出して、操作者が指定した領域を等倍または拡大して表示することによって美肌処理の効果を確認することができる。   In order to confirm the effect of the skin beautification process performed on the image as described above, the processed image is displayed on a display screen such as a monitor to be confirmed by the operator. However, for example, in the case of a portable camera, in order to display a processed image on an attached monitor with a small resolution, the processed image must be reduced, but even if the reduced image is confirmed on the attached monitor, The effect of skin treatment cannot be confirmed. Therefore, among commercially available digital cameras, the operator can designate a display area for an image obtained by imaging, and the designated area can be displayed on the attached monitor at the same magnification or enlarged. If such a digital camera is used, the stored processed image can be read from the storage means, and the area specified by the operator can be displayed at the same magnification or enlarged. By this, the effect of the skin beautification can be confirmed.

また、特許文献2記載のように、画像の中央領域等予め決められ位置の画像を抽出して等倍表示したり、画像を複数の領域に分けて順次等倍表示したりする方法も提案されている。
特開2001−118064号公報 特開2003−283888号公報 荒川ほか、「ベクトルε−フィルタによるカラー顔画像処理−皺成分の除去」1998年3月電子情報通信学会総合大会予稿集、D−11−43、PP143−
In addition, as described in Patent Document 2, a method of extracting an image at a predetermined position such as a central region of an image and displaying it at the same magnification, or dividing the image into a plurality of regions and sequentially displaying the same magnification is proposed. ing.
Japanese Patent Laid-Open No. 2001-118084 JP 2003-283888 A Arakawa et al., "Color face image processing with vector ε-filter-Removal of flaw components" March 1998 Proceedings of the IEICE General Conference, D-11-43, PP143-

しかしながら、操作者に表示領域を指定させる方法は、操作者が確認しようとする領域を指定する必要があり、その操作が面倒である。また、特許文献2記載の方法のような、予め決められた位置の画像を抽出して表示する方法では、予め決められた位置の画像が処理の効果を確認するのに適した領域ではない場合において適切な判断を行うことができない結果になってしまうという問題がある。   However, the method for causing the operator to specify the display area requires the operator to specify the area to be confirmed, and the operation is troublesome. Further, in a method of extracting and displaying an image at a predetermined position, such as the method described in Patent Document 2, the image at a predetermined position is not a region suitable for confirming the processing effect. In this case, there is a problem that an appropriate judgment cannot be made.

本発明は、上記事情に鑑み、写真画像に対して行った、顔に含まれるノイズ、シワ、シミ等のシワ成分を除去する美肌処理の効果を効率良く確認できるようにすることを目的とする。   SUMMARY OF THE INVENTION In view of the above circumstances, an object of the present invention is to make it possible to efficiently confirm the effect of skin beautification processing for removing wrinkle components such as noise, wrinkles, and stains contained in a face performed on a photographic image. .

本発明の画像処理装置は、顔を含む写真画像において、シワ成分が集中する領域をシワ確認領域として決定するシワ確認領域決定手段と、
前記写真画像に対して前記シワ成分を除去する美肌処理を施して該美肌処理が施された処理済み画像を得る美肌処理手段と、
前記処理済み画像における、前記シワ確認領域に対応する領域の画像を処理済み確認画像として取得する確認画像取得手段と、
抽出された前記処理済み確認画像を、表示装置の解像度に合致したサイズで表示させる表示制御手段とを備えたことを特徴とするものである。
The image processing apparatus of the present invention includes a wrinkle confirmation region determination unit that determines a region where wrinkle components are concentrated as a wrinkle confirmation region in a photographic image including a face,
Skin-beautifying means for obtaining a processed image that has been subjected to skin-beautifying treatment by removing the wrinkle component from the photographic image;
Confirmation image acquisition means for acquiring an image of a region corresponding to the wrinkle confirmation region in the processed image as a processed confirmation image;
It is characterized by comprising display control means for displaying the extracted processed confirmation image with a size matching the resolution of the display device.

ここで、「写真画像」とは、デジタルカメラ等で被写体を撮像した得たデジタル画像は勿論、スキャナ等の読取装置で銀塩写真フィルムや、印刷物(例えばプリント)等にある画像を読み取って得たデジタル画像も含むものである。以下、説明上の便宜のため、単に画像というものも、写真画像を意味するものとする。   Here, the “photo image” is obtained by reading an image on a silver halide photographic film or printed matter (for example, a print) with a reading device such as a scanner as well as a digital image obtained by imaging a subject with a digital camera or the like. Including digital images. Hereinafter, for convenience of explanation, an image simply means a photographic image.

また、「シワ成分」としては、顔に含まれるシワのみならず、ノイズ、シミ等の顔に含まれ、除去することにより、顔の肌の肌理、質感を向上させたり、人物を若く見せることができる成分を意味するものとする。   In addition, “wrinkle component” is included not only in the wrinkles contained in the face but also in the face of noise, stains, etc., to improve the texture and texture of the skin of the face, and to make the person look younger Means a component capable of

なお、本発明の画像処理装置においては、前記確認画像取得手段を、前記写真画像における前記シワ確認領域に対応する領域の画像を処理前確認画像として抽出する手段とし、
前記表示制御手段を、前記処理済み確認画像を、前記処理前確認画像とともに前記表示装置に表示させる手段としてもよい。
In the image processing apparatus of the present invention, the confirmation image acquisition means is a means for extracting an image of a region corresponding to the wrinkle confirmation region in the photographic image as a confirmation image before processing,
The display control means may be means for causing the display device to display the processed confirmation image together with the pre-processing confirmation image.

また、本発明の画像処理装置においては、前記シワ確認領域決定手段を、前記写真画像を分割することによって得られた複数の同一サイズの領域画像毎にシワ成分の量を検出するシワ量検出手段と、
前記シワ量が最も多い前記領域画像に対応する領域を前記シワ確認領域として決定する領域決定手段とを備えてなるものとしてもよい。
Further, in the image processing apparatus of the present invention, the wrinkle confirmation region determining unit detects the amount of wrinkle components for each of a plurality of region images of the same size obtained by dividing the photographic image. When,
An area determination unit that determines an area corresponding to the area image with the largest wrinkle amount as the wrinkle confirmation area may be provided.

また、本発明の画像処理装置においては、前記美肌処理手段を、前記写真画像に基づいて、該写真画像の複数の周波数帯域毎の成分を表す複数の帯域制限画像を作成する手段と、
出力値の絶対値を入力値の絶対値以下にする処理であって、かつ絶対値が所定の閾値以下である入力値に対しては、該入力値の絶対値が大きいほど出力値の絶対値が大きくなる一方、絶対値が前記所定の閾値より大きい入力値に対しては、出力値の絶対値が前記所定の閾値に対応する出力値の絶対値以下となる非線形変換処理を前記帯域制限画像のそれぞれの画素値に対して施して複数の変換画像を得る手段と、
所定の減算係数を前記複数の変換画像の画素値に乗算する手段と、
前記写真画像の画素値から、前記減算係数を乗算された前記複数の変換画像の画素値を減算して前記処理済み画像の画素値を得る手段とを備えてなるものとしてもよい。
Further, in the image processing apparatus of the present invention, the skin beautification processing means, based on the photographic image, a means for creating a plurality of band limited images representing components for a plurality of frequency bands of the photographic image;
For an input value in which the absolute value of the output value is less than or equal to the absolute value of the input value and the absolute value is less than or equal to a predetermined threshold value, the absolute value of the output value increases as the absolute value of the input value increases. On the other hand, for an input value whose absolute value is larger than the predetermined threshold, nonlinear conversion processing in which the absolute value of the output value is equal to or smaller than the absolute value of the output value corresponding to the predetermined threshold is performed in the band-limited image. Means for applying to each pixel value to obtain a plurality of converted images;
Means for multiplying a pixel value of the plurality of converted images by a predetermined subtraction coefficient;
Means for subtracting pixel values of the plurality of converted images multiplied by the subtraction coefficient from pixel values of the photographic image to obtain pixel values of the processed image.

ここで、前記所定の減算係数は、前記写真画像の各画素に対して同じものを用いてもよいが、前記写真画像の画素値に応じて決められたものであることが好ましい。   Here, the predetermined subtraction coefficient may be the same for each pixel of the photographic image, but is preferably determined according to the pixel value of the photographic image.

画像において、ノイズ、シワ、シミ等のシワ成分は、画像の画素値に対応した異なる存在態様を有するものである。例えば、ノイズは、画像中の暗い部分(すなわち輝度値が小さい部分)に多く発生するため、画素値が大きいほど小さい(逆に画像値が小さいほど大きい)減算係数を用いるようにすると、ノイズ除去効果を高めることができる。   In an image, wrinkle components such as noise, wrinkles, and spots have different forms of existence corresponding to the pixel values of the image. For example, noise is often generated in a dark part (that is, a part having a small luminance value) in an image. Therefore, when a subtraction coefficient is used that is smaller as the pixel value is larger (conversely, the smaller the image value is), noise removal is performed. The effect can be enhanced.

また、シワ、シミ等の成分は、髪の毛等より明るい肌部分に存在するので、画素値、例えば輝度値が大きいほど大きい(逆に画素値が小さいほど小さい)減算係数を用いるようにすると、シワ、シミ等の成分を除去することができるとともに、特にシワ、シミ等の成分成分を抑制する効果、いわゆる美肌効果を得ることができる。   In addition, since components such as wrinkles and stains are present in skin parts that are lighter than the hair or the like, if a pixel value, for example, a subtraction coefficient that is larger as the luminance value is larger (conversely smaller as the pixel value is smaller) is used. In addition to removing components such as stains, an effect of suppressing component components such as wrinkles and stains, in particular, a so-called skin-beautifying effect can be obtained.

また、前記非線形変換処理は、絶対値が前記所定の閾値より大きい入力値に対して、出力値の絶対値がほぼ一定となる処理であることが好ましい。   The nonlinear conversion process is preferably a process in which the absolute value of the output value is substantially constant with respect to an input value whose absolute value is greater than the predetermined threshold.

また、前記所定の閾値は、処理する前記帯域制限画像の周波数帯域に応じて決められたものであることが好ましい。   Further, it is preferable that the predetermined threshold value is determined according to a frequency band of the band limited image to be processed.

本発明による画像処理方法は、顔を含む写真画像において、シワ成分が集中する領域をシワ確認領域として決定し、
前記写真画像に対して前記シワ成分を除去する美肌処理を施して該美肌処理が施された処理済み画像を得、
前記処理済み画像における、前記シワ確認領域に対応する領域の画像を処理済み確認画像として取得し、
抽出された前記処理済み確認画像を、表示装置の解像度に合致したサイズで表示させることを特徴とするものである。
The image processing method according to the present invention determines an area where wrinkle components are concentrated in a photographic image including a face as a wrinkle confirmation area,
Applying a skin beautifying process to remove the wrinkle component on the photographic image to obtain a processed image subjected to the skin beautifying process,
Obtaining an image of a region corresponding to the wrinkle confirmation region in the processed image as a processed confirmation image;
The extracted processed confirmation image is displayed in a size that matches the resolution of the display device.

なお、本発明による画像処理方法をコンピュータに実行させるためのプログラムとして提供してもよい。   The image processing method according to the present invention may be provided as a program for causing a computer to execute the image processing method.

本発明によれば、写真画像に対して行った美肌処理の効果を確認するために、処理前の写真画像における、シワ成分が集中する領域をシワ確認領域として決定し、処理済み画像からこの決定されたシワ確認領域に対応する領域の画像を処理済み確認画像として抽出して表示装置に合致したサイズで表示させる。美肌処理の効果がよければ、写真画像の顔に含まれるシワが消失または軽減されるが、顔の頬の部分のようなシワ、シミ等のシワ成分が現れないまたは現れ難い領域よりも、目尻部分や、両目の間等のようなシワ成分が顕著にに現れる領域に対応した、処理済み画像における領域の画像のほうが、処理の効果を反映させることができる。したがって、写真画像における、シワ成分が集中する領域に対応する領域の画像を処理済み画像から抽出して美肌処理の効果を確認することに供することによって、操作者は正確な美肌処理の効果の判断ができる。また、処理済み画像の一部(処理済み確認画像)のみを表示装置に合致したサイズで表示させるので、携帯カメラ付属のモニタのような解像度の小さい表示装置でも、操作者は美肌処理の効果の確認を正しく行うことができる。   According to the present invention, in order to confirm the effect of the skin beautification process performed on the photographic image, a region where wrinkle components are concentrated in the photographic image before processing is determined as a wrinkle confirmation region, and this determination is performed from the processed image. An image of an area corresponding to the wrinkle confirmation area is extracted as a processed confirmation image and displayed in a size that matches the display device. If the effect of beautiful skin treatment is good, the wrinkles contained in the face of the photographic image will disappear or be reduced, but wrinkles such as wrinkles such as cheeks on the face, spots and other wrinkle components will not appear or are difficult to appear The effect of the processing can be reflected in the image of the region in the processed image corresponding to the region in which wrinkle components such as the part or between the eyes appear remarkably. Therefore, by extracting an image of a region corresponding to a region where wrinkle components are concentrated in a photographic image from the processed image and confirming the effect of the skin beautifying effect, the operator can accurately determine the effect of the skin beautifying treatment. Can do. In addition, since only a part of the processed image (processed confirmation image) is displayed in a size that matches the display device, even in a display device with a small resolution such as a monitor attached to a portable camera, the operator can effectively perform the skin-beautifying effect. Confirmation can be performed correctly.

また、処理済み画像から自動的に処理済み確認画像を抽出して表示するようにしているので、操作者による領域指定や、画像を領域毎に順次表示する等の処理を必要とせず、効率がよい。   In addition, since the processed confirmation image is automatically extracted from the processed image and displayed, there is no need for processing such as region designation by the operator or sequential display of the image for each region. Good.

さらに、処理前の写真画像から、シワ確認領域に対応する領域の画像を処理前確認画像として抽出して処理済み確認画像とともに表示させるようにすれば、操作者が処理前と処理後のシワ成分の態様を比較することができるので、より正確に美肌の効果を確認することができる。   Furthermore, if the image of the region corresponding to the wrinkle confirmation region is extracted as the pre-processing confirmation image from the pre-processing photographic image and displayed together with the processed confirmation image, the operator can use the pre-processing and post-processing wrinkle components. Therefore, the effect of beautifying skin can be confirmed more accurately.

また、写真画像に基づいて作成されたこの写真画像の複数の異なる周波数帯域毎の成分を表す複数の帯域制限画像に対して非線形変換処理を施して複数の変換画像を得、複数の変換画像に所定の減算係数を乗算し、写真画像の画素値から減算係数が乗算された複数の変換画像の画素値を減算して処理済み画像の画素値を得てもよい。ここで、複数の変換画像を得るための非線形変換処理は、出力値の絶対値を入力値の絶対値以下にする処理であって、かつ絶対値が所定の閾値以下の入力値に対しては、入力値の絶対値が大きいほど出力値の絶対値が大きくなる一方、絶対値が所定の閾値より大きい入力値に対しては、出力値の絶対値がこの所定の閾値に対応する出力値の絶対値以下となる処理である。この非線形変換処理により得られた変換画像が、当該変換画像が対応する周波数帯域におけるシワ、シミまたはノイズ等の振幅の小さいシワ成分を表すものである。したがって、この複数の変換画像の画素値に所定の減算係数を乗算して、元の写真画像の画素値から減算して処理済み画像の画素値を得ることにより、写真画像から複数の周波数帯域におけるシワ、シミまたはノイズ等のシワ成分を効果的に除去することができる。   In addition, a plurality of band limited images representing components of a plurality of different frequency bands of the photographic image created based on the photographic image are subjected to nonlinear conversion processing to obtain a plurality of converted images, and the plurality of converted images are converted into a plurality of converted images. A pixel value of the processed image may be obtained by multiplying a predetermined subtraction coefficient and subtracting the pixel values of a plurality of converted images multiplied by the subtraction coefficient from the pixel value of the photographic image. Here, the non-linear conversion process for obtaining a plurality of converted images is a process for setting the absolute value of the output value to be equal to or smaller than the absolute value of the input value, and for an input value having an absolute value equal to or smaller than a predetermined threshold value. As the absolute value of the input value increases, the absolute value of the output value increases. On the other hand, for an input value whose absolute value is greater than the predetermined threshold value, the absolute value of the output value corresponds to the output value corresponding to the predetermined threshold value. This is processing that is less than the absolute value. The converted image obtained by this non-linear conversion process represents a wrinkle component having a small amplitude such as wrinkles, spots or noises in the frequency band corresponding to the converted image. Therefore, by multiplying the pixel values of the plurality of converted images by a predetermined subtraction coefficient and subtracting from the pixel values of the original photographic image to obtain the pixel values of the processed image, the photographic image in a plurality of frequency bands is obtained. Wrinkle components such as wrinkles, stains or noise can be effectively removed.

以下、図面を参照して、本発明の実施形態について説明する。図1は、本発明の実施形態による画像処理装置の構成を示すブロック図である。なお、本実施形態の画像処理装置は、写真画像(以下略して画像という)に対して美肌処理を行うとともに、美肌処理の効果を操作者に確認させるためのものであり、補助記憶装置に読み込まれた美肌処理プログラムをコンピュータ(例えばパーソナルコンピュータ等)上で実行することにより実現される。また、この美肌処理プログラムは、CD−ROM等の情報記憶媒体に記憶され、もしくはインターネット等のネットワークを介して配布され、コンピュータにインストールされることになる。   Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention. The image processing apparatus according to the present embodiment performs a skin beautification process on a photographic image (hereinafter referred to as an image for short), and is used for causing an operator to check the effect of the skin beautifying process, and is read into an auxiliary storage device. This is realized by executing the beautifying skin treatment program on a computer (for example, a personal computer). The skin beautification processing program is stored in an information storage medium such as a CD-ROM, or distributed via a network such as the Internet and installed in a computer.

また、画像データは画像を表すものであるため、以下、特に画像と画像データの区別をせずに説明を行う。   Further, since the image data represents an image, the following description will be given without particularly distinguishing the image from the image data.

図1に示すように、本実施形態の画像処理装置は、原画像S0の互いに周波数応答特性が異なる複数のボケ画像S1、S2、・・・Sn(n:2以上の整数)を作成するボケ画像作成手段3と、原画像S0およびボケ画像S1、S2、・・・Snを用いて複数の帯域制限画像T1、T2、・・・Tnを作成する帯域制限画像作成手段5と、帯域制限画像T1、T2、・・・Tnに対して非線形変換処理をそれぞれ施して各帯域制限画像が対応する周波数帯域におけるシワ成分Q1、Q2、・・・Qnを抽出するシワ成分抽出手段7と、原画像S0からシワ成分を除去してシワ除去済み画像S´0(Y1)を得るシワ成分除去手段9とを有する。   As shown in FIG. 1, the image processing apparatus according to the present embodiment creates a plurality of blurred images S1, S2,... Sn (n: integer greater than or equal to 2) with different frequency response characteristics of the original image S0. Image creating means 3, band limited image creating means 5 for creating a plurality of band limited images T1, T2,... Tn using original image S0 and blurred images S1, S2,. Wrinkle component extraction means 7 for performing non-linear transformation processing on T1, T2,... Tn and extracting wrinkle components Q1, Q2,. And a wrinkle component removing unit 9 that removes the wrinkle component from S0 to obtain a wrinkle-removed image S′0 (Y1).

また、本実施形態による画像処理装置は、上記各手段が輝度空間において処理を行うものであるため、入力された画像D0(R0,G0,B0)に対してYCC変換を行って画像D0の輝度値Y0(これらの輝度値Y0により前述した原画像S0が構成される)、色差値Cb0、Cr0を得るYCC変換手段1と、シワ成分除去手段9により得られたシワ除去済み画像S´0の画素値Y1、およびYCC変換手段1により得られた色差値Cb0、Cr0とから構成される画像を処理済み画像D1(R1,G1,B1)として出力する出力手段11とを有する。   In the image processing apparatus according to the present embodiment, since each of the above units performs processing in the luminance space, the luminance of the image D0 is obtained by performing YCC conversion on the input image D0 (R0, G0, B0). The wrinkle-removed image S′0 obtained by the YCC conversion unit 1 that obtains the value Y0 (the luminance value Y0 constitutes the original image S0 described above), the color difference values Cb0 and Cr0, and the wrinkle component removal unit 9 And an output unit 11 that outputs an image composed of the pixel value Y1 and the color difference values Cb0 and Cr0 obtained by the YCC conversion unit 1 as a processed image D1 (R1, G1, B1).

さらに、本実施形態の画像処理装置は、帯域制限画像作成手段5が作成した帯域制限画像に基づいて画像D0を図2に示すように9分割した領域A1〜A9毎にシワ成分の量を検出するシワ量検出手段13と、上記9つの領域A1〜A9のうちシワ成分の量が最も多い領域を確認領域Akに決定する領域決定手段15と、画像D0および処理済み画像D1から確認領域Akに対応する領域の画像を、それぞれ処理前確認画像Dbおよび処理済み確認画像Daとして抽出する画像抽出手段17と、モニタ19と、処理前確認画像および処理済み確認画像のモニタ19への表示を制御する表示制御手段21とを有する。   Furthermore, the image processing apparatus of the present embodiment detects the amount of wrinkle components for each of the areas A1 to A9 obtained by dividing the image D0 into nine as shown in FIG. 2 based on the band limited image generated by the band limited image generating unit 5. A wrinkle amount detecting means 13 for performing the determination, an area determining means 15 for determining the area having the largest amount of the wrinkle component among the nine areas A1 to A9 as the confirmation area Ak, and the confirmation area Ak from the image D0 and the processed image D1. The image extraction means 17 which extracts the image of a corresponding area as the pre-processing confirmation image Db and the processed confirmation image Da, the monitor 19, and the display of the pre-processing confirmation image and the processed confirmation image on the monitor 19 are controlled. Display control means 21.

以下、本実施形態の各構成の詳細について説明する。   Hereinafter, details of each component of the present embodiment will be described.

YCC変換手段1は、下記の式(1)に従って、画像D0の各画素のR、G、B値を輝度値Y、色差値Cb、Crに変換する。   The YCC conversion means 1 converts the R, G, and B values of each pixel of the image D0 into a luminance value Y and color difference values Cb and Cr according to the following equation (1).

Y=0.2990×R+0.5870×G+0.1140×B
Cb=−0.1687×R−0.3313×G+0.5000×B+128 (1)
Cr=0.5000×R−0.4187×G−0.0813×B+128
ボケ画像作成手段3は、YCC変換手段1により得られた輝度値Y0を用いて、複数のボケ画像を作成する。図3はボケ画像作成手段3の構成を示すブロック図である。本実施形態の画像処理装置において、ボケ画像作成手段3は、輝度値Y0にフィルタリング処理および間引き処理を行ってフィルタリング画像B1、B2、・・・Bnを得るフィルタリング手段31と、各フィルタリング画像に対して補間処理を行う補間手段33と、フィルタリング手段31および補間手段33を制御する制御手段35とを有してなるものである。
Y = 0.2990 × R + 0.5870 × G + 0.1140 × B
Cb = −0.1687 × R−0.3313 × G + 0.5000 × B + 128 (1)
Cr = 0.5000 × R−0.4187 × G−0.0813 × B + 128
The blur image creation unit 3 creates a plurality of blur images using the luminance value Y0 obtained by the YCC conversion unit 1. FIG. 3 is a block diagram showing the configuration of the blurred image creation means 3. In the image processing apparatus of the present embodiment, the blurred image creation unit 3 performs filtering processing and thinning processing on the luminance value Y0 to obtain filtering images B1, B2,... Bn, and for each filtering image Interpolation means 33 for performing interpolation processing, and filtering means 31 and control means 35 for controlling interpolation means 33 are provided.

フィルタリング手段31は、ローパスフィルタを用いてフィルタリング処理を行うものであり、このローパスフィルタとしては、例えば図4に示すような5×1のグリッド状の1次元ガウス分布に略対応したフィルタFを用いることができる。このフィルタFは下記の式(2)において、σ=1としたものである。

Figure 2006053859
The filtering means 31 performs a filtering process using a low-pass filter. As this low-pass filter, for example, a filter F substantially corresponding to a 5 × 1 grid-like one-dimensional Gaussian distribution as shown in FIG. 4 is used. be able to. This filter F has σ = 1 in the following equation (2).
Figure 2006053859

フィルタリング手段31は、このようなフィルタFを用いて処理対象となる画像に対して画素のx方向およびy方向に対してフィルタリング処理と1/2間引き処理とを施すことにより処理対象の画像の全体のフィルタリング処理を行う。   The filtering unit 31 performs the filtering process and the half-thinning process on the image in the x direction and the y direction with respect to the image to be processed using the filter F as described above, so that the entire image to be processed is processed. Perform the filtering process.

図5はボケ画像作成手段3の制御手段35が、フィルタリング手段31と補間手段33に行わせる処理の詳細を示している。図示のように、フィルタリング手段31は、まず、原画像S0(Y0)に対して、図4に示すフィルタFを用いて1画素おきにフィルタリング処理を行い、その後フィルタ処理されていない画素を間引く間引き処理を行う。このフィルタリング処理によってフィルタリング画像B1(Y1)が得られる。フィルタリング画像B1のサイズは、原画像S0のサイズの1/4(x方向、y方向にそれぞれ1/2)となっている。次いで、フィルタリング手段31は、フィルタリング画像B1(Y1)に対しても1画素おきにフィルタFによるフィルタリング処理を施して同様の間引き処理を行い、フィルタリング画像B2(Y2)を得る。フィルタリング手段31は、このようなフィルタFによるフィルタリング処理と1/2間引き処理とを繰り返し、n個のフィルタリング画像Bk(k=1〜n)を得る。フィルタリング画像Bkのサイズは、原画像S0のサイズの1/22Kとなっている。図6は、例としてn=3としたときに、フィルタリング手段31により得られた各フィルタリング画像Bkの周波数特性を示している。図示のように、フィルタリング画像Bkのレスポンスはkが大きいほど高周波成分が除去されたものとなっている。 FIG. 5 shows details of processing that the control unit 35 of the blurred image creation unit 3 causes the filtering unit 31 and the interpolation unit 33 to perform. As shown in the figure, the filtering means 31 first performs a filtering process on the original image S0 (Y0) every other pixel using the filter F shown in FIG. 4, and then thins out the unfiltered pixels. Process. A filtering image B1 (Y1) is obtained by this filtering process. The size of the filtering image B1 is 1/4 of the size of the original image S0 (1/2 in the x direction and y direction). Next, the filtering unit 31 applies the filtering process by the filter F every other pixel to the filtering image B1 (Y1), and performs the same thinning process to obtain the filtering image B2 (Y2). The filtering unit 31 repeats the filtering process by the filter F and the 1/2 thinning process to obtain n filtered images Bk (k = 1 to n). The size of the filtering image Bk is 1/2 2K of the size of the original image S0. FIG. 6 shows the frequency characteristics of each filtered image Bk obtained by the filtering means 31 when n = 3 as an example. As shown in the figure, the response of the filtered image Bk is such that the higher the k, the higher the frequency component is removed.

なお、本実施形態の画像処理装置において、フィルタリング手段31は、図4に示すフィルタFにより画像のx方向およびy方向に対してフィルタリング処理を施すようにしているが、図7に示すような5×5の2次元フィルタにより原画像S0およびフィルタリング画像Bkに対して一度にフィルタリング処理を施すようにしてもよい。   In the image processing apparatus according to the present embodiment, the filtering unit 31 performs the filtering process on the x direction and the y direction of the image by the filter F shown in FIG. A filtering process may be performed on the original image S0 and the filtered image Bk at a time using a × 5 two-dimensional filter.

補間手段33は、フィルタリング手段31により得られた各フィルタリング画像Bkに対して補間処理を行って、それぞれのフィルタリング画像Bkを原画像S0と同一サイズにする。補間処理の方法は、Bスプラインによる方法等種々挙げられるが、本実施形態においては、フィルタリング手段31は、ローパスフィルタとしてガウス信号に基づくフィルタFを用いているため、補間手段33は、補間処理の補間演算を行うための補間係数としてもガウス信号を用いるものとする。この補間係数は、下記の式(3)において、σ=2k-1と近似したものである。

Figure 2006053859
The interpolation unit 33 performs an interpolation process on each filtering image Bk obtained by the filtering unit 31 so that each filtering image Bk has the same size as the original image S0. There are various interpolation processing methods such as a B-spline method. In this embodiment, the filtering unit 31 uses a filter F based on a Gaussian signal as a low-pass filter. A Gaussian signal is also used as an interpolation coefficient for performing an interpolation calculation. This interpolation coefficient is approximated to σ = 2 k−1 in the following equation (3).
Figure 2006053859

フィルタリング画像B1を補間する際にはk=1であるため、σ=1となる。上記式(3)においてσ=1としたときの補間を行うためのフィルタは、図8に示すような5×1の1次元フィルタF1となる。補間手段33は、まず、フィルタリング画像B1に対して1画素おきに値が0の画素を1つずつ挿入することによりフィルタリング画像B1を原画像S0と同じサイズに拡大し、次いで拡大された画像に対して図8に示すフィルタF1によりフィルタリング処理を施してボケ画像S1を得る。このボケ画像S1は、原画像S0と同じ画素数、すなわち原画像S0と同じサイズを有する。   Since k = 1 when interpolating the filtered image B1, σ = 1. The filter for performing interpolation when σ = 1 in the above equation (3) is a 5 × 1 one-dimensional filter F1 as shown in FIG. The interpolation unit 33 first expands the filtering image B1 to the same size as the original image S0 by inserting one pixel at a time every other pixel into the filtering image B1 to the same size as the original image S0. On the other hand, a filtering process is performed by the filter F1 shown in FIG. 8 to obtain a blurred image S1. The blurred image S1 has the same number of pixels as the original image S0, that is, the same size as the original image S0.

ここで、図8に示すフィルタF1は5×1のフィルタであるが、フィルタF1を適用する前にフィルタリング画像B1に対して1画素おきに値が0である画素を挿入しているため、補間手段33による補間処理は、実質的には2×1のフィルタ(0.5,0.5)および3×1のフィルタ(0.1,0.8,0.1)の2種類のフィルタによるフィルタ処理と等価である。   Here, the filter F1 shown in FIG. 8 is a 5 × 1 filter. However, before applying the filter F1, pixels with a value of 0 are inserted into the filtered image B1 every other pixel, and therefore interpolation is performed. The interpolation processing by the means 33 is substantially performed by two types of filters: a 2 × 1 filter (0.5, 0.5) and a 3 × 1 filter (0.1, 0.8, 0.1). Equivalent to filtering.

補間手段33は、フィルタリング画像B2に対して補間を行う際にはk=2であるため、σ=2である。上記の式(3)において、σ=2に対応するフィルタは、図9に示す11×1の1次元フィルタF2となる。補間手段33は、まず、フィルタリング画像B2に対して1画素おきに値が0である画素を3つずつ挿入することによりフィルタリング画像B2を原画像S0と同じサイズに拡大し、次いで拡大された画像に対して図9に示すフィルタF2によりフィルタリング処理を施してボケ画像S2を得る。ボケ画像S2は、原画像S0と同じ画素数、すなわち原画像S0と同じサイズを有する。   When the interpolation unit 33 performs interpolation on the filtered image B2, k = 2, so σ = 2. In the above equation (3), the filter corresponding to σ = 2 is the 11 × 1 one-dimensional filter F2 shown in FIG. The interpolation unit 33 first expands the filtering image B2 to the same size as the original image S0 by inserting three pixels each having a value of 0 every other pixel into the filtering image B2, and then enlarges the image. Is subjected to a filtering process by a filter F2 shown in FIG. 9 to obtain a blurred image S2. The blurred image S2 has the same number of pixels as the original image S0, that is, the same size as the original image S0.

同じように、図9に示すフィルタF2は11×1のフィルタであるが、フィルタF2を適用する前にフィルタリング画像B2に対して1画素おきに値が0である画素を3つずつ挿入しているため、補間手段33による補間処理は、実質的には2×1のフィルタ(0.5,0.5)および3×1のフィルタ(0.3,0.65,0.05)、(0.3,0.74,0.13)、(0.05,0.65,0.3)の4種類のフィルタによるフィルタ処理と等価である。   Similarly, the filter F2 shown in FIG. 9 is an 11 × 1 filter, but before applying the filter F2, three pixels each having a value of 0 are inserted into the filtered image B2 every three pixels. Therefore, the interpolation processing by the interpolation means 33 is substantially performed by a 2 × 1 filter (0.5, 0.5) and a 3 × 1 filter (0.3, 0.65, 0.05), ( This is equivalent to filter processing using four types of filters (0.3, 0.74, 0.13) and (0.05, 0.65, 0.3).

補間手段33は、このように各フィルタリング画像Bkに対してそれぞれ、1画素おきに値が0である画素を(2k−1)個ずつ挿入することにより、フィルタリング画像Bkを原画像S0と同じサイズに拡大し、そして値が0である画素が挿入されたフィルタリング画像Bkに対して、上記の式(3)に基づいて作成された長さが(3×2k−1)であるフィルタによるフィルタリング処理を施してボケ画像Skを得る。 In this way, the interpolation means 33 inserts (2 k −1) pixels each having a value of 0 every other pixel into each filtering image Bk, so that the filtering image Bk is the same as the original image S0. For a filtered image Bk that is enlarged to size and in which a pixel having a value of 0 is inserted, a length created based on the above equation (3) is (3 × 2 k −1). A blurred image Sk is obtained by performing a filtering process.

図10は、例としてn=3としたときに、ボケ画像作成手段3により得られた各ボケ画像Skの周波数特性を示している。図示のように、ボケ画像Skは、kが大きいほど、原画像S0の高周波成分が除去されたものとなっている。   FIG. 10 shows the frequency characteristics of each blurred image Sk obtained by the blurred image creation means 3 when n = 3 as an example. As shown in the figure, the blurred image Sk is such that the higher the k, the higher frequency components of the original image S0 are removed.

帯域制限画像作成手段5は、ボケ画像作成手段3により得られた各ボケ画像S1,S2,・・・Snを用いて、下記の式(4)に従って原画像S0の複数の周波数帯域毎の成分を表す帯域制限画像T1,T2,・・・Tnを作成する。
Tm=S(m−1)−Sm (4)
但し,m:1以上n以下の整数
The band-limited image creating means 5 uses the blurred images S1, S2,... Sn obtained by the blurred image creating means 3 and components for each of a plurality of frequency bands of the original image S0 according to the following equation (4). .., Tn are generated.
Tm = S (m−1) −Sm (4)
Where m is an integer between 1 and n

図11は、例としてn=3としたときに、帯域制限画像作成手段5により得られた各帯域制限画像Tmの周波数特性を示している。図示のように、帯域制限画像Tmは、mが大きいほど、原画像S0の低周波数領域における成分を表すものとなっている。   FIG. 11 shows the frequency characteristics of each band limited image Tm obtained by the band limited image creating means 5 when n = 3 as an example. As illustrated, the band limited image Tm represents a component in the low frequency region of the original image S0 as m increases.

シワ成分抽出手段7は、帯域制限画像作成手段5により得られた各帯域制限画像Tm(m=1〜n)に対して非線形変換を行ってそれぞれの帯域制限画像Tmが対応する周波数帯域におけるシワ、シミ、ノイズ等の成分(以下シワ成分とする)Q1,Q2,・・・,Qnを抽出するものである。この非線形変換は、出力値を入力値以下にする処理であって、かつ所定の閾値以下の入力値に対しては、入力値が大きいほど出力値が大きくなる一方、所定の閾値より大きい入力値に対しては、出力値が所定の閾値に対応する出力値以下となる処理であって、本実施形態においては、図12に示すような関数fにより行われるものである。なお、図中破線は、出力値=入力値、すなわち傾きが1となる関数を示すものである。図示のように、本実施形態のシワ成分抽出手段7に用いられる非線形変換の関数fは、入力値の絶対値が第1の閾値Th1より小さいときは傾きが1であり、入力値の絶対値が第1の閾値以上かつ第2の閾値Th2以下であるときは傾きが1より小さくなり、入力値の絶対値が第2の閾値Th2より大きいときは、出力値がその絶対値が入力値の絶対値より小さい一定の値Mとなる関数である。なお、この関数fは、各帯域制限画像に対して同じものであってもよいが、各帯域制限画像に対して異なるものであってもよい。   The wrinkle component extraction unit 7 performs non-linear transformation on each band limited image Tm (m = 1 to n) obtained by the band limited image creating unit 5 and generates wrinkles in the frequency band corresponding to each band limited image Tm. , Stains, noise and the like (hereinafter referred to as wrinkle components) Q1, Q2,..., Qn. This non-linear transformation is a process for making an output value equal to or less than an input value, and for an input value less than or equal to a predetermined threshold value, the larger the input value, the larger the output value, while an input value greater than the predetermined threshold value. Is a process in which the output value is equal to or less than the output value corresponding to the predetermined threshold value. In this embodiment, the process is performed by the function f as shown in FIG. In the figure, the broken line indicates a function in which the output value = the input value, that is, the slope is 1. As shown in the figure, the nonlinear transformation function f used in the wrinkle component extraction means 7 of this embodiment has a slope of 1 when the absolute value of the input value is smaller than the first threshold Th1, and the absolute value of the input value. Is greater than or equal to the first threshold and less than or equal to the second threshold Th2, the slope is smaller than 1, and when the absolute value of the input value is greater than the second threshold Th2, the output value is the absolute value of the input value. This is a function having a constant value M smaller than the absolute value. The function f may be the same for each band limited image, but may be different for each band limited image.

シワ成分抽出手段7は、各帯域制限画像の輝度値を入力値とし、図12に示す非線形変換の関数fを用いて各帯域制限画像に対して非線形変換を行って、出力値の輝度値により構成された、各帯域制限画像が対応する周波数帯域におけるシワ成分Qm(m=1〜n)を抽出する。   The wrinkle component extracting means 7 uses the luminance value of each band limited image as an input value, performs nonlinear conversion on each band limited image using the nonlinear conversion function f shown in FIG. The wrinkle component Qm (m = 1 to n) in the frequency band corresponding to each configured band-limited image is extracted.

シワ成分除去手段9は、シワ成分抽出手段7により抽出された各シワ成分Qmに対して減算係数βを乗算し、原画像S0(Y0)から、減算係数を乗算されたシワ成分Qmを減算してシワ除去済み画像S´0(Y1)を得る。下記の式(5)は、シワ成分除去手段9により行われる処理を示している。

Figure 2006053859
The wrinkle component removal unit 9 multiplies each wrinkle component Qm extracted by the wrinkle component extraction unit 7 by a subtraction coefficient β, and subtracts the wrinkle component Qm multiplied by the subtraction coefficient from the original image S0 (Y0). The wrinkle-removed image S′0 (Y1) is obtained. The following equation (5) shows the processing performed by the wrinkle component removing unit 9.
Figure 2006053859

ここで、減算係数βは、原画像S0の画素の輝度値Y0に応じて決められたものであり、具体的には、輝度値Y0が大きい画素ほど、この画素の画素値Y1を求める際に用いられる減算係数βの値が大きくなるものである。シワ成分抽出手段7により抽出されたシワ成分Qmには、髪の毛等の成分が含まれている場合があり、髪の毛等の成分を真のシワ成分と同じように除去してしまうと、写真画像における髪の毛の部分がボケてしまい、処理後の画像の画質が良くないという問題がある。   Here, the subtraction coefficient β is determined according to the luminance value Y0 of the pixel of the original image S0. Specifically, when the luminance value Y0 is larger, the pixel value Y1 of this pixel is obtained. The value of the subtraction coefficient β used is increased. The wrinkle component Qm extracted by the wrinkle component extraction means 7 may contain components such as hair, and if components such as hair are removed in the same way as true wrinkle components, There is a problem that the hair is blurred and the quality of the processed image is not good.

本実施形態においては、一般的にシワ等が生じる肌部分が明るく(すなわち輝度値が大きく)、髪の毛の部分が暗い(すなわち輝度値が小さい)ことに着目し、輝度値が大きい画素ほど、値が大きい減算係数βを用い、髪の毛の部分の減算(すなわちシワ除去)の程度を弱く、肌部分の減算(すなわちシワ除去)の程度を大きくするようにしたものである。これにより、真のシワ、シミまたはノイズ等のシワ成分を除去することができるとともに、髪の毛を表す成分を残すことができ、髪の部分がボケないため、処理後の画素の画質が良くなる。   In the present embodiment, focusing on the fact that the skin portion where wrinkles or the like are generally generated is bright (that is, the luminance value is large) and the hair portion is dark (that is, the luminance value is small), the higher the luminance value, the higher the value of the pixel. The subtraction coefficient β is large, the degree of subtraction (ie, wrinkle removal) of the hair portion is weakened, and the degree of subtraction (ie, wrinkle removal) of the skin portion is increased. As a result, wrinkle components such as true wrinkles, stains or noise can be removed, and components representing the hair can be left, and since the hair portion is not blurred, the image quality of the processed pixel is improved.

出力手段11は、シワ成分除去手段9により得られた輝度値Y1と、YCC変換手段1により得られた画像D0の色差値Cb0、Cr0とにより構成される画像(Y1,Cr0,Cb0)に対してRGB変換を行って各画素値がRGB値からなる処理済み画像D1(R1,G1,B1)を得、これを出力する。   The output means 11 outputs an image (Y1, Cr0, Cb0) composed of the luminance value Y1 obtained by the wrinkle component removing means 9 and the color difference values Cb0, Cr0 of the image D0 obtained by the YCC conversion means 1. RGB conversion is performed to obtain a processed image D1 (R1, G1, B1) in which each pixel value is an RGB value, and this is output.

シワ量検出手段13は、帯域制限画像作成手段5が作成した帯域制限画像Tmのうち、最高周波数帯域の帯域制限画像T1を用いて、図2に示すように画像D0を9分割することにより得られた9つの領域A1〜A9毎に、シワ成分の量を検出する。図13はシワ成分の量の検出を説明するための図である。なお、ここでは簡単のため、帯域制限画像T1の信号値が1次元に分布するものとして説明する。帯域制限画像T1において、シワ成分Qmはコントラストが小さい信号値として現れることとなる。このため、シワ量検出手段13は、図13に示すように、各領域A1〜A9において、帯域制限画像T1の信号値が閾値Th3以上閾値Th4以下となった画素(図13において○を付与して示す)の数をカウントし、カウントされた画素数を各領域A1〜A9のシワ成分の量として検出する。   The wrinkle amount detecting means 13 is obtained by dividing the image D0 into nine as shown in FIG. 2 using the band limited image T1 of the highest frequency band among the band limited images Tm generated by the band limited image generating means 5. The amount of the wrinkle component is detected for each of the nine areas A1 to A9. FIG. 13 is a diagram for explaining the detection of the amount of wrinkle components. Here, for the sake of simplicity, the description will be made assuming that the signal value of the band limited image T1 is one-dimensionally distributed. In the band limited image T1, the wrinkle component Qm appears as a signal value having a small contrast. For this reason, as shown in FIG. 13, the wrinkle amount detection means 13 assigns a pixel in which the signal value of the band limited image T1 is equal to or greater than the threshold Th3 and equal to or less than the threshold Th4 in each of the areas A1 to A9. The number of counted pixels is detected as the amount of wrinkle components in each of the areas A1 to A9.

なお、閾値Th3は帯域制限画像T1の信号値の中央値C0を基準として所定量小さい値を、閾値Th4は中央値C0を基準として所定量大きい値を設定する。ここで、帯域制限画像T1が0〜255の値をとる場合には、中央値C0は128となるため、閾値Th3としては例えば113を、閾値Th4としては140を用いればよい。   The threshold value Th3 is set to a value that is smaller by a predetermined amount with reference to the median value C0 of the signal value of the band limited image T1, and the threshold value Th4 is set to be a value that is larger than the median value C0 by a predetermined amount. Here, when the band-limited image T1 takes a value of 0 to 255, the median value C0 is 128. Therefore, for example, 113 may be used as the threshold Th3 and 140 may be used as the threshold Th4.

領域決定手段15は、シワ量検出手段13が検出した各領域A1〜A9のシワ成分の量量を比較し、最もシワ成分の量が多い領域を確認領域Akと決定する。例えば図2に示す画像において領域A5が最もシワ成分の量が多い場合には、領域A5を確認領域Akと決定する。   The area determination unit 15 compares the amount of the wrinkle component in each of the areas A1 to A9 detected by the wrinkle amount detection unit 13, and determines the area having the largest amount of the wrinkle component as the confirmation area Ak. For example, when the area A5 has the largest amount of wrinkle components in the image shown in FIG. 2, the area A5 is determined as the confirmation area Ak.

画像抽出手段17は、画像D0から確認領域Akに対応する領域の画像を処理前確認画像Dbとして抽出する。また、処理済み画像D1から確認領域Akに対応する領域の画像を処理済み確認画像Daとして抽出する。   The image extraction means 17 extracts an image of a region corresponding to the confirmation region Ak from the image D0 as a pre-processing confirmation image Db. In addition, an image of a region corresponding to the confirmation region Ak is extracted from the processed image D1 as a processed confirmation image Da.

表示制御手段21は、処理前確認画像Dbおよび処理済み確認画像Daを並べるように合成して合成画像G0を生成し、合成画像G0をモニタ19に表示する。この際、表示制御手段21はモニタ19の解像度に応じて合成画像G0のサイズを変更する。例えば、モニタ19のサイズがQVGA、すなわち320×240の解像度を有するものである場合、合成画像G0がモニタ19のサイズ内に最大限に収まるように合成画像G0のサイズを変更する。   The display control unit 21 combines the pre-processing confirmation image Db and the processed confirmation image Da so as to line up to generate a composite image G0, and displays the composite image G0 on the monitor 19. At this time, the display control means 21 changes the size of the composite image G0 according to the resolution of the monitor 19. For example, when the size of the monitor 19 is QVGA, that is, having a resolution of 320 × 240, the size of the synthesized image G0 is changed so that the synthesized image G0 is maximally within the size of the monitor 19.

図14はモニタ19に表示された合成画像G0を示す図である。図14に示すようにモニタ19には、合成画像G0がモニタ19のサイズ内に最大限に収まるように合成画像G0が表示される。なお、合成画像G0に含まれる処理前確認画像Dbおよび処理済み額人画像Daにはそれぞれ処理前および処理済みであることが分かるように「処理前」および「処理済み」の表示もなされる。   FIG. 14 is a view showing the composite image G0 displayed on the monitor 19. As shown in FIG. As shown in FIG. 14, the composite image G0 is displayed on the monitor 19 so that the composite image G0 fits within the size of the monitor 19 to the maximum extent. The pre-processing confirmation image Db and the processed forehead person image Da included in the composite image G0 are also displayed as “before processing” and “after processing” so that it can be seen that they have been processed and processed.

このように、本実施形態の画像処理装置によれば、図2の画像を例にすると、顔の頬の部分のようなシワ、シミ等のシワ成分が現れないまたは現れ難い領域は、処理済み確認画像Daとして処理済み画像D1から抽出されることがなく、目尻部分や、両目の間等のようなシワ成分が顕著に現れる領域が処理済み確認画像Daとして抽出されてモニタ19に表示されることとなる。このため、操作者に画像に対する美肌処理の効果を効率良く確認させることができる。   As described above, according to the image processing apparatus of the present embodiment, when the image of FIG. 2 is taken as an example, a region where wrinkles such as wrinkles and spots such as cheeks of the face do not appear or are difficult to appear has been processed. The confirmation image Da is not extracted from the processed image D1, and a region in which wrinkle components such as the corners of the eyes and between the eyes appear remarkably is extracted as the processed confirmation image Da and displayed on the monitor 19. It will be. For this reason, the operator can efficiently check the effect of the skin beautifying process on the image.

また、処理済み画像D1から抽出された処理済み確認画像Daとともに、処理前の画像D0における同じ領域の処理前確認画像Dbを表示するようにしたため、操作者が処理前と処理後の同じ領域の画像を比較することができ、これにより、美肌処理の効果をより良く確認することができる。   In addition, since the confirmation image Db before processing in the same region in the image D0 before processing is displayed together with the processing confirmation image Da extracted from the processed image D1, the operator can display the same region before processing and after processing. Images can be compared, and thereby, the effect of skin beautification can be confirmed better.

また、原画像S0(Y0)の複数の異なる周波数帯域毎の成分を表す複数の帯域制限画像Tm(m=1〜n,n≧2)を作成し、これらの帯域制限画像に対して非線形変換処理を施して複数の変換画像(シワ成分)を得、これらの複数の変換画像の画素値に対して、原画像S0の輝度値に応じて決められた減算係数βを乗算して、原画像S0の画素値(輝度値Y0)から減算して処理済み画像の画素値(輝度値Y1)を得るようにしているため、写真画像の複数の周波数帯域におけるシワ成分を効果的に除去して美肌処理を行うことができる。また、複数の周波数帯域においてシワ成分の除去を行うようにしているので、従来技術のように美肌効果を高めるために只1つの周波数帯域においてシワ成分の除去を強めることに起因するアーチファクトの発生を防ぐことができ、処理済み画像の高画質化を図ることができる。   Further, a plurality of band limited images Tm (m = 1 to n, n ≧ 2) representing components for a plurality of different frequency bands of the original image S0 (Y0) are created, and nonlinear conversion is performed on these band limited images. A plurality of converted images (wrinkle components) are obtained by performing processing, and the pixel values of the plurality of converted images are multiplied by a subtraction coefficient β determined according to the luminance value of the original image S0 to obtain the original image Since the pixel value (luminance value Y1) of the processed image is obtained by subtracting from the pixel value (luminance value Y0) of S0, the wrinkle component in a plurality of frequency bands of the photographic image is effectively removed and the skin is beautiful Processing can be performed. In addition, since wrinkle components are removed in a plurality of frequency bands, in order to enhance the skin beautifying effect as in the prior art, the generation of artifacts caused by increasing the removal of wrinkle components in one frequency band is generated. This can prevent the image quality of the processed image.

以上、本発明の望ましい実施形態について説明したが、本発明の画像処理方法および装置並びにそのためのプログラムは、上述した実施形態に限られることがなく、本発明の主旨を逸脱しない限り、様々な増減、変化を加えることができる。   The preferred embodiment of the present invention has been described above, but the image processing method and apparatus of the present invention and the program therefor are not limited to the above-described embodiment, and various increases and decreases may be made without departing from the gist of the present invention. , Can make changes.

例えば、本発明の画像処理方法および装置は、特に小さい解像度の表示装置で美肌処理の効果を確認するのに効果を発揮することができるが、VGA等の解像度が大きい表示装置で美肌処理効果を確認する場合において、処理済み画像D1から表示装置の解像度と同じ大きさの画像を処理済み確認画像Daとして抽出して表示すると、処理済み確認画像Daのサイズが大きいので、処理済み確認画像Da内においてシワ成分が集中する領域と集中してない領域、すなわち、美肌処理の効果を確認するのに適した領域と適していない領域が混在する可能性があり、美肌処理の効果の確認を妨げかねない。   For example, the image processing method and apparatus of the present invention can be effective for confirming the effect of skin beautification processing with a display device having a particularly small resolution, but the effect of skin beautifying treatment with a display device having a high resolution such as VGA can be obtained. In the case of confirmation, when an image having the same size as the resolution of the display device is extracted from the processed image D1 and displayed as the processed confirmation image Da, the size of the processed confirmation image Da is large. There is a possibility that a region where wrinkle components are concentrated and a region where wrinkle components are not concentrated, that is, a region suitable for confirming the effect of skin beautification and a region not suitable for blending may be mixed, which may hinder confirmation of the effect of skin beautification. Absent.

このため、本発明を解像度が大きい表示装置で美肌処理の効果を確認する場合に適用し、表示装置よりも小さいサイズとなるように処理済み確認画像Daを抽出し、抽出した処理済み確認画像Daを表示装置の解像度に合致するサイズに拡大して表示するようにすることによって、表示装置の解像度が大きい場合においても、ボケ補正の効果を正確に確認することができる。この場合、抽出した処理済み確認画像Daを表示装置の解像度と同じ大きさまでに拡大せず、そのままのサイズで、または表示装置の解像度より小さいサイズに拡大して表示装置の表示画面の一部のみに表示させるようにしてもよい。   For this reason, the present invention is applied to the case where the effect of the skin beautification process is confirmed on a display device having a high resolution, and the processed confirmation image Da is extracted so as to be smaller than the display device, and the extracted processed confirmation image Da is extracted. By enlarging the image to a size that matches the resolution of the display device, the effect of blur correction can be accurately confirmed even when the resolution of the display device is large. In this case, the extracted processed confirmation image Da is not enlarged to the same size as the resolution of the display device, but is enlarged as it is or to a size smaller than the resolution of the display device and only a part of the display screen of the display device. You may make it display on.

また、シワ量検出手段13において、最高周波数帯域の帯域制限画像T1を用いて領域A1〜A9のシワ成分の量を検出しているが、最高周波数帯域以外の他の周波数帯域の帯域制限画像を用いてシワ成分の量を検出してもよい。   Further, the wrinkle amount detection means 13 detects the amount of wrinkle components in the areas A1 to A9 using the band limited image T1 in the highest frequency band. However, the band limited image in a frequency band other than the highest frequency band is detected. It may be used to detect the amount of the wrinkle component.

また、本実施形態の画像処理装置において、帯域制限画像作成手段5は、原画像S0およびボケ画像Sk(k=1〜n,n≧2)を用いて上記式(4)に従って帯域制限画像を得るものであり、帯域制限画像作成手段5、シワ成分抽出手段7、およびシワ成分除去手段9において行われる処理を下記の式(6)により表すことができるが、例えば、下記の式(7)、式(8)または式(9)により、帯域制限画像作成手段、シワ成分抽出手段、およびシワ成分除去手段9の処理を行うようにしてもよい。すなわち、式(6)により表される本実施形態の画像処理装置における処理のように、原画像および各ボケ画像を用いて、互いに隣接する周波数帯域の画像(原画像S0はボケ画像S1と周波数帯域が隣接するものとする)の減算を行って帯域制限画像を得るようにしてもよいが、式(7)に示すように、全てのボケ画像と、原画像との減算により帯域制限画像を得るようにしてもよく、または式(8)に示すように、原画像を用いず互いに隣接する周波数帯域のボケ画像の減算を行って帯域制限画像を得るようにしてもよく、または式(9)に示すように、原画像を用いず、ボケ画像S1と、ボケ画像S1を除いた全てのボケ画像Sm(m=2〜n,n≧3)との減算により帯域制限画像を得るようにしてもよい。

Figure 2006053859
Figure 2006053859
Figure 2006053859
Figure 2006053859
In the image processing apparatus of the present embodiment, the band limited image creating unit 5 generates a band limited image according to the above equation (4) using the original image S0 and the blurred image Sk (k = 1 to n, n ≧ 2). The processing performed in the band-limited image creation means 5, the wrinkle component extraction means 7, and the wrinkle component removal means 9 can be expressed by the following formula (6). For example, the following formula (7) The processing of the band-limited image creating unit, the wrinkle component extracting unit, and the wrinkle component removing unit 9 may be performed according to Equation (8) or Equation (9). That is, as in the processing in the image processing apparatus of the present embodiment represented by Expression (6), using the original image and each blurred image, the images in the frequency bands adjacent to each other (the original image S0 is the frequency of the blurred image S1 and the frequency The band-limited image may be obtained by subtracting the band-limited images), but as shown in Expression (7), the band-limited image is obtained by subtracting all the blurred images and the original image. Alternatively, as shown in Expression (8), the band-limited image may be obtained by subtracting the blurred images in the frequency bands adjacent to each other without using the original image, or Expression (9). ), The band-limited image is obtained by subtraction of the blurred image S1 and all the blurred images Sm (m = 2 to n, n ≧ 3) excluding the blurred image S1 without using the original image. May be.
Figure 2006053859
Figure 2006053859
Figure 2006053859
Figure 2006053859

また、帯域制限画像を作成する方法も、上述した式(4)、式(6)〜(9)により表される方法のように、原画像のボケ画像を作成し、原画像および/またはボケ画像を用いて作成する方法に限らず、原画像の複数の異なる周波数帯域の成分を表す画像を作成することができれば、いかなる方法を用いてもよい。   Also, the method for creating the band limited image is to create a blurred image of the original image and to create the blurred image of the original image and / or the blurred image as in the methods represented by the above formulas (4) and (6) to (9). The method is not limited to the method of creating using an image, and any method may be used as long as an image representing a plurality of different frequency band components of the original image can be created.

また、本実施形態においては、写真画像全体に対して処理を行うようにしているが、処理の目的は美肌であるため、例えば、写真画像から肌色部分のみを抽出し、抽出された部分に対してのみ美肌処理を行うようにしてもよい。さらに、顔部分の美肌を目的とするような場合においては、従来提案された種々の顔抽出技術を用いて顔部分を抽出し、顔部分に対してのみ美肌処理を行うようにしてもよい。こうすることによって、美肌処理のための計算量を減少することができるとともに、肌色以外、または顔以外の部分のボケを防ぐことができる。なお、この場合、確認領域Akは抽出した顔部分において決定すればよい。   In this embodiment, the entire photographic image is processed. However, since the purpose of the processing is beautifying skin, for example, only the skin color portion is extracted from the photographic image, and the extracted portion is processed. Only beautifying skin treatment may be performed. Furthermore, in the case where the purpose is skin beautification of the face part, the face part may be extracted using various conventionally proposed face extraction techniques, and the skin beautification process may be performed only on the face part. By doing so, it is possible to reduce the amount of calculation for beautifying skin and to prevent blurring of parts other than the skin color or parts other than the face. In this case, the confirmation area Ak may be determined in the extracted face portion.

また、本実施形態において、シワ成分を除去する際に用いられた減算係数βが、原画像S0の輝度値Y0に応じて決められたものであるが、例えば、原画像の輝度値に加え、対象となる写真画像の被写体の情報に応じて減算係数を変えるようにしてもよい。例えば被写体が高齢であるほど、減算係数を大きくして美肌効果を強めたり、または逆に被写体が高齢であるほど、処理後の画像が不自然にならないように減算係数を小さくして美肌効果を弱めたりするようにしてもよい。   In this embodiment, the subtraction coefficient β used when removing the wrinkle component is determined according to the luminance value Y0 of the original image S0. For example, in addition to the luminance value of the original image, You may make it change a subtraction coefficient according to the information of the object of the photographic image used as object. For example, the older the subject is, the larger the subtraction coefficient is to enhance the skin-beautifying effect, or vice versa, the older the subject is, the smaller the subtraction coefficient is set so that the processed image does not become unnatural. It may be weakened.

同様に、帯域制限画像に対して非線形変換を行う際の閾値、特に閾値Th2を被写体の情報に応じて変えるようにしてもよい。なお、被写体の情報は、認識処理や、画像D0に付与されたタグ情報の参照によって取得するようにしてもよく、操作者の手動入力により取得するようにしてもよい。   Similarly, the threshold for performing nonlinear conversion on the band limited image, particularly the threshold Th2, may be changed according to the subject information. The subject information may be acquired by recognition processing or by referring to tag information given to the image D0, or may be acquired by manual input by the operator.

また、被写体の情報に限らず、操作者が所望とする美肌効果の強弱に応じて減算係数や、非線形変換の閾値等のパラメータを変えるようにしてもよい。   In addition to the subject information, parameters such as a subtraction coefficient and a threshold value for nonlinear conversion may be changed according to the strength of the skin effect desired by the operator.

さらに、遺影用や、結婚式用や、自動撮影プリント装置(いわゆるプリクラ)用等、写真画像の用途に応じて前述したパラメータを変えるようにしてもよい。   Furthermore, the above-described parameters may be changed according to the use of the photographic image, such as for a remains, for a wedding, or for an automatic photographing printing apparatus (so-called “printer”).

また、本実施形態の画像処理装置は、シワ成分は明暗変化を表す小振幅の成分であり、色の振幅を持っていないことに着目し、輝度空間においてのみシワ成分の除去を行うことによって、効率のよい美肌処理を実現しているが、例えば、R、G、B成分の全てに対して処理を行うようにし、シワ成分のみならず、色のシワ成分も除去するようにしてもよい。   In the image processing apparatus of the present embodiment, the wrinkle component is a small-amplitude component that represents a change in brightness and has no color amplitude, and by removing the wrinkle component only in the luminance space, Although efficient skin-beautifying processing is realized, for example, processing may be performed on all of the R, G, and B components, and not only the wrinkle component but also the color wrinkle component may be removed.

また、本実施形態の画像処理装置は、シワ、シミ成分を抑制し、美肌効果を得ることを主な目的とするため、原画像の画素値が大きいほど値が大きくなる減算係数を用いたが、例えば、ノイズ除去を主とする場合には、原画像の画素値が大きいほど値が小さく減算係数を用いるようにしてもよい。   In addition, the image processing apparatus according to the present embodiment uses a subtraction coefficient in which the value increases as the pixel value of the original image increases in order to suppress wrinkles and stain components and to obtain a skin-beautifying effect. For example, when noise removal is mainly used, the larger the pixel value of the original image, the smaller the value may be used.

また、美肌処理は上記実施形態の手法に限定されるものではなく、非特許文献1あるいは特許文献1に記載された手法等、任意の手法を用いることができる。   The skin beautification process is not limited to the technique of the above embodiment, and any technique such as the technique described in Non-Patent Document 1 or Patent Document 1 can be used.

本発明の実施形態による画像処理装置の構成を示すブロック図1 is a block diagram showing a configuration of an image processing apparatus according to an embodiment of the present invention. 本実施形態に用いられる画像の例を示す図The figure which shows the example of the image used for this embodiment 図1に示す画像処理装置におけるボケ画像作成手段の構成を示すブロック図FIG. 2 is a block diagram showing a configuration of a blurred image creation unit in the image processing apparatus shown in FIG. 図2に示すボケ画像作成手段におけるフィルタリング手段が用いる1次元フィルタFの例を示す図The figure which shows the example of the one-dimensional filter F which the filtering means in the blur image creation means shown in FIG. 2 uses 図2に示すボケ画像作成手段において行われる処理を示す図The figure which shows the process performed in the blurred image preparation means shown in FIG. 図2に示すボケ画像作成手段におけるフィルタリング手段により作成されたフィルタリング画像の周波数特性を示す図The figure which shows the frequency characteristic of the filtering image produced by the filtering means in the blurred image production means shown in FIG. 図2に示すボケ画像作成手段におけるフィルタリング手段が用いる2次元フィルタの例を示す図The figure which shows the example of the two-dimensional filter which the filtering means in the blur image creation means shown in FIG. 2 uses 図2に示すボケ画像作成手段における補間手段がフィルタリング画像B1の補間に用いるフィルタF1の例を示す図The figure which shows the example of the filter F1 which the interpolation means in the blurred image preparation means shown in FIG. 2 uses for interpolation of filtering image B1 図2に示すボケ画像作成手段における補間手段がフィルタリング画像B2の補間に用いるフィルタF2の例を示す図The figure which shows the example of the filter F2 which the interpolation means in the blurred image preparation means shown in FIG. 2 uses for interpolation of filtering image B2 図2に示すボケ画像作成手段により作成されたボケ画像の周波数特性を示す図The figure which shows the frequency characteristic of the blur image produced by the blur image creation means shown in FIG. 図1に示す本発明の実施形態の画像処理装置における帯域制限画像作成手段により作成された帯域制限画像の周波数特性を示す図The figure which shows the frequency characteristic of the band limited image produced by the band limited image preparation means in the image processing apparatus of embodiment of this invention shown in FIG. 図1に示す本発明の実施形態の画像処理装置におけるシワ成分抽出手段が用いる非線形関数の例を示す図The figure which shows the example of the nonlinear function which the wrinkle component extraction means uses in the image processing apparatus of embodiment of this invention shown in FIG. シワ成分の量の検出を説明するための図The figure for demonstrating the detection of the quantity of a wrinkle component モニタに表示された処理済み確認画像および処理前確認画像の合成画像を示す図The figure which shows the synthesized image of the processed confirmation image and the confirmation image before processing displayed on the monitor

符号の説明Explanation of symbols

1 YCC変換手段
3 ボケ画像作成手段
5 帯域制限画像作成手段
7 シワ成分抽出手段
9 シワ成分除去手段
11 出力手段
13 シワ量検出手段
15 領域決定手段
17 画像抽出手段
19 モニタ
21 表示制御手段
31 フィルタリング手段
33 補間手段
35 制御手段
DESCRIPTION OF SYMBOLS 1 YCC conversion means 3 Blurred image creation means 5 Band-limited image creation means 7 Wrinkle component extraction means 9 Wrinkle component removal means 11 Output means 13 Wrinkle amount detection means 15 Area determination means 17 Image extraction means 19 Monitor 21 Display control means 31 Filtering means 33 Interpolating means 35 Control means

Claims (6)

顔を含む写真画像において、シワ成分が集中する領域をシワ確認領域として決定するシワ確認領域決定手段と、
前記写真画像に対して前記シワ成分を除去する美肌処理を施して該美肌処理が施された処理済み画像を得る美肌処理手段と、
前記処理済み画像における、前記シワ確認領域に対応する領域の画像を処理済み確認画像として取得する確認画像取得手段と、
抽出された前記処理済み確認画像を、表示装置の解像度に合致したサイズで表示させる表示制御手段とを備えたことを特徴とする画像処理装置。
In a photographic image including a face, a wrinkle confirmation region determining means for determining a region where wrinkle components are concentrated as a wrinkle confirmation region;
Skin-beautifying means for obtaining a processed image that has been subjected to skin-beautifying treatment by removing the wrinkle component from the photographic image;
Confirmation image acquisition means for acquiring an image of a region corresponding to the wrinkle confirmation region in the processed image as a processed confirmation image;
An image processing apparatus comprising: a display control unit configured to display the extracted processed confirmation image with a size that matches a resolution of the display apparatus.
前記確認画像取得手段が、前記写真画像における前記シワ確認領域に対応する領域の画像を処理前確認画像として抽出する手段であり、
前記表示制御手段が、前記処理済み確認画像を、前記処理前確認画像とともに前記表示装置に表示させる手段であることを特徴とする請求項1記載の画像処理装置。
The confirmation image acquisition means is a means for extracting an image of a region corresponding to the wrinkle confirmation region in the photographic image as a pre-processing confirmation image;
The image processing apparatus according to claim 1, wherein the display control unit is a unit that causes the display device to display the processed confirmation image together with the pre-processing confirmation image.
前記シワ確認領域決定手段が、前記写真画像を分割することによって得られた複数の同一サイズの領域画像毎にシワ成分の量を検出するシワ量検出手段と、
前記シワ量が最も多い前記領域画像に対応する領域を前記シワ確認領域として決定する領域決定手段とを備えてなることを特徴とする請求項1または2記載の画像処理装置。
The wrinkle confirmation area determining means detects the amount of wrinkle components for each of a plurality of area images of the same size obtained by dividing the photographic image;
The image processing apparatus according to claim 1, further comprising an area determination unit that determines an area corresponding to the area image having the largest wrinkle amount as the wrinkle confirmation area.
前記美肌処理手段が、前記写真画像に基づいて、該写真画像の複数の周波数帯域毎の成分を表す複数の帯域制限画像を作成する手段と、
出力値の絶対値を入力値の絶対値以下にする処理であって、かつ絶対値が所定の閾値以下である入力値に対しては、該入力値の絶対値が大きいほど出力値の絶対値が大きくなる一方、絶対値が前記所定の閾値より大きい入力値に対しては、出力値の絶対値が前記所定の閾値に対応する出力値の絶対値以下となる非線形変換処理を前記帯域制限画像のそれぞれの画素値に対して施して複数の変換画像を得る手段と、
所定の減算係数を前記複数の変換画像の画素値に乗算する手段と、
前記写真画像の画素値から、前記減算係数を乗算された前記複数の変換画像の画素値を減算して前記処理済み画像の画素値を得る手段とを備えてなることを特徴とする請求項1から3のいずれか1項記載の画像処理装置。
Means for creating a plurality of band limited images representing components for each of a plurality of frequency bands of the photographic image based on the photographic image;
For an input value in which the absolute value of the output value is less than or equal to the absolute value of the input value and the absolute value is less than or equal to a predetermined threshold value, the absolute value of the output value increases as the absolute value of the input value increases. On the other hand, for an input value whose absolute value is larger than the predetermined threshold, nonlinear conversion processing in which the absolute value of the output value is equal to or smaller than the absolute value of the output value corresponding to the predetermined threshold is performed in the band-limited image. Means for applying to each pixel value to obtain a plurality of converted images;
Means for multiplying a pixel value of the plurality of converted images by a predetermined subtraction coefficient;
2. A device for obtaining a pixel value of the processed image by subtracting a pixel value of the plurality of converted images multiplied by the subtraction coefficient from a pixel value of the photographic image. 4. The image processing apparatus according to any one of items 1 to 3.
顔を含む写真画像において、シワ成分が集中する領域をシワ確認領域として決定し、
前記写真画像に対して前記シワ成分を除去する美肌処理を施して該美肌処理が施された処理済み画像を得、
前記処理済み画像における、前記シワ確認領域に対応する領域の画像を処理済み確認画像として取得し、
抽出された前記処理済み確認画像を、表示装置の解像度に合致したサイズで表示させることを特徴とする画像処理方法。
In a photographic image including a face, an area where wrinkle components are concentrated is determined as a wrinkle confirmation area,
Applying a skin beautifying process to remove the wrinkle component on the photographic image to obtain a processed image subjected to the skin beautifying process,
Obtaining an image of a region corresponding to the wrinkle confirmation region in the processed image as a processed confirmation image;
An image processing method, wherein the extracted processed confirmation image is displayed in a size that matches a resolution of a display device.
顔を含む写真画像において、シワ成分が集中する領域をシワ確認領域として決定する手順と、
前記写真画像に対して前記シワ成分を除去する美肌処理を施して該美肌処理が施された処理済み画像を得る手順と、
前記処理済み画像における、前記シワ確認領域に対応する領域の画像を処理済み確認画像として取得する手順と、
抽出された前記処理済み確認画像を、表示装置の解像度に合致したサイズで表示させる手順とを有する画像処理方法をコンピュータに実行させるためのプログラム。
In a photographic image including a face, a procedure for determining a wrinkle component concentration area as a wrinkle confirmation area;
A procedure for obtaining a processed image subjected to the skin beautification process by removing the wrinkle component from the photographic image;
A procedure for acquiring an image of a region corresponding to the wrinkle confirmation region in the processed image as a processed confirmation image;
A program for causing a computer to execute an image processing method including displaying the extracted processed confirmation image in a size that matches a resolution of a display device.
JP2004236533A 2004-08-16 2004-08-16 Image processor, method and program Withdrawn JP2006053859A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004236533A JP2006053859A (en) 2004-08-16 2004-08-16 Image processor, method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004236533A JP2006053859A (en) 2004-08-16 2004-08-16 Image processor, method and program

Publications (1)

Publication Number Publication Date
JP2006053859A true JP2006053859A (en) 2006-02-23

Family

ID=36031287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004236533A Withdrawn JP2006053859A (en) 2004-08-16 2004-08-16 Image processor, method and program

Country Status (1)

Country Link
JP (1) JP2006053859A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008004521A1 (en) * 2006-07-03 2008-01-10 Nippon Telegraph And Telephone Corporation Image processing method and device, image processing program, and recording medium containing the program
JP4899174B1 (en) * 2011-03-15 2012-03-21 フリュー株式会社 Image printing apparatus and method, and program
WO2013157570A1 (en) * 2012-04-20 2013-10-24 富士フイルム株式会社 Image capturing apparatus, image capturing method, and program
JP2014157428A (en) * 2013-02-14 2014-08-28 Panasonic Corp Image display device, image display method, and program
CN109584171A (en) * 2018-11-07 2019-04-05 厦门欢乐逛科技股份有限公司 Fold minimizing technology and device based on figure layer splicing

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008004521A1 (en) * 2006-07-03 2008-01-10 Nippon Telegraph And Telephone Corporation Image processing method and device, image processing program, and recording medium containing the program
JP4839375B2 (en) * 2006-07-03 2011-12-21 日本電信電話株式会社 Image processing method and apparatus, image processing program, and recording medium recording the program
US8611434B2 (en) 2006-07-03 2013-12-17 Nippon Telegraph And Telephone Corporation Image processing method and apparatus, image processing program, and storage medium which stores the program
JP4899174B1 (en) * 2011-03-15 2012-03-21 フリュー株式会社 Image printing apparatus and method, and program
WO2013157570A1 (en) * 2012-04-20 2013-10-24 富士フイルム株式会社 Image capturing apparatus, image capturing method, and program
JP2013225193A (en) * 2012-04-20 2013-10-31 Fujifilm Corp Imaging device, imaging method and program
US9154691B2 (en) 2012-04-20 2015-10-06 Fujifilm Corporation Image capturing apparatus, image capturing method, and program
JP2014157428A (en) * 2013-02-14 2014-08-28 Panasonic Corp Image display device, image display method, and program
CN109584171A (en) * 2018-11-07 2019-04-05 厦门欢乐逛科技股份有限公司 Fold minimizing technology and device based on figure layer splicing

Similar Documents

Publication Publication Date Title
JP4455897B2 (en) Image processing method, apparatus, and program
EP2187620B1 (en) Digital image processing and enhancing system and method with function of removing noise
JP5595121B2 (en) Image processing apparatus, image processing method, and program
JP2006085678A (en) Image generation method, image generation apparatus, and image generation program
JPH11250246A (en) Image processing method and image processor
JP2008234342A (en) Image processor and image processing method
JP2006352431A (en) Imaging apparatus
JP2004127064A (en) Image processing method, image processor, image processing program and image recording device
JP4097587B2 (en) Image processing apparatus and image processing method
JP2005196270A (en) Image processing method, image processing equipment, and image processing program
JP4456096B2 (en) Noise removing method, apparatus, and program
JP2017111595A (en) Image processing device, image processing method, image processing program and image processing system
JP2006053859A (en) Image processor, method and program
WO2017175452A1 (en) Image processing device, image pickup device, image processing method, and program
JP4274426B2 (en) Image processing method, apparatus, and program
JP4851196B2 (en) Image processing method and apparatus, and image processing program
JP4402994B2 (en) Image processing method, apparatus, and program
JP2001285641A (en) Image processing method, image processing apparatus and recording medium
JP2005351645A (en) Surface-damage detecting method, detector therefor and program
JP2005182232A (en) Luminance correcting device and method
JP2006053821A (en) Image processor, method and program
JP4087807B2 (en) Image processing method, apparatus, and program
JP4585253B2 (en) Authentication system
JP2000331153A (en) Image processing method and device
Samadani et al. Representative image thumbnails: Automatic and manual

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20061207

A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20071106