{"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/interactive-segmentation-and-visualization","title":"Interactive Segmentation and Visualization for Tiny Objects in Multi-megapixel Images","arxiv_id":"2204.10356","date":"2022-04-21","proceeding":"CVPR 2022 1","authors":["Chengyuan Xu","Boning Dong","Noah Stier","Curtis McCully","D. Andrew Howell","Pradeep Sen","Tobias Höllerer"],"abstract":"We introduce an interactive image segmentation and visualization framework for identifying, inspecting, and editing tiny objects (just a few pixels wide) in large multi-megapixel high-dynamic-range (HDR) images. Detecting cosmic rays (CRs) in astronomical observations is a cumbersome workflow that requires multiple tools, so we developed an interactive toolkit that unifies model inference, HDR image visualization, segmentation mask inspection and editing into a single graphical user interface. The feature set, initially designed for astronomical data, makes this work a useful research-supporting tool for human-in-the-loop tiny-object segmentation in scientific areas like biomedicine, materials science, remote sensing, etc., as well as computer vision. Our interface features mouse-controlled, synchronized, dual-window visualization of the image and the segmentation mask, a critical feature for locating tiny objects in multi-megapixel images. The browser-based tool can be readily hosted on the web to provide multi-user access and GPU acceleration for any device. The toolkit can also be used as a high-precision annotation tool, or adapted as the frontend for an interactive machine learning framework. Our open-source dataset, CR detection model, and visualization toolkit are available at https://github.com/cy-xu/cosmic-conn.","url_abs":"https://arxiv.org/abs/2204.10356v1","url_pdf":"https://arxiv.org/pdf/2204.10356v1.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":"interactive-segmentation-and-visualization","repo_url":"https://github.com/cy-xu/cosmic-conn","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":null,"task_name":"GPU"},{"task_slug":"image-segmentation","task_name":"Image Segmentation"},{"task_slug":"interactive-segmentation","task_name":"Interactive Segmentation"},{"task_slug":"segmentation","task_name":"Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2204.10356","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2204.10356"}},"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/cy-xu/cosmic-conn","reach":null}],"summary":{"ran_draft_wrong":9,"ran":7,"ran_fixture":1,"ran_honours":2,"unverified":1},"by_repo_kind":{"official":{"samples":20,"ran":19,"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":20,"samples":[{"code_sha256_prefix":"d6167c8487d42a7b","entry":"DiceLoss","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.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":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"d6167c8487d42a7b"}},{"code_sha256_prefix":"a6244a16ffbe3e77","entry":"DoubleConv","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"a6244a16ffbe3e77"}},{"code_sha256_prefix":"b6481b13444d2777","entry":"Down","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"b6481b13444d2777"}},{"code_sha256_prefix":"50d6ecf276533820","entry":"InConv","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"50d6ecf276533820"}},{"code_sha256_prefix":"1c5c79447f4ec7f6","entry":"OutConv","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"1c5c79447f4ec7f6"}},{"code_sha256_prefix":"f6fed6e9e02614ee","entry":"ResBlock","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"f6fed6e9e02614ee"}},{"code_sha256_prefix":"b356e6ba9098b970","entry":"UNet_module","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"b356e6ba9098b970"}},{"code_sha256_prefix":"14b928f349ca092f","entry":"Up","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"14b928f349ca092f"}},{"code_sha256_prefix":"885a2f1eb6879720","entry":"absolute_deviation","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.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":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"885a2f1eb6879720"}},{"code_sha256_prefix":"7d022af87b98c955","entry":"clean_large","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"7d022af87b98c955"}},{"code_sha256_prefix":"97db0839cad0e4d8","entry":"dim_expand","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.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":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"97db0839cad0e4d8"}},{"code_sha256_prefix":"1ef414e61e451cad","entry":"median","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.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":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"1ef414e61e451cad"}},{"code_sha256_prefix":"e6805a03f7d45fe5","entry":"median_absolute_deviation","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.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":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"e6805a03f7d45fe5"}},{"code_sha256_prefix":"3229688463d1bbba","entry":"median_weighted_bce","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.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":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"3229688463d1bbba"}},{"code_sha256_prefix":"f76bfc62a08f0c83","entry":"modulus_boundary_crop","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"f76bfc62a08f0c83"}},{"code_sha256_prefix":"82c6b9ebca757620","entry":"remove_nan","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"82c6b9ebca757620"}},{"code_sha256_prefix":"dc7c36a7b4dec126","entry":"robust_standard_deviation","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.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":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"dc7c36a7b4dec126"}},{"code_sha256_prefix":"81a76fd8ffd6c12c","entry":"subtract_sky","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.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":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"81a76fd8ffd6c12c"}},{"code_sha256_prefix":"5e3bde4fc6656407","entry":"tensor2np","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"5e3bde4fc6656407"}},{"code_sha256_prefix":"3bbbaaa2f7179026","entry":"Cosmic_CoNN","repo":"cy-xu/cosmic-conn","repo_kind":"official","path":"cosmic_conn/dl_framework/cosmic_conn.py","file_url":"https://github.com/cy-xu/cosmic-conn/blob/HEAD/cosmic_conn/dl_framework/cosmic_conn.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"3bbbaaa2f7179026"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}