Description Usage Arguments Details Value Author(s)
A function for shifting rows of pixels in an image.
1 | pixelShift(pic, outputPicPath = NA, rowS, rowE, rowMove)
|
pic |
An input image object from 'imager::load.image()'. |
outputPicPath |
A path to output a single image that has been shifted. |
rowS |
A vector of row start pixels to shift the image at. |
rowE |
A vector of row end pixels that correspond to the 'rowS' argument. |
rowMove |
A vector of pixel to shift each rowS/rowE combination. |
This function takes a series of pixels row start and end pixels and shifts those defined rows by a vector of a given number of pixels.
Will write out a new image to the file system or plot depending if outputPixPath is NA or not.
jmt2080ad
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.