/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{createRasterFunction as n}from"./utils.js";function d(d,r,t,e=[]){const{raster:i,outputPixelType:a}=d,u={raster:i,method:r,bandIndexes:t.map(n=>n+1).concat(e).join(" ")};return n("BandArithmetic",u,a)}function r(d){const{nirBandId:r,redBandId:t,scientificOutput:e=!0,raster:i,outputPixelType:a}=d;return n("NDVI",{raster:i,visibleBandID:t,infraredBandID:r,scientificOutput:e},a)}function t(n){const{nirBandId:r,redBandId:t,factor:e=.33}=n;return d(n,2,[r,t],[e])}function e(n){const{nirBandId:r,redBandId:t,slope:e=.33,intercept:i=.5,factor:a=1.5}=n;return d(n,3,[r,t],[e,i,a])}function i(n){const{nirBandId:r,redBandId:t}=n;return d(n,4,[r,t])}function a(n){const{nirBandId:r,redBandId:t}=n;return d(n,5,[r,t])}function u(n){const{nirBandId:r,redBandId:t,slope:e=.3,gradient:i=.5}=n;return d(n,6,[r,t],[e,i])}function o(n){return d(n,7,n.bandIds)}function c(n){return d(n,8,n.bandIds)}function I(n){const{redBandId:r,greenBandId:t,blueBandId:e}=n;return d(n,9,[r,t,e])}function B(n){const{nirBandId:r,greenBandId:t}=n;return d(n,10,[r,t])}function s(n){const{nirBandId:r,redBandId:t}=n;return d(n,11,[r,t])}function f(n){const{nirBandId:r,reBandId:t}=n;return d(n,12,[r,t])}function p(n){const{nirBandId:r,reBandId:t}=n;return d(n,13,[r,t])}function l(n){const{nirBandId:r,redBandId:t,greenBandId:e}=n;return d(n,14,[r,t,e])}function g(n){const{nirBandId:r,reBandId:t,greenBandId:e}=n;return d(n,15,[r,t,e])}function b(n){const{nirBandId:r,reBandId:t}=n;return d(n,16,[r,t])}function w(n){const{nirBandId:r,greenBandId:t}=n;return d(n,17,[r,t])}function m(n){const{nirBandId:r,greenBandId:t}=n;return d(n,18,[r,t])}function x(n){const{nirBandId:r,redBandId:t,blueBandId:e}=n;return d(n,19,[r,t,e])}function h(n){const{redBandId:r,blueBandId:t}=n;return d(n,20,[r,t])}function y(n){const{swirBandId:r,nirBandId:t}=n;return d(n,21,[r,t])}function D(n){const{swir1BandId:r,swir2BandId:t}=n;return d(n,22,[r,t])}function P(n){const{greenBandId:r,nirBandId:t,swirBandId:e,alpha:i=.5}=n;return d(n,23,[r,t,e],[i])}function T(n){const{redBandId:r,nirBandId:t}=n;return d(n,24,[r,t])}function j(n){const{nirBandId:r,swirBandId:t}=n;return d(n,25,[r,t])}function A(n){const{swirBandId:r,nirBandId:t}=n;return d(n,26,[r,t])}function O(n){const{nirBandId:r,swirBandId:t}=n;return d(n,27,[r,t])}function v(n){const{greenBandId:r,swirBandId:t}=n;return d(n,28,[r,t])}function N(n){const{greenBandId:r,swirBandId:t}=n;return d(n,29,[r,t])}function V(d){const{raster:r,bandIndexes:t,outputPixelType:e}=d;return n("BandArithmetic",{raster:r,method:0,bandIndexes:t},e)}export{T as bandArithmeticBAI,w as bandArithmeticCIg,b as bandArithmeticCIre,D as bandArithmeticClayMinerals,V as bandArithmeticCustom,x as bandArithmeticEVI,y as bandArithmeticFerrousMinerals,a as bandArithmeticGEMI,B as bandArithmeticGNDVI,o as bandArithmeticGVITM,h as bandArithmeticIronOxide,N as bandArithmeticMNDWI,i as bandArithmeticMSAVI,l as bandArithmeticMTVI2,j as bandArithmeticNBR,A as bandArithmeticNDBI,O as bandArithmeticNDMI,v as bandArithmeticNDSI,r as bandArithmeticNDVI,f as bandArithmeticNDVIre,m as bandArithmeticNDWI,u as bandArithmeticPVI,g as bandArithmeticRTVICore,t as bandArithmeticSAVI,s as bandArithmeticSR,p as bandArithmeticSRre,c as bandArithmeticSultan,e as bandArithmeticTSAVI,I as bandArithmeticVARI,P as bandArithmeticWNDWI};
