{"id":25673028,"url":"https://github.com/giog97/mean_shift_image_segmentation_openmp","last_synced_at":"2026-06-08T23:03:16.719Z","repository":{"id":272422522,"uuid":"916535521","full_name":"Giog97/Mean_Shift_Image_Segmentation_OpenMP","owner":"Giog97","description":"Performance comparison of sequential and parallel OpenMP MeanShift for image segmentation.","archived":false,"fork":false,"pushed_at":"2025-02-19T11:26:50.000Z","size":16699,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T12:48:29.379Z","etag":null,"topics":["image-processing","mean-shift","opencv","openmp","parallel-computing","parallel-programming"],"latest_commit_sha":null,"homepage":"","language":"SWIG","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/Giog97.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-14T09:37:49.000Z","updated_at":"2025-02-19T11:26:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e7a0232-40be-4fc5-9b26-a4b81cd7811d","html_url":"https://github.com/Giog97/Mean_Shift_Image_Segmentation_OpenMP","commit_stats":null,"previous_names":["giog97/elaborato_1_pc_giovanni_stefanini","giog97/mean_shift_image_segmentation_openmp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Giog97/Mean_Shift_Image_Segmentation_OpenMP","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giog97%2FMean_Shift_Image_Segmentation_OpenMP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giog97%2FMean_Shift_Image_Segmentation_OpenMP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giog97%2FMean_Shift_Image_Segmentation_OpenMP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giog97%2FMean_Shift_Image_Segmentation_OpenMP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Giog97","download_url":"https://codeload.github.com/Giog97/Mean_Shift_Image_Segmentation_OpenMP/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Giog97%2FMean_Shift_Image_Segmentation_OpenMP/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34083848,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["image-processing","mean-shift","opencv","openmp","parallel-computing","parallel-programming"],"created_at":"2025-02-24T12:45:03.150Z","updated_at":"2026-06-08T23:03:16.694Z","avatar_url":"https://github.com/Giog97.png","language":"SWIG","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎨 **Mean Shift Image Segmentation**\n🚀 *Comparison between **sequential** and **parallel** implementations*\n\n\u003e This project explores the **Mean Shift** clustering for image segmentation, comparing a **sequential** version with a **parallel** one optimized with **OpenMP**.\n\n---  \n\n## 🛠️ **Features**\n- ✂️ **Image segmentation** using **Mean Shift**.\n- ⏱️ **Performance comparison** between sequential and parallel versions.\n- 📁 Support for `.jpg`, `.png`, and `.bmp` image files.\n- 💾 Saves results in a dedicated folder.\n\n---  \n\n## 🖥️ **Languages and Libraries Used**\n✅ **C++**  \n✅ **OpenCV** (for image processing).  \n✅ **OpenMP** (for parallelization).  \n✅ **MinGW** (for compilation).  \n✅ **CMake** (for cross-platform builds).\n\n---  \n\n## ⚙️ **Usage**\n1. **Add images** to the `./img` directory. Some sample 512x512 images are already included in the project.\n2. **Choose the version to use** and **run the program**.\n3. **Select an image** from the list displayed in the terminal (images in the `./img` directory) and **choose which Mean Shift version** to use.\n4. Check the results in the `./img_results` directory and compare the execution time of the chosen version.\n\n💡 *The program will display execution times for the selected implementation!*\n\n---  \n\n## 🔧 **Customizable Parameters**\n- 📏 **Bandwidth**: The search window size (*larger = less detailed segmentation*).\n- 🎯 **Epsilon**: Convergence threshold (*smaller = more precise results, but slower*).\n- 🔍 **Resize Factor**: Rescales the image for faster testing (1 = no scaling).\n\n---  \n\n## 🗂️ **Resulting Images**\nImages will be saved in:\n- **`./img_results/sequential_segmented_image_X.jpg`**\n- **`./img_results/parallel_segmented_image_X.jpg`**\n- **`./img_results/resized_image_X.jpg`**\n\n---  \n\n## 📄 **Report**\nA copy of the report (in Italian) can be found [here📄](./report/Parallel_Computing_First_Course_Project_Giovanni_Stefanini.pdf).\n\nA copy of the presentation can be found [here📄](./report/Presentation_Project_1_PC_Giovanni_Stefanini.pdf).\n\n---  \n\n## 🎉 **Contributions**\n💡 This project was developed by **Giovanni Stefanini** as part of the Parallel Computing course.\n\n---  \n\n### 👀 **Visual Demo**\nMean Shift segmentation applied to the sample images included in the project:\n\n| **Original Input** | **Sequential Segmentation** | **Parallel Segmentation** |  \n|---------------------|------------------------------|------------------------------|  \n| ![Original](./cmake-build-debug/img_results/resized_image_1.jpg) | ![Sequential](./cmake-build-debug/img_results/sequential_segmented_image_1.jpg) | ![Parallel](./cmake-build-debug/img_results/parallel_segmented_image_1.jpg) |  \n| ![Original](./cmake-build-debug/img_results/resized_image_2.jpg) | ![Sequential](./cmake-build-debug/img_results/sequential_segmented_image_2.jpg) | ![Parallel](./cmake-build-debug/img_results/parallel_segmented_image_2.jpg) |  \n| ![Original](./cmake-build-debug/img_results/resized_image_3.jpg) | ![Sequential](./cmake-build-debug/img_results/sequential_segmented_image_3.jpg) | ![Parallel](./cmake-build-debug/img_results/parallel_segmented_image_3.jpg) |  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiog97%2Fmean_shift_image_segmentation_openmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiog97%2Fmean_shift_image_segmentation_openmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiog97%2Fmean_shift_image_segmentation_openmp/lists"}