{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/one-trimap-video-matting","title":"One-Trimap Video Matting","arxiv_id":"2207.13353","date":"2022-07-27","proceeding":null,"authors":["Hongje Seong","Seoung Wug Oh","Brian Price","Euntai Kim","Joon-Young Lee"],"abstract":"Recent studies made great progress in video matting by extending the success of trimap-based image matting to the video domain. In this paper, we push this task toward a more practical setting and propose One-Trimap Video Matting network (OTVM) that performs video matting robustly using only one user-annotated trimap. A key of OTVM is the joint modeling of trimap propagation and alpha prediction. Starting from baseline trimap propagation and alpha prediction networks, our OTVM combines the two networks with an alpha-trimap refinement module to facilitate information flow. We also present an end-to-end training strategy to take full advantage of the joint model. Our joint modeling greatly improves the temporal stability of trimap propagation compared to the previous decoupled methods. We evaluate our model on two latest video matting benchmarks, Deep Video Matting and VideoMatting108, and outperform state-of-the-art by significant margins (MSE improvements of 56.4% and 56.7%, respectively). The source code and model are available online: https://github.com/Hongje/OTVM.","url_abs":"https://arxiv.org/abs/2207.13353v1","url_pdf":"https://arxiv.org/pdf/2207.13353v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"one-trimap-video-matting","repo_url":"https://github.com/hongje/otvm","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"image-matting","task_name":"Image Matting"},{"task_slug":"video-matting","task_name":"Video Matting"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2207.13353","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2207.13353"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/Hongje/OTVM","reach":null}],"summary":{"ran":3,"ran_honours":1,"unverified":3},"by_repo_kind":{"official":{"samples":7,"ran":4,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":7,"samples":[{"code_sha256_prefix":"81be19ac2150392d","entry":"Decoder","repo":"Hongje/OTVM","repo_kind":"official","path":"models/trimap/model.py","file_url":"https://github.com/Hongje/OTVM/blob/HEAD/models/trimap/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"81be19ac2150392d"}},{"code_sha256_prefix":"d7ab2e79a07b4f46","entry":"Memory","repo":"Hongje/OTVM","repo_kind":"official","path":"models/trimap/model.py","file_url":"https://github.com/Hongje/OTVM/blob/HEAD/models/trimap/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d7ab2e79a07b4f46"}},{"code_sha256_prefix":"74ec663bdba406e8","entry":"ToCuda","repo":"Hongje/OTVM","repo_kind":"official","path":"models/trimap/model.py","file_url":"https://github.com/Hongje/OTVM/blob/HEAD/models/trimap/model.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"74ec663bdba406e8"}},{"code_sha256_prefix":"fcca1c0db4a467f4","entry":"pad_divide_by","repo":"Hongje/OTVM","repo_kind":"official","path":"models/trimap/model.py","file_url":"https://github.com/Hongje/OTVM/blob/HEAD/models/trimap/model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"fcca1c0db4a467f4"}},{"code_sha256_prefix":"ec536500d71ac559","entry":"Encoder_M","repo":"Hongje/OTVM","repo_kind":"official","path":"models/trimap/model.py","file_url":"https://github.com/Hongje/OTVM/blob/HEAD/models/trimap/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"ec536500d71ac559"}},{"code_sha256_prefix":"1e4885ae2178ef47","entry":"FullModel","repo":"Hongje/OTVM","repo_kind":"official","path":"models/trimap/model.py","file_url":"https://github.com/Hongje/OTVM/blob/HEAD/models/trimap/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"1e4885ae2178ef47"}},{"code_sha256_prefix":"7ba409a670c85101","entry":"STM","repo":"Hongje/OTVM","repo_kind":"official","path":"models/trimap/model.py","file_url":"https://github.com/Hongje/OTVM/blob/HEAD/models/trimap/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"7ba409a670c85101"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}