{"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/deep-parametric-shape-predictions-using","title":"Deep Parametric Shape Predictions using Distance Fields","arxiv_id":"1904.08921","date":"2019-04-18","proceeding":"CVPR 2020 6","authors":["Dmitriy Smirnov","Matthew Fisher","Vladimir G. Kim","Richard Zhang","Justin Solomon"],"abstract":"Many tasks in graphics and vision demand machinery for converting shapes into consistent representations with sparse sets of parameters; these representations facilitate rendering, editing, and storage. When the source data is noisy or ambiguous, however, artists and engineers often manually construct such representations, a tedious and potentially time-consuming process. While advances in deep learning have been successfully applied to noisy geometric data, the task of generating parametric shapes has so far been difficult for these methods. Hence, we propose a new framework for predicting parametric shape primitives using deep learning. We use distance fields to transition between shape parameters like control points and input data on a pixel grid. We demonstrate efficacy on 2D and 3D tasks, including font vectorization and surface abstraction.","url_abs":"https://arxiv.org/abs/1904.08921v2","url_pdf":"https://arxiv.org/pdf/1904.08921v2.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":"deep-parametric-shape-predictions-using","repo_url":"https://github.com/dmsm/DeepParametricShapes","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"deep-learning","task_name":"Deep Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1904.08921","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1904.08921"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/dmsm/DeepParametricShapes","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":2,"unverified":9},"by_repo_kind":{"official":{"samples":11,"ran":2,"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":0,"samples":[{"code_sha256_prefix":"262e5c2a0bf12f36","entry":"conv1x1","repo":"dmsm/DeepParametricShapes","repo_kind":"official","path":"dps_3d/models.py","file_url":"https://github.com/dmsm/DeepParametricShapes/blob/HEAD/dps_3d/models.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"262e5c2a0bf12f36"}},{"code_sha256_prefix":"68212b2060dc618d","entry":"conv3x3","repo":"dmsm/DeepParametricShapes","repo_kind":"official","path":"dps_3d/models.py","file_url":"https://github.com/dmsm/DeepParametricShapes/blob/HEAD/dps_3d/models.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"68212b2060dc618d"}},{"code_sha256_prefix":"0da3e9b90676b537","entry":"add_z","repo":"dmsm/DeepParametricShapes","repo_kind":"official","path":"dps_2d/models.py","file_url":"https://github.com/dmsm/DeepParametricShapes/blob/HEAD/dps_2d/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0da3e9b90676b537"}},{"code_sha256_prefix":"e4598ad176af9717","entry":"apply_templates","repo":"dmsm/DeepParametricShapes","repo_kind":"official","path":"dps_2d/font_tools.py","file_url":"https://github.com/dmsm/DeepParametricShapes/blob/HEAD/dps_2d/font_tools.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e4598ad176af9717"}},{"code_sha256_prefix":"bd80da550e0a68c3","entry":"distance_to_cuboids","repo":"dmsm/DeepParametricShapes","repo_kind":"official","path":"dps_3d/utils.py","file_url":"https://github.com/dmsm/DeepParametricShapes/blob/HEAD/dps_3d/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bd80da550e0a68c3"}},{"code_sha256_prefix":"964fbbd1f89095c7","entry":"distance_to_curves","repo":"dmsm/DeepParametricShapes","repo_kind":"official","path":"dps_2d/utils.py","file_url":"https://github.com/dmsm/DeepParametricShapes/blob/HEAD/dps_2d/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"964fbbd1f89095c7"}},{"code_sha256_prefix":"b5cc7c904bb23034","entry":"distance_to_rounded_cuboids","repo":"dmsm/DeepParametricShapes","repo_kind":"official","path":"dps_3d/utils.py","file_url":"https://github.com/dmsm/DeepParametricShapes/blob/HEAD/dps_3d/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b5cc7c904bb23034"}},{"code_sha256_prefix":"ed6cbfc730392d8c","entry":"hamilton_product","repo":"dmsm/DeepParametricShapes","repo_kind":"official","path":"dps_3d/utils.py","file_url":"https://github.com/dmsm/DeepParametricShapes/blob/HEAD/dps_3d/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ed6cbfc730392d8c"}},{"code_sha256_prefix":"f5eeb70ab5ddc525","entry":"make_safe","repo":"dmsm/DeepParametricShapes","repo_kind":"official","path":"dps_2d/utils.py","file_url":"https://github.com/dmsm/DeepParametricShapes/blob/HEAD/dps_2d/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f5eeb70ab5ddc525"}},{"code_sha256_prefix":"1672b2ea0e47796d","entry":"poly_bezier_to_bezier","repo":"dmsm/DeepParametricShapes","repo_kind":"official","path":"dps_2d/font_tools.py","file_url":"https://github.com/dmsm/DeepParametricShapes/blob/HEAD/dps_2d/font_tools.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1672b2ea0e47796d"}},{"code_sha256_prefix":"7a34125ae48e595c","entry":"unroll_curves","repo":"dmsm/DeepParametricShapes","repo_kind":"official","path":"dps_2d/utils.py","file_url":"https://github.com/dmsm/DeepParametricShapes/blob/HEAD/dps_2d/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7a34125ae48e595c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}