R raster package split image into multiples

后端 未结 6 1771
闹比i
闹比i 2021-02-03 14:18

I have an image as below. It is 2579*2388 pixels. Lets assume that it\'s bottom left corner is at 0,0. From that image I want to create multiple images as follows and save them

6条回答
  •  心在旅途
    2021-02-03 14:45

    You can use gdal and r, as shown in this link.

    You would then modify line 23 to make a suitable offset to allow overlap among tiles generated.

提交回复
热议问题