Week 11: Using Satellite Data to Investigate Deforestation
On this page
Using ImageJ to Detect Change
Download Images of Deforestation
Launch ImageJ and Import the Images as a Stack
Animate and Explore the Stack to Observe Changes Over Time
Process the Stack for Analysis
Measure the Area of Deforestation Each Year
Create an RGB Color Image from the Stack
Interpret Your Results
Download Images of Deforestation
Launch ImageJ and Import the Images as a Stack
Animate and Explore the Stack to Observe Changes Over Time
Process the Stack for Analysis
Measure the Area of Deforestation Each Year
Create an RGB Color Image from the Stack
Interpret Your Results
Using ImageJ to Detect Change
Investigation questions:
- How has deforestation in the Amazon rainforest changed over time?
- What is the pattern of deforestation? Which areas were cleared first, later, and most recently?
One of the most deforested parts of the Amazon rainforest lies within the state of Rondonia in Brazil. The loss of the rainforest is primarily due to human activities such as raising crops and livestock. Unfortunately, although these activities have short-term benefits to people, over time, the loss of the rainforest can lead to the extinction of plants and animals as well as contribute to global climate change.
top of pageDownload Images of Deforestation
Download three images of deforestation to your Week 11 folder or directory. These images show deforestation in the Amazon rainforest during the years 2001, 2005, and 2009.- Click the thumbnail image below to open a full-size version in a separate window. Then right-click (Win) or control-click (Mac) the full-size image to choose File > Save Image As... and save it to your Week 11 folder. Close the image window after you have downloaded its file.
- Repeat the procedure for the 2005 image.
- Then repeat the procedure once more for the 2009 image.
top of page
Launch ImageJ and Import the Images as a Stack
- Launch ImageJ by double-clicking its icon
on your desktop or by clicking its icon in the dock (Mac) or Launch Bar (Win). - Import the three images into ImageJ as a stack.
- Choose File > Import > Image Sequence...
- Navigate to the folder where you stored the images and select the first one.
- In the Sequence Options window that opens, set the Number of Images to 3, the Starting Image to 1, Increment by 1, do not scale the images, and make sure Sort Names Numerically is checked. Then click OK.
Animate and Explore the Stack to Observe Change Over Time
You can step through a stack one slice at a time, or you can animate it like a repeating movie loop.
- Click and drag the scroll bar at the bottom of the stack window to move forward and backward through the stack. You can also use the Next Slice (>) and Previous Slice (<) keyboard shortcuts to move forward and backward through the stack.
- Choose Image > Stacks > Start Animation [\] to watch the stack play as a movie.
- Carefully observe the images in the stack. Notice the areas where trees have been cleared along with the position of smoke plumes.
- Based on your observations, between which years do you think the greatest deforestation occurred?
- Set a scale for the images in the stack.
- Use the straight line selection tool to drag out a line across the scale bar in the lower left hand corner of any image in the stack.
- Choose Analyze > Set Scale...
- A Set Scale window opens. The distance in pixels should be approximately 40. Set the Known Distance to 40 and the Unit of Length to km. Then click OK.
- Use the straight line selection tool to drag out a line across the scale bar in the lower left hand corner of any image in the stack.
- Save the stack as Amazon.tif so that you can reopen a "clean" copy of it later.
In these images, it looks as if the greatest deforestation occurred between 2001 and 2005.
Process the Stack for Analysis
- Convert the color stack to 8-bit grayscale stack.
- Make the stack binary.
- This is what the stack looks like when converted to binary format. The cleared areas are white, while the forested areas are black.
Measure the Area of Deforestation Each Year
- Use the Threshold feature to highlight all the white pixels in red.
- Select the measurements that will be recorded in the Results window.
- Measure the area of deforestation on each slice of the stack (all three images).
- Choose Analyze > Measure.
- The Results window opens. Notice that the area of the first slice is 53814 km squared.
- Advance to the second slice in stack and repeat the procedure.
- Here is the Results window showing all three measurements.
- When you are finished, choose Image > Adjust > Threshold and click the Reset button
Create an RGB Color Image from the Stack
top of pageInterpret Results
- This what the resulting RGB color image looks like.
- Open up the Amazon.tif stack that you saved earlier. Compare the RGB color image with the stack of original images. Animate the stack as needed to help you understand the colors in the RGB image.
- Make the 3-slice binary stack active again by clicking on it. The deforested areas appear as bright white in each slice of the stack.
- Arrange the binary stack and the RGB color image so that you can see both side by side.
- The RGB color image you created is a combination of three individual images that are displayed in three primary colors. Notice that in the RGB image, the four most prominent colors are black, white, cyan and blue.
Given how primary colors add together, what is your interpretation of what the colors mean on the RGB image?- Black means that these areas are dark on all the three images. Thus, black represents areas that are forested in 2001, 2005, and 2009.
- White means that these areas are bright on all the three images. Thus, white represents roads that were developed prior to 2001 and that continued to exist through 2009 and possibly beyond.
- Cyan, which is a combination of green and blue, represents areas that were dark (forested) in 2001, but were cleared between the time the 2001 and 2005 images were acquired. These areas are bright in 2005 and were assigned to the green channel and are also bright in 2009 and were assigned to the blue channel. Therefore, these areas show up as cyan in the RGB image.
- Blue shows the most recently deforested areas. Because the 2009 image was assigned to the blue channel, blue in the RGB image shows areas where deforestation took place after the 2005 image was acquired.
To understand what each color on this final image means, reexamine the figure below. Remember the concept of additive colors; red, green and blue are the three primary colors which together add up to make white.



