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

Function compose_fieldmap

util/upsample.py:277–308  ·  view source on GitHub ↗

Composes two stacked fieldmap maps. Field maps are represented as triples of (offset, size, step), where each is an (x, y) pair. To find the pixel range corresponding to output pixel (x, y), just do the following: start_x = x * step[0] + offset[1] limit_x = start_x +

(rf1, rf2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

composed_fieldmapFunction · 0.85
receptive_fieldFunction · 0.85
layerarray_fieldmapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected