Skip to content

aitech-lab/Hilbert-curve-tools

Repository files navigation

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

About

Binary to Hilbert converter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages