lint(api): move tile gradient logs to debug level
This commit is contained in:
parent
197dc48b06
commit
3653723742
|
@ -91,7 +91,7 @@ def blend_tiles(
|
||||||
overlap: float,
|
overlap: float,
|
||||||
):
|
):
|
||||||
adj_tile = int(float(tile) * (1.0 - overlap))
|
adj_tile = int(float(tile) * (1.0 - overlap))
|
||||||
logger.trace(
|
logger.debug(
|
||||||
"adjusting tile size from %s to %s based on %s overlap", tile, adj_tile, overlap
|
"adjusting tile size from %s to %s based on %s overlap", tile, adj_tile, overlap
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -112,7 +112,7 @@ def blend_tiles(
|
||||||
|
|
||||||
# gradient blending
|
# gradient blending
|
||||||
grad_x, grad_y = get_tile_grads(left, top, adj_tile, width, height)
|
grad_x, grad_y = get_tile_grads(left, top, adj_tile, width, height)
|
||||||
logger.trace("tile gradients: %s, %s, %s", points, grad_x, grad_y)
|
logger.debug("tile gradients: %s, %s, %s", points, grad_x, grad_y)
|
||||||
|
|
||||||
mult_x = [np.interp(i, points, grad_x) for i in range(tile * scale)]
|
mult_x = [np.interp(i, points, grad_x) for i in range(tile * scale)]
|
||||||
mult_y = [np.interp(i, points, grad_y) for i in range(tile * scale)]
|
mult_y = [np.interp(i, points, grad_y) for i in range(tile * scale)]
|
||||||
|
|
Loading…
Reference in New Issue