oty sharpenΒΆ
oty sharpen implements the Gram-Schmidt pan-sharpening method. This example pan-sharpens a multispectral (RGB) drone image with its matching panchromatic image:
oty sharpen --pan pan_sharp/pan.tif --multispectral pan_sharp/ms.tif --out-file pan_sharp.tif
Multispectral band indexes for sharpening can be specified with --ms-index, and multispectral to panchromatic weights with --weight. By default all non-alpha multispectral bands are used, and weights are estimated from the images.
oty sharpen --pan pan_sharp/pan.tif --multispectral pan_sharp/ms.tif --out-file pan_sharp.tif --ms-index 1 --ms-index 2 --ms-index 3 --weight 1 --weight 1 --weight 1