Investigate: vertically coherent disocclusion fill

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust

調査の方向性

Start with smooth_holes_vertically in src/stereo.rs and the test wide_hole_fill_varies_smoothly_between_rows, then render a case with examples/stereo_from_depth.rs to see the streak. Before writing anything, agree on the replacement fill (push-pull or background-only blur) with the maintainer, because the issue leaves the choice open. Done means a committed before/after crop, a passing unit test on a synthetic depth step with a wide hole, and per-frame cost within the video budget.

索引モデルが issue の本文から書いたものです。

説明

Wide disocclusion holes in the right eye still look like a smear. This is what remains after the work already shipped.

Already shipped (not part of this issue)

  • Holes are filled from the farther (background) side, mirroring its texture.
  • smooth_holes_vertically in src/stereo.rs averages filled hole pixels with the filled pixels above and below them, so the fill no longer changes row to row. wide_hole_fill_varies_smoothly_between_rows tests it.
  • Photos refine depth with a joint weighted median plus 1 px foreground dilation (src/depth_refine.rs); video uses the guided filter.

What remains

Holes wider than the smoothing radius still repeat one background column across the hole, which shows as a vertical streak. Replace the mirror-and-smooth fill with a bounded background-only fill, for example push-pull from background pixels or a small 2D blur over hole pixels only (iw3 blur_blend). It must stay cheap enough to run per video frame.

Acceptance criteria

  • A reproducible case (a generated or freely licensed photo plus its depth map, rendered with examples/stereo_from_depth.rs) where the current fill shows a wide-hole streak, committed or linked
  • The new fill removes the streak on that case, shown as a before/after crop
  • Cost per frame stays within the existing video budget; no new model or network dependency
  • A unit test on a synthetic depth step with a wide hole
主要言語
Rust
スター
0
フォーク
0
平均マージ
3分
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mrgnw/spatial-maker のほかの issue

mrgnw/spatial-maker の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。