<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Convolution of raster in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/convolution-of-raster/m-p/1561187#M13134</link>
    <description>&lt;P&gt;my code not working for convolution functionality as mentioned&amp;nbsp; below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;private async Task&amp;lt;Raster&amp;gt; ApplyConvolutionFilter(Raster raster, float[] kernel)&lt;BR /&gt;{&lt;BR /&gt;try&lt;BR /&gt;{&lt;BR /&gt;// Raster function to apply the convolution filter&lt;BR /&gt;RasterFunction convolutionFunction = new RasterFunction&lt;BR /&gt;{&lt;BR /&gt;FunctionName = "Convolution",&lt;BR /&gt;Arguments = new object[]&lt;BR /&gt;{&lt;BR /&gt;new RasterFunctionArgument(raster),&lt;BR /&gt;new RasterFunctionArgument(kernel)&lt;BR /&gt;}&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;// Apply the convolution asynchronously&lt;BR /&gt;Raster filteredRaster = await convolutionFunction.ExecuteAsync();&lt;BR /&gt;return filteredRaster;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 11:41:14 GMT</pubDate>
    <dc:creator>Unit3blr1</dc:creator>
    <dc:date>2024-11-21T11:41:14Z</dc:date>
    <item>
      <title>Convolution of raster</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/convolution-of-raster/m-p/1561187#M13134</link>
      <description>&lt;P&gt;my code not working for convolution functionality as mentioned&amp;nbsp; below&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;private async Task&amp;lt;Raster&amp;gt; ApplyConvolutionFilter(Raster raster, float[] kernel)&lt;BR /&gt;{&lt;BR /&gt;try&lt;BR /&gt;{&lt;BR /&gt;// Raster function to apply the convolution filter&lt;BR /&gt;RasterFunction convolutionFunction = new RasterFunction&lt;BR /&gt;{&lt;BR /&gt;FunctionName = "Convolution",&lt;BR /&gt;Arguments = new object[]&lt;BR /&gt;{&lt;BR /&gt;new RasterFunctionArgument(raster),&lt;BR /&gt;new RasterFunctionArgument(kernel)&lt;BR /&gt;}&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;// Apply the convolution asynchronously&lt;BR /&gt;Raster filteredRaster = await convolutionFunction.ExecuteAsync();&lt;BR /&gt;return filteredRaster;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 11:41:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/convolution-of-raster/m-p/1561187#M13134</guid>
      <dc:creator>Unit3blr1</dc:creator>
      <dc:date>2024-11-21T11:41:14Z</dc:date>
    </item>
  </channel>
</rss>

