https://github.com/josephdt12/cpp-quads
Transform an image into a blockier version of itself.
https://github.com/josephdt12/cpp-quads
cpp opencv
Last synced: about 2 months ago
JSON representation
Transform an image into a blockier version of itself.
- Host: GitHub
- URL: https://github.com/josephdt12/cpp-quads
- Owner: josephdt12
- Created: 2017-03-05T10:43:49.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-10T18:09:11.000Z (over 9 years ago)
- Last Synced: 2024-12-28T07:44:35.958Z (over 1 year ago)
- Topics: cpp, opencv
- Language: C++
- Homepage:
- Size: 1.78 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cpp-quads
Divides an image into quadrants, creating a blockier version of itself.
## How it Works
1. The image is divided into quadrants, with the mean value calculated per quadrant.
2. Each quadrant is then divided into quadrants again, with the mean squared error calculated per sub-quadrant.
3. Quadrants with the highest error are divided further, and this continues for the number of iterations provided by the user
## Original

## Blockified (2,048 iterations)

## Blockified (100,000 iterations)

## A bird example

## Blockified (512 iterations)

## Blockified (3000 iterations)

## Another example

## Blockified (1,024 iterations)

## Blockified (10,500 iterations)
