Earth Compress benchmark

Benchmark / Use cases / Cloud mask / Results

Cloud mask

Does compression change where Clouds Decoded finds clouds?

How it is measured

From original data clouds found byClouds Decoded compress,decode,mask again From compressed data cloud_iou = overlap / union = 13 / 20 = 0.65 cloud on both lost new

cloud_iou is the intersection over union of the cloud mask from the compressed copy and the one from the original. It is 1 when the two masks agree.

Compression

GeoZL PIVCO, GeoZL PFOR and JPEG XL compress the 10, 20 and 60 m bands as three stacks. The root-mean-square error limit doubles from 5 to 80 DN. The GeoZL recipes (geozl-med-pivco and geozl-planar-pfor) use the same lossy quantiser. They decode to identical arrays but differ in compressed size. JPEG XL searches for a distance within the limit and stores a stack losslessly if none fits.

georvq s2-v1 codes the 13 bands of each 36 pixel window together with learned codebooks, at nine levels from 8-8 to 8-0. It has no error limit, so its rows report the error reached.

Compression ratio and cloud mask

Each point is one level of a codec, named when you point at it, at the compression ratio over all the samples of the panel and the median of the metric. GeoZL and JPEG XL levels are root-mean-square error limits in DN, and georvq levels are its rungs.

GeoZL PIVCOGeoZL PFORJPEG XLgeorvq
Cloud mask IoU0.920.940.960.9812×5×10×20×50×100×200×500×compression ratio →↑ cloud_iouGeoZL PIVCO · level 5 DN, RMSE 4.9 · 4.6× · cloud_iou +0.999GeoZL PIVCO · level 10 DN, RMSE 9.52 · 6.0× · cloud_iou +0.997GeoZL PIVCO · level 20 DN, RMSE 19.9 · 8.3× · cloud_iou +0.993GeoZL PIVCO · level 40 DN, RMSE 39.5 · 10.7× · cloud_iou +0.976GeoZL PIVCO · level 80 DN, RMSE 79.5 · 13.9× · cloud_iou +0.920GeoZL PFOR · level 5 DN, RMSE 4.9 · 3.9× · cloud_iou +0.999GeoZL PFOR · level 10 DN, RMSE 9.52 · 4.8× · cloud_iou +0.997GeoZL PFOR · level 20 DN, RMSE 19.9 · 6.1× · cloud_iou +0.993GeoZL PFOR · level 40 DN, RMSE 39.5 · 7.6× · cloud_iou +0.976GeoZL PFOR · level 80 DN, RMSE 79.5 · 10.0× · cloud_iou +0.920JPEG XL · level 5 DN, RMSE 4.92 · 4.8× · cloud_iou +1.000JPEG XL · level 10 DN, RMSE 9.85 · 7.5× · cloud_iou +0.999JPEG XL · level 20 DN, RMSE 19.8 · 14.0× · cloud_iou +0.997JPEG XL · level 40 DN, RMSE 39.7 · 32.2× · cloud_iou +0.992JPEG XL · level 80 DN, RMSE 79.3 · 90.4× · cloud_iou +0.973georvq · level 0 DN, RMSE 118 · 287.3× · cloud_iou +0.950georvq · level 1 DN, RMSE 77 · 132.9× · cloud_iou +0.978georvq · level 2 DN, RMSE 59.9 · 86.5× · cloud_iou +0.985georvq · level 3 DN, RMSE 51.3 · 64.1× · cloud_iou +0.987georvq · level 4 DN, RMSE 45.9 · 50.9× · cloud_iou +0.989georvq · level 5 DN, RMSE 42.2 · 42.2× · cloud_iou +0.990georvq · level 6 DN, RMSE 39.4 · 36.1× · cloud_iou +0.990georvq · level 7 DN, RMSE 37.2 · 31.5× · cloud_iou +0.991georvq · level 8 DN, RMSE 35.8 · 27.9× · cloud_iou +0.991

Samples