For this month’s Geospatial Frequently Asked Question (G-FAQ), I offer a freeware solution to a problem many of you may have encountered when downloading free Landsat and/or ASTER data: you open the file and the imagery is simply a big black tile! You might even ask yourself, “What? Did I download the imagery incorrectly?!”
Well, the answer is a resounding, “Nothing is wrong, you just need to color balance that data!” While I have explored the topic of color balancing in previous G-FAQs (you can read more here, Part 1 and Part 2), the discussion was meant for advanced GIS and remote sensing users who have the funds to purchase software with a price tag over $1,000.
In this G-FAQ, I take a different approach, offering a less technical discussion of the topic with a hands-on movie showing you the steps required to color balance your imagery in a freeware application.
With this in mind, the February G-FAQ will address this set of core questions:
Why is my imagery all black and what do I do to fix it? How are colors made on a computer screen? What is color balancing? What freeware application can color balance?
Colors and Your Computer Screen
Each time you open (or double click) a picture file, such as a JPEG, TIFF or BMP, your computer needs to be told exactly how to create that image onscreen. If you could look at the internal structure of this picture, you would see it is a gridded computer file where each square of the grid, also called a pixel, has a defined color. You can actually see these tiny pixels of color by looking at a monitor from inches away–though I do not recommend doing that for long!
The color of each pixel is determined by mixing varying amounts of ‘digital’ pigments, for instance, the primary colors of red, green and blue. The computer monitors that most majority of us use only accept red, green and blue pigment values in a range from 0 to 255, also known as 8-bit. Here are some examples of how red, green and blue pixel values combine to form colors:
So when you open a picture file, your computer reads the red, green and blue values in each of the pixels; and then sends this information to the monitor which creates the image you see onscreen.
Why is This Satellite Imagery File All Black Then?
If you tried to open a satellite imagery file (or any picture file) by double-clicking on it, and it shows up as a black tile; then your data has 16-bit color values, not the 8-bit color values your computer knows how to read. For example, your imagery file might have a pixel with color values of 800, 345 and 127 (i.e. red, green, blue). But your computer only understands red, green and blue color values when they all fall between 0 and 255. If it finds a pixel with color values outside this range, your computer will not understand how to display the image and you will see a black rectangle.
When this happens, you will need to color balance your imagery. Color balancing is the process of creating a final image with colors that are pleasing to the human eye–i.e. grass is green; sidewalks are white; etc. Without you even knowing it, when you snap a picture with your iPhone, Android or hand-held camera, it automatically color balances the final photo. Satellites and aerial cameras do not automatically color balance imagery–this is something the provider of the imagery can do or you can as well.
As a quick side note, not all satellite imagery is in color. Some of it is black and white only, for instance WorldView-1. This data can also be delivered with 16-bit grey scale values. Unlike a color imagery file with red, green and blue pixel values, each WorldView-1 pixel only has a single grey value which tells the computer how to display the image. A zero grey value is displayed as black, and a 255 grey value is white with 254 shades of grey between these extremes. If you computer finds a grey value outside the 0 to 255 range, then it will display the image in all black. In these cases, you will also need to ‘color’ balance this imagery file.
How do I Color Balance for Free?
The best freeware application I have found to color balance is called Monteverdi. It was created by the French Space Agency (CNES) and is featured in this month’s Free For All. While not the most user-friendly application, Monteverdi is powerful; and after some trial and error, it will let you color balance and then export a portion of this color-balanced file to a variety of formats. Instead of trying to explain this process with words, the movie below will show you: (1) how to color balance imagery with Monteverdi; and (2) export this imagery to a picture file that will not open as a black rectangle. You can download Monteverdi here–one limitation is that this application will only install on Windows-based computers.
Until our next edition of G-FAQ, happy GIS-ing!
Do you have an idea for a future G-FAQ? If so, let me know by email at brock@apollomapping.com.
Find Out More About This Topic Here
- CNES–The Monteverdi Application
- Spokane Falls Community College–How Computers Make Images
- Wikipedia–Color Balancing
Brock Adam McCarty
Map Wizard
(720) 470-7988
brock@apollomapping.com
All systems on board both recently launched Astrium satellites, Pléiades 1B and SPOT 6, are testing well within the expected parameters and should be commercially available in the coming months. We expect that SPOT 6 will be ready for sales in the month of February and that Pléiades 1B will join its twin Pléiades 1A in operations by the start of the summer tasking season in the United Season.
As a quick recap, SPOT 6 will provide 1.5-meter panchromatic and 6-meter 4-band multispectral images with a true blue band. And Pléiades 1B will provide 50-cm panchromatic and 2-meter 4-band multispectral images.
We are excited about the tasking opportunities that both SPOT 6 and the Pléiades 1 constellation offer for regional mapping, agriculture, resource management and much more. For more information on Astrium’s high resolution and medium resolution sensors, you can reach us at sales@apollomapping.com or at (303) 993-3863.
No one has ever crafted a building in my honor, but then again, I am not the Virgin Mary. A late 16th Century revelation of the Madonna led to this beautiful structure’s creation. 50-cm natural color image captured June 4, 2010 by WorldView-2 (WV2), courtesy of DigitalGlobe. Photo enhanced by Apollo Mapping.
Reggio Emilia, Italy is located in the central portion of the country, between Bologna and Parma. A short drive to the west takes you to the Ligurian Sea (considered part of the Mediterranean Sea); while a short drive to the east takes you to the Adriatic Sea. Italy is known for its history and culture, and while there are numerous cities in the country that have greater international appeal and recognition, Reggio Emilia has a lot to offer as well, even if on a smaller scale. And when we say small, we mean children!
Many are familiar with the Montessori and Waldorf schools unique approach to early childhood education. But just as important to the cultivation of young minds is the Reggio Emilia approach. While predated by the Montessori and Waldorf schools and borrowing some tenets from each earlier method, the Reggio Emilia approach has its unique aspects as well. Focusing on what captivates and interests the individuals themselves, Reggio Emilia teachers work in collaboration to help the children maintain those interests, as well as build upon them to create a unique, well-rounded child. The teachers stay with the children for three years, thus further easing the transition in growth and then also not allowing for the student to become too dependent on one person. The idea was born of World War II after all the destruction suggested that there needed to be a new approach that was quicker and tailor-made to spark positive feelings and direction in potentially emotionally-affected children of war.
While the population today is well under 200,000, the city is known for its beautiful architecture, much of which has a religious bend. There are more than a dozen religious edifices considered historic works of art and one of the most prominent is the Basilica della Ghiara. The Basilica was built in response to an image of the Madonna that allegedly caused a man who was born deaf and mute to gain the ability to speak and hear. Its construction began in 1597 and was completed in 1619, shortly before its consecration. The design is attributed to the architect Alessandro Balbi, and its uniqueness starts with a Greek cross that is highlighted by a massive lantern. The interior is adorned with gold, marble and large paintings that depict women from the Old Testament.
The Town Hall of Reggio Emilia is the first place where Italy’s Tricolore flag was officially flown. Formally adopted in 1946, the Tricolore actually dates back to the late 18th Century. The colors of the flag are often associated with certain images: green represents the country’s plains and hills; white represents the snow-capped Alps; and red represents the blood spilled in the wars of the Italian Independence that were fought between 1846 and 1866. There is also a religious interpretation of the colors: green for hope; white for faith; and red for charity–collectively these are known as the three theological virtues.
Whichever interpretation you prefer, both speak to the richness of the culture and history that is a part of Reggio Emilia. More than the history of the flag or its great architecture, the city is well-known for its agricultural roots, and its progressive, global interactions in business and banking. Its foundation in alternative childhood education assures that Reggio Emilia is also known as a socially progressive city. With a combination of a rich history, modernism and forward-thinking action, Reggio Emilia is a city for the ages–and for the future.
Justin Harmon
Staff Writer
Researchers at The Ohio State University undertook a study to evaluate whether the homeless shelter system in Columbus, Ohio is achieving its missions. After interviews with personnel involved in the administration of the system, as well as with those who use the shelters, the authors combined this primary data with geospatial layers to evaluate the geographic dispersal of the shelters and their proximity to other resources with ArcGIS. Much like landfills and nuclear waste depositories, homeless shelters are often accompanied by the NIMBY stigma, and this causes locations to often be in less than desirable or remote locations. The primary goal of the OSU research was to understand who the homeless are, how they became homeless and what resources they are in need of to better their lives.
The Columbus area was chosen as it is a growing metropolitan area. Its population at the time of the study was just over 700,000 in the city, and nearly 1.1 million total residents in the immediate areas surrounding it. In 1986, the Community Shelter Board (CSB) was formed to look at the roles of shelters in their community, and for the establishment of two main types of shelters: emergency and transitional. There were 15 organizations that played a role in the management of the shelter system, ranging from religious to municipal to philanthropic organizations. There were twenty emergency shelters (short-term stay) with 1,137 beds, and then forty-nine transitional shelters (long-term stay) with 1,281 beds.
The first component of their research involved spatially referencing homeless shelters in the greater Columbus area using GIS. Their findings indicated that the transitional shelters tended to be further from downtown, and emergency shelters were closer to downtown. The transitional shelters closest to downtown, however, happened to be the ones with greater capacity of beds. Another interesting finding was the spatial relationship between transitional shelters and Federal Section 8 housing. The furthest away any transitional homeless shelter was from Section 8 housing was 5 miles, and the majority were within less than 2 miles.
Alluding back to the NIMBY mentality referenced earlier, the mean household value was substantially higher in neighborhoods further from transitional shelters. In neighborhoods that had shelters within a shorter radius, the average home values were as much as 25% less than non-shelter neighborhoods. Shelter neighborhoods were also more likely to have industrial or commercial activity in their immediate proximity. Average household incomes were significantly greater the further you move away from a shelter neighborhood.
In future research, the authors hope to determine the types of resources that were available in shelter neighborhoods in order to make sure that they are being allocated properly; as well as if the shelters are making life transitions for the homeless as easy and accessible as possible. Being that the shelters were most often located in areas with the fewest initial residences, the researchers hypothesized that the locations were selected because of the least amount of negative feedback they would receive. Their hope is that crucial resources can be relocated to be more accessible for those in need.
Justin Harmon
Staff Writer
Well, we definitely have! So in this monthly piece, we pick a high resolution satellite, a time period and a geography, and then report key statistics on the total amount of imagery collected. So without further ado, let’s jump into our analysis.
- Graphic Region of Interest: Given that it’s winter in the Northern Hemisphere, collections have slowed on this side of our globe; so we turn our attention to the nations of continental Central America.
- Time Period: September 1 to December 31, 2012
- High Resolution Satellite: Pléiades 1A
- Land Mass Covered: 2,459,149 square kilometers (sq km)
Central America Pléiades 1A Imaging Statistics
- Total Area Collected: 1,783,403 sq km; 14,618 sq km per day
- Area Collected @ 20% or Less Clouds & 30 Degrees Off-Nadir: 846,313 sq km; 6,937 sq km per day; 47.5% of total
An animated comparisons of hill shades derived from free 90-m SRTM, free 30-m ASTER GDEM and reasonably priced 8-meter DigitalGlobe Mapping DSM elevation data. (Data Sources: CIGAR, ERSDAC and DigitalGlobe)
Utilizing their constellation of two 50-centimeter WorldView satellites, DigitalGlobe is able to offer a global solution to a historic challenge in the geospatial world–i.e. access to high-quality, recent and reasonably priced elevation data for nearly any location on the planet. There are three product levels offered in the AES, each with differing resolutions, accuracies and price points to meet the specific needs of your project. Further, DigitalGlobe offers both a digital surface model (DSM) where human-made and natural features such as buildings, cars, trees, etc. are present in the elevation data; and a digital terrain model (DTM) where these obstructing features are removed.
In this short piece, we would like to give our readers a sense of the entry level AES product–i.e. the 8-meter Mapping elevation model–and how it compares to the various sources of free data that can be found online. In the first animation below, we have prepared a stack of elevation data from southern Germany that has been displayed using the same color ramp. In this color ramp, the lowest areas are in red and the highest are in green. The first image is free 90-meter (m) SRTM data which can be downloaded from a variety of US and international government website (for instance here). The second image is also free data but this time 30-meter ASTER GDEM data which can be downloaded here once you register. The final image is a sample of the entry level Mapping DSM from DigitalGlobe with 8-meter resolution.
In the second animation, we used the same datasets but this time displayed each as a ‘hill shade’ so that elevations are more visually apparent. In both of these animations, you can see the level of detail in the Mapping DSM which you simply cannot get in the free sources we all know and use online.
Priced below many other choices with global coverage, DigitalGlobe’s AES elevation suite is the ideal solution for:
- Regional studies which require an analysis of elevation.
- Academics in need of a reasonably-priced solution to replace dated and low resolution public sources.
- Engineers looking to replace costly field labor in distant lands.
- More accurate orthorectification, particularly in areas of high topographic change.
If you would like more information about DigitalGlobe’s Advanced Elevation Series, you can send us an at sales@apollomappping.com or check out more detailed product specification on our website here.
A 22-meter false color image collected by DEIMOS-1 over the Nile River Delta on January 6, 2011. (Image Courtesy: DEIMOS Imaging)
Have you considered DEIMOS-1 as a replacement for the failing Landsat 7 mission? If not, it is worth giving it a look; and if so, give it a second one!
Our mapping and research-focused clients have found DEIMOS-1 to be superior to Landsat 7 in multiple ways:
- It offers better multispectral resolution at 22-meters.
- DEIMOS-1 can be tasked to time new collections of imagery with field research.
- The archive is robust with a low minimum order price.
- There are no scan line failures.
- The price for DEIMOS-1 is well below $1 per square kilometer.
The production options for DEIMOS-1 are similar to other commercial medium-resolution sensors. Here is the advice we can offer when considering DEIMOS-1 for your next project:
- Processing Level
- L0R–this is product has been radiometrically corrected but has not been geometrically corrected; it is meant for user who wish to orthorectify DEIMOS-1 data on their own.
- L1T–this product has been manually orthorectified (10-meter RMS) to a base layer Landsat ETM+ reference image; this is the default processing level.
- Radiometric Calibration
- All gain and bias coefficients needed to convert raw digital numbers to radiance are included in associated metadata files.
- Delivery Format
- All data products are delivered as GeoTIFFs. A TFW file is also delivered with geometrically corrected products.
- Metadata information can be found in the .dim file. Much of this information is also summarized in the .htm file which is easier to read using a web browser.
For additional information and samples images of DEIMOS-1, please refer to our website or send us an email at sales@apollomapping.com.
Whether you have kids or you are a kid at heart, NASA has just the website for you. With games for every skill level, kids can explore Mars, blast off rockets with addition, use clues to find NASA spinoffs and explore the solar system.
After returning to Earth on the Space Shuttle Discovery, Buzz Lightyear needs help loading the space shuttle, finding the correct gear, exploring microgravity and attaching modules to and assembling the International Space Station. You can even get a tour of NASA from Elmo!
You can discover NASA Kids’ Club here.