{"id":18374902,"url":"https://github.com/lids-unicamp/disf","last_synced_at":"2026-03-07T17:03:35.196Z","repository":{"id":47412037,"uuid":"308353673","full_name":"LIDS-UNICAMP/DISF","owner":"LIDS-UNICAMP","description":"Dynamic and Iterative Spanning Forest (DISF) superpixel segmentation framework","archived":false,"fork":false,"pushed_at":"2024-04-23T12:51:42.000Z","size":334,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-06T20:36:00.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://viplab.icei.pucminas.br/projects/disf/","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"osl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LIDS-UNICAMP.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-29T14:29:16.000Z","updated_at":"2024-11-11T08:45:03.000Z","dependencies_parsed_at":"2025-04-06T20:41:22.492Z","dependency_job_id":null,"html_url":"https://github.com/LIDS-UNICAMP/DISF","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LIDS-UNICAMP/DISF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIDS-UNICAMP%2FDISF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIDS-UNICAMP%2FDISF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIDS-UNICAMP%2FDISF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIDS-UNICAMP%2FDISF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LIDS-UNICAMP","download_url":"https://codeload.github.com/LIDS-UNICAMP/DISF/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LIDS-UNICAMP%2FDISF/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30222412,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T17:00:40.062Z","status":"ssl_error","status_checked_at":"2026-03-07T17:00:39.026Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T00:16:37.013Z","updated_at":"2026-03-07T17:03:35.180Z","avatar_url":"https://github.com/LIDS-UNICAMP.png","language":"C","readme":"===============================================================================\n            Dynamic and Iterative Spanning Forest Framework (DISF)\n\n        Felipe C. Belém, Silvio J. F. Guimarães and Alexandre X. Falcão\n===============================================================================\n\nThis is an implementation of the Dynamic and Iterative Spanning Forest (DISF)\nframework. Its strategy consists on oversampling the input image and, through\nthe iterations, generates superpixels and removes those considered as irrelevant,\nby a certain criterion, until the desired quantity of superpixels is achieved.\nSee http://viplab.icei.pucminas.br/projects/disf/ for more information \nabout this work.\n\n1) Papers \u0026 Citation:\n    This work was published at [1] and [2]... \n        [1] - https://arxiv.org/abs/2007.04257\n        [2] - https://ieeexplore.ieee.org/document/9165122/\n    ...and if you're interested in using our code, we appreciate if you cite this work in your project. \n        F. Belem, S. Guimaraes and A. X. Falcao, \"Superpixel Segmentation using Dynamic and Iterative Spanning Forest,\" in IEEE Signal Processing Letters, doi: 10.1109/LSP.2020.3015433.\n\n2) Languages Supported:\n    C/C++ (Implementation), Python3 (Wrapper), Octave (Wrapper) and MATLAB (Wrapper)\n\n3) Compiling \u0026 Cleaning:\n    In order to compile the necessary files for executing in C, Python3, Octave or MATLAB environment, one can execute their respective rules...\n        make c\n        make python3\n        make octave\n        make matlab\n    ... or one of the following for compiling them all:\n        make    \n        make all\n    For removing all generated files from source, simply run:\n        make clean\n\n4) Running:\n    In this folder, there are three demo files, one for each language supported (i.e., C, \n    Python3 and MATLAB/Octave). After compiling and assuring the generation of the \n    necessary files, one can execute each demo within its own environment. As an example,\n    for a terminal located at this folder, one can run the following commands:\n        C: ./bin/DISF_demo\n        Python3: python3 DISF_demo.py\n        Octave: octave \n                DISF_demo\n        MATLAB: matlab\n                DISF_demo\n\n5) Hardware \u0026 Requirements:\n    This code was implemented and evaluated in computers with the following \n    specifications:\n        Acer Chromebook C720P\n        Order: Little-Endian\n        OS: GalliumOS v4.16.18 x86_64\n        CPU: 4x Dual-core Intel(R) Core(TM) i3-4005U CPU @ 1.70GHz\n        Memory: 4GB RAM ; 32GB SSD\n\n        Gigabyte Technology H170M-D3H\n        Order: Little-Endian\n        OS: Ubuntu v4.15.0 x86_64\n        CPU: 8x Quad-core Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz\n        Memory: 64GB RAM ; 1TB SSD\n\n    Moreover, it was compiled and executed using the following programs:\n        GNU Make: v4.1\n        GNU GCC: v5.4.0 v7.5.0\n        Python: v3.5.2 v3.6.9 \n        Numpy: v1.12.1 v1.19.1\n        Octave: v4.2.2\n        MATLAB: R2019a v9.6.0.1150989 Update 4\n\n    Therefore, it is \u003e\u003e\u003eNOT\u003c\u003c\u003c guaranteed that this code will compile/execute properly in any\n    other operational system (e.g., Windows and MacOS) or programs (e.g., MinGW and Clang).\n\n6) Optional Libraries:\n    In each demo, it was considered a library for manipulating images, which are not \n    mandatory. Thus, one can alter such to its preferred one, but maintaining the conversion\n    to the mandatory object types (e.g., Int32 Mex Array, Int32 Numpy Array and Graph*).\n    The optional libraries used at each demo are presented below:\n        Octave Image Package: v2.12.0\n        Matplotlib: v2.0.2 v3.2.1\n        Python Imaging Library (PIL): v5.1.0 v5.3.0\n        STB Image: v2.23\n\n7) License:\n    This code is licensed under Open Software License (\"OSL\") v.3.0. Please, see LICENSE for\n    more details.\n\n8) Acknowledgments\n    This work was developed during Felipe's M.Sc. and Ph.D. studies at the University of Campinas (UNICAMP), in São Paulo, Brazil, with the cooperation of the Pontifical Catholic University of Minas Gerais (PUC-MG), in Minas Gerais, Brazil. Moreover, it was financially supported by CNPq, FAPESP, FAPEMIG and CAPES --- all brazilian research funding agencies.\n\n9) Contact:\n    Please, feel free to contact the authors for any unexpected behavior you might face (e.g., bugs):\n        Felipe C. Belém: felipe.belem@ic.unicamp.br\n        Silvio J. F. Guimarães: sjamil@pucminas.br\n        Alexandre X. Falcão: afalcao@ic.unicamp.br","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flids-unicamp%2Fdisf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flids-unicamp%2Fdisf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flids-unicamp%2Fdisf/lists"}