JPH10233919A - Image processor - Google Patents

Image processor

Info

Publication number
JPH10233919A
JPH10233919A JP9037561A JP3756197A JPH10233919A JP H10233919 A JPH10233919 A JP H10233919A JP 9037561 A JP9037561 A JP 9037561A JP 3756197 A JP3756197 A JP 3756197A JP H10233919 A JPH10233919 A JP H10233919A
Authority
JP
Japan
Prior art keywords
image
image processing
background
main part
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP9037561A
Other languages
Japanese (ja)
Inventor
Toru Matama
玉 徹 真
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 JP9037561A priority Critical patent/JPH10233919A/en
Publication of JPH10233919A publication Critical patent/JPH10233919A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Facsimile Image Signal Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To output an image that has a stereoscopic effect and a depth feeling with a simple operation by automatically making a main part sharp and giving background an out-of-focus effect (foreground out-of-focus effect) that shades off the background. SOLUTION: A photoprinter 10 consists of a scanner 12, an image processor (processor) 14 and a printer 16. The processor 14 has a detecting part 18 and an image processing part 20, performs image processing of image data that is read by the scanner 12, etc., in accordance with prescribed image processing and the instruction of an operator and makes it image data for image recording by the printer 16. When image information of two same images that have different focus conditions is received and when the main part and background of the image are detected, image processing that makes the main part and background different is performed to at least one of image information of the two images in accordance with the detection result. Not only normal image processing but also, what is called, a background out-of-focus (foreground out-of- focus) effect are given to an image to be formed, that is, the main part is accurately brought into a focus and the background is suitably shaded off.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、デジタルの画像読
取再生装置等に利用される画像処理装置の技術分野に属
し、詳しくは、立体感や奥行感のある画像を、簡易な操
作で出力することを可能にする画像処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention belongs to the technical field of an image processing apparatus used for a digital image reading / reproducing apparatus and the like, and more specifically, outputs an image having a three-dimensional effect and a depth effect by a simple operation. The present invention relates to an image processing apparatus that enables the above.

【0002】[0002]

【従来の技術】現在、ネガフィルム、リバーサルフィル
ム等の写真フィルム(以下、フィルムとする)に撮影さ
れた画像の印画紙等の感光材料への焼き付けは、フィル
ムの投影光を感光材料に入射して、この投影光で感光材
料を面露光する、いわゆる直接(アナログ)露光が主流
である。
2. Description of the Related Art At present, an image photographed on a photographic film (hereinafter, referred to as a film) such as a negative film or a reversal film is printed on a photosensitive material such as photographic paper by projecting light of the film onto the photosensitive material. So-called direct (analog) exposure, which exposes a photosensitive material with this projection light, is the mainstream.

【0003】これに対し、近年では、デジタル露光を利
用する焼付装置、すなわち、フィルムに撮影された画像
を光電的に読み取って、読み取った画像をデジタル信号
とした後、種々の画像処理を施して記録用の画像データ
とし、この画像データに応じて変調した記録光によって
感光材料を走査露光して画像(潜像)を記録し、現像処
理を施してプリント(写真)として出力するデジタルフ
ォトプリンタが実用化された。
On the other hand, in recent years, a printing apparatus using digital exposure, that is, an image captured on a film is photoelectrically read, and the read image is converted into a digital signal, and then subjected to various image processing. 2. Description of the Related Art A digital photo printer that scans and exposes a photosensitive material with recording light modulated according to the image data, records an image (latent image), develops the image, and outputs it as a print (photograph) is used as image data for recording. It was put to practical use.

【0004】デジタルフォトプリンタでは、フィルムを
光電的に読み取り、信号処理によって色濃度補正が行わ
れて露光条件が決定される。従って、露光時のオペレー
タによる露光条件の決定、フィルタ等の調整が不要で、
また、露光時間も画像サイズに応じて一定であるため、
効率のよい作業を行うことができる。また、デジタルフ
ォトプリンタによれば、従来の直接露光によるプリント
に比して、分解能、色/濃度再現性等の点で、より高画
質な画像を再生したプリントが出力可能であり、しか
も、画像合成や分割等の画像編集や、色/濃度調整、輪
郭強調等の画像処理も自由に行うことができ、用途に応
じて自由に処理したプリントを出力することができる。
さらに、プリントの画像は、基本的に画像データとして
扱われるので、プリントの出力のみならず、画像データ
をコンピュータ等に供給することができ、あるいは、画
像データとしてフロッピーディスク等の記憶媒体に保存
しておくこともできる。また、デジタルカメラ(電子ス
チルカメラ)やデジタルビデオカメラ等で撮影された画
像(画像データ)や、前記記録媒体に記憶された画像
も、プリントとして出力することが可能である。
In a digital photo printer, a film is read photoelectrically, and color density correction is performed by signal processing to determine exposure conditions. Therefore, the operator does not need to determine the exposure conditions and adjust the filters and the like at the time of exposure.
Also, since the exposure time is constant according to the image size,
Efficient work can be performed. Further, according to the digital photo printer, it is possible to output a print reproducing a higher quality image in terms of resolution, color / density reproducibility, etc. as compared with the conventional direct exposure print. It is also possible to freely perform image processing such as image editing such as synthesis and division, color / density adjustment, and edge enhancement, and output a print that has been freely processed according to the application.
Furthermore, since a print image is basically handled as image data, not only print output but also image data can be supplied to a computer or the like, or stored as image data in a storage medium such as a floppy disk. You can keep it. Further, images (image data) captured by a digital camera (electronic still camera), a digital video camera, or the like, and images stored in the recording medium can be output as prints.

【0005】このようなデジタルフォトプリンタは、基
本的に、スキャナ(画像読取装置)、画像処理装置、お
よび画像記録装置(プリンタ)より構成される。スキャ
ナは、読取光をフィルムに入射して撮影された画像を担
持する投影光を得て、この投影光をCCDセンサ等のイ
メージセンサに結像して光電変換することにより、フィ
ルムに撮影された画像を読み取り、フィルムの画像デー
タ(画像データ信号)として画像処理装置に送る。画像
処理装置は、スキャナから送られた画像データを受取
り、所定の画像処理を施して、記録のための画像データ
(露光条件)として、プリンタに送る。プリンタは、画
像処理装置から出力された画像データを受取り、例え
ば、光ビーム走査露光を利用する装置であれば、画像処
理装置から送られた画像データに応じて光ビームを変調
して主走査方向に偏向すると共に、主走査方向と直交す
る副走査方向に感光材料(印画紙)を搬送することによ
り、光ビームによって感光材料を走査露光(焼付け)し
て潜像を形成し、感光材料に応じた現像処理等を施し
て、フィルムに撮影された画像が再生されたプリントと
して出力する。
[0005] Such a digital photo printer basically comprises a scanner (image reading device), an image processing device, and an image recording device (printer). The scanner obtains projection light carrying the captured image by inputting the reading light to the film, forms the projection light on an image sensor such as a CCD sensor, and photoelectrically converts the projection light into an image. The image is read and sent to an image processing device as film image data (image data signal). The image processing apparatus receives the image data sent from the scanner, performs predetermined image processing, and sends the image data to a printer as image data (exposure conditions) for recording. The printer receives the image data output from the image processing device, and modulates the light beam according to the image data sent from the image processing device, for example, if the device uses light beam scanning exposure, and The photosensitive material (printing paper) is conveyed in a sub-scanning direction orthogonal to the main scanning direction, and is scanned and exposed (printed) by a light beam to form a latent image. Then, the image photographed on the film is output as a reproduced print.

【0006】[0006]

【発明が解決しようとする課題】ところで、立体感や奥
行感を好適に再現した高品位な画像を再現するための処
理として、主要部(主要被写体)に的確に焦点(ピン
ト)を合わせ、背景を好適にボカした、いわゆる後ろボ
ケ(あるいは前ボケ)効果が知られている。従来の直接
露光のフォトプリンタでは、後ろボケ効果を付与した画
像を得るためには、高価な一眼レフカメラ等を撮影に用
いることが不可欠であり、コンパクトカメラや写ルンで
す(富士写真フイルム社製)等のレンズ付きフィルムな
どの安価なカメラは、画面全体に焦点が合っているパン
フォーカス的な撮影しかできない傾向にあるため、後ろ
ボケ効果を付与した画像を得ることは不可能である。こ
れに対し、前述のデジタルフォトプリンタであれば、画
像処理によって、コンパクトカメラ等によって撮影した
画像から、後ろボケ効果を付与した画像を形成すること
が可能である。
By the way, as a process for reproducing a high-quality image in which a three-dimensional effect and a depth effect are suitably reproduced, a main part (main subject) is accurately focused on, and a background is focused. A so-called rear blur (or front blur) effect in which the image is suitably blurred is known. In a conventional direct exposure photo printer, it is essential to use an expensive single-lens reflex camera or the like for photographing in order to obtain an image with a bokeh effect. Inexpensive cameras such as film with a lens such as (1) tend to be able to perform only pan-focus shooting in which the entire screen is in focus. Therefore, it is impossible to obtain an image with a rear blur effect. On the other hand, with the above-described digital photo printer, it is possible to form an image with a rear blur effect from an image captured by a compact camera or the like by image processing.

【0007】画像処理による後ろボケ効果を付与した画
像は、フォトショップ(Adobe社製)のような市販のフォ
トレタッチソフト等の画像処理ツールを用いて、画像か
ら主要部を切り抜き、主要部に鮮鋭化(シャープネス)
処理を施し、他方、背景部にボカシ処理を施した後、主
要部と背景部とを合成することにより形成することがで
きる。すなわち、画像処理によって画像に後ろボケ効果
を付与するためには、切り抜き処理が必要であるが、切
り抜き処理は煩雑で、自動で行うことはほとんど不可能
であるため、オペレータがユーザインターフェース等を
用いて切り抜き作業を行う必要がある。しかも、前述の
ように、切り抜き作業は煩雑であるため、画像によって
は、非常に手間と時間がかかる作業となってしまい、オ
ペレータにとっては重い負担となってしまう場合も多
い。
[0007] The image to which the back bokeh effect is given by image processing is cut out of the main part from the image using an image processing tool such as a commercially available photo retouching software such as Photoshop (made by Adobe), and the main part is sharpened. (Sharpness)
It can be formed by subjecting the background portion to a blurring process and then combining the main portion and the background portion. That is, in order to add a rear blur effect to an image by image processing, a clipping process is necessary. However, since the clipping process is complicated and almost impossible to perform automatically, an operator uses a user interface or the like. It is necessary to carry out cutting work. In addition, as described above, since the clipping operation is complicated, depending on the image, the operation is extremely time-consuming and time-consuming, and often places a heavy burden on the operator.

【0008】本発明の目的は、前記従来技術の問題点を
解決することにあり、コンパクトカメラやレンズ付きフ
イルム等の安価なカメラやデジタルカメラ等で撮影した
画像からでも、画像処理ツール等を用いたオペレータに
よる切り抜き作業等の煩雑な作業を行わずに、自動的
に、主要部が鮮鋭で背景をボカした後ろボケ効果(前ボ
ケ効果)を付与した画像を形成することを可能にする画
像処理装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems of the prior art, and to use an image processing tool or the like even from an image taken by an inexpensive camera such as a compact camera or a film with a lens or a digital camera. Image processing that automatically forms an image with a sharp back-blur effect (front blur effect) in which the main part is sharp without performing complicated work such as clipping work by the operator It is to provide a device.

【0009】[0009]

【課題を解決するための手段】前記目的を達成するため
に、本発明は、焦点条件の異なる2枚の同画像の画像情
報を受けて、前記画像の主要部と背景とを検出する検出
手段と、前記検出結果に応じて、前記2枚の画像の画像
情報の少なくとも一方に、主要部と背景とで異なる画像
処理を施す画像処理手段とを有することを特徴とする画
像処理装置を提供する。
To achieve the above object, the present invention provides a detecting means for receiving image information of two same images having different focus conditions and detecting a main part of the image and a background. And an image processing unit that performs different image processing for at least one of the image information of the two images between a main part and a background in accordance with the detection result. .

【0010】また、前記画像処理手段において、前記主
要部に施す画像処理が鮮鋭化処理で、前記背景に施す画
像処理がボカシ処理であるのが好ましい。
In the image processing means, it is preferable that the image processing performed on the main part is a sharpening processing and the image processing performed on the background is a blur processing.

【0011】さらに、前記2枚の画像が、一方は主要部
に焦点を合わせた画像で、他方が背景に焦点を合わせた
画像で、前記検出手段が、2枚の画像のエッジ成分を用
いて、前記画像の主要部と背景とを検出するのが好まし
い。
Further, the two images are one of which is an image focused on a main part, the other is an image focused on a background, and the detecting means uses an edge component of the two images. Preferably, the main part and the background of the image are detected.

【0012】[0012]

【発明の実施の形態】以下、本発明の画像処理装置につ
いて、添付の図面に示される好適実施例を元に詳細に説
明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an image processing apparatus according to the present invention will be described in detail based on a preferred embodiment shown in the accompanying drawings.

【0013】図1に、本発明の画像処理装置を利用する
デジタルフォトプリンタの一例のブロック図を示す。デ
ジタルフォトプリンタ10(以下、フォトプリンタ10
とする)は、長尺なフィルムに多数の画像が撮影されて
いるストリップスや、リバーサルフィルムを枠体に保持
してなるスライド等のフィルムに撮影された画像を再生
したプリントを作成するものである。このようなフォト
プリンタ10は、フィルムに撮影された画像を光電的に
読み取る読取装置であるスキャナ12と、スキャナ12
で読み取られたフィルムの画像データ等に所定の画像処
理を施して、出力のための画像データとして出力する本
発明の画像処理装置14(以下、処理装置14とする)
と、処理装置14から出力された画像データに応じて変
調した光ビームで感光材料を走査露光して、現像処理を
施してプリントとして出力する記録装置であるプリンタ
16とを有して構成される。
FIG. 1 is a block diagram showing an example of a digital photo printer using the image processing apparatus of the present invention. Digital photo printer 10 (hereinafter, photo printer 10)
Is to create a print that reproduces images taken on film such as strips in which many images are taken on long film, slides in which a reversal film is held on a frame, etc. is there. Such a photo printer 10 includes a scanner 12 as a reading device that photoelectrically reads an image photographed on a film, and a scanner 12.
An image processing device 14 of the present invention (hereinafter, referred to as a processing device 14) that performs predetermined image processing on image data or the like of a film read in step 1 and outputs the processed image data as image data for output
And a printer 16 that is a recording device that scans and exposes the photosensitive material with a light beam modulated in accordance with image data output from the processing device 14, performs a development process, and outputs the print as a print. .

【0014】フィルムに撮影された画像を光電的に読み
取るスキャナ12は、光源、可変絞り、フィルムに撮影
された画像をR(赤)、G(緑)およびB(青)の三原
色に分解する色フィルタ板、結像レンズユニット、CC
Dセンサ等のイメージセンサ、A/D(アナログ/デジ
タル)変換器、信号をlog変換するLUT(ルックア
ップテーブル)等を有する、公知の画像の読取装置であ
る。
A scanner 12 that photoelectrically reads an image captured on a film is provided with a light source, a variable aperture, and a color that separates the image captured on the film into three primary colors of R (red), G (green), and B (blue). Filter plate, imaging lens unit, CC
It is a known image reading device having an image sensor such as a D sensor, an A / D (analog / digital) converter, an LUT (lookup table) for log-converting a signal, and the like.

【0015】スキャナ12においては、光源から射出さ
れ、可変絞りによって光量調整され、色フィルタ板を通
過して色調整された読取光がフィルムに入射して、透過
することにより、フィルムに撮影された画像を担持する
投影光を得る。フィルムの投影光は、結像レンズユニッ
トによってCCDセンサの受光面に結像され、光電的に
読み取られる。CCDセンサからの出力信号は、A/D
変換器によってデジタル信号化され、LUTでlog変
換され、フィルムに撮影された画像の(デジタル)画像
データとして処理装置14に送られる。スキャナ12で
は、このような画像読取を、R、GおよびBの色フィル
タを順次挿入して3回行うことにより、フィルムに撮影
された画像をR、GおよびBの3原色に分解して読み取
る。
In the scanner 12, a reading light, which is emitted from a light source, adjusted in light amount by a variable aperture, passes through a color filter plate, and is color-adjusted, enters the film and transmits, thereby photographing the film. Obtain projection light carrying the image. The projection light of the film is imaged on the light receiving surface of the CCD sensor by the imaging lens unit, and is read photoelectrically. The output signal from the CCD sensor is A / D
The signal is converted into a digital signal by a converter, log-converted by an LUT, and sent to the processing device 14 as (digital) image data of an image captured on a film. The scanner 12 performs such image reading three times by sequentially inserting the R, G, and B color filters, and separates and reads the image captured on the film into the three primary colors of R, G, and B. .

【0016】処理装置14は、検出部18と画像処理部
20とを有し、スキャナ12等で読み取られた画像デー
タに所定の画像処理やオペレータの指示に応じた画像処
理を施して、プリンタ16による画像記録用の画像デー
タとするもので、CPU、メモリ、各種の画像処理回路
等を組み合わせて構成される。また、処理装置14は、
画像処理に加え、フォトプリンタ10全体の制御や管理
を行うものであり、画像処理関係の部位以外にも、フォ
トプリンタ10全体の動作制御や各種の指示、管理を行
うCPU、フォトプリンタ10全体を作動するのに必要
なデータを記憶するメモリ、本スキャンにおける可変絞
りの絞り値を決定する手段等が配置され、また、様々な
条件や処理の指示(設定)、プリントするコマやプリン
ト枚数、色/濃度補正などの指示等を入力するためのキ
ーボード36およびマウス38、スキャナ12で読み取
られた画像、各種の操作指示、スクールフォトのパター
ン等の様々な条件や仕様等の設定/登録画面等を表示す
るディスプレイ40が接続される。従って、このような
処理装置14は、通常、ワークステーションやコンピュ
ータ等によって構成される。
The processing unit 14 has a detecting unit 18 and an image processing unit 20 and performs predetermined image processing on image data read by the scanner 12 or the like or image processing in accordance with an operator's instruction. , And is configured by combining a CPU, a memory, various image processing circuits, and the like. Further, the processing device 14
In addition to image processing, it controls and manages the entire photo printer 10. In addition to the image processing-related parts, the CPU that controls the operation of the entire photo printer 10 and various instructions and management, and the entire photo printer 10 A memory for storing data necessary for the operation, means for determining the aperture value of the variable aperture in the main scan, and the like are provided. In addition, various conditions and processing instructions (settings), frames to be printed, the number of prints, and colors are provided. A keyboard 36 and a mouse 38 for inputting instructions such as density correction and the like, images read by the scanner 12, various operation instructions, setting / registration screens for various conditions and specifications such as school photo patterns, and the like. A display 40 for displaying is connected. Therefore, such a processing device 14 is generally constituted by a workstation, a computer, or the like.

【0017】なお、本発明にかかる処理装置14が処理
する画像データは、図示されるフィルム画像を読み取る
スキャナ12から供給される画像データのみならず、デ
ジタルカメラ(電子スチルカメラ)やデジタルビデオカ
メラ等で撮影された画像の画像データや、印刷物等の反
射原稿の読取装置で読み取られた画像データ等であって
もよく、また、フロッピーディスクやMO(光磁気記憶
媒体)等の記憶媒体に記憶された画像データであっても
よい。
The image data processed by the processing device 14 according to the present invention is not limited to image data supplied from the scanner 12 for reading a film image shown in the figure, but may also be a digital camera (electronic still camera), a digital video camera, or the like. The data may be image data of an image photographed in the above or image data read by a reading device of a reflection original such as a printed matter, or may be stored in a storage medium such as a floppy disk or MO (magneto-optical storage medium). Image data.

【0018】通常の画像処理によるプリントの作成(処
理済画像データの出力)を行う際には、スキャナ12等
から供給された画像データは画像処理部20に送られ
る。画像処理部20は供給された画像データに、色/濃
度補正、中間階調を保持した画像のダイナミックレンジ
の圧縮/伸張(画像処理による覆い焼き効果の付与)、
画像データ処理による画像の変倍処理すなわち電子変倍
処理、画像の鮮鋭化(シャープネス)処理等の所定の画
像処理を施し、記録用の画像データとしてプリンタ16
に出力する。なお、処理装置14においては、前記画像
処理(あるいは、後述する後ろボケ効果の付与)の前
に、必要に応じて、スキャナ12等から供給された画像
データに、必要に応じて、DCオフセット補正、暗時補
正、シェーディング補正等の各種の補正を施してもよ
い。
When a print is to be created (output of processed image data) by normal image processing, image data supplied from the scanner 12 or the like is sent to the image processing unit 20. The image processing unit 20 performs color / density correction, compression / expansion of a dynamic range of an image holding an intermediate gradation (providing a dodging effect by image processing) on the supplied image data,
The image data is subjected to predetermined image processing such as image scaling processing, that is, electronic scaling processing, image sharpening (sharpness) processing, and the like.
Output to Note that, in the processing device 14, before the image processing (or the application of the later-described blurring effect described later), the image data supplied from the scanner 12 or the like may be subjected to DC offset correction as necessary. Various corrections such as darkness correction and shading correction may be performed.

【0019】ここで、本発明にかかる処理装置14は、
このような通常の画像処理のみならず、形成する画像
に、主要部に的確に焦点を合わせ背景を好適にボカし
た、いわゆる後ろボケ(前ボケ)効果の付与も行うこと
ができるものである。以下、後ろボケ効果を付与する際
の作用と共に、本発明の画像処理装置の構成について、
より詳細に説明する。
Here, the processing device 14 according to the present invention comprises:
In addition to such normal image processing, an image to be formed can be given a so-called back blur (front blur) effect in which the main part is accurately focused and the background is appropriately blurred. Hereinafter, together with the operation when imparting the back blur effect, the configuration of the image processing apparatus of the present invention,
This will be described in more detail.

【0020】後ろボケ効果を付与する際には、処理装置
14には、同画像で焦点条件の異なる2つの画像の画像
データ、具体的には、全く同じ画像(シーン)であっ
て、主要部(主要被写体)に焦点があっている画像の画
像データと、背景に焦点が合っている画像の画像データ
の2つの画像データが供給される。処理装置14におい
て、検出部18には両画像データが送られ、画像処理部
20には主要部に焦点があっている画像の画像データの
みが送られる。なお、このような画像は、例えば、三脚
等でカメラ(光学カメラ、デジタルカメラ、デジタルビ
デオカメラ等)を固定して最初は主要部に焦点を合わせ
て撮影を行い、次いで背景に焦点を合わせて撮影を行う
方法、焦点位置の視線センサを有するカメラを用い、カ
メラを動かさずに視線で焦点位置を変更して2枚の画像
を撮影する方法、ある点(通常は主要部)に焦点を合わ
せて撮影をした後、所定時間カメラが動かない場合には
自動的に焦点位置を背景に合わせて撮影するカメラを用
いる方法等、各種の手段で得ることができる。
When the rear blur effect is applied, the processing unit 14 supplies the image data of two images having the same image but different focusing conditions, specifically, exactly the same image (scene), Two pieces of image data, that is, image data of an image focused on (main subject) and image data of an image focused on the background are supplied. In the processing device 14, both image data are sent to the detection unit 18, and only image data of the image focused on the main part is sent to the image processing unit 20. For example, such an image is obtained by fixing a camera (optical camera, digital camera, digital video camera, etc.) with a tripod or the like, first focusing on a main part, and then focusing on a background. A method of taking a picture, a method of using a camera having a line-of-sight sensor of a focal position, changing the focal position with a line of sight without moving the camera, and photographing two images, focusing on a certain point (usually a main part) If the camera does not move for a predetermined time after the shooting, the camera can be obtained by various means such as a method using a camera that automatically shoots with the focus position adjusted to the background.

【0021】このような2種類の画像の画像データを受
けた検出部18は、両画像のエッジ成分、例えば、高周
波数成分あるいはさらに中周波数成分を取り出し、その
絶対値を出す。以下、主要部に焦点が合っている画像の
(中)高周波数成分の絶対値を |Y(a) MH| 、背景に
焦点が合っている画像の(中)高周波数成分の絶対値を
|Y(b) MH| とする。なお、(中)高周波数成分は、
ハイ(バンド)パスフィルタを用いる方法、ローパスフ
ィルタで低周波数成分を生成した後、原信号から低周波
数成分を減算する方法等の公知の方法で取り出せばよ
い。
The detecting section 18 which has received the image data of the two types of images extracts the edge components of both images, for example, a high frequency component or a further intermediate frequency component, and outputs the absolute value. Hereinafter, the absolute value of the (medium) high frequency component of the image focused on the main part is | Y (a) MH |, and the absolute value of the (medium) high frequency component of the image focused on the background is | Y (b) MH |. The (medium) high frequency component is
A known method such as a method using a high (band) pass filter or a method of generating a low frequency component with a low pass filter and then subtracting the low frequency component from the original signal may be used.

【0022】図2に、同画像で主要部および背景に焦点
が合っている2枚の画像における、1本の同じ画素線の
画像濃度(画像データ)、および、その中高周波数成分
を模式的に示す。図2に示される例は、中央部に主要部
がある画像の例で、図2(a−1)は主要部に焦点が合
っている画像の濃度、および図2(a−2)はその中高
周波数成分の絶対値 |Y(a) MH| で、図2(b−1)
は背景に焦点が合っている画像の濃度、および図2(b
−2)はその中高周波数成分の絶対値 |Y(b) MH| で
ある。
FIG. 2 schematically shows the image density (image data) of one and the same pixel line and the middle and high frequency components in two images in which the main part and the background are focused on the same image. Show. The example shown in FIG. 2 is an example of an image having a main part in the center, FIG. 2 (a-1) shows the density of the image focused on the main part, and FIG. The absolute value of the middle and high frequency components | Y (a) MH |
Is the density of the image focused on the background, and FIG.
-2) is the absolute value | Y (b) MH | of the middle and high frequency components.

【0023】次いで、検出部18は、例えば下記に示さ
れるように |Y(a) MH| と |Y(b ) MH| の差を取る。 Ysub =|Y(a) MH| − |Y(b) MH| 図3(a)に、図2における『Ysub =|Y(a) MH| −
|Y(b) MH|』を示す。図より明らかなように、この差
を取ることにより、その正負によって対応する画像デー
タ(画素)が主要部か背景かを判別することができる。
すなわち画像の主要部と背景との境界(いわゆるエッジ
部)を明白にすることができる。
Next, the detection unit 18 takes the difference between | Y (a) MH | and | Y (b ) MH |, for example, as shown below. Y sub = | Y (a) MH | − | Y (b) MH | FIG. 3A shows “Y sub = | Y (a) MH | − in FIG.
| Y (b) MH |]. As is clear from the figure, by taking this difference, it is possible to determine whether the corresponding image data (pixel) is the main part or the background by the sign.
That is, the boundary between the main part of the image and the background (so-called edge part) can be made clear.

【0024】なお、本発明においては、このような
(中)高周波数成分を用いる方法以外にも、焦点条件が
異なる2枚の同画像を用い、画像の主要部と背景や、そ
のエッジ部を検出できる方法が各種利用可能である。
In the present invention, in addition to the method using the (middle) high frequency component, two main images having different focus conditions are used, and the main part, the background, and the edge part of the image are used. Various detection methods are available.

【0025】検出部18による判別結果は、画像処理部
20に送られる。画像処理部20は、先に送られた主要
部に焦点があっている画像の画像データに、検出部18
がYsub で判別した、その画像データ(画素)が主要部
か背景かに応じて、主要部であればシャープネス(鮮鋭
化)処理を掛け、背景であればボカシ処理を掛け、後ろ
ボケ処理効果が付与された画像(画像データ)とする。
なお、目的とする画像に応じて、背景に焦点が合ってい
る画像を用いて後ろボケ処理効果が付与された画像とし
てもよい。図3に示されるように、この例においては、
sub >0であれば、主要部であるのでシャープネス処
理を掛け、Ysub <0であれば、背景であるのでボカシ
処理を掛ける。図3(b)に、前記判別に応じてシャー
プネス処理もしくはボカシ処理を掛けられた後の前記図
2(a−1)の画像(画像データ)を示す。
The result of the determination by the detecting section 18 is sent to the image processing section 20. The image processing section 20 adds the detection section 18 to the image data of the image focused on the main section sent earlier.
According to whether the image data (pixel) determined as Ysub is the main part or the background, if the main part, sharpness (sharpening) processing is applied, if it is the background, the blur processing is applied, and the back blur processing effect (Image data) assigned with.
It should be noted that an image in which the background is in focus may be used as an image to which the rear blur processing effect has been applied, according to an intended image. As shown in FIG. 3, in this example,
If Y sub > 0, sharpness processing is applied because it is the main part, and if Y sub <0, blur processing is applied because it is the background. FIG. 3B shows the image (image data) of FIG. 2A after being subjected to the sharpness processing or the blur processing according to the determination.

【0026】従って、本発明の画像処理装置によれば、
画像処理ツールを用いたオペレータによる主要部の切り
抜き等の作業を不要として、提供された画像データから
自動的に、主要部が鮮鋭で背景がボケている後ろボケ処
理効果が付与された画像を形成することができ、立体感
や奥行感を有する高品位な画像が記録されたプリント
を、簡易な操作で作成することが可能である。
Therefore, according to the image processing apparatus of the present invention,
Automatically forms an image to which the main part is sharp and the background is blurred, and the background is blurred, from the provided image data, eliminating the need for the operator to cut out the main part using the image processing tool. It is possible to create a print in which a high-quality image having a three-dimensional effect and a depth effect is recorded by a simple operation.

【0027】以上の例は、主要部に焦点が合っている画
像と、背景に焦点が合っている画像とを用いる例である
が、背景に焦点が合っている画像に関しては、背景に高
精度に焦点が合っていなくても、主要部の焦点を外して
おけば、精度は落ちるものの、画像の主要部と背景の境
界の抽出は可能である。また、本発明の画像処理装置で
は、焦点条件の違いによって2枚の画像に光学的な像倍
率の差が生じるので、好ましくは、焦点条件の情報をカ
メラから得る等の方法で、焦点条件を知見し、2枚の画
像の幾何学的な一致を行うのが好ましい。この際には、
例えば、背景に焦点の合った画像に対して幾何学的な補
正を施して主要部に焦点が合った画像に合わせた後、前
記画像の主要部と背景との境界の抽出を行えばよい。さ
らに、本発明においては、前述の様にしてYsub を得た
後、Ysub >0の領域の連結処理とYsub <0の領域の
連結処理とをそれぞれ行って、画像の領域を2つに明確
に分割した後、それぞれに対してシャープネス処理およ
びボカシ処理を掛けることにより、より好適にボケ処理
効果を付与できる等の点で好ましい結果を得る。
The above example is an example in which an image in which the main part is in focus and an image in which the background is in focus are used. Even if the image is not focused on, if the main part is defocused, it is possible to extract the boundary between the main part of the image and the background, although the accuracy is reduced. Further, in the image processing apparatus of the present invention, since a difference in optical image magnification occurs between the two images due to a difference in the focus condition, it is preferable to set the focus condition by a method such as obtaining information on the focus condition from a camera. It is preferable to know and perform geometrical matching of the two images. In this case,
For example, after the image focused on the background is subjected to geometric correction so as to adjust the image focused on the main part, the boundary between the main part of the image and the background may be extracted. Further, in the present invention, after obtaining Y sub as described above, the connection processing of the area of Y sub > 0 and the connection processing of the area of Y sub <0 are respectively performed, so that two areas of the image are obtained. Then, a sharp result and a blur process are applied to each of the divided images to obtain a favorable result in that a blurring effect can be more appropriately provided.

【0028】シャープネス処理の方法には特に限定はな
く、公知の方法が各種利用可能である。例えば、USM
(アンシャープネスマスク)を用いる方法、特開昭63
−26783号公報に開示される、画像データから輝度
信号と色彩信号を抽出し、輝度信号に空間フィルタ処理
を施して空間的情報を算出し、この空間的情報に所定の
強調処理を施して新たな輝度信号を求め、この輝度信号
と色彩信号とを合成して処理後の画像データとする方
法、本出願人による特願昭7−337510号明細書に
詳述される、画像データを低周波数成分、中周波数成分
および高周波数成分に分解し、中周波数成分および高周
波数成分から輝度成分を抽出して、抽出した中周波数成
分を抑制して高周波数成分を強調する処理を施した後
に、得られた中周波数成分と高周波数成分、および低周
波数成分とを合成して、処理後の画像データとする方法
等が例示される。
The method of the sharpness processing is not particularly limited, and various known methods can be used. For example, USM
(Unsharpness mask)
Japanese Patent Laid-Open No. 26678/1995 extracts a luminance signal and a chrominance signal from image data, performs spatial filter processing on the luminance signal to calculate spatial information, and performs predetermined emphasis processing on the spatial information to newly generate spatial information. A method for obtaining a suitable luminance signal and combining the luminance signal and the color signal to obtain processed image data. The method described in Japanese Patent Application No. 7-337510 by the applicant of the present invention, After decomposing into a component, a medium frequency component and a high frequency component, extracting a luminance component from the medium frequency component and the high frequency component, suppressing the extracted medium frequency component and emphasizing the high frequency component, A method of synthesizing the obtained middle frequency component, high frequency component, and low frequency component to obtain processed image data is exemplified.

【0029】他方、ボカシ処理の方法にも特に限定はな
く、ローパスフィルタを用いてボカす方法、平均化によ
る方法、レタッチソフト等の画像処理ツールを用いる方
法、例えばAdobe 社のphotoshop のフィルタの中のぼか
し(移動)、ぼかし(放射状)などによって特徴のある
ボカシを与える方法等、公知の方法が各種利用可能であ
る。
On the other hand, there is no particular limitation on the method of the blur processing, but a method of blurring using a low-pass filter, a method of averaging, a method of using an image processing tool such as retouching software, for example, a filter of Adobe Photoshop, Various known methods such as a method of giving a characteristic blur by blurring (moving) and blurring (radial) can be used.

【0030】本発明の処理装置12において、このよう
な画像処理による後ろボケ効果の付与は、前述の色/濃
度補正、ダイナミックレンジの圧縮/伸張等の必要な画
像処理を施した後に行ってもよく、あるいは、後ろボケ
効果を付与した後に必要な前記画像処理を施してもよ
く、あるいは、画像処理の種類に応じて、後ろボケ効果
の付与の前に処理を行うか後に処理を行うかを選択して
もよい。
In the processing device 12 of the present invention, the rear blur effect is imparted by such image processing even after the necessary image processing such as the above-described color / density correction and dynamic range compression / expansion is performed. Good, or may be subjected to the necessary image processing after applying the back blur effect, or, depending on the type of image processing, whether to perform processing before or after the application of the back blur effect You may choose.

【0031】前述のように、処理装置14(画像処理部
20)で所定の画像処理を施された画像データは、記録
用の画像データとしてプリンタ16に出力される。プリ
ンタ16は、画像データに応じて変調した記録光で感光
材料を露光して、所定の現像処理を施して、画像が形成
(再現)されたプリントとして出力するもので、例え
ば、光ビーム走査露光を利用する装置であれば、処理装
置14から送られた画像データに応じて光ビームを変調
して主走査方向に偏向すると共に、主走査方向と直交す
る副走査方向に感光材料(印画紙)を搬送することによ
り、光ビームによって感光材料を2次元的に走査露光
(焼付け)して潜像を形成し、感光材料に応じた現像処
理等を施してプリントとして出力する。なお、プリンタ
16以外にも、本発明の処理装置14で処理された画像
データをフロッピーディスクやMO等の記憶媒体(その
ドライブ)に出力し、記憶媒体に記憶してもよい。
As described above, the image data subjected to the predetermined image processing by the processing device 14 (image processing unit 20) is output to the printer 16 as image data for recording. The printer 16 exposes a photosensitive material with recording light modulated in accordance with image data, performs a predetermined development process, and outputs a print on which an image is formed (reproduced). In the case of an apparatus that uses a light source, the light beam is modulated in accordance with the image data sent from the processing device 14 to deflect the light beam in the main scanning direction, and a photosensitive material (printing paper) in the sub-scanning direction orthogonal to the main scanning direction. The photosensitive material is two-dimensionally scanned and exposed (printed) by a light beam to form a latent image, and is subjected to a development process or the like in accordance with the photosensitive material and output as a print. In addition to the printer 16, the image data processed by the processing device 14 of the present invention may be output to a storage medium (drive) such as a floppy disk or an MO and stored in the storage medium.

【0032】以上、本発明の画像処理装置について詳細
に説明したが、本発明は上記実施例に限定はされず、本
発明の要旨を逸脱しない範囲において、各種の改良およ
び変更を行ってもよいのはもちろんである。
Although the image processing apparatus of the present invention has been described in detail above, the present invention is not limited to the above embodiment, and various improvements and modifications may be made without departing from the gist of the present invention. Of course.

【0033】[0033]

【発明の効果】以上、詳細に説明したように、本発明の
画像処理装置によれば、フィルムを光電的に読み取り、
光ビーム走査などのデジタル露光を行うデジタルフォト
プリンタ等において、画像からの主要部の切り抜き等の
手間のかかる作業をオペレータが行う必要がなく、自動
的に後ろボケ効果を付与した画像を形成することがで
き、立体間や奥行間のある、高品位な画像が形成された
付加価値の高いプリントを容易に出力することが可能で
ある。
As described above, according to the image processing apparatus of the present invention, the film is read photoelectrically,
In a digital photo printer or the like that performs digital exposure such as light beam scanning, it is not necessary for an operator to perform troublesome work such as clipping of a main part from an image, and an image with a rear blur effect is automatically formed. This makes it possible to easily output a high-value-added print in which a high-quality image is formed between three-dimensional objects and between different depths.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の画像処理装置を利用するデジタルフ
ォトプリンタの一例のブロック図である。
FIG. 1 is a block diagram illustrating an example of a digital photo printer using an image processing apparatus according to the present invention.

【図2】 (a−1),(a−2),(b−1)および
(b−2)は、それぞれ本発明の画像処理装置における
画像データの処理を説明するためのグラフである。
FIGS. 2 (a-1), (a-2), (b-1) and (b-2) are graphs for explaining processing of image data in the image processing apparatus of the present invention.

【図3】 (a)および(b)は、それぞれ本発明の画
像処理装置における画像データの処理を説明するための
グラフである。
FIGS. 3A and 3B are graphs for explaining processing of image data in the image processing apparatus of the present invention, respectively.

【符号の説明】[Explanation of symbols]

10 (デジタル)フォトプリンタ 12 スキャナ 14 処理装置 16 プリンタ 18 検出部 20 画像処理部 DESCRIPTION OF SYMBOLS 10 (Digital) photo printer 12 Scanner 14 Processing device 16 Printer 18 Detection part 20 Image processing part

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】焦点条件の異なる2枚の同画像の画像情報
を受けて、前記画像の主要部と背景とを検出する検出手
段と、 前記検出結果に応じて、前記2枚の画像の画像情報の少
なくとも一方に、主要部と背景とで異なる画像処理を施
す画像処理手段とを有することを特徴とする画像処理装
置。
1. A detecting means for receiving image information of two same images having different focus conditions and detecting a main part and a background of the image, and an image of the two images according to the detection result. An image processing apparatus comprising: an image processing unit that performs different image processing on at least one of a main part and a background on information.
【請求項2】前記画像処理手段において、前記主要部に
施す画像処理が鮮鋭化処理で、前記背景に施す画像処理
がボカシ処理である請求項1に記載の画像処理装置。
2. The image processing apparatus according to claim 1, wherein in the image processing means, the image processing performed on the main part is a sharpening processing, and the image processing performed on the background is a blur processing.
【請求項3】前記2枚の画像が、一方は主要部に焦点を
合わせた画像で、他方が背景に焦点を合わせた画像で、
前記検出手段が、2枚の画像のエッジ成分を用いて、前
記画像の主要部と背景とを検出する請求項1または2に
記載の画像処理装置。
3. The two images, one of which is an image focused on a main part and the other is an image focused on a background,
The image processing apparatus according to claim 1, wherein the detection unit detects a main part and a background of the image using edge components of two images.
JP9037561A 1997-02-21 1997-02-21 Image processor Withdrawn JPH10233919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9037561A JPH10233919A (en) 1997-02-21 1997-02-21 Image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9037561A JPH10233919A (en) 1997-02-21 1997-02-21 Image processor

Publications (1)

Publication Number Publication Date
JPH10233919A true JPH10233919A (en) 1998-09-02

Family

ID=12500942

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9037561A Withdrawn JPH10233919A (en) 1997-02-21 1997-02-21 Image processor

Country Status (1)

Country Link
JP (1) JPH10233919A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009527156A (en) * 2006-02-14 2009-07-23 フォトネーション アイルランド リミテッド Digital image foreground or background segmentation
US7607150B1 (en) 1998-11-30 2009-10-20 Sony Corporation Information providing device and method
JP2010118850A (en) * 2008-11-12 2010-05-27 Nikon Corp Image processor, imaging apparatus, and program
US8406558B2 (en) 2009-12-03 2013-03-26 Kabushiki Kaisha Toshiba Imaging apparatus, image processing apparatus, and image processing method
JP2013143712A (en) * 2012-01-12 2013-07-22 Canon Inc Image processing device, image pickup device having image processing device, image processing method and program, and storage medium having program stored therein
US8531373B2 (en) 2007-11-20 2013-09-10 Semiconductor Energy Laboratory Co., Ltd. Liquid crystal display device and image display method of the same
US8687918B2 (en) 2008-03-05 2014-04-01 Semiconductor Energy Laboratory Co., Ltd. Image processing method, image processing system, and computer program
JP2015100115A (en) * 2014-12-26 2015-05-28 カシオ計算機株式会社 Image processing device, image processing method and program
US9123132B2 (en) 2007-11-22 2015-09-01 Semiconductor Energy Laboratory Co., Ltd. Image processing method, image display system, and computer program
JP2016072895A (en) * 2014-09-30 2016-05-09 株式会社ニコン Electronic apparatus, reproduction program, recording program, reproduction method, recording method, and recording medium
WO2019105254A1 (en) * 2017-11-30 2019-06-06 Oppo广东移动通信有限公司 Background blur processing method, apparatus and device
WO2019228337A1 (en) * 2018-05-30 2019-12-05 深圳市大疆创新科技有限公司 Moving object, image generation method, program, and recording medium

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7607150B1 (en) 1998-11-30 2009-10-20 Sony Corporation Information providing device and method
JP2009527156A (en) * 2006-02-14 2009-07-23 フォトネーション アイルランド リミテッド Digital image foreground or background segmentation
US8531373B2 (en) 2007-11-20 2013-09-10 Semiconductor Energy Laboratory Co., Ltd. Liquid crystal display device and image display method of the same
US9123132B2 (en) 2007-11-22 2015-09-01 Semiconductor Energy Laboratory Co., Ltd. Image processing method, image display system, and computer program
US8687918B2 (en) 2008-03-05 2014-04-01 Semiconductor Energy Laboratory Co., Ltd. Image processing method, image processing system, and computer program
JP2010118850A (en) * 2008-11-12 2010-05-27 Nikon Corp Image processor, imaging apparatus, and program
US8406558B2 (en) 2009-12-03 2013-03-26 Kabushiki Kaisha Toshiba Imaging apparatus, image processing apparatus, and image processing method
JP2013143712A (en) * 2012-01-12 2013-07-22 Canon Inc Image processing device, image pickup device having image processing device, image processing method and program, and storage medium having program stored therein
JP2016072895A (en) * 2014-09-30 2016-05-09 株式会社ニコン Electronic apparatus, reproduction program, recording program, reproduction method, recording method, and recording medium
JP2015100115A (en) * 2014-12-26 2015-05-28 カシオ計算機株式会社 Image processing device, image processing method and program
WO2019105254A1 (en) * 2017-11-30 2019-06-06 Oppo广东移动通信有限公司 Background blur processing method, apparatus and device
WO2019228337A1 (en) * 2018-05-30 2019-12-05 深圳市大疆创新科技有限公司 Moving object, image generation method, program, and recording medium

Similar Documents

Publication Publication Date Title
US7433089B2 (en) Image processor
US7289664B2 (en) Method of detecting and correcting the red eye
JP3907816B2 (en) Image processing method
JPH11175699A (en) Picture processor
JP2001148780A (en) Method for setting red-eye correction area and red-eye correction method
JP4172663B2 (en) Image processing method
JPH10233919A (en) Image processor
JP3436688B2 (en) Image playback device
JP3998369B2 (en) Image processing method and image processing apparatus
JPH11266358A (en) Image processing method
JP2000011188A (en) Method for processing image and device therefor
US6771395B1 (en) Image reading and processing apparatus, digital printing apparatus using the image reading and processing apparatus, and image reading and processing method
JPH11191871A (en) Image processor
JP3783817B2 (en) Image processing method and image processing apparatus
JP2003189169A (en) Image processing apparatus
JP3862198B2 (en) ID photo photographing apparatus, image processing apparatus and ID photo creating system
JP2000069277A (en) Image processing unit
JP3549413B2 (en) Image processing method and image processing apparatus
JP2001223891A (en) Picture processing method
JP3631370B2 (en) Image processing method and image processing apparatus
JP2000040154A (en) Method and device for image processing
JP2001211315A (en) Output image area adjusting method
JPH1065923A (en) Image processing method and device
JP4285868B2 (en) Main subject extraction method, image processing apparatus, and imaging apparatus
JP3625370B2 (en) Image processing method and image processing apparatus

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040511