pixelShift: pixelShift

Description Usage Arguments Details Value Author(s)

Description

A function for shifting rows of pixels in an image.

Usage

1
pixelShift(pic, outputPicPath = NA, rowS, rowE, rowMove)

Arguments

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.

Details

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.

Value

Will write out a new image to the file system or plot depending if outputPixPath is NA or not.

Author(s)

jmt2080ad


jmt2080ad/pixelShift documentation built on May 5, 2019, 2:42 a.m.