<?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 convert a group of pixels into its majority value that surrounds it in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/convert-a-group-of-pixels-into-its-majority-value/m-p/106355#M1480</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 would like to know if I can calculate the majority value that surround a group of pixels. I need to calculate the majority value that surround this GROUP OF PIXELS THAT HAS THE SAME VALUE, NOT THE MAJORITY THAT SURROUND EACH PIXEL. I have been trying with focal statistics but i didn't succeed.. Then i need to change the value (or color) of this group of pixels for its majority value that surrounds it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the picture below (Figure1) you can find and example of this case: There is a group of two yellow pixels market with a red circle. I need to convert this group of two yellow pixels into orange (the majority color that surround this group)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best wishes,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Guillem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Feb 2011 10:35:26 GMT</pubDate>
    <dc:creator>GuillemDomènech_i_Surinyach</dc:creator>
    <dc:date>2011-02-18T10:35:26Z</dc:date>
    <item>
      <title>convert a group of pixels into its majority value that surrounds it</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/convert-a-group-of-pixels-into-its-majority-value/m-p/106355#M1480</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 would like to know if I can calculate the majority value that surround a group of pixels. I need to calculate the majority value that surround this GROUP OF PIXELS THAT HAS THE SAME VALUE, NOT THE MAJORITY THAT SURROUND EACH PIXEL. I have been trying with focal statistics but i didn't succeed.. Then i need to change the value (or color) of this group of pixels for its majority value that surrounds it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the picture below (Figure1) you can find and example of this case: There is a group of two yellow pixels market with a red circle. I need to convert this group of two yellow pixels into orange (the majority color that surround this group)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best wishes,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Guillem&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Feb 2011 10:35:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/convert-a-group-of-pixels-into-its-majority-value/m-p/106355#M1480</guid>
      <dc:creator>GuillemDomènech_i_Surinyach</dc:creator>
      <dc:date>2011-02-18T10:35:26Z</dc:date>
    </item>
  </channel>
</rss>

