-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from leftfield-geospatial/feature_refine_gcp
Feature refine RPC & pan sharpen
- Loading branch information
Showing
72 changed files
with
4,470 additions
and
1,194 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Camera Models | ||
Camera models | ||
============= | ||
|
||
.. automodule:: orthority.camera | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Camera model fitting | ||
==================== | ||
|
||
.. automodule:: orthority.fit | ||
:members: | ||
:show-inheritance: |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Pan sharpening | ||
=============== | ||
|
||
.. automodule:: orthority.pan_sharp | ||
:members: | ||
:show-inheritance: |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,5 @@ Command line reference | |
exif | ||
odm | ||
rpc | ||
sharpen | ||
simple_ortho |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.. click:: orthority.cli:sharpen | ||
:prog: oty sharpen |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.. include:: ../shared.txt | ||
|
||
Image GCP tags | ||
============== | ||
|
||
GCPs can read from image tags. This capability is provided by the Rasterio_ / GDAL_ package. GCP pixel coordinates should use the :ref:`Orthority convention <background/coordinates:pixel coordinates>`. |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Orthority GCPs | ||
============== | ||
|
||
The native Orthority GCP format is a standard GeoJSON ``FeatureCollection`` of ``Point`` features, that can be visualised in a GIS. Each ``Feature`` is a GCP, where the geometry is its position in 3D WGS84 geographic coordinates. ``Feature`` properties are as follows: | ||
|
||
.. list-table:: | ||
:widths: auto | ||
:header-rows: 1 | ||
|
||
* - Property | ||
- Value | ||
* - ``filename`` | ||
- Image file name excluding parent path, with or without extension. | ||
* - ``ji`` | ||
- Image ``[j, i]`` position in :ref:`pixel coordinates <background/coordinates:pixel coordinates>`. | ||
* - ``id`` | ||
- ID string (optional). | ||
* - ``info`` | ||
- Information string (optional). | ||
|
||
An example file defining a single GCP: | ||
|
||
.. code-block:: json | ||
{ | ||
"type": "FeatureCollection", | ||
"features": [ | ||
{ | ||
"type": "Feature", | ||
"properties": { | ||
"filename": "qb2_basic1b.tif", | ||
"ji": [ | ||
821.3001696660183, | ||
62.303697728645055 | ||
], | ||
"id": "concrete-plinth-70", | ||
"info": "concrete-plinth-70" | ||
}, | ||
"geometry": { | ||
"type": "Point", | ||
"coordinates": [ | ||
24.41948061951812, | ||
-33.65426900104435, | ||
214.75143153141929 | ||
] | ||
} | ||
} | ||
] | ||
} |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Pan sharpening | ||
============== | ||
|
||
The :class:`~orthority.pan_sharp.PanSharpen` class implements Gram-Schmidt pan sharpening. Panchromatic and multispectral images are required to instantiate. The :meth:`~orthority.pan_sharp.PanSharpen.process` method pan sharpens: | ||
|
||
.. literalinclude:: ../../scripts/api_pan_sharp.py | ||
:language: python | ||
|
||
See the :meth:`~orthority.pan_sharp.PanSharpen.process` documentation for details on other configuration options. |
Oops, something went wrong.