{"id":13610493,"url":"https://github.com/rossgoodwin/hmap","last_synced_at":"2026-03-15T06:33:09.637Z","repository":{"id":17753885,"uuid":"20606527","full_name":"rossgoodwin/hmap","owner":"rossgoodwin","description":"Image histogram remapping","archived":false,"fork":false,"pushed_at":"2019-11-04T06:19:32.000Z","size":3314,"stargazers_count":213,"open_issues_count":0,"forks_count":25,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-12T22:36:59.711Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rossgoodwin.com/hmap","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rossgoodwin.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2014-06-08T01:14:49.000Z","updated_at":"2025-02-28T22:50:40.000Z","dependencies_parsed_at":"2022-08-30T04:11:14.321Z","dependency_job_id":null,"html_url":"https://github.com/rossgoodwin/hmap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rossgoodwin/hmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossgoodwin%2Fhmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossgoodwin%2Fhmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossgoodwin%2Fhmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossgoodwin%2Fhmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rossgoodwin","download_url":"https://codeload.github.com/rossgoodwin/hmap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossgoodwin%2Fhmap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30536161,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T05:01:24.307Z","status":"ssl_error","status_checked_at":"2026-03-15T04:58:50.392Z","response_time":61,"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-08-01T19:01:45.193Z","updated_at":"2026-03-15T06:33:09.608Z","avatar_url":"https://github.com/rossgoodwin.png","language":"Python","readme":"Hmap\n====\n\nAn image histogram remapping script written in Python 2.7 by [Anthony Kesich](http://kesi.ch) and [Ross Goodwin](http://rossgoodwin.com). Changes source image so that source image's histogram matches target image's histogram. Requires PIL/Pillow:\n\n    $ sudo pip install Pillow\n\nTo run Hmap, cd into the directory where hmap.py (for black and white images) or hmap_c.py (for color images) is located. Ensure source and target images have the same height and width dimensions (in pixels), and place them in the directory. Run the script with 2 additional arguments (source and target image files) as shown in the following example.\n\nExample:\n\n    $ python hmap_c.py source_image.jpg target_image.jpg\n\n\nhmap.py\n=======\n\nSource Image:\n\n![Source Image](http://imgur.com/MGCUWZo.jpg \"Source Image\")\n\n\nTarget Image:\n\n![Target Image](http://imgur.com/vuGrjAY.jpg \"Target Image\")\n\n\nResult:\n\n![Result](http://imgur.com/KavoDjf.jpg \"Result\")\n\n*Photographs by Ansel Adams*\n\n\nhmap_c.py\n=========\n\nColor Source Image:\n\n![Color Source Image](http://imgur.com/2KzkN8p.jpg \"Color Source Image\")\n\nColor Target Image:\n\n![Target Image](http://imgur.com/VyaVBkQ.jpg \"Target Image\")\n\nResult:\n\n![Result](http://imgur.com/kiNBR57.jpg \"Result\")\n\n*Photographs by Steve McCurry*\n","funding_links":[],"categories":["Image Processing","资源列表","图像处理","Imagery","Python","Image Processing [🔝](#readme)","Awesome Python","Feature Extraction"],"sub_categories":["图像处理","Image Processing","Images and Video"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossgoodwin%2Fhmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frossgoodwin%2Fhmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossgoodwin%2Fhmap/lists"}