Calculateds angle and magnitude of change vectors.
Dimensionality is limited to two bands per image.
Usage
rasterCVA(x, y, ...)
Arguments
x
RasterBrick or RasterStack with two layers. Both rasters (y and y) need to correspond to each other, i.e. same resolution, extent and origin.
y
RasterBrick or RasterStack with two layers. Both rasters (y and y) need to correspond to each other, i.e. same resolution, extent and origin.
...
further arguments passed to writeRaster
Value
Returns a RasterBrick with two layers: change vector angle and change vector magnitude
Details
Change Vector Analysis (CVA) is used to identify spectral changes between two identical scenes which were acquired at different times.
CVA is limited to two bands per image. For each pixel it calculates the change in the two-dimensional spectral space.
For example for a given pixel in image A and B for the red and nir band the change vector is caclulated for the coordinate pairs: (red_A | nir_A) and (red_B | nir_B).