This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Apply RSGISLib segmentation to image | |
using standard or tiled approach. | |
For more details see: | |
https://spectraldifferences.wordpress.com/2016/07/09/scalable-image-segmentation-using-rsgislib/ | |
Dan Clewley (09/07/2016) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Example of reading the spectra from a single pixel using | |
arsf_envi_reader (https://github.com/pmlrsg/arsf_tools) | |
Dan Clewley, NERC-ARF-DAN | |
2018-05-01 | |
""" | |
from arsf_envi_reader import numpy_bin_reader | |
from arsf_envi_reader import envi_header | |
from matplotlib import pyplot as plt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- SPDLib Metrics file --> | |
<spdlib:metrics xmlns:spdlib="http://www.spdlib.org/xml/"> | |
<!-- HOME --> | |
<spdlib:metric metric="home" field="HOME"/> | |
<!-- WD --> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Create a single layer tif in WGS84 projection from | |
NEODAAS (https://www.neodaas.ac.uk/) netCDF files in mercator projection. | |
Converts the location array to GCPs and uses these to warp the image with | |
GDAL. | |
Dan Clewley (dac@pml.ac.uk). |
OlderNewer