X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 05 Nov 2015 01:58 PM by  anon
UAV-Ortho's Histograms Alter when Opened in ENVI
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
05 Nov 2015 01:58 PM
    <p>Hi All,&nbsp;</p> <p>I will say first that I am a new ENVI user. I have proprietary UAV ortho products which have been calibrated for white and color balancing. They open fine in ArcGis. When I open them in ENVI, the histograms are slightly different than histograms from the same ortho images in ArcGIS. What process occurs when opening something in ENVI which causes this histogram/intensity alteration? And is there any way to prevent this? I wish to perform spectral analyses but cannot do it with the original ortho intensity values in ENVI. Thanks!&nbsp;</p> <p><br /> </p> <p>Alex&nbsp;</p>

    Deleted User



    New Member


    Posts:59
    New Member


    --
    06 Nov 2015 01:32 PM
    <p>Alex,</p> <p>By default, ENVI opens 16-bit unsigned integer imagery with an Optimzed Linear stretch. It opens all other data types (excluding 8-bit) with a linear 2% clip stretch. That may explain why you're seeing a difference when opening the UAV ortho products in ENVI. You can disable these default stretches by going to File &gt; Preferences. Click the "Display General" category, then change the Default Stretch for 16-bit Uint and all other imagery to "No Stretch." Let us know if this resolves your issue.</p>

    Deleted User



    New Member


    Posts:14
    New Member


    --
    11 Nov 2015 09:07 AM
    <p>Thanks a lot Jason- problem solved!</p>

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    11 Nov 2015 12:56 PM
    <p>Histograms are not representations of the actual data values but rather they are binned values where the bins are automatically calculated in both ENVI and Arc.&nbsp; You can use a variety of binning/stretch types to display the data on a computer screen which is limited to values of 0-255 in&nbsp;each R, G, B.&nbsp; </p> <p>So when you open your image in ENVI, you can go to the drop-down stretch types and select 'Linear' which I think should be the same as ArcGIS Min-Max stretch type.&nbsp; You can also bring up the Custom Stretch tool to view the histograms and how the stretch types affect them.&nbsp; But these stretch types are for display purposes only and how they are binned is to represent the shape/volume of the data values.&nbsp; The actual data values should be the same between ENVI and Arc.&nbsp; If you calculate statistics on your dataset in ENVI and in Arc, they should have the same min/max/mean/SD.&nbsp; In ENVI, when you calculate statistics and scroll to the histogram information, you should also see the 'bin size' for the histogram on the left side of the dialog.&nbsp; I am not sure where to find this equivalent information in Arc but I suspect this might be the difference.</p>

    Deleted User



    New Member


    Posts:14
    New Member


    --
    14 Nov 2015 11:11 AM
    <p>Thanks Mari! Amazing how much I've learned just working with these images. Indeed I realized what you had said when I inspected ascii data from different histogram stretches; there was no difference. Makes sense. Thanks!&nbsp;</p> <p><br /> </p>
    You are not authorized to post a reply.