<?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 Calculate covariance in a moving window in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/calculate-covariance-in-a-moving-window/m-p/366077#M20904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have two rasters of identical cell size and extent (basically before and after images).&amp;nbsp; I would like to calculate the covariance in a 3x3 moving window and output the results to a new raster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to accomplish this in ArcGIS Desktop 9.3?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't think of a clever way to do this with the raster calculator.&amp;nbsp; The only thing that I can come up with is to convert the rasters to floating point (.flt) files and then code something up in VBA to retrieve the desired pixels, calculate the covariance and write the value to a new raster using a PixelBlock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Feb 2011 02:11:43 GMT</pubDate>
    <dc:creator>DarrenBoss</dc:creator>
    <dc:date>2011-02-23T02:11:43Z</dc:date>
    <item>
      <title>Calculate covariance in a moving window</title>
      <link>https://community.esri.com/t5/data-management-questions/calculate-covariance-in-a-moving-window/m-p/366077#M20904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have two rasters of identical cell size and extent (basically before and after images).&amp;nbsp; I would like to calculate the covariance in a 3x3 moving window and output the results to a new raster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to accomplish this in ArcGIS Desktop 9.3?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't think of a clever way to do this with the raster calculator.&amp;nbsp; The only thing that I can come up with is to convert the rasters to floating point (.flt) files and then code something up in VBA to retrieve the desired pixels, calculate the covariance and write the value to a new raster using a PixelBlock.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 02:11:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/calculate-covariance-in-a-moving-window/m-p/366077#M20904</guid>
      <dc:creator>DarrenBoss</dc:creator>
      <dc:date>2011-02-23T02:11:43Z</dc:date>
    </item>
  </channel>
</rss>

