convert image coordinates from X-Y to index

sub2ind(HDR_Raster, Pixels)

Arguments

HDR_Raster

list. Header file

Pixels

list. row/col coordinates corresponding to the raster

Value

Image_Index