{"id":23638415,"url":"https://github.com/josephdt12/cpp-quads","last_synced_at":"2026-05-05T02:40:18.280Z","repository":{"id":191326767,"uuid":"83962738","full_name":"josephdt12/cpp-quads","owner":"josephdt12","description":"Transform an image into a blockier version of itself.","archived":false,"fork":false,"pushed_at":"2017-03-10T18:09:11.000Z","size":1869,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T07:44:35.958Z","etag":null,"topics":["cpp","opencv"],"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/josephdt12.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}},"created_at":"2017-03-05T10:43:49.000Z","updated_at":"2017-03-06T07:17:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"602259a6-eb79-4150-ab51-027c354ac2ee","html_url":"https://github.com/josephdt12/cpp-quads","commit_stats":null,"previous_names":["josephdt12/cpp-quads"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephdt12%2Fcpp-quads","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephdt12%2Fcpp-quads/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephdt12%2Fcpp-quads/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephdt12%2Fcpp-quads/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/josephdt12","download_url":"https://codeload.github.com/josephdt12/cpp-quads/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239573060,"owners_count":19661466,"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":["cpp","opencv"],"created_at":"2024-12-28T07:44:41.714Z","updated_at":"2026-05-05T02:40:18.250Z","avatar_url":"https://github.com/josephdt12.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cpp-quads\nDivides an image into quadrants, creating a blockier version of itself.\n\n## How it Works\n1. The image is divided into quadrants, with the mean value calculated per quadrant.\n2. Each quadrant is then divided into quadrants again, with the mean squared error calculated per sub-quadrant.\n3. Quadrants with the highest error are divided further, and this continues for the number of iterations provided by the user\n\n## Original\n![original](images/lena.jpg)\n\n## Blockified (2,048 iterations)\n![blockified](images/lena2048.jpg)\n\n## Blockified (100,000 iterations)\n![blockified more](images/lena100000.jpg)\n\n## A bird example\n![Pretty bird!](images/bird.jpg)\n\n## Blockified (512 iterations)\n![Pretty ugly bird!](images/bird512.jpg)\n\n## Blockified (3000 iterations)\n![Artistic bird!](images/bird3000.jpg)\n\n## Another example\n![apple](images/apple.jpg)\n\n## Blockified (1,024 iterations)\n![apple one](images/apple1024.jpg)\n\n## Blockified (10,500 iterations)\n![apple two](images/apple10500.jpg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosephdt12%2Fcpp-quads","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosephdt12%2Fcpp-quads","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosephdt12%2Fcpp-quads/lists"}