MCPcopy Create free account
hub / github.com/DIVE128/DMVSNet / __init__

Method __init__

datasets/data_io.py:75–76  ·  view source on GitHub ↗
(self, CropSize=0.1)

Source from the content-addressed store, hash-verified

73import random, cv2
74class RandomCrop(object):
75 def __init__(self, CropSize=0.1):
76 self.CropSize = CropSize
77
78 def __call__(self, image, normal):
79 h, w = normal.shape[:2]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected