fix(api): log number of tiles contributing to each image pixel
This commit is contained in:
parent
ed953f518a
commit
5d13629ee8
|
@ -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))
|
||||
|
||||
|
|
Loading…
Reference in New Issue