Skip to Content
詳解 OpenCV 3 ―コンピュータビジョンライブラリを使った画像処理・認識
book

詳解 OpenCV 3 ―コンピュータビジョンライブラリを使った画像処理・認識

by Adrian Kaehler, Gary Bradski, 松田 晃一, 小沼 千絵, 永田 雅人, 花形 理
May 2018
Intermediate to advanced
992 pages
17h 31m
Japanese
O'Reilly Japan, Inc.
Content preview from 詳解 OpenCV 3 ―コンピュータビジョンライブラリを使った画像処理・認識

15章背景除去

15.1 背景除去の概要

多くのアプリケーション、とりわけ防犯カメラなどでは、その簡単さと、カメラが固定されている場合が多いことから、背景除去(または背景差分)が依然として最も重要な画像処理となっています。K. Toyama、J. Krumm、B. Brumitt、B. Meyersは[Toyama99]でその概要を説明し、多数のテクニックの比較を行っています。背景を除去するためにはまず、背景のモデルを「学習」する必要があります。

学習が済んだら、この背景モデルを現在の画像と比較し、既知となった背景部分を取り除きます。除去の後に残った物体が、前景の物体であると推定されます。

もちろん「背景」といってもあいまいな概念なので、アプリケーションによってその定義は変わります。例えば、高速道路を見張っているなら、平均的な交通の流れはおそらく背景と考えるべきでしょう。通常、背景は、注目する期間にわたって、静止したまま、あるいは周期的に動くシーンの一部分と考えられます。全体として見た場合、時間により変化する要素もあるかもしれません。例えば、昼は動かず立っていても朝夕は風に揺れる木のようなものです。よくあるはっきりと異なる2種類のシーンのよい例が、屋内と屋外のシーンでしょう。このようなシーンのどちらでも使える手法について説明します。

本章では、まず、典型的な背景モデルの弱点を説明した後、より高度なシーンのモデルの説明に移ります。次に、主に照明がそれほど変化しない、屋内の静止した背景シーンに適した簡便な方法を紹介します。その後、それより少し速度は遅いものの屋外と屋内のシーンのどちらでも機能する「コードブック」法へと続きます。これにより、周期的な動き(風に揺れる木など)と、ゆっくりあるいは周期的に変化する照明との両方に対応できます。この方法はまた、まれに前景物体が通り過ぎても、背景の学習を行うことができます。ここでは、検出した前景物体をきれいにするという状況で連結成分(「 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

入門 監視 ―モダンなモニタリングのためのデザインパターン

入門 監視 ―モダンなモニタリングのためのデザインパターン

Mike Julian, 松浦 隼人
詳解 iOS SDK 第4版 ―ワンランク上のiPhone/iPadプログラミング

詳解 iOS SDK 第4版 ―ワンランク上のiPhone/iPadプログラミング

Matt Neuburg, 武舎 広幸, 阿部 和也, 河村 政雄, 上西 昌弘, 福地 太郎
行動を変えるデザイン ―心理学と行動経済学をプロダクトデザインに活用する

行動を変えるデザイン ―心理学と行動経済学をプロダクトデザインに活用する

Stephen Wendel, 武山 政直, 相島 雅樹, 反中 望, 松村 草也

Publisher Resources

ISBN: 9784873118376Other