{"id":16174315,"url":"https://github.com/hellothisisflo/perceivedbrightness","last_synced_at":"2025-04-07T10:03:02.497Z","repository":{"id":43228670,"uuid":"277626701","full_name":"HelloThisIsFlo/PerceivedBrightness","owner":"HelloThisIsFlo","description":"Map a picture to its perceive brightness","archived":false,"fork":false,"pushed_at":"2024-04-03T15:19:02.000Z","size":4038,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-13T12:54:01.533Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/HelloThisIsFlo.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":"2020-07-06T19:08:03.000Z","updated_at":"2023-10-03T22:21:02.000Z","dependencies_parsed_at":"2025-02-13T12:51:39.503Z","dependency_job_id":"763c4987-4df5-427d-a356-cdab5a0d24ad","html_url":"https://github.com/HelloThisIsFlo/PerceivedBrightness","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/HelloThisIsFlo%2FPerceivedBrightness","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloThisIsFlo%2FPerceivedBrightness/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloThisIsFlo%2FPerceivedBrightness/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HelloThisIsFlo%2FPerceivedBrightness/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HelloThisIsFlo","download_url":"https://codeload.github.com/HelloThisIsFlo/PerceivedBrightness/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247631656,"owners_count":20970059,"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-10T04:24:32.081Z","updated_at":"2025-04-07T10:03:02.441Z","avatar_url":"https://github.com/HelloThisIsFlo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mini Project - Sort via Perceived Brightness\n\n## Goal\nI wanted to sort the colors from this image by perceived brightness\n\n![original](https://github.com/FlorianKempenich/PerceivedBrightness/raw/master/paracord.jpg)\n\n## Result\n![sorted by perceived brightness](https://github.com/FlorianKempenich/PerceivedBrightness/raw/master/results/sorted_by_perceived_brightness.png)\n\n## Steps\n\n### 1. Map each pixel to its perceived brightness \nThis is the only step where [the script](https://github.com/FlorianKempenich/PerceivedBrightness/blob/master/map_to_perceived_brightness.py) is used. We take the original image and, for each pixel, map the color to its perceive brightness. Then we display the value on the red component. \n![mapped to perceived brightness](https://github.com/FlorianKempenich/PerceivedBrightness/raw/master/results/perceived_option_1.png)\n\n### 2. Manually sort by perceived brightness\n![mapped to perceived brightness - sorted](https://github.com/FlorianKempenich/PerceivedBrightness/raw/master/results/perceived_option_1_sorted.png)\n\n### 3. Reproduce the order with the real colors - And DONE 😃\n![sorted by perceived brightness](https://github.com/FlorianKempenich/PerceivedBrightness/raw/master/results/sorted_by_perceived_brightness.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellothisisflo%2Fperceivedbrightness","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellothisisflo%2Fperceivedbrightness","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellothisisflo%2Fperceivedbrightness/lists"}