X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 06 Apr 2012 02:00 PM by  anon
Output to ASCII
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
06 Apr 2012 02:00 PM
    Hello, I'm exporting many QuickBird Images into ASCII XYZ format. The problem is the file is way too large, 1-2 GB. I'm only interested in the pixel values that represent some physical meaning and not the zero values. Is there a way to leave out the zero values when exporting to an ASCII? I'm also using IDL to do this, so I'm open to IDL code. Thanks

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    09 Apr 2012 09:57 AM
    It won't give you XYZ format, but one way to export only valid pixels (greater than 0) would be to create an ROI and export this to ASCII. You can use the 'Band Threshold to ROI' to find all pixels greater than 0. ROIs also are held in memory so you may not be able to create one large ROI of your entire image which might require you subset the image. However, this would allow you to save out to ascii only those points that have valid values.

    Deleted User



    New Member


    Posts:
    New Member


    --
    10 Apr 2012 01:05 AM
    If you have arcgis, its easy to do that there. http://shreshai.blogspot....taset-to-xyz-in.html

    Deleted User



    New Member


    Posts:
    New Member


    --
    26 Sep 2012 04:31 PM
    I set the band threshold ROI to the values I wanted and the output ASCII file was in XYZ format. Is it possible to convert a xyz ascii file to raster?
    You are not authorized to post a reply.