Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reference hashes #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
384 changes: 384 additions & 0 deletions Reference/Hashes.csv

Large diffs are not rendered by default.

Binary file added Reference/Images/pic1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Reference/Images/pic2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Reference/Images/pic3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Reference/Images/pic4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Reference/Images/pic5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Reference/Images/pic6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions Reference/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Reference

Reference images and hashes for validating BlurHash implementations.

The hashes provided were generated from the [reference C implementation](../C/Readme.md) of the BlurHash encoder.

## Hashes.csv

[Hashes.csv](Hashes.csv) contains canonical reference hashes for each of the reference images. The CSV file is comma separated, with the following column ordering:

`Image, X Components, Y Components, Hash`

## Images

The `images` directory contains the following reference images:

#### pic1.png
![pic1.png](Images/pic1.png)

#### pic2.png
![pic2.png](Images/pic2.png)

#### pic3.png
![pic3.png](Images/pic3.png)

#### pic4.png
![pic4.png](Images/pic4.png)

#### pic5.png
![pic5.png](Images/pic5.png)

#### pic6.png
![pic6.png](Images/pic6.png)