R/crop.R
crop.RdReturn 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