MCPcopy Create free account
hub / github.com/alexklwong/mondi-python / crop

Method crop

src/transforms.py:442–475  ·  view source on GitHub ↗

Performs cropping on images Arg(s): images_arr : list[torch.Tensor] list of N x C x H x W tensors start_yx : list[int, int] top left corner y, x coordinate end_yx : list bottom right corner y, x coo

(self, images_arr, start_yx, end_yx)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

transformMethod · 0.95
__getitem__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected