GeoTiff Outliner
by Atma Bharathi Mani
18 Feb 2010
(Updated 28 Apr 2010)
Locates the 4 corners of georeferenced image surrounded by background cells and makes a shape file.
|
Watch this File
|
| File Information |
| Description |
Polar orbiting remote sensing satellites have an orbital inclination of about 9 degrees to the vertical. Because of this georeferenced satellite scenes are not straight but slanting (rotated). It is generally useful to have a vector containing the boundary of the image. Since an image can inherently be only a rectangle, such satellite images have bounding background pixels with 0 fills. Using a default MATLAB function to extract the boundary of this image would only provide the corners of this entire image with 0 fills as a rectangle.
This program is optimized. It starts reading from the top row down till the top left corner of the image is reached. Then is starts reading from left to right to get the top right corner and similarly for other two corners. This way it does not actually read the entire image but only the corners. It dynamically reduces the process time when we have a very large image with relatively small background 0 fills. |
| Required Products |
Mapping Toolbox
|
| MATLAB release |
MATLAB 7.9 (2009b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 28 Apr 2010 |
Code updated to detect the boundary if the background fills are either 0 or maximum value possible (max value depends on quantization of the image)
A display of the image and the boundary vector extracted is provided. |
|
Contact us at files@mathworks.com