Usage
Usage
changedet uses Google Fire for its CLI.
List Available Algorithms
Get Help
| # General help
changedet --help
# Algorithm-specific help
changedet --algo imgdiff algo_obj --help
|
Running Change Detection
Basic Usage
| changedet --algo ALGORITHM_NAME run image1.tif image2.tif
|
Image Differencing
| changedet --algo imgdiff run t1.tif t2.tif
|
Change Vector Analysis
| # Euclidean distance (default)
changedet --algo cva run t1.tif t2.tif
# Manhattan distance
changedet --algo cva run t1.tif t2.tif --distance manhattan
|
Parameters:
- --distance: euclidean or manhattan
- --band: Band index or -1 for all bands
Iterated PCA
| changedet --algo ipca run t1.tif t2.tif
|
Parameters:
- --niter: Number of iterations (default: 5)
- --band: Band index or -1 for all bands
IR-MAD
| changedet --algo irmad run t1.tif t2.tif
|
Parameters:
- --niter: Number of iterations (default: 10)
- --sig: Significance level (default: 0.0001)
Output
All algorithms write output to {algorithm}_cmap.tif in the current directory.