I made a Compression Algorithm for Heightmap Terrain
This show the General algorithm for compressing a Heightmap image using quadtree and quantization.
This compression algorithm will more optimize with linear regression model calculated with least square method in 3 dimension. I can say we implement delta encoding compression with linear regression in 3 dimension.
Video and image resources used in this video:
Quadtree collision calculation demo:
QuadTree video series The Coding Train channel:
QuadTree image compression paper:
@tannerwyork/quadtrees-for-image-processing-302536c95c00
Patreon:
Github repo:
---- Chapters
00:00 - intro
02:02 - quantization
04:14 - quadtree
08:43 - storing data
11:07 - delta encoding
12:25 - linear regression
14:48 - compressing more