MCPcopy Create free account
hub / github.com/cszn/USRNet / zero_pad

Function zero_pad

utils/utils_sisr.py:665–704  ·  view source on GitHub ↗

Extends image to a certain size with zeros Parameters ---------- image: real 2d `numpy.ndarray` Input image shape: tuple of int Desired output shape of the image position : str, optional The position of the input image in the output one:

(image, shape, position='corner')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

psf2otfFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected