hilbert

A .m-file which creates a square matrix with the indices of the hilbert space filling curve.
5.8K 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 (2024). hilbert (https://www.mathworks.com/matlabcentral/fileexchange/125-hilbert), MATLAB Central File Exchange. Retrieved .

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!
Version Published Release Notes
1.0.0.0