WO2011033675A1 - Image processing apparatus and image display apparatus - Google Patents
Image processing apparatus and image display apparatus Download PDFInfo
- Publication number
- WO2011033675A1 WO2011033675A1 PCT/JP2009/066446 JP2009066446W WO2011033675A1 WO 2011033675 A1 WO2011033675 A1 WO 2011033675A1 JP 2009066446 W JP2009066446 W JP 2009066446W WO 2011033675 A1 WO2011033675 A1 WO 2011033675A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- motion blur
- image
- filter
- subject
- motion
- Prior art date
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 54
- 230000001629 suppression Effects 0.000 claims abstract description 26
- 238000003384 imaging method Methods 0.000 claims description 9
- 238000000034 method Methods 0.000 description 21
- 239000011159 matrix material Substances 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 239000013598 vector Substances 0.000 description 5
- 239000000470 constituent Substances 0.000 description 2
- 238000004091 panning Methods 0.000 description 2
- 230000008685 targeting Effects 0.000 description 2
- 238000007796 conventional method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/73—Deblurring; Sharpening
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20172—Image enhancement details
- G06T2207/20201—Motion blur correction
Definitions
- the present invention relates to an image processing apparatus and an image display apparatus that suppress, for example, image blurring.
- the above-described conventional technique has a problem in that motion blur is empirically suppressed only in accordance with the movement width of the subject at the time of shooting, and an unnatural image is generated.
- the present invention provides an image processing apparatus and an image display apparatus capable of suppressing blur with a natural feeling.
- An image processing apparatus calculates a shooting motion blur amount of a subject according to a motion width of the subject in an input image, and obtains a first motion blur filter that reproduces the shooting motion blur amount.
- a calculation unit that calculates a pixel value conversion filter from a first motion blur filter and an inverse filter of the second motion blur filter, and a memory that stores a first image having a pixel value of the input image as an initial value And the first image is converted by the pixel value conversion filter to obtain a second image, and the difference between the pixel value of the input image and the pixel value of the corresponding pixel of the second image is reduced.
- the image of the first image By correcting the value, it comprises a conversion unit for generating a motion blur suppressing image.
- FIG. 1 is a block diagram of an image processing apparatus according to a first embodiment. The figure explaining the imaging
- FIG. 6 is a diagram for explaining the operation of a conversion unit 105. 6 is a flowchart showing a flow of operations performed by the image processing apparatus according to the first embodiment.
- FIG. 5 is a block diagram of an image processing apparatus according to a second embodiment. 9 is a flowchart showing a flow of operations performed by the image processing apparatus according to the second embodiment.
- FIG. 9 is a block diagram of an image display device according to a third embodiment.
- FIG. 1 is a block diagram of the image processing apparatus of the present embodiment.
- the image processing apparatus includes a shooting motion blur amount setting unit (first setting unit) 101, a display motion blur amount setting unit (second setting unit) 102, a motion blur suppression amount calculating unit (calculating unit) 103, and a storage.
- Unit 104 and conversion unit 105 This image processing apparatus processes an input image y1 obtained by photographing a subject, and generates and outputs an image in which the blur amount of the subject in the input image y1 is suppressed.
- the shooting motion blur amount setting unit 101 receives a signal representing the movement width of the subject in the input image (the movement width of the subject when shooting with the imaging device).
- the shooting motion blur amount setting unit 101 calculates the blur amount of the subject (shooting motion blur amount) in the input image from the motion range indicated by the input signal, the camera opening time during shooting, and the shooting interval time during shooting. Then, a first motion blur filter that reproduces the shooting motion blur amount is set.
- the signal representing the movement width may be received from the outside through user input, or may be read from a recording medium such as a memory. Information on the camera opening time and the shooting interval time may be given in advance or may be given from the outside.
- the left side of FIG. 2 is a diagram showing the relationship between the movement width of the subject at the time of shooting, the shooting motion blur amount, the camera opening time, and the shooting interval time.
- y 1 is the vector in which the pixel values of the motion blur-suppressed image of the subject at the time of shooting are arranged in raster scan order
- x is the vector in which the pixel values of the image without motion blur are arranged in raster scan order
- the first motion blur filter If the matrix representation of W 1 is W 1 , the relationship of y 1 , x, W 1 is
- the filter W 1 is It becomes a circular matrix expressed as
- the panning operation which is the main camera work, can be formulated with this expression because the movement of the entire screen is in the horizontal direction. If the movement direction is an oblique direction, the above-described movement in the horizontal direction can be formulated by rotating the entire screen so as to correct the movement direction in the horizontal direction.
- the imaging motion blur amount setting unit 101 sends the set first motion blur filter W1 to the motion blur suppression amount calculation unit 103.
- the shooting motion blur amount setting unit 101 calculates the shooting motion blur amount based on the movement width of the subject at the time of shooting, the opening time, and the shooting interval time, but the opening time and the shooting interval time are the same.
- the first motion blur filter W1 may be set simply using the movement width of the subject at the time of shooting as the shooting motion blur amount.
- a signal indicating the shooting motion blur amount is given to the shooting motion blur amount setting unit 101, and the shooting motion blur amount setting unit 101 performs a first operation based on the given signal.
- One motion blur filter W1 may be set.
- the display motion blur amount setting unit 102 receives an input of a signal indicating the movement width of the subject at the time of display.
- the display motion blur amount setting unit 102 determines a display motion blur amount that is a desired blur amount at the time of display according to the motion width indicated in the signal, and a second motion blur filter that reproduces the display motion blur amount Set. More specifically, the display motion blur amount is an amount indicating how much motion blur is to be generated on each frame and still image frame of a moving image.
- the movement width of the subject at the time of display can be used as the display movement blur amount, and therefore, the input movement width can be used as the display movement blur amount as it is.
- the signal may be received from the outside via a user input, or may be read from a recording medium such as a memory.
- the display motion blur amount can be a user-specified display motion blur amount input from the outside in order to reflect the motion blur amount intended by the creator. As a result, it is possible to perform processing such as converting motion blur in a still image photograph into a dynamic expression desired by the creator.
- y 2 is a vector in which the pixel values of an image (motion blur-suppressed image) having an object movement width (display motion blur amount) at the time of display are arranged in raster scan order, and the pixel value of an image without motion blur is raster scanned.
- the vectors ordered x (same as shooting motion blur amount setting unit), when the matrix representation of the second motion blur filter to reproduce the display motion blur and W 2, y 2, x, the relationship of W 2 is , It becomes.
- the matrix W 2 of the second motion blur filter for example, when the movement width of the subject at the time of display is a movement of 4 pixels in the horizontal direction, It becomes a circular matrix expressed as
- Motion blur suppression amount calculation unit 103 calculates a first motion blur filter W 1, the pixel value conversion filter and a second motion blur inverse filter of the filter W 2.
- the pixel value conversion filter will be described.
- a matrix W in Expression 3 represents a pixel value conversion filter according to the present embodiment.
- the second motion blur filter W 2 is the horizontal direction of the first motion-blur filter W 1 (if to reproduce the 8 pixels of the motion blur) laterally in the case of eight pixels of the motion Pixel value conversion filter W based on Equation 3, if it is a matrix in the case of motion for minutes (when reproducing motion blur for 4 pixels) It becomes a circular matrix expressed as
- the motion blur suppression amount calculation unit 103 sends the calculated pixel value conversion filter to the conversion unit 105.
- a pixel value conversion filter is calculated and stored in advance for combinations of various values of the shooting motion blur amount of the subject at the time of shooting and the motion width (display motion blur amount) of the subject at the time of display. Also good.
- the motion blur suppression amount calculation unit 103 receives data indicating the shooting motion blur amount from the shooting motion blur amount setting unit 101, and receives data indicating the display motion blur amount from the display motion blur amount setting unit 102.
- the corresponding pixel value conversion filter is selected from the pixel value conversion filter group calculated in advance based on the received data. Thereby, the amount of processing can be reduced.
- the opening time and the shooting interval time are equal, the movement width of the subject at the time of shooting may be used as the shooting motion blur amount.
- the storage unit 104 is configured by a readable / writable storage medium such as a DRAM (memory) of a PC (personal computer), an HDD (hard disk), or an LSI frame memory.
- DRAM dynamic random access memory
- PC personal computer
- HDD hard disk
- LSI frame memory a readable / writable storage medium
- FIG. 4 is a flowchart for explaining an operation in which the image processing apparatus of the present embodiment generates an output image in which motion blur is suppressed from an input image.
- the shooting motion blur amount setting unit 101 determines the shooting motion blur amount in accordance with the movement width of the subject at the time of shooting, and sets a first motion blur filter that reproduces the shooting motion blur amount (step S201).
- the display motion blur amount setting unit 102 determines the display motion blur amount according to the movement width of the subject at the time of display, and sets a second motion blur filter that reproduces the display motion blur amount (step S202). .
- the motion blur suppression amount calculation unit 103 calculates a pixel value conversion filter from the first motion blur filter and the inverse filter of the second motion blur filter (step S203). Specifically, the pixel value conversion filter is calculated by multiplication of the first motion blur filter and the inverse filter of the second motion blur filter.
- the storage unit 104 stores the input image, and generates and stores a temporary motion blur suppression image having each pixel value of the input image as an initial pixel value (step S204).
- the conversion unit 105 performs a conversion process of the temporary motion blur suppression image stored in the storage unit 104 based on the input image stored in the storage unit 104 and the pixel value conversion filter (step S205). Specifically, first, one of the pixels of the input image is set as the target pixel. A pixel value of the provisional motion blur suppression image is converted by a pixel value conversion filter to calculate a trial calculation pixel value corresponding to the target pixel. Then, the pixel value of the temporary motion blur suppression image is converted (corrected) so that the difference amount between the pixel value of the target pixel and the trial calculation pixel value becomes small. Each other pixel of the input image is also set as a pixel of interest sequentially, and the above conversion process is repeated.
- the conversion unit 105 determines whether the conversion process has been performed for a predetermined number of repetitions (step S206). Specifically, the conversion unit 105 determines whether the conversion process using the target pixel has been performed a predetermined number of times. If a determination result is NO, it will return to Step S205. If the determination result is YES, the provisional motion blur suppression image at that stage is output as a motion blur suppression image, and the process ends.
- the operation of the present embodiment described so far is particularly effective when the entire screen is moving, such as camera panning.
- the motion blur of only the subject can be suitably suppressed by performing the following operation. Two methods of operation are shown.
- a moving area (a set of pixels) is detected from the input image, and y 1 , y 2 , W 1 , W 2 , x are defined only in that area, and conversion processing is performed.
- the shooting blur amount setting unit sets the first motion blur filter W1 targeting only the region
- the display blur amount setting unit sets the second motion blur filter W2 targeting only the region.
- the conversion process is performed only on the pixels in the region of the input image and the pixels in the region of the temporary motion blur suppression image.
- Information on the area may be notified from an external device to the imaging blur amount setting unit, the display blur amount setting unit, and the conversion unit, or a processing unit that detects the region is added, and the processing unit performs detection. May be.
- the photographing blur amount setting unit and the display blur amount setting unit may operate in this way.
- the motion blur suppression is performed by calculating the pixel value conversion filter from the motion width of the subject at the time of shooting, the opening time of the camera, and the motion width of the subject at the time of display (display motion blur amount).
- display motion blur amount By performing the processing, it is possible to suppress the blur amount according to the movement width of the subject at the time of shooting, the opening time of the camera, and the movement width of the subject at the time of display, and a natural image can be generated.
- FIG. 5 is a block diagram of the image processing apparatus of the present embodiment.
- the image processing apparatus of this embodiment is obtained by adding a subject motion width estimation unit 401 to the image processing apparatus of the first embodiment shown in FIG.
- the subject movement width estimation unit 401 estimates the movement width of the subject from the input image. For example, the motion width of the subject at the time of shooting is estimated by using a general motion vector calculation process such as a gradient method or a region matching method between two input images that are temporally continuous. Since the other components 101 to 105 are the same as those in the first embodiment, a duplicate description is omitted.
- FIG. 6 is a flowchart for explaining an operation in which the image processing apparatus of the present embodiment outputs an output image in which motion blur is suppressed from the input image.
- the subject motion width estimation unit 401 estimates the subject motion width from the input image (step S501).
- the shooting motion blur amount setting unit (first setting unit) 101 determines the shooting motion blur amount according to the estimated movement width of the subject, and the first motion blur for reproducing the shooting motion blur amount
- a filter is set (step S502).
- the display motion blur amount setting unit (second setting unit) 102 determines the display motion blur amount according to the movement width of the subject at the time of display, and the second motion blur for reproducing the display motion blur amount.
- a filter is set (step S503).
- the motion blur suppression amount calculation unit (calculation unit) 103 calculates a pixel value conversion filter from the first motion blur filter and the inverse filter of the second motion blur filter (step S504).
- the storage unit 104 stores the input image, and generates and stores a temporary motion blur suppression image having each pixel value of the input image as an initial value (step S505).
- the conversion unit 105 performs pixel value conversion processing of the temporary motion blur suppression image stored in the storage unit 104 (step S506).
- the conversion method is as described in the first embodiment.
- the conversion unit 105 determines whether the conversion process has been performed for a predetermined number of repetitions (step S507). If the determination result is NO, the process returns to step S506, and if YES, the temporary motion blur suppression image at that stage is output as a motion blur suppression image, and the process ends.
- the blur amount can be suppressed according to the movement width of the subject at the time of shooting, the opening time of the camera, and the movement width of the subject at the time of display, and a natural image can be generated.
- FIG. 7 is a block diagram of the image display apparatus of the present embodiment.
- This image display device includes an image processing device 100 and an image display unit 200.
- the image processing apparatus 100 has the same configuration as the image processing apparatus shown in FIG.
- the image display unit 200 displays the output image obtained by the image processing apparatus 100.
- the image display unit 200 is connected to the image processing apparatus 100 of the first embodiment, but is connected to the image processing apparatus of the second embodiment, and displays an output image obtained by the image processing apparatus. May be.
- the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying constituent elements without departing from the scope of the invention in the implementation stage.
- various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment.
- constituent elements over different embodiments may be appropriately combined.
- the image processing apparatuses in the first and second embodiments and the image display apparatus in the third embodiment described above can also be realized by using, for example, a general-purpose computer device as basic hardware. Is possible.
- the program to be executed has a module configuration including each function described above.
- the program is an installable or executable file that is recorded on a computer-readable recording medium such as a CD-ROM, CD-R, DVD, etc. Also good.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Studio Devices (AREA)
Abstract
A motion-blurred image can be generated with a suppression amount calculated from a motion width of a subject at image pickup time, a camera aperture time and a motion width of the subject at display time. An image-pickup motion blur amount setting unit (101) sets a first motion blur filter from a motion width of a subject occurring at image pickup time. A display motion blur amount setting unit (102) sets a second motion blur filter from a motion width of the subject occurring at display time. A motion blur suppression amount calculating unit (103) calculates a pixel value conversion filter from the first motion blur filter and an inverse filter of the second motion blur filter. A storage unit (104) stores a first image the initial pixel values of which are equal to the pixel values of an input image. A conversion unit (105) corrects the pixel values of the first image such that the difference between the pixel value of each pixel of a second image, which is obtained by use of the first image and the pixel value conversion filter, and the pixel value of the respective corresponding pixel of the input image is small.
Description
本発明は、例えば画像の動きぼけを抑制する画像処理装置および画像表示装置に関する。
The present invention relates to an image processing apparatus and an image display apparatus that suppress, for example, image blurring.
デジタルカメラで撮影された画像やテレビに表示する動画には、被写体の動きやカメラの動きによって動きぼけが生じる場合がある。動きぼけの生じた画像や映像を見やすくするために、鮮鋭化処理によって動きぼけの抑制が行われている。例えば、特開2006-81150号公報には、撮像ぼけの特性を示すパラメータに基づいて、逆フィルタ処理やアンシャープマスクによる鮮鋭化処理によって動きぼけを抑制する手法が開示されている。
[Images taken with a digital camera or moving images displayed on a TV may be blurred due to subject movement or camera movement. In order to make it easy to see images and videos with motion blur, the motion blur is suppressed by a sharpening process. For example, Japanese Patent Laid-Open No. 2006-81150 discloses a technique for suppressing motion blur by inverse filter processing or sharpening processing using an unsharp mask based on a parameter indicating imaging blur characteristics.
しかしながら、上記従来技術では、撮影時の被写体の動き幅にのみ応じて経験的に動きぼけを抑制しているのみであり、不自然な画像が生成されてしまうという問題があった。
However, the above-described conventional technique has a problem in that motion blur is empirically suppressed only in accordance with the movement width of the subject at the time of shooting, and an unnatural image is generated.
本発明は、自然な感じでぼけを抑制することを可能とした画像処理装置および画像表示装置を提供する。
The present invention provides an image processing apparatus and an image display apparatus capable of suppressing blur with a natural feeling.
本発明の一態様としての画像処理装置は、入力画像における被写体の動き幅に応じて前記被写体の撮影動きぼけ量を算出し、前記撮影動きぼけ量を再現する第1の動きぼけフィルタを求める第1設定部と、前記撮影動きぼけ量より小さい所望の動きぼけ量である表示動きぼけ量を決定し、前記表示動きぼけ量を再現する第2の動きぼけフィルタを求める第2設定部と、前記第1の動きぼけフィルタと、前記第2の動きぼけフィルタの逆フィルタとから画素値変換フィルタを算出する算出部と、前記入力画像の画素値を初期値とする第1の画像を記憶する記憶部と、前記第1の画像を前記画素値変換フィルタにより変換し第2の画像を求め、前記入力画像の画素値と、前記第2の画像の対応画素の画素値との差分が小さくなるように、前記第1の画像の画素値を補正することにより、動きぼけ抑制画像を生成する変換部と、を備える。
An image processing apparatus according to an aspect of the present invention calculates a shooting motion blur amount of a subject according to a motion width of the subject in an input image, and obtains a first motion blur filter that reproduces the shooting motion blur amount. A first setting unit, a second setting unit that determines a display motion blur amount that is a desired motion blur amount smaller than the shooting motion blur amount, and obtains a second motion blur filter that reproduces the display motion blur amount; A calculation unit that calculates a pixel value conversion filter from a first motion blur filter and an inverse filter of the second motion blur filter, and a memory that stores a first image having a pixel value of the input image as an initial value And the first image is converted by the pixel value conversion filter to obtain a second image, and the difference between the pixel value of the input image and the pixel value of the corresponding pixel of the second image is reduced. The image of the first image By correcting the value, it comprises a conversion unit for generating a motion blur suppressing image.
本発明によれば、自然な感じでぼけを抑制することが可能となる。
According to the present invention, it is possible to suppress blur with a natural feeling.
以下、本発明の実施の形態について、詳細に説明する。なお、互いに同様の動作をする構成や処理には共通の符号を付して、重複する説明は省略する。
Hereinafter, embodiments of the present invention will be described in detail. In addition, the same code | symbol is attached | subjected to the structure and process which mutually perform the same operation | movement, and the overlapping description is abbreviate | omitted.
[第1の実施形態]
図1は、本実施形態の画像処理装置のブロック図である。 [First embodiment]
FIG. 1 is a block diagram of the image processing apparatus of the present embodiment.
図1は、本実施形態の画像処理装置のブロック図である。 [First embodiment]
FIG. 1 is a block diagram of the image processing apparatus of the present embodiment.
本実施形態の画像処理装置は、撮影動きぼけ量設定部(第1設定部)101、表示動きぼけ量設定部(第2設定部)102、動きぼけ抑制量算出部(算出部)103、記憶部104、変換部105を有する。この画像処理装置は、被写体を撮影した入力画像y1を処理して、入力画像y1の被写体のぼけ量を抑制した画像を生成して出力するものである。
The image processing apparatus according to this embodiment includes a shooting motion blur amount setting unit (first setting unit) 101, a display motion blur amount setting unit (second setting unit) 102, a motion blur suppression amount calculating unit (calculating unit) 103, and a storage. Unit 104 and conversion unit 105. This image processing apparatus processes an input image y1 obtained by photographing a subject, and generates and outputs an image in which the blur amount of the subject in the input image y1 is suppressed.
撮影動きぼけ量設定部101は、入力画像における被写体の動き幅(撮像デバイスによる撮影時の被写体の動き幅)を表した信号を受ける。撮影動きぼけ量設定部101は、当該入力信号に示される動き幅と、撮影時におけるカメラ開口時間と、撮影時における撮影間隔時間とから入力画像における被写体のぼけ量(撮影動きぼけ量)を計算し、当該撮影動きぼけ量を再現する第1の動きぼけフィルタを設定する。上記動き幅を表す信号はユーザ入力を介して外部から受信してもよいし、メモリ等の記録媒体から読み出してもよい。カメラ開口時間および撮影間隔時間の情報はあらかじめ与えられていてもよいし、外部から与えるようにしてもよい。
The shooting motion blur amount setting unit 101 receives a signal representing the movement width of the subject in the input image (the movement width of the subject when shooting with the imaging device). The shooting motion blur amount setting unit 101 calculates the blur amount of the subject (shooting motion blur amount) in the input image from the motion range indicated by the input signal, the camera opening time during shooting, and the shooting interval time during shooting. Then, a first motion blur filter that reproduces the shooting motion blur amount is set. The signal representing the movement width may be received from the outside through user input, or may be read from a recording medium such as a memory. Information on the camera opening time and the shooting interval time may be given in advance or may be given from the outside.
図2の左は、撮影時の被写体の動き幅、撮影動きぼけ量、カメラ開口時間、撮影間隔時間の関係を示した図である。撮影時の被写体の動き幅とは、動画のフレームとフレームが撮影される時間(撮影間隔時間)内に、被写体またはカメラ全体が動いた幅のことである。撮影時のカメラが全開口であり(つまり、シャッターが開きっ放しであり)、動画のフレーム間の撮影間隔時間と、シャッターの開口時間時間とが等しい場合は、撮影時の被写体の動き幅と、撮影動きぼけ量は一致する。また、開口時間が撮影間隔時間より短い場合、撮影動きぼけ量は、
撮影動きぼけ量=撮影時の被写体の動き幅×(開口時間/撮影間隔時間)
として算出することができる。 The left side of FIG. 2 is a diagram showing the relationship between the movement width of the subject at the time of shooting, the shooting motion blur amount, the camera opening time, and the shooting interval time. The movement width of the subject at the time of shooting refers to the width of the moving subject or the entire camera within the time (frame interval time) during which a moving image frame is shot. If the camera at the time of shooting is fully open (that is, the shutter is open), and the shooting interval time between frames of the movie is equal to the opening time of the shutter, the movement width of the subject at the time of shooting The amount of motion blur is the same. Also, if the opening time is shorter than the shooting interval time, the shooting motion blur amount is
Shooting motion blur amount = subject movement width during shooting x (opening time / shooting interval time)
Can be calculated as
撮影動きぼけ量=撮影時の被写体の動き幅×(開口時間/撮影間隔時間)
として算出することができる。 The left side of FIG. 2 is a diagram showing the relationship between the movement width of the subject at the time of shooting, the shooting motion blur amount, the camera opening time, and the shooting interval time. The movement width of the subject at the time of shooting refers to the width of the moving subject or the entire camera within the time (frame interval time) during which a moving image frame is shot. If the camera at the time of shooting is fully open (that is, the shutter is open), and the shooting interval time between frames of the movie is equal to the opening time of the shutter, the movement width of the subject at the time of shooting The amount of motion blur is the same. Also, if the opening time is shorter than the shooting interval time, the shooting motion blur amount is
Shooting motion blur amount = subject movement width during shooting x (opening time / shooting interval time)
Can be calculated as
ここで、撮影時の被写体の動きぼけ抑制画像の画素値をラスタスキャン順に並べたベクトルをy1、動きぼけのない画像の画素値をラスタスキャン順に並べたベクトルをx、第1の動きぼけフィルタの行列表現をW1とすると、y1,x,W1の関係は、
Here, y 1 is the vector in which the pixel values of the motion blur-suppressed image of the subject at the time of shooting are arranged in raster scan order, x is the vector in which the pixel values of the image without motion blur are arranged in raster scan order, and the first motion blur filter If the matrix representation of W 1 is W 1 , the relationship of y 1 , x, W 1 is
となる。例えば、撮影時の被写体の撮影動きぼけ量が、横方向に8画素分の動きであった場合、フィルタW1は、
と表される巡回行列となる。
It becomes. For example, when the shooting motion blur amount of the subject at the time of shooting is a motion of 8 pixels in the horizontal direction, the filter W 1 is
It becomes a circular matrix expressed as
主なカメラワークであるパニング動作は、画面全体の動きが横方向であるため、この表現で定式化できる。もし、動き方向が斜め方向であるような場合は、動き方向を横方向に補正するように、画面全体を回転すれば、前述した横方向での動きに定式化することができる。
The panning operation, which is the main camera work, can be formulated with this expression because the movement of the entire screen is in the horizontal direction. If the movement direction is an oblique direction, the above-described movement in the horizontal direction can be formulated by rotating the entire screen so as to correct the movement direction in the horizontal direction.
撮影動きぼけ量設定部101は、設定した第1の動きぼけフィルタW1を、動きぼけ抑制量算出部103に送る。なおここでは撮影動きぼけ量設定部101は、撮影時の被写体の動き幅と、開口時間と、撮影間隔時間をもとに撮影動きぼけ量を計算したが、開口時間と撮影間隔時間が同一であるときは、単純に、撮影時の被写体の動き幅を撮影動きぼけ量として用いて第1の動きぼけフィルタW1を設定すればよい。また、撮影動きぼけ量が事前に分かっている場合は、この撮影動きぼけ量を示す信号を撮影動きぼけ量設定部101に与え、撮影動きぼけ量設定部101が、与えられた信号に基づき第1の動きぼけフィルタW1を設定してもよい。
The imaging motion blur amount setting unit 101 sends the set first motion blur filter W1 to the motion blur suppression amount calculation unit 103. Here, the shooting motion blur amount setting unit 101 calculates the shooting motion blur amount based on the movement width of the subject at the time of shooting, the opening time, and the shooting interval time, but the opening time and the shooting interval time are the same. In some cases, the first motion blur filter W1 may be set simply using the movement width of the subject at the time of shooting as the shooting motion blur amount. Also, if the shooting motion blur amount is known in advance, a signal indicating the shooting motion blur amount is given to the shooting motion blur amount setting unit 101, and the shooting motion blur amount setting unit 101 performs a first operation based on the given signal. One motion blur filter W1 may be set.
表示動きぼけ量設定部102は、表示時における被写体の動き幅を示した信号の入力を受ける。表示動きぼけ量設定部102は、当該信号に示される動き幅に応じて、表示時における所望のぼけ量である表示動きぼけ量を決定し、表示動きぼけ量を再現する第2の動きぼけフィルタを設定する。表示動きぼけ量とは、詳細には、動画の各フレーム、静止画フレーム上で、どの程度の量だけ動きぼけが発生しているフレームを生成したいかを示す量である。一般に、表示時の被写体の動き幅を、表示動きぼけ量とすることができ、したがって、入力された動き幅をそのまま表示動きぼけ量として用いることができる。上記信号はユーザ入力を介して外部から受信してもよいし、メモリ等の記録媒体から読み出してもよい。
The display motion blur amount setting unit 102 receives an input of a signal indicating the movement width of the subject at the time of display. The display motion blur amount setting unit 102 determines a display motion blur amount that is a desired blur amount at the time of display according to the motion width indicated in the signal, and a second motion blur filter that reproduces the display motion blur amount Set. More specifically, the display motion blur amount is an amount indicating how much motion blur is to be generated on each frame and still image frame of a moving image. In general, the movement width of the subject at the time of display can be used as the display movement blur amount, and therefore, the input movement width can be used as the display movement blur amount as it is. The signal may be received from the outside via a user input, or may be read from a recording medium such as a memory.
ここで表示動きぼけ量の設定は、フレーレート変換率と撮影時の被写体の動き幅をもとに行うこともできる。例えば、撮影時の被写体の動き幅が横方向に8画素分の動き、フレームレート変換率が60[Hz]→120[Hz]の2倍速であった場合、表示動きぼけ量は、8画素/2倍速=横方向に4画素分の動きに設定すれば良い。また、例えば、撮影時の被写体の動き幅が横方向に8画素分の動き、フレームレート変換率が60[Hz]→240[Hz]の4倍速であった場合、表示動きぼけ量は、8画素/4倍速=横方向に2画素分の動きに設定すれば良い。
Here, the amount of display motion blur can be set based on the rate conversion rate and the range of motion of the subject at the time of shooting. For example, if the movement width of the subject at the time of shooting is 8 pixels in the horizontal direction and the frame rate conversion rate is double speed of 60 [Hz] → 120 [Hz], the display motion blur amount is 8 pixels / Double speed = 4 pixels in the horizontal direction should be set. Further, for example, when the movement width of the subject at the time of shooting is a movement of 8 pixels in the horizontal direction and the frame rate conversion rate is a quadruple speed of 60 [Hz] → 240 [Hz], the display motion blur amount is 8 Pixel / 4x speed = set to movement of 2 pixels in the horizontal direction.
また、表示動きぼけ量は、制作者の意図する動きぼけ量を反映させるために、外部から入力されるユーザ指定の表示動きぼけ量を用いることもできる。これにより、静止画写真における動きぼけを、クリエイターの所望する躍動感の表現に変換するといった処理が可能になる。
Also, the display motion blur amount can be a user-specified display motion blur amount input from the outside in order to reflect the motion blur amount intended by the creator. As a result, it is possible to perform processing such as converting motion blur in a still image photograph into a dynamic expression desired by the creator.
ここで、表示時の被写体の動き幅(表示動きぼけ量)を持つ画像(動きぼけ抑制画像)の画素値をラスタスキャン順に並べたベクトルをy2、動きぼけのない画像の画素値をラスタスキャン順に並べたベクトルをx(撮影動きぼけ量設定部と同じ)、上記表示動きぼけ量を再現する第2の動きぼけフィルタの行列表現をW2とすると、y2,x,W2の関係は、
となる。第2の動きぼけフィルタの行列W2は、例えば、表示時の被写体の動き幅が、横方向に4画素分の動きであった場合、
と表される巡回行列となる。
Here, y 2 is a vector in which the pixel values of an image (motion blur-suppressed image) having an object movement width (display motion blur amount) at the time of display are arranged in raster scan order, and the pixel value of an image without motion blur is raster scanned. the vectors ordered x (same as shooting motion blur amount setting unit), when the matrix representation of the second motion blur filter to reproduce the display motion blur and W 2, y 2, x, the relationship of W 2 is ,
It becomes. The matrix W 2 of the second motion blur filter, for example, when the movement width of the subject at the time of display is a movement of 4 pixels in the horizontal direction,
It becomes a circular matrix expressed as
表示動きぼけ量設定部102は、設定した第2の動きぼけフィルタW2を、動きぼけ抑制量算出部103に送る。
Display motion blur quantity setting unit 102, second motion blur filter W 2 set, and sends the motion blur suppression amount calculating unit 103.
動きぼけ抑制量算出部103は、第1の動きぼけフィルタW1と、第2の動きぼけフィルタW2の逆フィルタとから画素値変換フィルタを算出する。以下画素値変換フィルタについて説明する。
Motion blur suppression amount calculation unit 103 calculates a first motion blur filter W 1, the pixel value conversion filter and a second motion blur inverse filter of the filter W 2. Hereinafter, the pixel value conversion filter will be described.
まず、式2を式変形して
とし、これを式1に代入して、
を得る。ここで
と置くと、以下の式4が得られる。
First, formula 2 is transformed into formula
Substituting this into Equation 1,
Get. here
Then, the following formula 4 is obtained.
式3の行列Wが、本実施形態に関わる画素値変換フィルタを表す。
A matrix W in Expression 3 represents a pixel value conversion filter according to the present embodiment.
例えば、第1の動きぼけフィルタW1が横方向に8画素分の動きの場合(8画素分の動きぼけを再現する場合)の行列、第2の動きぼけフィルタW2が横方向に4画素分の動きの場合(4画素分の動きぼけを再現する場合)の行列であった場合、画素値変換フィルタWは、式3に基づき、
と表される巡回行列となる。
For example, four pixels matrix, the second motion blur filter W 2 is the horizontal direction of the first motion-blur filter W 1 (if to reproduce the 8 pixels of the motion blur) laterally in the case of eight pixels of the motion Pixel value conversion filter W based on Equation 3, if it is a matrix in the case of motion for minutes (when reproducing motion blur for 4 pixels)
It becomes a circular matrix expressed as
動きぼけ抑制量算出部103は、算出した画素値変換フィルタを、変換部105に送る。
The motion blur suppression amount calculation unit 103 sends the calculated pixel value conversion filter to the conversion unit 105.
ここで、撮影時の被写体の撮影動きぼけ量と、表示時の被写体の動き幅(表示動きぼけ量)との種々の値の組合せについて事前に画素値変換フィルタを算出して記憶しておいてもよい。この場合、動きぼけ抑制量算出部103は、撮影動きぼけ量設定部101から撮影動きぼけ量を示すデータを受け、表示動きぼけ量設定部102からは表示動きぼけ量を示すデータを受け、これらの受信データをもとに、事前に算出しておいた画素値変換フィルタ群から、該当する画素値変換フィルタを選択する。これにより、処理量を低減化できる。なお、開口時間と撮影間隔時間が等しいときは、撮影時の被写体の動き幅を撮影動きぼけ量として用いればよい。
Here, a pixel value conversion filter is calculated and stored in advance for combinations of various values of the shooting motion blur amount of the subject at the time of shooting and the motion width (display motion blur amount) of the subject at the time of display. Also good. In this case, the motion blur suppression amount calculation unit 103 receives data indicating the shooting motion blur amount from the shooting motion blur amount setting unit 101, and receives data indicating the display motion blur amount from the display motion blur amount setting unit 102. The corresponding pixel value conversion filter is selected from the pixel value conversion filter group calculated in advance based on the received data. Thereby, the amount of processing can be reduced. When the opening time and the shooting interval time are equal, the movement width of the subject at the time of shooting may be used as the shooting motion blur amount.
ここで入力画像の画素と対応する仮動きぼけ抑制画像の画素を対応画素と称する。対応するとは、画像平面上で互いが相対的に同じ位置にある画素同士の関係を示す。仮動きぼけ抑制画像は、変換部105に送られる。記憶部104は、例えばPC(パソコン)のDRAM(メモリ)やHDD(ハードディスク)、LSIのフレームメモリなどの読み書き可能な記憶媒体により構成される。
Here, the pixels of the temporary motion blur suppression image corresponding to the pixels of the input image are referred to as corresponding pixels. “Corresponding” indicates a relationship between pixels that are relatively in the same position on the image plane. The temporary motion blur-suppressed image is sent to the conversion unit 105. The storage unit 104 is configured by a readable / writable storage medium such as a DRAM (memory) of a PC (personal computer), an HDD (hard disk), or an LSI frame memory.
このような補正方法を用いることで入力画像に含まれるノイズの影響を抑制しつつ、所望の表示ぼけをもった出力画像を得ることができる。以下、この理由について詳細に説明する。
By using such a correction method, it is possible to obtain an output image having a desired display blur while suppressing the influence of noise included in the input image. Hereinafter, this reason will be described in detail.
図4は、本実施形態の画像処理装置が入力画像から、動きぼけ抑制された出力画像を生成する動作を説明するためのフローチャートである。
FIG. 4 is a flowchart for explaining an operation in which the image processing apparatus of the present embodiment generates an output image in which motion blur is suppressed from an input image.
まず、撮影動きぼけ量設定部101が、撮影時の被写体の動き幅に応じて撮影動きぼけ量を決定し、撮影動きぼけ量を再現する第1の動きぼけフィルタを設定する(ステップS201)。
First, the shooting motion blur amount setting unit 101 determines the shooting motion blur amount in accordance with the movement width of the subject at the time of shooting, and sets a first motion blur filter that reproduces the shooting motion blur amount (step S201).
次に、表示動きぼけ量設定部102が、表示時の被写体の動き幅に応じて表示動きぼけ量を決定し、表示動きぼけ量を再現する第2の動きぼけフィルタを設定する(ステップS202)。
Next, the display motion blur amount setting unit 102 determines the display motion blur amount according to the movement width of the subject at the time of display, and sets a second motion blur filter that reproduces the display motion blur amount (step S202). .
次に、動きぼけ抑制量算出部103が、第1の動きぼけフィルタと、第2の動きぼけフィルタの逆フィルタとから画素値変換フィルタを算出する(ステップS203)。具体的に第1の動きぼけフィルタと、第2の動きぼけフィルタの逆フィルタとの乗算により画素値変換フィルタを算出する。
Next, the motion blur suppression amount calculation unit 103 calculates a pixel value conversion filter from the first motion blur filter and the inverse filter of the second motion blur filter (step S203). Specifically, the pixel value conversion filter is calculated by multiplication of the first motion blur filter and the inverse filter of the second motion blur filter.
次に、記憶部104は、入力画像を記憶するとともに、入力画像の各画素値を初期の画素値としてもつ仮動きぼけ抑制画像を生成し記憶する(ステップS204)。
Next, the storage unit 104 stores the input image, and generates and stores a temporary motion blur suppression image having each pixel value of the input image as an initial pixel value (step S204).
次に、変換部105は、記憶部104に記憶された入力画像と、画素値変換フィルタとに基づき、記憶部104に記憶された仮動きぼけ抑制画像の変換処理を行う(ステップS205)。具体的には、まず入力画像の各画素のうちの1つを注目画素として設定する。仮動きぼけ抑制画像の画素値を画素値変換フィルタにより変換して注目画素に対応する試算画素値を算出する。そして、注目画素の画素値と、試算画素値との差分量が小さくなるように、仮動きぼけ抑制画像の画素値を変換(補正)する。入力画像の他の各画素も順次、注目画素に設定し、上記の変換処理を繰り返し行う。
Next, the conversion unit 105 performs a conversion process of the temporary motion blur suppression image stored in the storage unit 104 based on the input image stored in the storage unit 104 and the pixel value conversion filter (step S205). Specifically, first, one of the pixels of the input image is set as the target pixel. A pixel value of the provisional motion blur suppression image is converted by a pixel value conversion filter to calculate a trial calculation pixel value corresponding to the target pixel. Then, the pixel value of the temporary motion blur suppression image is converted (corrected) so that the difference amount between the pixel value of the target pixel and the trial calculation pixel value becomes small. Each other pixel of the input image is also set as a pixel of interest sequentially, and the above conversion process is repeated.
次に、変換部105は、既定の繰り返し回数だけ変換処理を行ったかどうかを判定する(ステップS206)。具体的には、変換部105において、注目画素を用いた変換処理が既定の繰り返し回数だけ行われたかどうかを判定する。判定結果がNOであれば、ステップS205に戻る。また、判定結果がYESであれば、その段階での仮動きぼけ抑制画像を、動きぼけ抑制画像として出力し、処理を終了する。
Next, the conversion unit 105 determines whether the conversion process has been performed for a predetermined number of repetitions (step S206). Specifically, the conversion unit 105 determines whether the conversion process using the target pixel has been performed a predetermined number of times. If a determination result is NO, it will return to Step S205. If the determination result is YES, the provisional motion blur suppression image at that stage is output as a motion blur suppression image, and the process ends.
これまで述べた本実施形態の動作は基本的にカメラのパニングなど、全画面が動いている場合に特に有効である。背景が固定で被写体のみが動く場合には、以下の動作を行うことで被写体のみの動きぼけを好適に抑制することが可能である。その動作の方法を2つ示す。
The operation of the present embodiment described so far is particularly effective when the entire screen is moving, such as camera panning. When the background is fixed and only the subject moves, the motion blur of only the subject can be suitably suppressed by performing the following operation. Two methods of operation are shown.
(1) 入力画像から動いている領域(画素の集合)を検出し、その領域のみで、y1,y2,W1,W2,xを定義して、変換処理を施す。つまり撮影ぼけ量設定部では当該領域のみを対象とした第1の動きぼけフィルタW1を設定し、表示ぼけ量設定部では当該領域のみを対象とした第2の動きぼけフィルタW2を設定する。変換部では、入力画像の当該領域の画素と、仮動きぼけ抑制画像の当該領域の画素のみを対象として変換処理を行う。当該領域の情報は外部の装置から撮影ぼけ量設定部、表示ぼけ量設定部、変換部に通知してもよいし、当該領域の検出を行う処理部を追加し、当該処理部で検出を行っても良い。
(1) A moving area (a set of pixels) is detected from the input image, and y 1 , y 2 , W 1 , W 2 , x are defined only in that area, and conversion processing is performed. In other words, the shooting blur amount setting unit sets the first motion blur filter W1 targeting only the region, and the display blur amount setting unit sets the second motion blur filter W2 targeting only the region. In the conversion unit, the conversion process is performed only on the pixels in the region of the input image and the pixels in the region of the temporary motion blur suppression image. Information on the area may be notified from an external device to the imaging blur amount setting unit, the display blur amount setting unit, and the conversion unit, or a processing unit that detects the region is added, and the processing unit performs detection. May be.
(2) y1,y2,W1,W2,xはこれまでと同様全画面で定義するが、背景部分と被写体部分で、撮影動きぼけを再現するフィルタと、表示動きぼけを再現するフィルタとの行列の成分を切り換える。すなわち、被写体部分の画素についてのW1,W2の行は、これまで述べた方法で得たフィルタの値をそのまま用いる。一方、背景部分の画素についてのW1,W2の行は、恒等変換(つまり、y1=x,y2=x)となるように値を設定する。撮影ぼけ量設定部および表示ぼけ量設定部ではこのように動作すればよい。
(2) y 1 , y 2 , W 1 , W 2 , and x are defined on the entire screen as before, but a filter that reproduces shooting motion blur and a display motion blur are reproduced in the background and subject portions. Switch the matrix component with the filter. That is, the values of the filters obtained by the methods described so far are used as they are in the rows W 1 and W 2 for the pixels of the subject portion. On the other hand, values of W 1 and W 2 for the pixels in the background portion are set so as to be an identity transformation (that is, y 1 = x, y 2 = x). The photographing blur amount setting unit and the display blur amount setting unit may operate in this way.
ここで述べた(1)および(2)の方法は、以降で述べる第2および第3の実施形態でも同様に適用可能である。
The methods (1) and (2) described here can be similarly applied to the second and third embodiments described below.
以上のように本実施形態によれば、撮影時の被写体の動き幅とカメラの開口時間と表示時の被写体の動き幅(表示動きぼけ量)とから画素値変換フィルタを算出して動きぼけ抑制処理を行うことで、撮影時の被写体の動き幅、カメラの開口時間、表示時の被写体の動き幅に応じたぼけ量の抑制ができ、自然な画像を生成することができる。
As described above, according to the present embodiment, the motion blur suppression is performed by calculating the pixel value conversion filter from the motion width of the subject at the time of shooting, the opening time of the camera, and the motion width of the subject at the time of display (display motion blur amount). By performing the processing, it is possible to suppress the blur amount according to the movement width of the subject at the time of shooting, the opening time of the camera, and the movement width of the subject at the time of display, and a natural image can be generated.
[第2の実施形態]
図5は、本実施形態の画像処理装置のブロック図である。
本実施形態の画像処理装置は、図1に示した第1の実施形態の画像処理装置に対し、被写体動き幅推定部401を追加したものである。 [Second Embodiment]
FIG. 5 is a block diagram of the image processing apparatus of the present embodiment.
The image processing apparatus of this embodiment is obtained by adding a subject motionwidth estimation unit 401 to the image processing apparatus of the first embodiment shown in FIG.
図5は、本実施形態の画像処理装置のブロック図である。
本実施形態の画像処理装置は、図1に示した第1の実施形態の画像処理装置に対し、被写体動き幅推定部401を追加したものである。 [Second Embodiment]
FIG. 5 is a block diagram of the image processing apparatus of the present embodiment.
The image processing apparatus of this embodiment is obtained by adding a subject motion
被写体動き幅推定部401は、入力画像から被写体の動き幅を推定する。例えば、時間的に連続する2枚の入力画像間で、勾配法や領域マッチング法などの一般的な動きベクトル算出処理を用いることで、撮影時の被写体の動き幅を推定する。他の構成要素101~105については第1の実施形態と同様であるため重複する説明を省略する。
The subject movement width estimation unit 401 estimates the movement width of the subject from the input image. For example, the motion width of the subject at the time of shooting is estimated by using a general motion vector calculation process such as a gradient method or a region matching method between two input images that are temporally continuous. Since the other components 101 to 105 are the same as those in the first embodiment, a duplicate description is omitted.
図6は、本実施形態の画像処理装置が入力画像から動きぼけ抑制された出力画像を出力する動作を説明するためのフローチャートである。
FIG. 6 is a flowchart for explaining an operation in which the image processing apparatus of the present embodiment outputs an output image in which motion blur is suppressed from the input image.
まず、被写体動き幅推定部401が、入力画像から被写体の動き幅を推定する(ステップS501)。
次に、撮影動きぼけ量設定部(第1設定部)101が、推定された被写体の動き幅に応じて撮影動きぼけ量を決定し、撮影動きぼけ量を再現するための第1の動きぼけフィルタを設定する(ステップS502)。
次に、表示動きぼけ量設定部(第2設定部)102が、表示時の被写体の動き幅に応じて表示動きぼけ量を決定し、表示動きぼけ量を再現するための第2の動きぼけフィルタを設定する(ステップS503)。
次に、動きぼけ抑制量算出部(算出部)103が、第1の動きぼけフィルタと、第2の動きぼけフィルタの逆フィルタから画素値変換フィルタを算出する(ステップS504)。 First, the subject motionwidth estimation unit 401 estimates the subject motion width from the input image (step S501).
Next, the shooting motion blur amount setting unit (first setting unit) 101 determines the shooting motion blur amount according to the estimated movement width of the subject, and the first motion blur for reproducing the shooting motion blur amount A filter is set (step S502).
Next, the display motion blur amount setting unit (second setting unit) 102 determines the display motion blur amount according to the movement width of the subject at the time of display, and the second motion blur for reproducing the display motion blur amount. A filter is set (step S503).
Next, the motion blur suppression amount calculation unit (calculation unit) 103 calculates a pixel value conversion filter from the first motion blur filter and the inverse filter of the second motion blur filter (step S504).
次に、撮影動きぼけ量設定部(第1設定部)101が、推定された被写体の動き幅に応じて撮影動きぼけ量を決定し、撮影動きぼけ量を再現するための第1の動きぼけフィルタを設定する(ステップS502)。
次に、表示動きぼけ量設定部(第2設定部)102が、表示時の被写体の動き幅に応じて表示動きぼけ量を決定し、表示動きぼけ量を再現するための第2の動きぼけフィルタを設定する(ステップS503)。
次に、動きぼけ抑制量算出部(算出部)103が、第1の動きぼけフィルタと、第2の動きぼけフィルタの逆フィルタから画素値変換フィルタを算出する(ステップS504)。 First, the subject motion
Next, the shooting motion blur amount setting unit (first setting unit) 101 determines the shooting motion blur amount according to the estimated movement width of the subject, and the first motion blur for reproducing the shooting motion blur amount A filter is set (step S502).
Next, the display motion blur amount setting unit (second setting unit) 102 determines the display motion blur amount according to the movement width of the subject at the time of display, and the second motion blur for reproducing the display motion blur amount. A filter is set (step S503).
Next, the motion blur suppression amount calculation unit (calculation unit) 103 calculates a pixel value conversion filter from the first motion blur filter and the inverse filter of the second motion blur filter (step S504).
次に、記憶部104は、入力画像を記憶するとともに、入力画像の各画素値を初期値とする仮動きぼけ抑制画像を生成して記憶する(ステップS505)。
次に、変換部105は、記憶部104に記憶された入力画像と、画素値変換フィルタとに基づき、記憶部104に記憶された仮動きぼけ抑制画像の画素値の変換処理を行う(ステップS506)。 変換の方法は第1の実施形態で説明した通りである。
次に、変換部105は、既定の繰り返し回数だけ変換処理を行ったかどうかを判定する(ステップS507)。判定結果がNOであれば、ステップS506に戻り、YESであれば、その段階での仮動きぼけ抑制画像を、動きぼけ抑制画像として出力し、処理を終了する。 Next, thestorage unit 104 stores the input image, and generates and stores a temporary motion blur suppression image having each pixel value of the input image as an initial value (step S505).
Next, based on the input image stored in thestorage unit 104 and the pixel value conversion filter, the conversion unit 105 performs pixel value conversion processing of the temporary motion blur suppression image stored in the storage unit 104 (step S506). ). The conversion method is as described in the first embodiment.
Next, theconversion unit 105 determines whether the conversion process has been performed for a predetermined number of repetitions (step S507). If the determination result is NO, the process returns to step S506, and if YES, the temporary motion blur suppression image at that stage is output as a motion blur suppression image, and the process ends.
次に、変換部105は、記憶部104に記憶された入力画像と、画素値変換フィルタとに基づき、記憶部104に記憶された仮動きぼけ抑制画像の画素値の変換処理を行う(ステップS506)。 変換の方法は第1の実施形態で説明した通りである。
次に、変換部105は、既定の繰り返し回数だけ変換処理を行ったかどうかを判定する(ステップS507)。判定結果がNOであれば、ステップS506に戻り、YESであれば、その段階での仮動きぼけ抑制画像を、動きぼけ抑制画像として出力し、処理を終了する。 Next, the
Next, based on the input image stored in the
Next, the
このように、入力画像から推定された撮影時の被写体の動き幅とカメラの開口時間と表示時の被写体の動き幅から、画素値変換フィルタを算出して、動きぼけ抑制処理を行うことで、撮影時の被写体の動き幅、カメラの開口時間、表示時の被写体の動き幅に応じたぼけ量の抑制ができ、自然な画像を生成することができる。
In this way, by calculating the pixel value conversion filter from the movement width of the subject at the time of shooting estimated from the input image, the opening time of the camera, and the movement width of the subject at the time of display, and performing motion blur suppression processing, The blur amount can be suppressed according to the movement width of the subject at the time of shooting, the opening time of the camera, and the movement width of the subject at the time of display, and a natural image can be generated.
[第3の実施形態]
図7は、本実施形態の画像表示装置のブロック図である。この画像表示装置は、画像処理装置100と、画像表示部200とを有する。 [Third embodiment]
FIG. 7 is a block diagram of the image display apparatus of the present embodiment. This image display device includes an image processing device 100 and animage display unit 200.
図7は、本実施形態の画像表示装置のブロック図である。この画像表示装置は、画像処理装置100と、画像表示部200とを有する。 [Third embodiment]
FIG. 7 is a block diagram of the image display apparatus of the present embodiment. This image display device includes an image processing device 100 and an
画像処理装置100は、図1に示した画像処理装置と同様の構成を有する。
The image processing apparatus 100 has the same configuration as the image processing apparatus shown in FIG.
画像表示部200は、画像処理装置100により得られた出力画像を表示する。
The image display unit 200 displays the output image obtained by the image processing apparatus 100.
本実施形態では画像表示部200を第1の実施形態の画像処理装置100に接続したが、第2の実施形態の画像処理装置に接続し、当該画像処理装置により得られた出力画像を表示してもよい。
In this embodiment, the image display unit 200 is connected to the image processing apparatus 100 of the first embodiment, but is connected to the image processing apparatus of the second embodiment, and displays an output image obtained by the image processing apparatus. May be.
なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。
Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.
また、上記の第1および第2の実施形態の画像処理装置、ならびに第3の実施形態の画像表示装置における画像処理装置は、例えば、汎用のコンピュータ装置を基本ハードウェアとして用いることでも実現することが可能である。実行されるプログラムは、上述した各機能を含むモジュール構成となっている。プログラムはインストール可能な形式又は実行可能な形式のファイルでCD-ROM、CD-R、DVD等のコンピュータで読み取り可能な記録媒体に記録されて提供しても、ROM等に予め組み込んで提供してもよい。
In addition, the image processing apparatuses in the first and second embodiments and the image display apparatus in the third embodiment described above can also be realized by using, for example, a general-purpose computer device as basic hardware. Is possible. The program to be executed has a module configuration including each function described above. The program is an installable or executable file that is recorded on a computer-readable recording medium such as a CD-ROM, CD-R, DVD, etc. Also good.
101・・・撮影動きぼけ量設定部(第1設定部)、102・・・表示動きぼけ量設定部(第2設定部)、103・・・動きぼけ抑制量算出部(算出部)、104・・・記憶部、105・・・変換部、401・・・被写体動き幅推定部(動き幅推定部)、100・・・画像処理装置、200・・・画像表示部
101 ... Shooting motion blur amount setting unit (first setting unit), 102 ... Display motion blur amount setting unit (second setting unit), 103 ... Motion blur suppression amount calculation unit (calculation unit), 104 ... Storage unit, 105 ... Conversion unit, 401 ... Subject motion width estimation unit (motion width estimation unit), 100 ... Image processing device, 200 ... Image display unit
Claims (6)
- 入力画像における被写体の動き幅に応じて前記被写体の撮影動きぼけ量を算出し、前記撮影動きぼけ量を再現する第1の動きぼけフィルタを求める第1設定部と、
前記撮影動きぼけ量より小さい所望の動きぼけ量である表示動きぼけ量を決定し、前記表示動きぼけ量を再現する第2の動きぼけフィルタを求める第2設定部と、
前記第1の動きぼけフィルタと、前記第2の動きぼけフィルタの逆フィルタとから画素値変換フィルタを算出する算出部と、
前記入力画像の画素値を初期値とする第1の画像を記憶する記憶部と、
前記第1の画像を前記画素値変換フィルタにより変換し第2の画像を求め、前記入力画像の画素値と、前記第2の画像の対応画素の画素値との差分が小さくなるように、前記第1の画像の画素値を補正することにより、動きぼけ抑制画像を生成する変換部と、
を備えた画像処理装置。 A first setting unit that calculates a shooting motion blur amount of the subject according to a motion width of the subject in the input image, and obtains a first motion blur filter that reproduces the shooting motion blur amount;
A second setting unit for determining a display motion blur amount that is a desired motion blur amount smaller than the shooting motion blur amount, and obtaining a second motion blur filter that reproduces the display motion blur amount;
A calculation unit that calculates a pixel value conversion filter from the first motion blur filter and an inverse filter of the second motion blur filter;
A storage unit for storing a first image having an initial value of a pixel value of the input image;
The first image is converted by the pixel value conversion filter to obtain a second image, and the difference between the pixel value of the input image and the pixel value of the corresponding pixel of the second image is reduced. A conversion unit that generates a motion blur-suppressed image by correcting the pixel value of the first image;
An image processing apparatus. - 前記第1設定部は、前記入力画像における前記被写体の動き幅と、前記被写体の撮影時における撮像デバイスの開口時間と、前記撮像デバイスの撮影間隔時間とから前記第1の動きぼけ量を計算する
ことを特徴とする請求項1に記載の画像処理装置。 The first setting unit calculates the first motion blur amount from the movement width of the subject in the input image, the opening time of the imaging device at the time of shooting the subject, and the shooting interval time of the imaging device. 2. The image processing apparatus according to claim 1, wherein: - 前記第2設定部は、前記入力画像における前記被写体の動き幅と、あらかじめ与えられた前記入力画像のフレームレート変換率とから前記入力画像のフレームレート変換後の前記被写体の動き幅を算出し、算出した被写体の動き幅に応じて前記第2の動きぼけ量を決定する
ことを特徴とする請求項2に記載の画像処理装置。 The second setting unit calculates the movement width of the subject after the frame rate conversion of the input image from the movement width of the subject in the input image and the frame rate conversion rate of the input image given in advance, 3. The image processing apparatus according to claim 2, wherein the second motion blur amount is determined according to the calculated movement width of the subject. - 前記第2設定部は、外部から入力されるユーザ指定の動きぼけ量を前記第2の動きぼけ量として用いる
ことを特徴とする請求項2に記載の画像処理装置。 3. The image processing apparatus according to claim 2, wherein the second setting unit uses a user-specified motion blur amount input from the outside as the second motion blur amount. - 前記入力画像から前記被写体の動き幅を推定する動き幅推定部をさらに備え、
前記第1設定部は、前記動き幅推定部で推定された動き幅と、前記被写体の撮影時における撮像デバイスの開口時間と、前記撮像デバイスの撮影間隔時間とから、前記第1の動きぼけ量を計算する
ことを特徴とする請求項1に記載の画像処理装置。 A movement width estimation unit for estimating a movement width of the subject from the input image;
The first setting unit includes the first motion blur amount based on the motion width estimated by the motion width estimation unit, the opening time of the imaging device at the time of photographing the subject, and the photographing interval time of the imaging device. 2. The image processing apparatus according to claim 1, characterized in that: - 入力画像における被写体の動き幅に応じて前記被写体の撮影動きぼけ量を算出し、前記撮影動きぼけ量を再現する第1の動きぼけフィルタを求める第1設定部と、
前記撮影動きぼけ量より小さい所望の動きぼけ量である表示動きぼけ量を決定し、前記表示動きぼけ量を再現する第2の動きぼけフィルタを求める第2設定部と、
前記第1の動きぼけフィルタと、前記第2の動きぼけフィルタの逆フィルタとから画素値変換フィルタを算出する算出部と、
前記入力画像の画素値を初期値とする第1の画像を記憶する記憶部と、
前記第1の画像を前記画素値変換フィルタにより変換し第2の画像を求め、前記入力画像の画素値と、前記第2の画像の対応画素の画素値との差分が小さくなるように、前記第1の画像の画素値を補正することにより、動きぼけ抑制画像を生成する変換部と、
前記動きぼけ抑制画像を表示する画像表示部と
を備えた画像表示装置。 A first setting unit that calculates a shooting motion blur amount of the subject according to a motion width of the subject in the input image, and obtains a first motion blur filter that reproduces the shooting motion blur amount;
A second setting unit for determining a display motion blur amount that is a desired motion blur amount smaller than the shooting motion blur amount, and obtaining a second motion blur filter that reproduces the display motion blur amount;
A calculation unit that calculates a pixel value conversion filter from the first motion blur filter and an inverse filter of the second motion blur filter;
A storage unit for storing a first image having an initial value of a pixel value of the input image;
The first image is converted by the pixel value conversion filter to obtain a second image, and the difference between the pixel value of the input image and the pixel value of the corresponding pixel of the second image is reduced. A conversion unit that generates a motion blur-suppressed image by correcting the pixel value of the first image;
An image display device comprising: an image display unit that displays the motion blur suppression image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2009/066446 WO2011033675A1 (en) | 2009-09-18 | 2009-09-18 | Image processing apparatus and image display apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2009/066446 WO2011033675A1 (en) | 2009-09-18 | 2009-09-18 | Image processing apparatus and image display apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2011033675A1 true WO2011033675A1 (en) | 2011-03-24 |
Family
ID=43758301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2009/066446 WO2011033675A1 (en) | 2009-09-18 | 2009-09-18 | Image processing apparatus and image display apparatus |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2011033675A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9344626B2 (en) | 2013-11-18 | 2016-05-17 | Apple Inc. | Modeless video and still frame capture using interleaved frames of video and still resolutions |
JPWO2019044328A1 (en) * | 2017-08-31 | 2020-10-15 | ソニー株式会社 | Medical image processing device, medical image processing system, and driving method of medical image processing device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006081150A (en) * | 2004-08-11 | 2006-03-23 | Sony Corp | Image processing apparatus and method, recording medium, and program |
JP2007114466A (en) * | 2005-10-20 | 2007-05-10 | Toshiba Corp | Photographing device incorporating camera shake correcting function |
JP2009094617A (en) * | 2007-10-04 | 2009-04-30 | Sony Corp | Image processing apparatus and method and program |
-
2009
- 2009-09-18 WO PCT/JP2009/066446 patent/WO2011033675A1/en active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006081150A (en) * | 2004-08-11 | 2006-03-23 | Sony Corp | Image processing apparatus and method, recording medium, and program |
JP2007114466A (en) * | 2005-10-20 | 2007-05-10 | Toshiba Corp | Photographing device incorporating camera shake correcting function |
JP2009094617A (en) * | 2007-10-04 | 2009-04-30 | Sony Corp | Image processing apparatus and method and program |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9344626B2 (en) | 2013-11-18 | 2016-05-17 | Apple Inc. | Modeless video and still frame capture using interleaved frames of video and still resolutions |
TWI566598B (en) * | 2013-11-18 | 2017-01-11 | 蘋果公司 | Modeless video and still frame capture |
US9591219B2 (en) | 2013-11-18 | 2017-03-07 | Apple Inc. | Modeless video and still frame capture |
US10038845B2 (en) | 2013-11-18 | 2018-07-31 | Apple Inc. | Modeless video and still frame capture |
US10498960B2 (en) | 2013-11-18 | 2019-12-03 | Apple Inc. | Modeless video and still frame capture |
US10911673B2 (en) | 2013-11-18 | 2021-02-02 | Apple Inc. | Modeless video and still frame capture |
JPWO2019044328A1 (en) * | 2017-08-31 | 2020-10-15 | ソニー株式会社 | Medical image processing device, medical image processing system, and driving method of medical image processing device |
JP7160041B2 (en) | 2017-08-31 | 2022-10-25 | ソニーグループ株式会社 | Medical image processing apparatus, medical image processing system, and driving method for medical image processing apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8233062B2 (en) | Image processing apparatus, image processing method, and imaging apparatus | |
JP5531194B2 (en) | Image processing apparatus, image processing method, and image processing program | |
US8390698B2 (en) | Image capturing apparatus, reproduction apparatus, image capturing method, and reproduction method | |
JP4674620B2 (en) | Image processing apparatus, image processing method, and program | |
JP2009194896A (en) | Image processing device and method, and imaging apparatus | |
KR20110060813A (en) | Image processing apparatus and image processing method | |
EP2164040A1 (en) | System and method for high quality image and video upscaling | |
JP2010200179A (en) | Image processor, image processing method, image processing program and program storing medium in which image processing program is stored | |
JP2013003610A (en) | Image processing apparatus and method, program, and recording medium | |
JP2009081574A (en) | Image processor, processing method and program | |
JP2014143530A (en) | Information processing unit, information processing method, and imaging apparatus | |
JP2009088935A (en) | Image recording apparatus, image correcting apparatus, and image pickup apparatus | |
JP2012109656A (en) | Image processing apparatus and method, and image display unit and method | |
JP2005150903A (en) | Image processing apparatus, noise elimination method, and noise elimination program | |
WO2011033675A1 (en) | Image processing apparatus and image display apparatus | |
JPWO2006025396A1 (en) | Image processing apparatus and image processing program | |
JP5919086B2 (en) | Image processing apparatus, control method therefor, and program | |
JP6995490B2 (en) | Video playback device and its control method and program | |
JP5024300B2 (en) | Image processing apparatus, image processing method, and program | |
JP2010073074A (en) | Image signal processor, image display device, video recording/reproducing device, and image signal processing method | |
JPWO2007026452A1 (en) | Image processing apparatus and image processing method | |
JP2009088933A (en) | Image recording apparatus, image correcting apparatus and image pickup apparatus | |
JP5401696B2 (en) | Image processing apparatus, image processing method, and image processing program | |
JP2007179211A (en) | Image processing device, image processing method, and program for it | |
JP4809190B2 (en) | Signal processing apparatus and change information generation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 09849534 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 09849534 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: JP |