[{"data":1,"prerenderedAt":304},["ShallowReactive",2],{"/gis/convolve":3,"/gis/convolve-surround":293},{"id":4,"title":5,"body":6,"description":258,"extension":259,"meta":260,"navigation":278,"path":289,"seo":290,"stem":291,"__hash__":292},"content/gis/convolve.md","GIS Extension Dictionary: convolve",{"type":7,"value":8,"toc":247},"minimark",[9],[10,11,15,16,15,26,63,67,70,73,122,131,172,175],"div",{"className":12,"id":14},[13],"dict_entry","convolve","\n  ",[17,18,20,21,15],"h3",{"id":19},"gisconvolve","\n    ",[22,23,25],"a",{"href":24},"#convolve","gis:convolve",[27,28,32],"h4",{"id":29,"className":30},"gisconvolve-raster-dataset-kernel-rows-kernel-columns-kernel-key-column-key-row",[31],"section-heading",[22,33,20,37,15],{"className":34,"href":36},[35],"section-anchor","#----gisconvolve-raster-dataset-kernel-rows-kernel-columns-kernel-key-column-key-row--",[38,39,42,43,47,48,47,51,47,54,47,57,47,60],"span",{"className":40},[41],"prim_example","gis:convolve ",[44,45,46],"i",{},"raster-dataset"," ",[44,49,50],{},"kernel-rows",[44,52,53],{},"kernel-columns",[44,55,56],{},"kernel",[44,58,59],{},"key-column",[44,61,62],{},"key-row",[64,65,66],"p",{},"Reports a new raster whose data consists of the given raster\nconvolved with the given kernel.",[64,68,69],{},"A convolution is a mathematical operation that computes each output\ncell by multiplying elements of a kernel with the cell values\nsurrounding a particular source cell. A kernel is a matrix of\nvalues, with one particular value defined as the “key\nelement”, the value that is centered over the source cell\ncorresponding to the destination cell whose value is being\ncomputed.",[64,71,72],{},"The values of the kernel matrix are given as a list, which\nenumerates the elements of the matrix from left to right, top to\nbottom. So the elements of a 3-by-3 matrix would be listed in the\nfollowing order:\n",[10,74,77],{"className":75},[76],"table-container",[78,79,84],"table",{"width":80,"border":81,"style":82,"align":83},"25%",1,"text-align: center; margin: 0 auto;","center",[85,86,87,100,111],"tbody",{},[88,89,15,90,94,97],"tr",{},[91,92,93],"td",{}," 1 ",[91,95,96],{}," 2 ",[91,98,99],{}," 3 ",[88,101,15,102,105,108],{},[91,103,104],{}," 4 ",[91,106,107],{}," 5 ",[91,109,110],{}," 6 ",[88,112,15,113,116,119],{},[91,114,115],{}," 7 ",[91,117,118],{}," 8 ",[91,120,121],{}," 9 ",[64,123,124,125,130],{},"The key element is specified by column and row within the matrix.\nColumns are numbered from left to right, beginning with zero. Rows\nare numbered from top to bottom, also beginning with zero. So, for\nexample, the kernel for the horizontal ",[22,126,129],{"href":127,"target":128},"https://en.wikipedia.org/wiki/Sobel_operator","_blank","Sobel operator",",\nwhich looks like this:\n",[10,132,134],{"className":133},[76],[78,135,136],{"width":80,"border":81,"style":82,"align":83},[85,137,138,148,164],{},[88,139,15,140,142,145],{},[91,141,93],{},[91,143,144],{}," 0 ",[91,146,147],{}," -1 ",[88,149,15,150,152,161],{},[91,151,96],{},[91,153,144,154,47,157,47],{},[155,156],"br",{},[158,159,160],"small",{},"(key)",[91,162,163],{}," -2 ",[88,165,15,166,168,170],{},[91,167,93],{},[91,169,144],{},[91,171,147],{},[64,173,174],{},"would be specified as follows:",[176,177,178],"pre",{},[179,180,181,47,187,47,192,47,195,47,199,47,204,207,208,47,212,47,216,47,220,47,224,47,227,47,231,47,234,47,237,240,241,47,244],"code",{},[38,182,186],{"className":183},[184,185],"token","command","let",[38,188,191],{"className":189},[184,190],"variable","horizontal-gradient",[38,193,25],{"className":194},[184,190],[38,196,198],{"className":197},[184,190],"dataset",[38,200,203],{"className":201},[184,202],"number","3",[38,205,203],{"className":206},[184,202]," [",[38,209,211],{"className":210},[184,202],"1",[38,213,215],{"className":214},[184,202],"0",[38,217,219],{"className":218},[184,202],"-1",[38,221,223],{"className":222},[184,202],"2",[38,225,215],{"className":226},[184,202],[38,228,230],{"className":229},[184,202],"-2",[38,232,211],{"className":233},[184,202],[38,235,215],{"className":236},[184,202],[38,238,219],{"className":239},[184,202],"] ",[38,242,211],{"className":243},[184,202],[38,245,211],{"className":246},[184,202],{"title":248,"searchDepth":249,"depth":250,"links":251},"",5,3,[252],{"id":19,"depth":250,"text":253,"children":254},"\n    gis:convolve\n  ",[255],{"id":29,"depth":256,"text":257},4,"\n    gis:convolve raster-dataset kernel-rows kernel-columns kernel key-column key-row\n  ","Documentation for the convolve primitive.","md",{"source":261,"metadataOutputPath":262,"projectConfig":263,"language":271,"inheritFrom":279,"output":278,"version":264,"layout":280,"dictionaryDisplayName":281,"dictionaryHomeDirectory":282,"indexFileURI":283,"currentItemId":14,"currentItemLabel":25,"primRoot":284,"netlogoUrl":285,"icon":286,"extensionName":287,"assetsRoot":266},"../../external/extensions/gis/gis/convolve.md","content/gis/convolve.metadata.yaml",{"version":264,"projectRoot":265,"scanRoot":266,"outputRoot":267,"defaults":268,"engine":274,"partials":275,"dedupeIdenticalDiskWrites":278},"7.0.4",".","/home/runner/work/Helio/Helio/external/extensions/gis","content",{"inheritFrom":269,"language":271,"output":272,"extension":259,"title":273,"version":264},[270],0,"en",false,"NetLogo User Manual","mustache",{"directoryPaths":276,"extensions":277},[265],[274,259],true,[270],"catalog","GIS Extension Dictionary","/gis.html","/_index/extensions/gis.txt","gis","http://ccl.northwestern.edu/netlogo/docs/","i-lucide-map-pin",{"shortName":284,"fullName":288},"GIS","/gis/convolve",{"title":5,"description":258},"gis/convolve","CKixSoE_-uuZxByk0cLCbSIiToMhwAyb1dptZ3pES3Y",[294,299],{"title":295,"path":296,"stem":297,"description":298},"GIS Extension Dictionary: contains","/gis/contains","gis/contains","Documentation for the contains primitive.",{"title":300,"path":301,"stem":302,"description":303},"GIS Extension Dictionary: coverage-maximum-threshold","/gis/coverage-maximum-threshold","gis/coverage-maximum-threshold","Documentation for the coverage-maximum-threshold primitive.",1777657866770]