Property tests for stereo.rs (DIBR)

Aperta
#8 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
testing

Direzione di ricerca

Start with the DIBR warping code in src/stereo.rs and its existing example-based tests, and read how disparity and depth are mapped to pixel shifts. Add property tests covering zero disparity, constant depth, full coverage of output pixels, and left/right mirroring, using random depth maps and sizes. Done when all five acceptance criteria pass and the test suite runs in under 5 seconds.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

good first issue

src/stereo.rs is the core of the project and has only a handful of example-based tests.

Acceptance criteria

  • Zero disparity returns the input image unchanged
  • A constant-depth image shifts every row by the same amount
  • No output pixel is left unfilled, for random depth maps and sizes
  • Left/right swap mirrors the output
  • Tests run in under 5 s

Estimate: 3 h

Lingua principale
Rust
Stelle
0
Fork
0
Merge medio
3m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mrgnw/spatial-maker

Tutte le issue di mrgnw/spatial-maker

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.