Convert vector to raster
From AWF-Wiki
- Click the Add raster layer and select the file C:/OSGeo4W64/geodata/raster/s2/Subset_S2A_MSIL2A_20170619T.tif.
- Click Open, the raster layer appears on the QGIS canvas.
- 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.