Extracting features from images
The ability to classify an image leads us to another remote sensing capability. Now that you've worked with shapefiles over the last few chapters, have you ever wondered where they come from? Vector GIS data such as shapefiles are typically extracted from remotely-sensed images like the examples that we've seen so far. Extraction normally involves an analyst clicking around each object in an image and drawing the feature to save it as data. It is also possible with good remotely-sensed data and proper preprocessing to automatically extract features from an image.
For this example, we'll take a subset of our Landsat 8 thermal image to isolate a group of barrier islands, as shown in the following screenshot:
You can ...
Get Learning Geospatial Analysis with Python - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.