Description Usage Arguments Examples
Pad image so that specified coordinates are in the center of the image
1 | img_pad_to_center(img, center = round(dim(img)/2), value = 0)
|
img |
image |
center |
coordinates describing the desired "center" of the image (row, col) |
value |
fill value to use for padding the image. If value has the same length as the number of frames in the image, it will be applied frame-wise. |
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.