<?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: Image Classification Segmenation vs Segment Mean Shift in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380930#M78622</link>
    <description>&lt;P&gt;Thanks for confirming the input source used in these tools but I am afraid someone from Esri would now need chime in with any differences to algorithms or defaults used.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Feb 2024 08:38:34 GMT</pubDate>
    <dc:creator>MervynLotter</dc:creator>
    <dc:date>2024-02-12T08:38:34Z</dc:date>
    <item>
      <title>Image Classification Segmenation vs Segment Mean Shift</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380153#M78517</link>
      <description>&lt;P&gt;Would the Image Classification Tool&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Segmentation&lt;/STRONG&gt; be expected to return a different result to the Spatial Analyst tool &lt;STRONG&gt;Segment Mean Shift&lt;/STRONG&gt; given the same image input and parameters?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Given input image for both:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicZatorsky_AEC_0-1707443636231.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94226i21926554BF75944D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MicZatorsky_AEC_0-1707443636231.png" alt="MicZatorsky_AEC_0-1707443636231.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the same parameters for Spatial detail, Spectral Detail and Minimum segment size in pixels:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicZatorsky_AEC_7-1707444235477.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94233iFE0C2B30A134CD3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MicZatorsky_AEC_7-1707444235477.png" alt="MicZatorsky_AEC_7-1707444235477.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The process:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Classification &amp;gt; Segmentation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicZatorsky_AEC_1-1707443659153.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94227i02B86AD656994F5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MicZatorsky_AEC_1-1707443659153.png" alt="MicZatorsky_AEC_1-1707443659153.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicZatorsky_AEC_3-1707443698506.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94229i6175B695B6E66082/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MicZatorsky_AEC_3-1707443698506.png" alt="MicZatorsky_AEC_3-1707443698506.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Results in:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicZatorsky_AEC_4-1707443723009.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94230i1E7EBFACE5F8AED0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MicZatorsky_AEC_4-1707443723009.png" alt="MicZatorsky_AEC_4-1707443723009.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Segment Mean Shift&lt;/STRONG&gt;, with the same parameters:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicZatorsky_AEC_5-1707443781418.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94231iAA84485624D3383C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MicZatorsky_AEC_5-1707443781418.png" alt="MicZatorsky_AEC_5-1707443781418.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Results in:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicZatorsky_AEC_6-1707443843047.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94232i15CB3D04B3F218DE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MicZatorsky_AEC_6-1707443843047.png" alt="MicZatorsky_AEC_6-1707443843047.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 02:07:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380153#M78517</guid>
      <dc:creator>MicZatorsky_AEC</dc:creator>
      <dc:date>2024-02-09T02:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: Image Classification Segmenation vs Segment Mean Shift</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380175#M78518</link>
      <description>&lt;P&gt;Hi Mic!&lt;/P&gt;&lt;P&gt;I don't do this everyday, but I love spatial analysis, so I'm gonna pipe in here. What I found by doing a google search on "Image Classification Segmenation ArcGIS Pro" are a number of esri help pages which talk about the process. I illustrate the model builder workflow below. As you can see it contains&amp;nbsp; Segment Mean Shift as part of the process, but it also includes training as well, so this provides a greater degree of massaging the data to take into account objects inside the raster extent. See&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/analysis/image-analyst/understanding-segmentation-and-classification.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/analysis/image-analyst/understanding-segmentation-and-classification.htm&lt;/A&gt;&amp;nbsp;and all the links on the left-hand side of the page.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RonaldHaug_0-1707451379211.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94241i15C922337D3107F6/image-size/large?v=v2&amp;amp;px=999" role="button" title="RonaldHaug_0-1707451379211.png" alt="RonaldHaug_0-1707451379211.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I looked up Segment Mean Shift&amp;nbsp;&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/segment-mean-shift.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/segment-mean-shift.htm&lt;/A&gt;&amp;nbsp;I read all the info on it, and it does everything it says it does, AND it contains the code for how it works. Pretty cool, because you gotta do code sometimes when you're doing spatial analysis.&lt;/P&gt;&lt;P&gt;I wanna see it like this, though the analogy is not the best. Segment Mean Shift is like the pick-ups on your electric guitar. Image Segmentation is like the reverb on your amp, and all those crazy pedals you got plugged into one another and the mixer.&lt;/P&gt;&lt;P&gt;I hope this is a start for you. I'm hoping my more experienced community members chime in now and make me blush in embarrassment for my creative personal license here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 04:21:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380175#M78518</guid>
      <dc:creator>RonaldHaug</dc:creator>
      <dc:date>2024-02-09T04:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Image Classification Segmenation vs Segment Mean Shift</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380176#M78519</link>
      <description>&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/segment-mean-shift.htm" target="_blank"&gt;Segment Mean Shift (Spatial Analyst)—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;did you use the pre-processing steps outlined under Useage?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 04:21:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380176#M78519</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2024-02-09T04:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Image Classification Segmenation vs Segment Mean Shift</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380180#M78520</link>
      <description>&lt;P&gt;Thanks, both - my question is why, given identical input, is the output different?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2024 05:13:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380180#M78520</guid>
      <dc:creator>MicZatorsky_AEC</dc:creator>
      <dc:date>2024-02-09T05:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Image Classification Segmenation vs Segment Mean Shift</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380729#M78588</link>
      <description>&lt;P&gt;Are you sure the input is identical in both cases?&amp;nbsp; I suspect that the input layer for the Classification wizard approach comes from your Contents pane. Once a raster is added to a map it becomes a layer in the Contents pane as certain stretching or display adjustments are added to it (like Minimum-Maximum, Percent Clip, etc). Any of these are the property of the layer in the Contents pane and not of the raw image file lying on disk somewhere. Once they are part of a layer file, these properties are honored and maintained when the layer is included in the Classification wizard (or GP tool).&amp;nbsp; Peter Becker has stressed that it is important to use stretching to bring out the most in your imagery before running it through the segmentation tools. So it is important to tweak the display properties for your raster before running the segmentation tool. Then add this layer to the tools.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which brings me to the part where I suspect that when you ran the Segment Mean Shift tool, you are using the raw file on disk as input and not the layer in the contents pane? Is that so? That may be part of the reason why there are differences.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also am not sure whether raster statistics may be playing a role in the above.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Feb 2024 08:00:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380729#M78588</guid>
      <dc:creator>MervynLotter</dc:creator>
      <dc:date>2024-02-10T08:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Image Classification Segmenation vs Segment Mean Shift</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380884#M78618</link>
      <description>&lt;P&gt;I'm using a layer - but thanks for suggesting it, as it is important.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Both tools have the same&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;&lt;SPAN&gt;layer&lt;/SPAN&gt;&lt;/U&gt;&lt;SPAN&gt;&amp;nbsp;as input - i.e., the same data source, extent, and symbology. The input image is 1.2m resolution in a defined, meter base coordinate system, a 3-band RGB JPG with statistics. Pyramids are absent (by design). The image layer Symbology&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN&gt;Stretch type&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;was set to&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;, and then a raster Function &lt;STRONG&gt;Stretch&lt;/STRONG&gt; was applied with the output set to 8-bit unsigned.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The output layer from the Stretch function was the input into Image Classification &lt;STRONG&gt;Segmentation&lt;/STRONG&gt; and &lt;STRONG&gt;Segment Mean Shift&lt;/STRONG&gt;. All tools were run with the input layer at the full extent of the data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I acknowledge the distinction between a layer and its source image. I confirmed&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;&lt;SPAN&gt;Segment Mean Shift&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN&gt;uses the layer, not the image, directly by activating a different map before running the tool; the tool failed when it didn't find the layer. It would have run regardless of the active map if the tool used a disk image.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Both &lt;STRONG&gt;Segmentation&lt;/STRONG&gt; and &lt;STRONG&gt;Segment Mean Shift&lt;/STRONG&gt; wrote results to a FGDB raster.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Segment Mean Shift&lt;/STRONG&gt; has segment size parameters that &lt;STRONG&gt;Segmentation&lt;/STRONG&gt; does not, but I left this as the default (no limit).&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are differences between:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1) A &lt;U&gt;preview&lt;/U&gt; of the &lt;STRONG&gt;Segmentation&lt;/STRONG&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2) the output of running &lt;STRONG&gt;Segmentation&lt;/STRONG&gt;&amp;nbsp;and&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) the output of running the &lt;STRONG&gt;Segmented Mean Shift&lt;/STRONG&gt;.&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MicZatorsky_AEC_0-1707696174108.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/94439iA87CFAEE527B63E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MicZatorsky_AEC_0-1707696174108.png" alt="MicZatorsky_AEC_0-1707696174108.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;All are close, but none are the same. All have &lt;EM&gt;Symbology&lt;/EM&gt; stretch set to&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&lt;SPAN&gt;None&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN&gt;. I've highlighted two areas of difference.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I'm not critical of the preview; it's probably running at screen resolution like raster functions, not full resolution so that the final output would vary. But I was hoping the interactive &lt;STRONG&gt;Segmentation&lt;/STRONG&gt; could be used to determine parameters, then call &lt;STRONG&gt;Segment Mean Shift&lt;/STRONG&gt; with Python with the same parameters and get the same result.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The &lt;STRONG&gt;Segment Mean Shift&lt;/STRONG&gt; algorithm is deterministic; given the same input data and parameters, it should produce the same output every time. Is it sensitive to the kernel size?&amp;nbsp; That is system-defined, not by me. so I don't know what each is using.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 00:08:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380884#M78618</guid>
      <dc:creator>MicZatorsky_AEC</dc:creator>
      <dc:date>2024-02-12T00:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Image Classification Segmenation vs Segment Mean Shift</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380930#M78622</link>
      <description>&lt;P&gt;Thanks for confirming the input source used in these tools but I am afraid someone from Esri would now need chime in with any differences to algorithms or defaults used.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Feb 2024 08:38:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1380930#M78622</guid>
      <dc:creator>MervynLotter</dc:creator>
      <dc:date>2024-02-12T08:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Image Classification Segmenation vs Segment Mean Shift</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1501936#M85285</link>
      <description>&lt;P&gt;Was this every resolved? I also have been encountering inconsistencies between Segmentation and Segment Mean Shift.&amp;nbsp; Would like to create a geoprocessing model that can duplicate what I am generating in the wizard.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 17:17:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1501936#M85285</guid>
      <dc:creator>Kansas</dc:creator>
      <dc:date>2024-07-05T17:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Image Classification Segmenation vs Segment Mean Shift</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1571186#M91500</link>
      <description>&lt;P&gt;No, not resolved.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2024 20:02:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/image-classification-segmenation-vs-segment-mean/m-p/1571186#M91500</guid>
      <dc:creator>MicZatorsky_AEC</dc:creator>
      <dc:date>2024-12-24T20:02:27Z</dc:date>
    </item>
  </channel>
</rss>

