diff --git a/Documentation/Cookbook/Art/HyperspectralImages/cuprite_rgb.png b/Documentation/Cookbook/Art/HyperspectralImages/cuprite_rgb.png new file mode 100644 index 0000000000000000000000000000000000000000..8bd8050d9fb6e359b51bc4a0ef1d5ace7fef58da Binary files /dev/null and b/Documentation/Cookbook/Art/HyperspectralImages/cuprite_rgb.png differ diff --git a/Documentation/Cookbook/Art/HyperspectralImages/hyperspectralUnmixing_rgb.png b/Documentation/Cookbook/Art/HyperspectralImages/hyperspectralUnmixing_rgb.png new file mode 100644 index 0000000000000000000000000000000000000000..043bb4d4b5bc13e3cdd2a37fece4a918c7febbca Binary files /dev/null and b/Documentation/Cookbook/Art/HyperspectralImages/hyperspectralUnmixing_rgb.png differ diff --git a/Documentation/Cookbook/rst/recipes/hyperspectral.rst b/Documentation/Cookbook/rst/recipes/hyperspectral.rst index 4555aa659b2b784fea8c813787d6a02529c41797..e94fce282bd5de4af30acc4ee08b9b3088a9b513 100644 --- a/Documentation/Cookbook/rst/recipes/hyperspectral.rst +++ b/Documentation/Cookbook/rst/recipes/hyperspectral.rst @@ -1,8 +1,40 @@ Hyperspectral image processing ============================== + +.. figure:: ../Art/HyperspectralImages/cuprite_rgb.png + + Cuprite image considered, here bands 16, 100 and 180 are displayed. + + + Unmixing -------- +:: + + otbcli_EndmemberNumberEstimation -in inputImage + -algo vd + -algo.vd.far 1e-5 + + +:: + + otbcli_VertexComponentAnalysis -in inputImage + -ne 19 + -outendm endmembers.tif + +:: + + otbcli_HyperspectralUnmixing -in inputImage + -ie endmembers.tif + -out unmixedImage.tif + -ua ucls + +.. figure:: ../Art/HyperspectralImages/hyperspectralUnmixing_rgb.png + + Resulting unmixed image, here the first three bands are displayed. + + Anomaly detection -----------------