<?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 Re: Count pixels located inside a polygon in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/count-pixels-located-inside-a-polygon/m-p/428216#M24515</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Eric,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your help, I think it could be very useful, but I think Zonal histogram is only available with ArcGIS10 and I have the version 9.3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the other hand, I also need to know the number of pixels for each cluster with the same color.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, in the image attached, I would need to know how many green pixels I have (this is easy), but the most difficult is to know how many yellow pixels I have in each yellow cluster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The most problematic thing is that if you have a polygon feature, ArcGIS, only identify groups of pixels with the same value, in such a case color, and those which share some side each other, but not some vertex. In my case, the group of yellow pixels bold with a blue line should belong to the other group of yellow pixels located bellow but it is not because the two groups only share a vertex of one pixel instead of the whole side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yours sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Guillem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 May 2011 08:31:45 GMT</pubDate>
    <dc:creator>GuillemDomènech_i_Surinyach</dc:creator>
    <dc:date>2011-05-05T08:31:45Z</dc:date>
    <item>
      <title>Count pixels located inside a polygon</title>
      <link>https://community.esri.com/t5/data-management-questions/count-pixels-located-inside-a-polygon/m-p/428214#M24513</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear colleagues,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have superimposed a raster map, with different pixels values, and a shapefile (polygons). I would like to know if it is possible to find out how many pixel values of each class I have in each polygon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I can accomplish it converting the raster map to a polygon map and applying an "intersect" but I would like to work directly with the raster map rather than convert it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, in the image I attach bellow, I would like to know how many green, orange, yellow and red pixels i have inside each polygon (black lines).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would be really grateful if your could help me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yours sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Guillem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 10:31:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/count-pixels-located-inside-a-polygon/m-p/428214#M24513</guid>
      <dc:creator>GuillemDomènech_i_Surinyach</dc:creator>
      <dc:date>2011-04-26T10:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Count pixels located inside a polygon</title>
      <link>https://community.esri.com/t5/data-management-questions/count-pixels-located-inside-a-polygon/m-p/428215#M24514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Guillem,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check out the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Zonal_Histogram/009z000000w6000000/"&gt;Zonal Histogram &lt;/A&gt;&lt;SPAN&gt;tool. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is probably a good starting point.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/An_overview_of_the_Zonal_tools/009z000000w1000000/"&gt;An overview of the zonal tools&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eric&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 15:36:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/count-pixels-located-inside-a-polygon/m-p/428215#M24514</guid>
      <dc:creator>EricRice</dc:creator>
      <dc:date>2011-05-03T15:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Count pixels located inside a polygon</title>
      <link>https://community.esri.com/t5/data-management-questions/count-pixels-located-inside-a-polygon/m-p/428216#M24515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Eric,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your help, I think it could be very useful, but I think Zonal histogram is only available with ArcGIS10 and I have the version 9.3.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On the other hand, I also need to know the number of pixels for each cluster with the same color.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, in the image attached, I would need to know how many green pixels I have (this is easy), but the most difficult is to know how many yellow pixels I have in each yellow cluster.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The most problematic thing is that if you have a polygon feature, ArcGIS, only identify groups of pixels with the same value, in such a case color, and those which share some side each other, but not some vertex. In my case, the group of yellow pixels bold with a blue line should belong to the other group of yellow pixels located bellow but it is not because the two groups only share a vertex of one pixel instead of the whole side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;yours sincerely,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Guillem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 May 2011 08:31:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/count-pixels-located-inside-a-polygon/m-p/428216#M24515</guid>
      <dc:creator>GuillemDomènech_i_Surinyach</dc:creator>
      <dc:date>2011-05-05T08:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Count pixels located inside a polygon</title>
      <link>https://community.esri.com/t5/data-management-questions/count-pixels-located-inside-a-polygon/m-p/428217#M24516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guillem,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In ArcGIS 9.3.1 you can do a zonal histogram from the spatial analyst toolbar.&amp;nbsp; See &lt;/SPAN&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?topicname=using_the_arcgis_spatial_analyst_toolbar_to_create_a_zonal_histogram"&gt;About zonal histograms&lt;/A&gt;&lt;SPAN&gt; in the 9.3.1 documentation for steps and screenshots to help you along.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To answer the question of, "How many yellow pixels I have in each yellow cluster", you can run &lt;/SPAN&gt;&lt;A href="http://webhelp.esri.com/arcgisdesktop/9.3/index.cfm?id=6244&amp;amp;pid=6237&amp;amp;topicname=Region_Group"&gt;Region Group&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; Region Group records the identity of the connected region to which that cell belongs. A unique number is assigned to each region along with a count of the cells that were connected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Eric&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 May 2011 17:04:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/count-pixels-located-inside-a-polygon/m-p/428217#M24516</guid>
      <dc:creator>EricRice</dc:creator>
      <dc:date>2011-05-06T17:04:29Z</dc:date>
    </item>
  </channel>
</rss>

