<?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: functions with multiband raster datasets in ArcGIS Spatial Analyst Questions</title>
    <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/functions-with-multiband-raster-datasets/m-p/24756#M346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Curtis,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for the information - I suspected something like that. However, I don't find the link to information how to batch import the individual bands of multiple raster datasets in ArcCatalog. Using the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Importing_a_raster_dataset_into_a_geodatabase/009t00000035000000/"&gt;normal import procedure&lt;/A&gt;&lt;SPAN&gt; automatically loads the raster datasets as composites, and double clicking the files in the browser when importing to get to the individual bands is not an option due to the amount of rasters I have to go through (hundreds). In other words, when I import all my multiband raster datasets in the normal way, I need to do the exact opposite of what "composite bands" does, but I cannot find how to do that. I do know the extract band function that I can apply on an imported multiband raster dataset, but I don't know how to make that work on multiple multiband raster datasets at once. Do you know if there is a way to batch run the extract band function?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 May 2014 14:42:11 GMT</pubDate>
    <dc:creator>Pieter-JanBaeck</dc:creator>
    <dc:date>2014-05-13T14:42:11Z</dc:date>
    <item>
      <title>functions with multiband raster datasets</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/functions-with-multiband-raster-datasets/m-p/24754#M344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have loaded several tiff files containing R, G and B bands. My first action was to resample these raster datasets, which resulted correctly in resampled raster datasets, each still containing R, G and B bands. Based on these multiband raster datasets, I now want to do some math functions, but it seems that these are performed on only one of the raster bands, and result in a single band raster. For instance, when I use Minus or Divide on two of these multiband raster datasets, I get a single band raster in return, whereas I would expect a resulting multiband raster where R(result) = R(1) / R(2), G(result) = G(1) / (G2) etc. More specifically, it seems that only the red bands (listed first) are considered and make up the resulting single band. The same goes for local statistics (for instance when calculating the mean of two multiband raster datasets).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- how can I perform spatial analyst functions on the multiband raster datasets and get multiband rasters as outcome, with the functions applied to each of the corresponding bands?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- alternatively, I could first split all the raster datasets into multiple single band rasters and work from there with the spatial analyst functions. But how do I split these bands or how do I batch load the individual bands of my original RGB tiffs?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 07:03:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/functions-with-multiband-raster-datasets/m-p/24754#M344</guid>
      <dc:creator>Pieter-JanBaeck</dc:creator>
      <dc:date>2014-05-08T07:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: functions with multiband raster datasets</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/functions-with-multiband-raster-datasets/m-p/24755#M345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; - how can I perform spatial analyst functions on the multiband raster datasets and get multiband rasters as outcome, with the functions applied to each of the corresponding bands&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are correct -- if you are using the Spatial Analyst tools, you need to read each band ("image.tif/Band_1, image.tif/Band_2, etc), and then when you have your processed results, recombine them into a new multiband output using the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00170000009p000000"&gt;Composite Bands tool. &lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See this help article on &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//009t00000005000000"&gt;Raster Bands.&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2014 16:50:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/functions-with-multiband-raster-datasets/m-p/24755#M345</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2014-05-12T16:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: functions with multiband raster datasets</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/functions-with-multiband-raster-datasets/m-p/24756#M346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Curtis,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for the information - I suspected something like that. However, I don't find the link to information how to batch import the individual bands of multiple raster datasets in ArcCatalog. Using the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Importing_a_raster_dataset_into_a_geodatabase/009t00000035000000/"&gt;normal import procedure&lt;/A&gt;&lt;SPAN&gt; automatically loads the raster datasets as composites, and double clicking the files in the browser when importing to get to the individual bands is not an option due to the amount of rasters I have to go through (hundreds). In other words, when I import all my multiband raster datasets in the normal way, I need to do the exact opposite of what "composite bands" does, but I cannot find how to do that. I do know the extract band function that I can apply on an imported multiband raster dataset, but I don't know how to make that work on multiple multiband raster datasets at once. Do you know if there is a way to batch run the extract band function?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 14:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/functions-with-multiband-raster-datasets/m-p/24756#M346</guid>
      <dc:creator>Pieter-JanBaeck</dc:creator>
      <dc:date>2014-05-13T14:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: functions with multiband raster datasets</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/functions-with-multiband-raster-datasets/m-p/24757#M347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Do you know if there is a way to batch run the extract band function?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you use the CopyRaster tool and output to a single band format (grid), this will make a composite raster made of three grids.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;arcpy.CopyRaster_management("test.jpg","d:\\users\\cprice\\work\\gtest")&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;creates three grids: gtestc1, gtestc2, gtestc3.&amp;nbsp; You could then use Iterate Rasters in Model Builder or ListRasters in Python using the wildcard gtestc* to process them one by one. I'm hoping someone else has a better idea...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 May 2014 18:25:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/functions-with-multiband-raster-datasets/m-p/24757#M347</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2014-05-13T18:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: functions with multiband raster datasets</title>
      <link>https://community.esri.com/t5/arcgis-spatial-analyst-questions/functions-with-multiband-raster-datasets/m-p/24758#M348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, I'll try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the meantime, I've found some other ideas &lt;/SPAN&gt;&lt;A href="http://gis.stackexchange.com/questions/11150/is-there-any-batch-process-to-get-a-single-band-image-from-stacked-image"&gt;on another forum&lt;/A&gt;&lt;SPAN&gt; (see 2nd and 3rd reply using a calculator expression in a model), to be tested as well...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 10:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-spatial-analyst-questions/functions-with-multiband-raster-datasets/m-p/24758#M348</guid>
      <dc:creator>Pieter-JanBaeck</dc:creator>
      <dc:date>2014-05-14T10:47:12Z</dc:date>
    </item>
  </channel>
</rss>

