File Exchange

image thumbnail

hilbert

version 1.0.0.0 (2.36 KB) by Daniel Lau
A .m-file which creates a square matrix with the indices of the hilbert space filling curve.

6 Downloads

Updated 26 Jun 1998

View License

hilbert.m
A .m-file which creates a square matrix with the indices of the hilbert space filling curve.

hlbrtcrv.m
A .m-file which creates vectors containing the row and column cooridinates for the hilbert space filling curve for an arbitrary sized matrix.

The Hilbert space filling curve has recently been introduced to digital halftoning as a scan order for spatial dithering. The advantage to using space filling curves is the error diffusion can be done in one dimension and the resulting patterns exhibit clustering. For related literature see works by Velho and Gomes in their book 'Image processing for computer graphics.'

Cite As

Daniel Lau (2020). hilbert (https://www.mathworks.com/matlabcentral/fileexchange/125-hilbert), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (9)

xiao gao

thank you very much!

double

great work,be helpful for me

Jia Wu

extremely accessible code, able to use for a wide variety of applications

sa sh

Sang Lee

Adel El-Atawy

very decent code, and relatively simple to read.

Dan Li

shao xiao

Preecha Kocharoen

MATLAB Release Compatibility
Created with R10
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!