Lecture 1: Raster and geospatial images Flashcards
(40 cards)
Raster
A type of computer image that is based on a rectangular grid (= pattern of lines and columns) of pixels (= small dots)
→ Each cell or pixel of the raster represents a single value
→ Single-band vs RGB composite image
Image resolution
Number of pixels per distance unit
→ DPI = “Dot Per Inch” (1 inch = 2.54 cm)
Spatial resolution
Size of a pixel (! Not always equal to ground sampling distance, or GSD)
Temporal resolution
Revisit time for image acquisition (in minutes, hours, days)
Spectral resolution
Ability of an imaging sensor to define fine wavelength intervals
panchromatic = coarse (1 band)
multispectral = fine ( ~3-10 bands)
hyperspectral = ultra fine (10s to 1000s bands)
Image dimensions (or size!)
Number of pixels in columns and rows (e.g., 4000 x 3000 pixels)
or = size of the image in X and Y (e.g., 12 x 9 cm)
Image size (or resolution!)
Total number of pixels in the image (e.g., 24 megapixels)
File size
Number of bytes of the file containing the raster image (in Bytes, KB, MB, GB, TB, etc.)
Raster formats
A raster can be stored as…
→ An image (jpeg, tiff, png, etc.)
→ An array (txt, csv, asc, etc.)
… and can come with metadata either stored in the same file or as a separate file (… or both)
Simple formats
Raster + metadata (geotiff, jpeg2000, etc.)
Complex formats
= datasets with multiple layers and sets of information (NetCDF, HDF5, etc.)
≃ “directories in a filesystem”
(Geo)TIFF
Common raster image formats: TIFF and GEOTIFF
(Geo)TIFF = (Georeferenced) Tagged Image File Format
Extensions = .tiff, .tif, .gtif
→ Most common geospatial raster format
→ No or non-destructive compression
→ Tagging system allowing the storage of any type of data in a single file (raster(s), overview(s), metadata, RPC, etc.)
→ Can be a single file or can come with a world file (.tfw), i.e., a text file containing the geospatial referencing information
JPEG
JPEG = Joint Photographic Experts Group (= name of the group that created the format in 1992)
Extensions = .jpg, .jpeg, (.jpe, .jif, .jfif, .jfi)
JPEG2000 extention = .jp2, .jpg2, (.j2k, .jpf, .jpm, .j2c, .jpc, .jpx, .mj2)
→ Most common image format in general, which can be used for basic geospatial data storage
→ Compressed destructive image format (can be non-destructive with JPEG2000)
→ Built-in metadata tagging system called EXIF (can contain, e.g., photo geotagging)
→ Usually come with a companion file such as a world file (.jpw), i.e., a text file containing the geospatial referencing information
ENVI image file
Extensions = no extention, .dat, .img, .bil
→ Raster format of the commercial ENVI software
→ Image file = binary stream of bytes in 3 possible formats (BSQ, BIP, BIL), which differ based on the order the pixels or pixel lines are stored.
→ Always come with an ASCII header file (.hdr) containing all the metadata
netCDF
NetCDF = Network Common Data Form
Extension = .nc
→ Set of machine-independant self-describing data formats supporting the creation, access and sharing of array-oriented scientific data
→ Based on CDF format developed by NASA in 1985
→ Complex system of information organised in directories and subdirectories
→ Commonly used for global EO data provided by NASA (related data reader = Panoply)
HDF
HDF = Hierarchical Data Format
Extensions = .hdf, .h4, .hdf4, .he2, .h5, .hdf5, .he5
→ Set of file formats designed to store and organize large amounts of data, similarly to NetCDF but more universal
→ Developed by the US National Center for Supercomputing Applications
→ Also organise data in directories and subdirectories (current version = HDF5)
→ Commonly used for global EO data (can also be used with Panoply)
Raster array/grid formats
Raster array/grid formats
→ Raster images can also be stored as 2D or multidimensional arrays
→ Several common formats, such as .txt or .csv can be used, for example
→ Formats specific to GIS software: AAIGrid (Arcinfo ASCII Grid), AIG (ESRI Binary Grid), GRASSASCIIGrid, etc.
Limitations: large files, no embedded metadata
Advantage: can be processed as a classical array, e.g., with Numpy in Python
→ statistics, histogram stretching, etc.
Coordinate system
System using one or more coordinates to determine the position of points or objects
Geographic coordinate system
Coordinate system using a 3D spherical/ellipsoidal surface to determine locations on a planet body (usually the Earth)
→ Longitude (deg.), Latitude (deg.), Altitude (m)
Datum
Reference frame used to precisely measure locations on a planet body
Information required to fix a coordinate system to an object (for Earth, a geoid)
Projected coordinate system
Coordinate system based on the projection of the Earth surface on a 2D (flat) surface.
Common datums/projections
COMMON DATUMS
➢ Global: WGS84, ITRF2014, etc.
➢ Regional/Local: ETRS89, NAD83, etc.
COMMON PROJECTIONS
➢ Mercator → Cylindrical (conserves angles, not areas)
➢ Universal Transverse Mercator (UTM)
→ Mercator projections + regular grid system
➢ Robinson → Pseudo-cylindrical (better look, with areas and shapes well preserved between 0° and 15° of latitude)
➢ Lambert Conformal Conic → Preferred projection in mid-latitudes (e.g., Lambert 2008 for Belgium)
Rational Polynomial Coefficients (RPC)
= “simplified” representation of the geometry linking the image surface to the ground surface, via rational polynomials
→ RPCs are used on satellite images for ground-to-image coordinate transformation, during orthorectification or photogrammetric 3D reconstruction
Image metadata
“Data on the data”
- File size
- Pixel depth/encoding
- Image resolution/dimension/size
- Spatial resolution (usually X and Y pixel sizes)
- Spectral information (at least number of bands)
- Geographic/Projected coordinate system
- Units and basic statistics on the values
- Information on the sensor and platform
- Information on the acquisition
(Asc./Desc. Track, path and row, incidence angle, etc.)
- Date/time of acquisition and/or image production
- Georeferencing information (incl. RPC)