Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
subpic left a comment
get_patch_dims is a generic utility function that does not require access to an image per se. It is sufficient for it to know the size of the image (width, height). The first argument can then be the size of the image, rather than the image itself.