1
0
Fork 0

fix(api): log number of tiles contributing to each image pixel

This commit is contained in:
Sean Sube 2023-07-03 11:39:48 -05:00
parent ed953f518a
commit 5d13629ee8
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 0 deletions

View File

@ -149,6 +149,7 @@ def blend_tiles(
axis=2,
)
logger.trace("mean tiles contributing to each pixel: %s", np.mean(count))
pixels = np.where(count > 0, value / count, value)
return Image.fromarray(np.uint8(pixels))