R/crop.R
crop.Rd
Return a croped image of desired size by removing pixels from borders of the image
crop(image, width, height)
image | input image as a array |
---|---|
width | integer desired width for new image |
height | integer desired height for new image |
array for croped image