Skip to content

Latest commit

 

History

History
101 lines (67 loc) · 2.8 KB

README.md

File metadata and controls

101 lines (67 loc) · 2.8 KB

Ailove-Hilbert

Binary to Hilbert fractal converter. Very good article about it

Usage

./hilbert binary.file output.png [r|g|b]

Where r for rgb, g for grayscale and b for bitwise visualisation

This code was created for redis bitstrings visualisation.

Self binary representation:

 ./hilbert hilbert hilbert.png g

Linux kernel

./hilbert /boot/vmlinu[tab] mykernel.png r

Seems like my kernel has holes ;)

DNA of Drosophila melanogaster

Part of genome of an fruit fly. Image contains 67M nucleotides.

  • [A]denine - Red
  • [G]uanine - Green
  • [C]ytosine - Orange
  • [T]hymine - blue

Original

Hilbertized raw

Compressed image representation

Gradients representation

Original

Hilbertized raw

Original

Hilbertized raw