View source: R/Lib_ImageProcess.R
ind2sub2 | R Documentation |
convert image coordinates from index to X-Y image coordinates are given as index = (ID.col-1) * total.lines + ID.row
ind2sub2(Raster, Image_Index)
Raster |
raster obj. image raster object |
Image_Index |
numeric. coordinates corresponding to the raster |
list. list of columns and rows corresponding to index number
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.