I would like to visit each pixel of an image using the "path" of the Hilbert-curve. I've found a recursive implementation of the Hilbert-cuve here, but I don't know how to apply this on an image. Is it important to have a picture which width and height are equal?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
No, but make sure the curve is adaptive or is bigger than the image. Adaptive curve is very complicated.