TRIMAP GENERATION DEVICE, TRIMAP GENERATION METHOD AND PROGRAM
PROBLEM TO BE SOLVED: To provide a Trimap generation device for generating a Trimap for appropriately executing chroma-key processing in a fully automatic manner.SOLUTION: A Trimap generation part 13 of a chroma-key synthesizer 100 accepts the input of an original image 30 obtained by photographing...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng ; jpn |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | PROBLEM TO BE SOLVED: To provide a Trimap generation device for generating a Trimap for appropriately executing chroma-key processing in a fully automatic manner.SOLUTION: A Trimap generation part 13 of a chroma-key synthesizer 100 accepts the input of an original image 30 obtained by photographing a subject (S101), and accepts the input of the positions of the parietal region and the jaw (S102). The Trimap generation part 13 classifies the pixels of the original image 30 into a foreground region, a background region, and an unknown region to generate a Trimap (S103). The Trimap generation part 13 executes foreground region update processing (S104), and when the colors of the pixels of the unknown region exist in a color histogram generated on the basis of the pixels of the foreground region, executes color histogram determination processing of updating the pixels of the unknown region to the foreground region (S105). The Trimap generation part 13 executes in-matrix counter processing and expansion processing (S106, S107) to generate a Trimap 52 to be used by an alpha mask generation part 14.
【課題】適切にクロマキー処理を実行するためのTrimapを全自動で生成するTrimap生成装置等を提供する。【解決手段】クロマキー合成装置100のTrimap生成部13は、被写体を撮影した原画像30の入力を受付け(S101)、頭頂部及び顎の位置の入力を受付ける(S102)。Trimap生成部13は、原画像30の各画素を前景領域と背景領域と未知領域とに分類して、Trimapを生成する(S103)。Trimap生成部13は、前景領域更新処理を実行し(S104)、未知領域の画素の色が前景領域の画素に基づいて生成した色ヒストグラムに存在する場合に、前景領域に更新する色ヒストグラム判定処理を実行する(S105)。Trimap生成部13は、マトリクス内カウンタ処理、及び膨張処理を実行して(S106、S107)、アルファマスク生成部14にて使用するTrimap52を生成する。【選択図】図4 |
---|