<?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: PCA Image Classification tool produces actual background data in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161106#M5439</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I observed a strange behaviour - when I produce PC and have "Calculate statistics" checked inside "Environments", the problem appears. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if set it unchecked, I get correct image. Then I only have to run another process for calculating stats, but at least it helps. I observed pixel depth doesn't matter here, at least if we're speaking about 16/32 bit signed int, unsigned int or float. Thank you &lt;A href="https://community.esri.com/people/Dan_Patterson"&gt;Dan_Patterson&lt;/A&gt;‌ and &lt;A href="https://community.esri.com/people/jayanta.poddar"&gt;jayanta.poddar&lt;/A&gt;‌ for your comments, these helped me to solve (I think) the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 06 Aug 2017 14:29:26 GMT</pubDate>
    <dc:creator>AdamBorczyk</dc:creator>
    <dc:date>2017-08-06T14:29:26Z</dc:date>
    <item>
      <title>PCA Image Classification tool produces actual background data</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161100#M5433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might be a simple question, but I can't find a way to fix it. After creating a Principal Components image from Image Classification toolbar, I get a red fill around the image up to a size of a square in which the image could be fitted in - see image1 attached. The problem is these are not some NoData areas, but regular values: in this case R: 65535, G: 0, B: 0 (or different solid color, depending on order of bands in composite bands menu).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can try setting "Display background value:(R, G, B)" to "No fill", but it just doesn't show the color, but the values are still there. This will surely affect my analyses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While creating the PC image saw in Environments, that Raster Storage -&amp;gt; NoData = NONE is set by default. I also set processing extent to the extent of one of supplying rasters (from which none have those strange background fill, because they are Landsat bands). I tried to input a composite of 7 bands into the tool or each band individually, both with same result of this background fill.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Important: when executing the tool into Default.gdb it works fine! Only with any other custom location it gets crazy. I read about this kind of a bug with exporting rasters, but I think this case if different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to get rid of it without having to clip the raster?&lt;/P&gt;&lt;P&gt;Using latest build of ArcMap 10.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. I'm sorry if this is not the appropriate space to post it - I couldn't find a better one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Aug 2017 13:02:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161100#M5433</guid>
      <dc:creator>AdamBorczyk</dc:creator>
      <dc:date>2017-08-05T13:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: PCA Image Classification tool produces actual background data</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161101#M5434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you wouldn't have an extra band in there by any chance would you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Aug 2017 19:26:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161101#M5434</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-05T19:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: PCA Image Classification tool produces actual background data</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161102#M5435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand correctly - no, all of the bands (7) are coming straight from Landsat SR image and none have additional background data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Aug 2017 19:30:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161102#M5435</guid>
      <dc:creator>AdamBorczyk</dc:creator>
      <dc:date>2017-08-05T19:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: PCA Image Classification tool produces actual background data</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161103#M5436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like the bit depth got promoted (from 8-bit to 16-bit).&lt;/P&gt;&lt;P&gt;What happens if you change the NoData properties of the image from ArcCatalog.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In ArcCatalog&lt;/STRONG&gt;, open the Properties of the particular image &amp;gt; Click &lt;STRONG&gt;Edit&lt;/STRONG&gt; next to &lt;STRONG&gt;NoData Value&lt;/STRONG&gt; parameter&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="365867" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/365867_pastedImage_6.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define 65535 as the NoData Value for the bands.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="365868" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/365868_pastedImage_7.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Add the image to ArcMap. Does the issue persist?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Aug 2017 20:09:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161103#M5436</guid>
      <dc:creator>JayantaPoddar</dc:creator>
      <dc:date>2017-08-05T20:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: PCA Image Classification tool produces actual background data</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161104#M5437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your suggestion. I changed all of the values as you said:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/365787_nodata.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;But it is quite complicated here. It worked only for one band of one band combination (the default), leaving G and B bands with 0,0000.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/365788_identify.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;But after changing band order in Symbology tab, I get back those background fill but this time with values 0,000000.&lt;/P&gt;&lt;P&gt;It might be what you said - different variable type. Original data is 16-bit signed int, while I see it got 32-bit float after doing Principal Components. Can I somehow stick to 16/32-bit signed int? I can't see this in Environments, it may help here. I see images that I saved into Default.gdb work fine and are 32-bit signed int.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Aug 2017 22:06:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161104#M5437</guid>
      <dc:creator>AdamBorczyk</dc:creator>
      <dc:date>2017-08-05T22:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: PCA Image Classification tool produces actual background data</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161105#M5438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Image formats indicate &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/raster-and-images/supported-raster-dataset-file-formats.htm"&gt;32 bit for tiff&lt;/A&gt; see if anything in &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/manage-data/raster-and-images/nodata-in-raster-datasets.htm"&gt;&lt;STRONG&gt;this link&lt;/STRONG&gt; &lt;/A&gt;will help, perhaps it is possible to reclass your nodata to a lower bit range&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Aug 2017 23:04:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161105#M5438</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-08-05T23:04:57Z</dc:date>
    </item>
    <item>
      <title>Re: PCA Image Classification tool produces actual background data</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161106#M5439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I observed a strange behaviour - when I produce PC and have "Calculate statistics" checked inside "Environments", the problem appears. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if set it unchecked, I get correct image. Then I only have to run another process for calculating stats, but at least it helps. I observed pixel depth doesn't matter here, at least if we're speaking about 16/32 bit signed int, unsigned int or float. Thank you &lt;A href="https://community.esri.com/people/Dan_Patterson"&gt;Dan_Patterson&lt;/A&gt;‌ and &lt;A href="https://community.esri.com/people/jayanta.poddar"&gt;jayanta.poddar&lt;/A&gt;‌ for your comments, these helped me to solve (I think) the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Aug 2017 14:29:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/pca-image-classification-tool-produces-actual/m-p/161106#M5439</guid>
      <dc:creator>AdamBorczyk</dc:creator>
      <dc:date>2017-08-06T14:29:26Z</dc:date>
    </item>
  </channel>
</rss>

