{"id":16388457,"url":"https://github.com/arthurdouillard/teledetection","last_synced_at":"2025-05-05T20:16:40.326Z","repository":{"id":60451683,"uuid":"114098342","full_name":"arthurdouillard/teledetection","owner":"arthurdouillard","description":"Implementation in C of a custom k-means for clouds detection in satellite images.","archived":false,"fork":false,"pushed_at":"2017-12-17T16:31:25.000Z","size":9832,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-05T20:16:25.072Z","etag":null,"topics":["c","image-processing","kmeans-clustering","satellite-images"],"latest_commit_sha":null,"homepage":"http://adsabs.harvard.edu/abs/2001SPIE.4168...67B","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/arthurdouillard.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":"2017-12-13T09:05:41.000Z","updated_at":"2023-01-17T23:44:44.000Z","dependencies_parsed_at":"2022-09-29T21:00:50.969Z","dependency_job_id":null,"html_url":"https://github.com/arthurdouillard/teledetection","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arthurdouillard%2Fteledetection","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arthurdouillard%2Fteledetection/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arthurdouillard%2Fteledetection/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arthurdouillard%2Fteledetection/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arthurdouillard","download_url":"https://codeload.github.com/arthurdouillard/teledetection/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252569648,"owners_count":21769517,"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":["c","image-processing","kmeans-clustering","satellite-images"],"created_at":"2024-10-11T04:29:10.533Z","updated_at":"2025-05-05T20:16:40.303Z","avatar_url":"https://github.com/arthurdouillard.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloud detection with custom k-means\n\nImplementation in C of the paper\n[Introducing spatial information in k-means algorithm for clouds detection in optical satellite images](http://adsabs.harvard.edu/abs/2001SPIE.4168...67B).\n\nA copy of the pdf is included at the root of the repo.\n\n## The algorithm\n\nIn a few words, we need a way to compute the % of clouds in an photo taken from space.\n\nThe algorithm creates blob of pixels (central, up, right, down, left) and applies\na k-medians on it.\n\nThe k-medians is like a k-means but uses a median operation instead of a mean\noperation. Furthermore the distance metric used is a Manhattan distance.\n\nThe pixels belongings to the highest k-medians' center (thus having pixels with\nhigh values -\u003e whiter) are considered as clouds.\n\n## Results\n\n![Example 1](examples/ex1.png)\n\nPercent of clouds: 1.19 %\n\n![Example 2](examples/ex2.png)\n\nPercent of clouds: 5.28 %\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farthurdouillard%2Fteledetection","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farthurdouillard%2Fteledetection","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farthurdouillard%2Fteledetection/lists"}