X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 11 Oct 2016 09:02 PM by  anon
How to open THEMIS RDR image in ENVI?
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
11 Oct 2016 09:02 PM
    Hello Sir, I have downloaded a THEMIS IR RDR tile from PDS Geosciences Node and I tried opening the QUBE file in ENVI 5.1 using the following procedure: File ->Open as -> Binary and fed in the samples,lines and band details and assumed the storage format as BSQ. The dataset did open but its totally black and does not look like a THEMIS image. If you could help me out with my procedure to open the dataset, it would be great. I require it a bit urgently as I need to complete my project within a couple of months. Thank you.

    MariM



    Veteran Member


    Posts:2396
    Veteran Member


    --
    12 Oct 2016 02:51 PM
    ENVI does not directly support THEMIS qub data sets. You might be able to read them in as binary. The image parameters that you need to enter manually in ENVI are embedded in the header of the THEMIS data. If you are on a Windows machine, you will need to view the header information in a text editor (for example, Notepad or Wordpad). If you are on a UNIX machine, you can use the commands "less filename.qub" or "cat filename.qub | more" to view the necessary text. Once you are looking at the header information of the .qub file, scroll down until you see the section entitled: OBJECT = SPECTRAL_QUBE /* QUBE Structure */ AXES = 3 AXIS_NAME = (SAMPLE, LINE, BAND) /* Core Description */ CORE_ITEMS = (320, 7184, 10) CORE_NAME = "CALIBRATED_SPECTRAL_RADIANCE" CORE_ITEM_BYTES = 2 CORE_ITEM_TYPE = SUN_INTEGER The primary field you need to note is: (1) CORE_ITEMS is a three-element array that corresponds to the image's number of samples, lines, and bands (as referenced in the AXIS_NAME field). In this example, this image has 320 samples, 7184 lines, and 10 bands. You also may need to note: (2) CORE_ITEM_BYTES corresponds to the the data type. A value of "2" here equals 2-byte integer data. A value of "1" would denote byte data. (3) CORE_ITEM_TYPE corresponds to the byte storage of the data. Sun (IEEE) machines are "Big Endian" machines, meaning that multiple byte integers are stored in memory beginning with the most significant byte. But Windows (Intel) machines are "Little Endian", meaning that multiple byte integers are stored in memory beginning with the least significant byte. You may also see this field set to MSB_INTEGER. MSB stands for "most significant byte." In the example here, you would set the byte order to IEEE in the ENVI header dialog.

    Deleted User



    New Member


    Posts:
    New Member


    --
    13 Oct 2016 12:03 AM
    I followed the same procedure as mentioned by you - tried to open it as a binary file but the end result was a dark image..!! I gave the appropriate sample, line and band details, file type as "Envi Standard", datatype as "Floating Point" as it was a radiance dataset, byte order as "Host Intel" because the datatype according to the metadata file was PC_REAL , offset as 0 Kindly suggest a help..

    Deleted User



    Basic Member


    Posts:228
    Basic Member


    --
    17 Oct 2016 01:51 PM
    There are a number of different reasons that your dataset imports into ENVI looking blank. It could be that the data actually have real values, and have imported correctly, but that the default contrast stretch applied to the data in ENVI does not result in any visible difference in pixel values. You can tell whether this is the case by selecting the Cursor Value tool and browsing around in the image. What are the data values that are reported? Are they all the same, or different? It is also possible that you have entered the incorrect values for one of the fields that ENVI needs to you provide in order to correctly interpret the data. It is impossible for me to suggest which of these fields you might be getting wrong. Sometimes data files actually do not contain real data, so of course, if you import one of those files into ENVI, there is no way to make it show real data because there is no real data. Are you able to open this dataset in any other software? Perhaps if you can send the dataset to Harris Geospatial Technical Support or your local distributor, we can take a look at it, and see if we can narrow down the possible reasons that your data may appear all black when you import them. Peg
    You are not authorized to post a reply.