Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def find_block_transform(image, resized_image, x, y, block_size, stride):
- '''Find best transformation for given rank block.
- Parameters
- ----------
- image : np.array
- Source B/W image.
- resized_image: np.array
- Resized source image.
- x, y: int, int
- Coordinates of the rank block.
- block_size: int
- Size of rank block.
- stride: int
- Vertical and horizontal stride for domain block search.
- Returns
- -------
- best_transform: BlockTransform
- Best transformation.
- '''
- # YOUR CODE HERE
- return best_transform
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement