Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ウィキペディアの記事では、積分画像(合計面積表)の式は次のように与えられています。
負の第 4 項はなぜですか? 私はこれで少し混乱しました..誰かが例で説明できますか?
3 つの積分 I(m, n) は、(0, 0) からインデックス (m, n) までの領域全体を表します。2 つの積分 I(x-1, y) と I(x, y-1) を加算すると、(0, 0) と (x-1, y-1) の間の領域が 2 回加算されます。したがって、正しい積分は I(x-1, y-1) を減算することによって得られます。