MCPcopy Create free account
hub / github.com/CSAILVision/IBD / crop_field

Function crop_field

util/upsample.py:320–328  ·  view source on GitHub ↗

Crops image_data to the specified receptive field. Together fieldmap and location specify a receptive field on the image, which may overlap the edge. This returns a crop to that shape, including any zero padding necessary to fill out the shape beyond the image edge.

(image_data, fieldmap, location)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

receptive_fieldFunction · 0.85
crop_rectangleFunction · 0.85

Tested by

no test coverage detected