{"id":16161288,"url":"https://github.com/exectx/image-segmentation","last_synced_at":"2025-08-01T03:35:56.342Z","repository":{"id":45254219,"uuid":"441251973","full_name":"exectx/image-segmentation","owner":"exectx","description":"Parallized image segmentation using OpenMPI","archived":false,"fork":false,"pushed_at":"2021-12-27T20:04:13.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-02T07:06:05.619Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/exectx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-23T17:30:30.000Z","updated_at":"2022-04-14T06:42:46.000Z","dependencies_parsed_at":"2022-09-10T05:50:34.488Z","dependency_job_id":null,"html_url":"https://github.com/exectx/image-segmentation","commit_stats":null,"previous_names":["van14u/image-segmentation","exectx/image-segmentation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exectx%2Fimage-segmentation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exectx%2Fimage-segmentation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exectx%2Fimage-segmentation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exectx%2Fimage-segmentation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exectx","download_url":"https://codeload.github.com/exectx/image-segmentation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230604689,"owners_count":18252156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-10-10T02:24:48.707Z","updated_at":"2024-12-20T15:23:43.677Z","avatar_url":"https://github.com/exectx.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# image-segmentation\n\n- Ivan Buendia Gutierrez\n- Jhoel Salomon Tapara Quispe\n- Diego Espirilla Portocarrero\n\nImage segmentation implemented using MPI, K-means algorithm in a network\n\n## Set up container\n1. Set up `.env` file:\n```\nNET_MODE=\u003cmain|worker\u003e\nNET_NAME=\u003cname\u003e\nNET_PASS=\u003cpassword\u003e\nUSER_PASS=\u003cuser password\u003e\n```\n2. Create a `images` folder put your images in:\n\n2. Start container:\n```sh\ndocker-compose up -d\n```\n\n3. **Create** or **join** network:\n```sh\ndocker exec -it worker sh -c \"./init-vpn.sh\"\n```\n\n3. In **main** docker container, add **worker** node on **main** node:\n```sh\n# Main container\n./add-node.sh -H \u003chost\u003e -HN \u003chost-name\u003e -P \u003cport\u003e -U \u003cuser\u003e\n```\n\n## Image segmentation:\nRun mpirun:\n```sh\n# Main container\nmpirun --allow-run-as-root -H \u003chost\u003e:N --mca btl_tcp_if_include ham0 mpi-img-seg \u003cn_cluster\u003e \u003cpath/to/img\u003e \u003cn_iter\u003e\n```\nUsing hostfile:\n```sh\n# Main container\nmpirun --allow-run-as-root --hostfile ./hostfile --mca btl_tcp_if_include ham0 mpi-img-seg \u003cn_cluster\u003e \u003cpath/to/img\u003e \u003cn_iter\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexectx%2Fimage-segmentation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexectx%2Fimage-segmentation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexectx%2Fimage-segmentation/lists"}