place masks in tutorials

pull/220/head
Stephen Mather 2024-10-19 21:14:38 -04:00
rodzic 4ebc0da3ff
commit 5515d7f710
3 zmienionych plików z 27 dodań i 31 usunięć

Wyświetl plik

@ -53,7 +53,6 @@ The documentation is available in several languages. Some translations are incom
flowchart
outputs
map-accuracy
masks
large
flying
multispectral

Wyświetl plik

@ -1,29 +0,0 @@
#################
Using Image Masks
#################
Starting from ODM ``2.0`` people can supply image masks to inform the software to skip reconstruction over certain areas. This is useful for cases where the sky was accidentally included in the input photos from oblique shots, or simply to limit the reconstruction of a single subject.
To add a mask, simply create a new black and white image of the same dimension as the target image you want to mask (you can use a program such as GIMP to do this). Color in black the areas to exclude from the reconstruction.
.. figure:: https://user-images.githubusercontent.com/1951843/93247037-ade87a00-f75b-11ea-8b42-25bc1d89279d.png
:alt: Target image
:align: center
.. figure:: https://user-images.githubusercontent.com/1951843/93247007-a2954e80-f75b-11ea-87b3-4f04bd1737b9.png
:alt: Image mask
:align: center
.. figure:: https://user-images.githubusercontent.com/1951843/93246970-8f827e80-f75b-11ea-8179-5a8fdd9f5193.png
:alt: 3D result (building is masked)
:align: center
Name your file:
``<filename>_mask.JPG``
For example, ``DJI_0018.JPG`` can have a mask by creating a ``DJI_0018_mask.JPG`` file and include that in the list of images. You can use ``.JPG``, ``.PNG``, ``.BMP`` and ``.TIF`` formats for image masks.
`Learn to edit <https://github.com/opendronemap/docs#how-to-make-your-first-contribution>`_ and help improve `this page <https://github.com/OpenDroneMap/docs/blob/publish/source/masks.rst>`_!

Wyświetl plik

@ -822,6 +822,32 @@ For instance, point clouds properties can be modified to show elevation and also
Advanced
********
Using Image Masks
=================
Starting from ODM ``2.0`` people can supply image masks to inform the software to skip reconstruction over certain areas. This is useful for cases where the sky was accidentally included in the input photos from oblique shots, or simply to limit the reconstruction of a single subject.
To add a mask, simply create a new black and white image of the same dimension as the target image you want to mask (you can use a program such as GIMP to do this). Color in black the areas to exclude from the reconstruction.
.. figure:: https://user-images.githubusercontent.com/1951843/93247037-ade87a00-f75b-11ea-8b42-25bc1d89279d.png
:alt: Target image
:align: center
.. figure:: https://user-images.githubusercontent.com/1951843/93247007-a2954e80-f75b-11ea-87b3-4f04bd1737b9.png
:alt: Image mask
:align: center
.. figure:: https://user-images.githubusercontent.com/1951843/93246970-8f827e80-f75b-11ea-8179-5a8fdd9f5193.png
:alt: 3D result (building is masked)
:align: center
Name your file:
``<filename>_mask.JPG``
For example, ``DJI_0018.JPG`` can have a mask by creating a ``DJI_0018_mask.JPG`` file and include that in the list of images. You can use ``.JPG``, ``.PNG``, ``.BMP`` and ``.TIF`` formats for image masks.
Using Singularity
=================
@ -1046,7 +1072,7 @@ Let us get the environment prepared for our testing:
::
root@c997a4c5611b:/var/www# cd /code
./configure.sh installruntimedepsonly
./configure.sh install
mkdir /code/SuperBuild/build
cd /code/SuperBuild/build