You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
69 lines
4.1 KiB
69 lines
4.1 KiB
/**
|
|
* Resample the input arrays using nearest neighbor value selection.
|
|
* @param {TypedArray[]} valueArrays The input arrays to resample
|
|
* @param {number} inWidth The width of the input rasters
|
|
* @param {number} inHeight The height of the input rasters
|
|
* @param {number} outWidth The desired width of the output rasters
|
|
* @param {number} outHeight The desired height of the output rasters
|
|
* @returns {TypedArray[]} The resampled rasters
|
|
*/
|
|
export function resampleNearest(valueArrays: TypedArray[], inWidth: number, inHeight: number, outWidth: number, outHeight: number): TypedArray[];
|
|
/**
|
|
* Resample the input arrays using bilinear interpolation.
|
|
* @param {TypedArray[]} valueArrays The input arrays to resample
|
|
* @param {number} inWidth The width of the input rasters
|
|
* @param {number} inHeight The height of the input rasters
|
|
* @param {number} outWidth The desired width of the output rasters
|
|
* @param {number} outHeight The desired height of the output rasters
|
|
* @returns {TypedArray[]} The resampled rasters
|
|
*/
|
|
export function resampleBilinear(valueArrays: TypedArray[], inWidth: number, inHeight: number, outWidth: number, outHeight: number): TypedArray[];
|
|
/**
|
|
* Resample the input arrays using the selected resampling method.
|
|
* @param {TypedArray[]} valueArrays The input arrays to resample
|
|
* @param {number} inWidth The width of the input rasters
|
|
* @param {number} inHeight The height of the input rasters
|
|
* @param {number} outWidth The desired width of the output rasters
|
|
* @param {number} outHeight The desired height of the output rasters
|
|
* @param {string} [method = 'nearest'] The desired resampling method
|
|
* @returns {TypedArray[]} The resampled rasters
|
|
*/
|
|
export function resample(valueArrays: TypedArray[], inWidth: number, inHeight: number, outWidth: number, outHeight: number, method?: string | undefined): TypedArray[];
|
|
/**
|
|
* Resample the pixel interleaved input array using nearest neighbor value selection.
|
|
* @param {TypedArray} valueArrays The input arrays to resample
|
|
* @param {number} inWidth The width of the input rasters
|
|
* @param {number} inHeight The height of the input rasters
|
|
* @param {number} outWidth The desired width of the output rasters
|
|
* @param {number} outHeight The desired height of the output rasters
|
|
* @param {number} samples The number of samples per pixel for pixel
|
|
* interleaved data
|
|
* @returns {TypedArray} The resampled raster
|
|
*/
|
|
export function resampleNearestInterleaved(valueArray: any, inWidth: number, inHeight: number, outWidth: number, outHeight: number, samples: number): TypedArray;
|
|
/**
|
|
* Resample the pixel interleaved input array using bilinear interpolation.
|
|
* @param {TypedArray} valueArrays The input arrays to resample
|
|
* @param {number} inWidth The width of the input rasters
|
|
* @param {number} inHeight The height of the input rasters
|
|
* @param {number} outWidth The desired width of the output rasters
|
|
* @param {number} outHeight The desired height of the output rasters
|
|
* @param {number} samples The number of samples per pixel for pixel
|
|
* interleaved data
|
|
* @returns {TypedArray} The resampled raster
|
|
*/
|
|
export function resampleBilinearInterleaved(valueArray: any, inWidth: number, inHeight: number, outWidth: number, outHeight: number, samples: number): TypedArray;
|
|
/**
|
|
* Resample the pixel interleaved input array using the selected resampling method.
|
|
* @param {TypedArray} valueArray The input array to resample
|
|
* @param {number} inWidth The width of the input rasters
|
|
* @param {number} inHeight The height of the input rasters
|
|
* @param {number} outWidth The desired width of the output rasters
|
|
* @param {number} outHeight The desired height of the output rasters
|
|
* @param {number} samples The number of samples per pixel for pixel
|
|
* interleaved data
|
|
* @param {string} [method = 'nearest'] The desired resampling method
|
|
* @returns {TypedArray} The resampled rasters
|
|
*/
|
|
export function resampleInterleaved(valueArray: TypedArray, inWidth: number, inHeight: number, outWidth: number, outHeight: number, samples: number, method?: string | undefined): TypedArray;
|
|
//# sourceMappingURL=resample.d.ts.map
|