<?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 Custom tool to output base raster and custom overlay as single RGB output in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/custom-tool-to-output-base-raster-and-custom/m-p/1497100#M70918</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello ArcGIS Pro community. I'm working on creating a custom Python tool in ArcGIS Pro and I could use some advice and feedback.&lt;BR /&gt;&lt;BR /&gt;I have 4 band imagery split into RGB and NDVI rasters and am trying to pass an “NDVI enhanced” RGB image to a deep learning model (Only accepts 3 channel input).&lt;/P&gt;&lt;P&gt;I have split out NDVI values from 0 to 1 in their own raster. These represent the values -2 to 2.&lt;/P&gt;&lt;P&gt;These are now in a semi-transparent overlay with the extremes in red and green, and the middle values transparent. I want to get this overlay on top of the base RGB raster and output the flattened image it as a single 3 chanel RGB raster for analysis.&lt;/P&gt;&lt;P&gt;I’m finding the deep learning easy compared to preparing the input raster!&lt;/P&gt;&lt;P&gt;Here's what I'm trying to accomplish with the tool:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Take a base RGB raster (Mine is &amp;nbsp;around 300GB – will test on smaller sample using Mask Environment setting)&lt;/LI&gt;&lt;LI&gt;Overlay a single-band raster with values between 0 and 1 on top of the base raster, with defined symbology (either set by the layer’s symbology or a defined color ramp)&lt;/LI&gt;&lt;LI&gt;Process in blocks&lt;/LI&gt;&lt;LI&gt;Output the result as a new raster&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The key point is that I want to use the symbology (color ramp and stretch settings) that I've already applied to the overlay raster in my ArcGIS Pro project, or need a method to define this using a custom ramp.&lt;/P&gt;&lt;P&gt;I appreciate any insights, tips, or code snippets you can provide. Thanks in advance for your help!&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jun 2024 13:59:03 GMT</pubDate>
    <dc:creator>Ruari_Langland</dc:creator>
    <dc:date>2024-06-25T13:59:03Z</dc:date>
    <item>
      <title>Custom tool to output base raster and custom overlay as single RGB output</title>
      <link>https://community.esri.com/t5/python-questions/custom-tool-to-output-base-raster-and-custom/m-p/1497100#M70918</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello ArcGIS Pro community. I'm working on creating a custom Python tool in ArcGIS Pro and I could use some advice and feedback.&lt;BR /&gt;&lt;BR /&gt;I have 4 band imagery split into RGB and NDVI rasters and am trying to pass an “NDVI enhanced” RGB image to a deep learning model (Only accepts 3 channel input).&lt;/P&gt;&lt;P&gt;I have split out NDVI values from 0 to 1 in their own raster. These represent the values -2 to 2.&lt;/P&gt;&lt;P&gt;These are now in a semi-transparent overlay with the extremes in red and green, and the middle values transparent. I want to get this overlay on top of the base RGB raster and output the flattened image it as a single 3 chanel RGB raster for analysis.&lt;/P&gt;&lt;P&gt;I’m finding the deep learning easy compared to preparing the input raster!&lt;/P&gt;&lt;P&gt;Here's what I'm trying to accomplish with the tool:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Take a base RGB raster (Mine is &amp;nbsp;around 300GB – will test on smaller sample using Mask Environment setting)&lt;/LI&gt;&lt;LI&gt;Overlay a single-band raster with values between 0 and 1 on top of the base raster, with defined symbology (either set by the layer’s symbology or a defined color ramp)&lt;/LI&gt;&lt;LI&gt;Process in blocks&lt;/LI&gt;&lt;LI&gt;Output the result as a new raster&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The key point is that I want to use the symbology (color ramp and stretch settings) that I've already applied to the overlay raster in my ArcGIS Pro project, or need a method to define this using a custom ramp.&lt;/P&gt;&lt;P&gt;I appreciate any insights, tips, or code snippets you can provide. Thanks in advance for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jun 2024 13:59:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/custom-tool-to-output-base-raster-and-custom/m-p/1497100#M70918</guid>
      <dc:creator>Ruari_Langland</dc:creator>
      <dc:date>2024-06-25T13:59:03Z</dc:date>
    </item>
  </channel>
</rss>

