Jump to content
PDS Geosciences Node Community

Search the Community

Showing results for tags '.img'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • PDS Geosciences Node
    • Announcements
    • For data providers
    • For data users
  • PDS Geo Tools
    • Analyst's Notebook
    • ODE - Orbital Data Explorer
    • Spectral Library
    • Virtual Astronaut
  • Workshops
    • MRO/CRISM Data Users' Workshop 2012

Blogs

  • Working with PDS data
  • Using the Analyst's Notebook

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


Interests

Found 2 results

  1. Hello, Currently I'm working on a data analysis project using images from the Mars Opportunity Rover Pancam. I'm having trouble reading the .img files. I know the ascii detachable string contains all the information necessary. I'm trying to write a script to extract intensity of each pixel and place it into an array. Right now I'm thinking LINES is height, LINE_SAMPLES is width and SAMPLE_BITS is bit per pixel. The checksum for this specific image is 7231232, but if I use the dimensions given in the lines, line_samples and sample_bits I get 65536 (for 64 x 64 x 16). Here is the data from the header. Am I interpreting the dimensions wrong? /* IMAGE DATA ELEMENTS */ OBJECT = IMAGE INTERCHANGE_FORMAT = BINARY LINES = 64 LINE_SAMPLES = 64 SAMPLE_TYPE = MSB_INTEGER SAMPLE_BITS = 16 BANDS = 1 BAND_STORAGE_TYPE = BAND_SEQUENTIAL CHECKSUM = 7231232 FIRST_LINE = 1 FIRST_LINE_SAMPLE = 1 INVALID_CONSTANT = 4095 MAXIMUM = 2508 MEAN = 1765.437500000000 MEDIAN = 1767.000 MINIMUM = 801 MISSING_CONSTANT = 0 SAMPLE_BIT_MASK = 2#0000111111111111# STANDARD_DEVIATION = 199.9281 END_OBJECT = IMAGE /* IMAGE HEADER DATA ELEMENTS */ OBJECT = IMAGE_HEADER HEADER_TYPE = VICAR2 INTERCHANGE_FORMAT = ASCII BYTES = 12800 ^DESCRIPTION = "VICAR2.TXT" END_OBJECT = IMAGE_HEADER END Thank you, Samuel
  2. Hello, I'm new to using the PDS node and I am struggling to open the .img files that I have downloaded. I'm able to view the .jp2 images associated with each data set, but not the .img files. I know that they are binary data files but I don't know how to access the data within them. Is there any way of getting them into an ASCII or other numerical based format, eg an x,y,(other variable) format? I'm hoping to analyse the data on a Linux system, so any advice tailored to Linux would be appreciated! Thank you very much, Sarah
×
×
  • Create New...