<?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 Percent clip color ramp stretch using python? in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/percent-clip-color-ramp-stretch-using-python/m-p/230340#M3251</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using 10.0.&amp;nbsp; Within raster layer Properties, Symbology dialog there is an option within Stretch Type to perform a percent clip from the top or bottom of the histogram.&amp;nbsp; This technique works very well for what I'm doing.&amp;nbsp; I have too many rasters to do this manually, but I'm unable to duplicate the effect within python.&amp;nbsp; I have floating point rasters, and I want to see only the top and bottom .01 percent of each raster - 2 rasters output, 1 top and 1 bottom.&amp;nbsp; I can set thresholds based on percent of the max value of the raster, but that's not nearly the same, and setting the minimum threshold based on the raster max value doesn't work well at all.&amp;nbsp; The minimum value is always zero, so that's not useful at all.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know if there is a tool available to arcpy which will do this or, barring that, how arcGIS calculates that clip value so that I can try to duplicate it using python?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2012 17:06:03 GMT</pubDate>
    <dc:creator>PaulSimpson</dc:creator>
    <dc:date>2012-09-19T17:06:03Z</dc:date>
    <item>
      <title>Percent clip color ramp stretch using python?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/percent-clip-color-ramp-stretch-using-python/m-p/230340#M3251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using 10.0.&amp;nbsp; Within raster layer Properties, Symbology dialog there is an option within Stretch Type to perform a percent clip from the top or bottom of the histogram.&amp;nbsp; This technique works very well for what I'm doing.&amp;nbsp; I have too many rasters to do this manually, but I'm unable to duplicate the effect within python.&amp;nbsp; I have floating point rasters, and I want to see only the top and bottom .01 percent of each raster - 2 rasters output, 1 top and 1 bottom.&amp;nbsp; I can set thresholds based on percent of the max value of the raster, but that's not nearly the same, and setting the minimum threshold based on the raster max value doesn't work well at all.&amp;nbsp; The minimum value is always zero, so that's not useful at all.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know if there is a tool available to arcpy which will do this or, barring that, how arcGIS calculates that clip value so that I can try to duplicate it using python?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;P.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2012 17:06:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/percent-clip-color-ramp-stretch-using-python/m-p/230340#M3251</guid>
      <dc:creator>PaulSimpson</dc:creator>
      <dc:date>2012-09-19T17:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Percent clip color ramp stretch using python?</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/percent-clip-color-ramp-stretch-using-python/m-p/230341#M3252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;GenerateExcludeArea_management does the trick.&amp;nbsp; The secret word for the tool search is "histogram".&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Sep 2012 19:36:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/percent-clip-color-ramp-stretch-using-python/m-p/230341#M3252</guid>
      <dc:creator>PaulSimpson</dc:creator>
      <dc:date>2012-09-20T19:36:02Z</dc:date>
    </item>
  </channel>
</rss>

