MCPcopy Create free account
hub / github.com/CaraJ7/MMSearch / resize2predefined

Function resize2predefined

utils/image_utils.py:87–88  ·  view source on GitHub ↗
(blocks, scale)

Source from the content-addressed store, hash-verified

85 return list(zip(start_indices[valid_blocks], end_indices[valid_blocks]))
86
87def resize2predefined(blocks, scale):
88 return [(int(start * scale), int(end * scale)) for start, end in blocks]
89
90
91def remove_blocks(blank_blocks_y, blank_blocks_x, image):

Callers 1

adaptive_pixel_slimmingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected