browser-image
    Preparing search index...

    Options for panSharpen.

    interface PanSharpenOptions {
        method?: PanSharpenMethod;
        weights?: "auto" | readonly number[] | "equal";
        bands?: readonly number[];
        panBand?: number;
        strength?: number;
        model?: PanSharpenModel;
    }
    Index

    Default gram-schmidt.

    weights?: "auto" | readonly number[] | "equal"

    Weight of each sharpened band in the intensity, in the order of bands; 'auto' (default) fits them to the panchromatic band, 'equal' takes the plain mean.

    bands?: readonly number[]

    Multispectral bands to sharpen (0-based). Default: every band but alpha. Other bands are copied.

    panBand?: number

    Band of pan to use. Default 0.

    strength?: number

    How much of the detail to add, 0 to 1 (or more). Default 1.

    Weights and gains fitted before (a result's model), used instead of fitting them to this image; weights is then ignored. For sharpening a large image piece by piece.