<?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 Reclassify changes pixel count in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/reclassify-changes-pixel-count/m-p/1102222#M11471</link>
    <description>&lt;P&gt;I am using ArcGIS Pro 2.8.3.&amp;nbsp; I have a raster with just 2 values: 1 and 2.&amp;nbsp; There are 93,878,957 pixels of value 1 and 106,250,349 pixels of value 2.&amp;nbsp; When I run the reclassify geoprocessing tool to convert value 1 to 0 and value 2 to 1, I end up with 120,808,871 pixels of value 0 and 158,563,049 pixels of value 1.&amp;nbsp; Why does my pixel count change?&lt;/P&gt;&lt;P&gt;I have set the environments for snap, mask, projection and cell size to my input raster.&amp;nbsp; (I also ran reclassify with no environments set, but the pixel count still changed.)&amp;nbsp; The raster properties of both my input and output layers match in terms of cell size, extent, number of rows and columns.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LawlorBridget_0-1632764439188.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23921i94D47FC351F3C5FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LawlorBridget_0-1632764439188.png" alt="LawlorBridget_0-1632764439188.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Source raster:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LawlorBridget_1-1632764502400.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23922i363012257310F45C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LawlorBridget_1-1632764502400.png" alt="LawlorBridget_1-1632764502400.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Output after reclassify:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LawlorBridget_2-1632764545024.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23923i44FE836F987F3554/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LawlorBridget_2-1632764545024.png" alt="LawlorBridget_2-1632764545024.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why the pixel counts change after running reclassify?&amp;nbsp; Thank you&lt;/P&gt;</description>
    <pubDate>Mon, 27 Sep 2021 17:45:18 GMT</pubDate>
    <dc:creator>LawlorBridget</dc:creator>
    <dc:date>2021-09-27T17:45:18Z</dc:date>
    <item>
      <title>Reclassify changes pixel count</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/reclassify-changes-pixel-count/m-p/1102222#M11471</link>
      <description>&lt;P&gt;I am using ArcGIS Pro 2.8.3.&amp;nbsp; I have a raster with just 2 values: 1 and 2.&amp;nbsp; There are 93,878,957 pixels of value 1 and 106,250,349 pixels of value 2.&amp;nbsp; When I run the reclassify geoprocessing tool to convert value 1 to 0 and value 2 to 1, I end up with 120,808,871 pixels of value 0 and 158,563,049 pixels of value 1.&amp;nbsp; Why does my pixel count change?&lt;/P&gt;&lt;P&gt;I have set the environments for snap, mask, projection and cell size to my input raster.&amp;nbsp; (I also ran reclassify with no environments set, but the pixel count still changed.)&amp;nbsp; The raster properties of both my input and output layers match in terms of cell size, extent, number of rows and columns.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LawlorBridget_0-1632764439188.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23921i94D47FC351F3C5FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LawlorBridget_0-1632764439188.png" alt="LawlorBridget_0-1632764439188.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Source raster:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LawlorBridget_1-1632764502400.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23922i363012257310F45C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LawlorBridget_1-1632764502400.png" alt="LawlorBridget_1-1632764502400.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Output after reclassify:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="LawlorBridget_2-1632764545024.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/23923i44FE836F987F3554/image-size/medium?v=v2&amp;amp;px=400" role="button" title="LawlorBridget_2-1632764545024.png" alt="LawlorBridget_2-1632764545024.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why the pixel counts change after running reclassify?&amp;nbsp; Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 17:45:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/reclassify-changes-pixel-count/m-p/1102222#M11471</guid>
      <dc:creator>LawlorBridget</dc:creator>
      <dc:date>2021-09-27T17:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Reclassify changes pixel count</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/reclassify-changes-pixel-count/m-p/1102228#M11472</link>
      <description>&lt;P&gt;I might rebuild the raster attribute table and calculate statistics on the original just to check.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 17:55:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/reclassify-changes-pixel-count/m-p/1102228#M11472</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-09-27T17:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reclassify changes pixel count</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/reclassify-changes-pixel-count/m-p/1102232#M11473</link>
      <description>&lt;P&gt;Thank you David.&amp;nbsp; That worked and my source raster now has the same number of pixels in the attribute table as my reclassify raster.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 18:07:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/reclassify-changes-pixel-count/m-p/1102232#M11473</guid>
      <dc:creator>LawlorBridget</dc:creator>
      <dc:date>2021-09-27T18:07:28Z</dc:date>
    </item>
  </channel>
</rss>

