Principal component analysis
From AWF-Wiki
(Difference between revisions)
(→Using QGIS OTB plugin) |
|||
Line 1: | Line 1: | ||
= Using QGIS OTB plugin = | = Using QGIS OTB plugin = | ||
− | Does | + | Does currently not work in OTB plugin for QGIS 3.4. |
* In the search engine of the Processing Toolbox, type PCA and select '''DimensionalityReduction(pca)''' under Image Filtering of the Orfeo Toolbox. | * In the search engine of the Processing Toolbox, type PCA and select '''DimensionalityReduction(pca)''' under Image Filtering of the Orfeo Toolbox. | ||
* Under the Parameter tab, select Multispectral band file as the input layer. | * Under the Parameter tab, select Multispectral band file as the input layer. | ||
Line 8: | Line 8: | ||
* Untick output file after running algorithm (inverse output image) option. | * Untick output file after running algorithm (inverse output image) option. | ||
* Click on {{button|text=Run}} to execute the algorithm. | * Click on {{button|text=Run}} to execute the algorithm. | ||
+ | |||
= Using OTB standalone = | = Using OTB standalone = | ||
Revision as of 10:09, 19 November 2018
Using QGIS OTB plugin
Does currently not work in OTB plugin for QGIS 3.4.
- In the search engine of the Processing Toolbox, type PCA and select DimensionalityReduction(pca) under Image Filtering of the Orfeo Toolbox.
- Under the Parameter tab, select Multispectral band file as the input layer.
- Select pca under the Algorithm tab.
- Enter 4 as the number of components.
- Specify the directory to save the output file.
- Untick output file after running algorithm (inverse output image) option.
- Click on Run to execute the algorithm.