Ganoderma Detection Using
Multispectral Analysis in QGIS
Step-by-Step Guide
GOAL :
Detect Ganoderma in oil palm using multispectral imagery by
identifying vegetation stress (e.g. through NDVI).
STEP 1: Prepare Your Data
Multispectral imagery (GeoTIFF or separate band files like Red & NIR)
Optional: Ground truth data (e.g. infected palm tree points in CSV or
shapefile)
STEP 2: Open QGIS & Set Up Project
1. Launch QGIS
2. Go to: Project > New
3. Save project to a folder (e.g. /ganoderma_project/)
STEP 3: Install SCP Plugin
1. Go to Plugins > Manage and Install Plugins
2. Search “Semi-Automatic Classification Plugin”
3. Click Install
4. Activate via Plugins > SCP
STEP 4: Import Multispectral Imagery
Option A (Stacked GeoTIFF): - Go to Layer > Add Layer > Add Raster Layer -
Select and load your GeoTIFF
Option B (Separate Bands): - Go to Raster > Miscellaneous > Build Virtual
Raster - Add all bands (e.g. Red = Band 4, NIR = Band 5) - Enable: Place each input
file into a separate band - Save output as .vrt or .tif
STEP 5: Set Bands in SCP
1. Open SCP Panel
2. Go to Band Set tab
3. Click Create Band Set
4. Assign correct band names:
o Red = Band 4
o NIR = Band 5 or 8
STEP 6: Calculate NDVI
Using SCP Plugin: 1. Go to SCP > Band Calculation 2. Choose NDVI 3. Set output
location 4. Click Run
Manual (Raster Calculator):
1. Go to Raster > Raster Calculator
2. Enter NDVI formula: - ("Band5@1" - "Band4@1") / ("Band5@1" + "Band4@1")
3. Save as ndvi.tif
4-2/4+2 n
ndra 3-2 /3+ 2
STEP 7: Visualize NDVI
1. Right-click ndvi.tif > Properties
2. Go to Symbology
3. Use Singleband Pseudocolor
4. Set color ramp:
o Red = low NDVI (stressed)
o Green = high NDVI (healthy)
5. Min/Max: -1 to +1
STEP 8: Classify Stress Levels
1. Go to Raster > Extraction > Reclassify
2. Classify NDVI values:
o 0.0–0.3 = Suspected Infected
o 0.3–0.6 = Moderate
o 0.6–1.0 = Healthy
3. Save as ndvi_classified.tif
STEP 9: Add GPS Tree Points (Optional)
1. Go to Layer > Add Layer > Add Delimited Text Layer
2. Load CSV (columns: latitude, longitude, status)
3. Match CRS with raster layer
STEP 10: Cross-Check NDVI vs Field Data
Overlay infected tree points on NDVI layer
Use Identify Tool to compare NDVI values at specific trees
STEP 11: Export Map Layout
1. Go to Project > New Print Layout
2. Insert map, legend, scale bar, north arrow
3. Export as PDF or JPEG
NDVI Interpretation Table (ndre++)