{"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/patchdct-patch-refinement-for-high-quality","title":"PatchDCT: Patch Refinement for High Quality Instance Segmentation","arxiv_id":"2302.02693","date":"2023-02-06","proceeding":null,"authors":["Qinrou Wen","Jirui Yang","Xue Yang","Kewei Liang"],"abstract":"High-quality instance segmentation has shown emerging importance in computer vision. Without any refinement, DCT-Mask directly generates high-resolution masks by compressed vectors. To further refine masks obtained by compressed vectors, we propose for the first time a compressed vector based multi-stage refinement framework. However, the vanilla combination does not bring significant gains, because changes in some elements of the DCT vector will affect the prediction of the entire mask. Thus, we propose a simple and novel method named PatchDCT, which separates the mask decoded from a DCT vector into several patches and refines each patch by the designed classifier and regressor. Specifically, the classifier is used to distinguish mixed patches from all patches, and to correct previously mispredicted foreground and background patches. In contrast, the regressor is used for DCT vector prediction of mixed patches, further refining the segmentation quality at boundary locations. Experiments on COCO show that our method achieves 2.0%, 3.2%, 4.5% AP and 3.4%, 5.3%, 7.0% Boundary AP improvements over Mask-RCNN on COCO, LVIS, and Cityscapes, respectively. It also surpasses DCT-Mask by 0.7%, 1.1%, 1.3% AP and 0.9%, 1.7%, 4.2% Boundary AP on COCO, LVIS and Cityscapes. Besides, the performance of PatchDCT is also competitive with other state-of-the-art methods.","url_abs":"https://arxiv.org/abs/2302.02693v2","url_pdf":"https://arxiv.org/pdf/2302.02693v2.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":"patchdct-patch-refinement-for-high-quality","repo_url":"https://github.com/olivia-w12/patchdct","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"instance-segmentation","task_name":"Instance Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"high","task_name":"Vocal Bursts Intensity Prediction"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2302.02693","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2302.02693"}},"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/olivia-w12/patchdct","reach":null}],"summary":{"ran":1,"ran_draft_wrong":4},"by_repo_kind":{"official":{"samples":5,"ran":5,"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":"e413ae3ade31606d","entry":"DctMaskEncoding","repo":"olivia-w12/patchdct","repo_kind":"official","path":"projects/PatchDCT/patchdct/mask_encoding.py","file_url":"https://github.com/olivia-w12/patchdct/blob/HEAD/projects/PatchDCT/patchdct/mask_encoding.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e413ae3ade31606d"}},{"code_sha256_prefix":"baf95d0e64c9b78d","entry":"dct","repo":"olivia-w12/patchdct","repo_kind":"official","path":"projects/PatchDCT/patchdct/mask_encoding.py","file_url":"https://github.com/olivia-w12/patchdct/blob/HEAD/projects/PatchDCT/patchdct/mask_encoding.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"baf95d0e64c9b78d"}},{"code_sha256_prefix":"90d1223e2028a170","entry":"dct_2d","repo":"olivia-w12/patchdct","repo_kind":"official","path":"projects/PatchDCT/patchdct/mask_encoding.py","file_url":"https://github.com/olivia-w12/patchdct/blob/HEAD/projects/PatchDCT/patchdct/mask_encoding.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"90d1223e2028a170"}},{"code_sha256_prefix":"7bd94195dfbd7b2c","entry":"idct","repo":"olivia-w12/patchdct","repo_kind":"official","path":"projects/PatchDCT/patchdct/mask_encoding.py","file_url":"https://github.com/olivia-w12/patchdct/blob/HEAD/projects/PatchDCT/patchdct/mask_encoding.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7bd94195dfbd7b2c"}},{"code_sha256_prefix":"aaf5abf02c27af06","entry":"idct_2d","repo":"olivia-w12/patchdct","repo_kind":"official","path":"projects/PatchDCT/patchdct/mask_encoding.py","file_url":"https://github.com/olivia-w12/patchdct/blob/HEAD/projects/PatchDCT/patchdct/mask_encoding.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"aaf5abf02c27af06"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}