I want to use r.in.gdal to extract a single channel from a multi-channel image. The man page indicates that I can specify which band to extract using the argument “band=” followed by a number in the range (1,4). What is the mapping between (1,4) and (red,green,blue,alpha)?
↧