/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{changeMethodMap as e,keepMethodMap as t}from"../changeDetectionUtils.js";import{createRasterFunction as r}from"./utils.js";function o(o){const{raster:s,raster2:p,outputPixelType:h}=o,n=e.toJSON(o.method),u=o.keepMethod&&t.toJSON(o.keepMethod);return r("ComputeChange",{method:n,keepMethod:u,raster:s,raster2:p},h)}function s(e){const{raster:t,outputPixelType:o}=e;return r("Threshold",{thresholdType:1,raster:t},o)}export{o as computeChange,s as threshold};
