IMAGE PROCESSING PROGRAM, IMAGE PROCESSING DEVICE, AND IMAGE PROCESSING METHOD

To perform image processing to replace a part of a captured image with an object.SOLUTION: An image processing program acquires a captured image, identifies a subject in the captured image, determines one of a plurality of unit areas obtained by dividing the captured ranged, in which the identified...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: MURAKAMI NAOYUKI, MITARAI SHUICHI
Format: Patent
Sprache:eng ; jpn
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:To perform image processing to replace a part of a captured image with an object.SOLUTION: An image processing program acquires a captured image, identifies a subject in the captured image, determines one of a plurality of unit areas obtained by dividing the captured ranged, in which the identified subject is located, sets at least one of the unit areas in which the subject is determined to be positioned as a target region, determine a region to be replaced from among the regions other than the target region, acquires a replacement image including an object extracted from an object arrangement image obtained by arranging an object in advance in a replacement area and photographing the object, and pixels surrounding the object, generates a clipped image from which pixel data of a portion placed with the replacement image is deleted in each of the replacement areas, obtains a background image, and superimposes and synthesizes the background image, the clipped image, and the replacement image. Instead of a process of replacing with the replacement image, the subject in the replacement area may be erased.SELECTED DRAWING: Figure 1 【課題】撮影画像の一部をオブジェクトに置き換える画像処理を行うこと。【解決手段】撮影画像を取得し、撮影画像に写る被写体を特定し、撮影範囲を分割した複数の単位領域の何れの個所に特定した被写体が位置するかを判定し、被写体が位置していると判定された前記単位領域のうちの少なくとも1つを着目領域とし、着目領域以外の中から置換対象となる領域を決定し、置換領域の個所に対して予めオブジェクトを配置して撮影することで得られたオブジェクト配置画像から抽出したオブジェクトとその周辺画素を含む置換用画像を取得し、置換領域のそれぞれにおいて置換画像と置き換える箇所の画素データを削除した切り抜き画像を生成し、背景画像を取得し、背景画像、切り抜き画像、及び、置換用画像を重ねて合成する。置換用画像に置き換える処理に替えて、置換領域の被写体を消去するようにしてもよい。【選択図】図1