Step-by-step guide

Documentation · from a drone flight to plot-level data: processing, calibration and plot extraction in DEDAL.

1 Get an account

UK academics: on Register, enter your .ac.uk email. We email you a link (valid for 24 hours) where you choose a username and password. UK farmers: apply for a farmer account; once it is approved, we email you a link to choose your username and password.

The DEDAL registration page
The registration page.

Then log in. Your dashboard lists your projects; each project holds the flights (tasks) you process.

The DEDAL dashboard with two projects
The dashboard. Add Project creates a project; Select Images and GCP starts a new task in it.

2 Process a flight

  1. In a project, click Select Images and GCP and choose the flight's images (or drag them onto the project). You need at least 5 images, and they must overlap by 65 % or more.
  2. Check the Name, and leave Processing Node as it is.
  3. Choose the processing Options. Default suits ordinary RGB photos. For DJI Mavic 3M multispectral flights, use the calibration below instead.
  4. Click Review, then Start Processing. The images upload, and the task runs on the JIC cluster. A small flight takes minutes; a large one a few hours. You can close the page while it runs.

3 Calibrate multispectral images (DJI Mavic 3M)

Calibration turns the camera's raw values into reflectance, using a photo of a reflectance panel and the drone's sunlight sensor. Only calibrated values can be compared between flights and dates. How it works, its validation, and text for your methods section: Calibration method.

  1. Include the panel shot. Select the flight's multispectral images (…_MS_G/R/RE/NIR.TIF) and the few images of the reflectance panel taken just before or after the flight. The RGB images (…_D.JPG) can be included; with calibration on, they are set aside.
  2. Below the options, tick Calibrate to reflectance with a panel (DJI Mavic 3M). This sets everything calibration needs: the Panel pre-calibration (DJI Mavic 3M) options, and Resize Images: Yes, 100000 px, so that the images keep their full size.
  3. Check the box's messages: Panel shot found among the images, and the panel used. The MicaSense RP04 panel is built in. If you use another panel, choose add a panel and enter its reflectance for green, red, red edge and NIR (from its certificate).
  4. Review and Start Processing as usual.
New task form with the calibration box ticked
The new-task form with calibration on: the options and resize are set for you, and the panel shot is found.

No panel shot? The flight is processed without calibration, unless you tick calibrate with the camera's typical factors. That gives an approximate calibration (about 5–6 % less accurate), which is flagged on the task.

Use your own panel

The default panel is the JIC's MicaSense RP04 (serial 1913009-SC). If you photograph a different panel, add it once and choose it from the Panel list; the panel you select is used for all your tasks.

  1. In the calibration box, click add a panel.
  2. Enter its name, and the reflectance for green, red, red edge and NIR from its calibration certificate, as fractions (0.49, not 49 %). Add its serial and certificate date too: they are recorded with every calibration, so results can be traced to the exact panel.
  3. Save panel. It is selected straight away, and only you see it. Administrators can share a panel with everyone.
The panel form with detection settings and calibration thresholds open
Adding a panel, with advanced: detection and Calibration thresholds open. Empty detection fields keep the defaults shown in grey.
  • Not a square panel in a dark case? Open advanced: detection. For example, a rectangular target twice as long as it is wide needs Max. long/short side of about 2.5. Leave the rest empty to keep the defaults.
  • Share it, or use it on the JIC cluster: download as file saves the panel as a file; load a panel file adds a panel someone sent you. The cluster pipeline reads the same file, so the same panel gives the same result in both.
  • Calibration thresholds (advanced) change the rules calibration follows, for example the sun elevation below which a result is flagged. The defaults were validated against Pix4D and across many flights. If you change them, your results are flagged as using custom thresholds, because they are no longer directly comparable with other calibrations. Reset to defaults undoes it.

4 Check the result

Open the project's tasks and click the task's name. When calibration ran, a line under the buttons says how it went:

  • accepted: calibrated and passed every check;
  • flagged: calibrated, with a warning to read, for example a low sun (below 25°) in winter flights;
  • not calibrated: with the reason, for example no usable panel shot.
A finished task with its calibration result
A finished task (Football field, 27 June 2025). The green line is the calibration result: 1,720 images calibrated with the panel, accepted. A flagged result is shown in orange, with the reason, for example a low winter sun.

Click View Map to see the result. For multispectral flights the Orthophoto view looks dark, because reflectance values are small: use Plant Health for an NDVI map, or Surface Model for heights.

The task's map view
The map view, in Plant Health (NDVI): the trial blocks of the Football field. The tools on the right include the Plots button (the grid icon) used next.

Positions: will this flight line up with your other dates?

Each finished task also gets a Positions line (worked out from the images a minute or two after the task finishes; also at the top of the Plots panel):

  • RTK fixed (green): the images had RTK-fixed positions. Dates line up when the RTK base station is on the same spot each time.
  • positions not RTK-fixed (orange): the mosaic may sit up to a few metres from other dates of the same field.
  • two position sessions in one task (orange): the task joins flights whose positions disagree, for example because the RTK base station was set up again elsewhere. The mosaic may be distorted where they meet: process each flight as its own task.
A finished task with its Positions and Panel calibration lines
The Football task opened in the dashboard. Under the buttons: Positions: RTK fixed and the calibration result. A warning is shown in orange; hover over it for the advice.
The top of the Plots panel with the Positions line
The same line at the top of the Plots panel.

To keep dates aligned, fly with RTK fixed and the base station on the same spot each time (or on a surveyed point), or use ground control points. To line up a flight that is off, use 6. Align to another date in the Plots panel: upload a GeoTIFF you kept from another date of the field (its orthophoto, NDVI or surface model; a 5-20 cm version is enough). DEDAL measures the offset and shows it; nothing moves until you click Apply, and Undo puts it back. The orthophoto, surface model and your saved plots move together. Keep the reference file yourself: DEDAL deletes projects after 30 days.

Step 6 of the Plots panel after measuring against a reference
Step 6 after uploading a reference: here an NDVI of the same flight at 10 cm, so the offset is 0.00 m (7 of 7 parts of the overlap agree). For a flight that is off, it shows the distance and direction; Apply moves the imagery and your plots, Undo puts them back.

5 Extract plot data

DEDAL Extraction gives you a value per plot (for example the mean NDVI of each plot of a field trial) straight from the map, with nothing to install.

  1. On the task's map, click the Plots button (the grid icon, top right). A panel opens with the steps below; hover over a ? next to a step for help on it.
  2. Trial area. Click Draw trial area, then click the corner where plot 1 is, then the next corner along the direction the columns run, then the other corners, and Finish. It does not have to be exact, but draw it along the outer edges of the outer plots and keep crop borders and neighbouring trials out: a wide area makes auto-fit slower and less sure. You can still drag and zoom the map while drawing. Already have your plots in a GIS? Use import a layout file instead (see below).
The trial area drawn around a small-plot trial, with plot 1's corner marked
The trial area drawn around a small-plot trial (Football field, 27 June 2025). The orange dot marks plot 1's corner; the first edge runs along the columns.
  1. Find plots. Choose how to make the plots, then press the button under it:
    • Auto-fit to imagery (the default) finds the plots and alleys in the flight's NDVI (or colours, for RGB flights) and reports the rows, columns, plot size and a quality: good, fair or poor. Leave rows and columns on auto, or type them, or the number of plots, if you know them. Snap plots onto the crop lets each plot move a little onto its own crop. If plot 1 is hard to find, Draw plot 1 to give its size and direction. Plot outline chooses the plot's shape: medium (the default, 10% into the alleys), tight (the crop only), loose (20%) or equal (every plot the same size, in straight rows and columns). Every plot keeps all of these outlines, so you can measure any of them later. A weak fit is tried again inside a slightly smaller area (a wide area often takes in a crop border), and the quality is at most fair when a row or column at the edge looks like plots but was left out, or when the plots found cover less than about half of the area; a note says what to check.
      Which task? Auto-fit works best on a flight where the plots are green crop and the alleys between them still bare soil: for most trials the middle of the season (an autumn-sown trial from November, a spring crop from mid-April). Before the crop is up there is nothing to find, and once the canopy closes over the alleys or the crop ripens, rows are missed. Fit on a mid-season task, then download the plots (GeoJSON) and import them into the tasks of the other dates with import a layout file.
    • Fit to area: rows × columns spread over the area, with the gaps between plots in metres.
    • Fixed plot size: rows × columns of plots of a given width and length (metres), from plot 1's corner. Use it before the crop shows, when auto-fit has nothing to see.
    • Whole field (one plot): the area itself as a single plot.
    The plots appear on the map, dashed until you extract.
Auto-fit preview of 96 plots on the trial
Auto-fit found 6 rows × 16 columns (96 plots, about 1 × 1 m, alleys 0.86 / 0.55 m), quality good, in about 6 seconds. Plots with no crop are kept: they are part of the layout.
  1. Fix plots (if needed).
    • Click to add or fix plots (the blue button; it turns solid blue while on): click the image where a plot is missing and a plot is added there, fitted to the crop and placed in its row and column, at the size and direction of the other plots. Click a plot that does not look right (too small, leaning, cut by a gap in the crop) to fit it again; a click just beside a plot fits that plot, never a second one on top. A plot fitted again takes the size and place of its cell in the grid through the other plots. A plot added by a click gets its row and column from the plots around it, so the numbering keeps the rows and columns auto-fit found. One click is worked out at a time. Clicks need plots to go by: auto-fit first, or draw one plot.
    • Make plots equal turns every plot into a rectangle of the same size, in straight rows and columns. The two boxes next to it are the width and length in metres: they show what your plots measure, and you can type your own.
    • Select plots and click them on the map (they turn yellow), then move them with the arrows, make them wider, narrower, longer or shorter in steps of 5 cm, 20 cm or 1 m, or remove them. With nothing selected, the buttons act on all plots.
    • Undo takes back the last change (an auto-fit, a click, making plots equal, a move or a removal).
  2. Numbering. Plots are numbered row by row from plot 1 (prefix and first number of your choice, optionally serpentine). Load a plot sheet (CSV or Excel) to use your own plot codes: it is matched by row and column if it has them, otherwise in plot order, and its other columns (variety, treatment, rep, anything else) are added to the results. Tick labels to see the codes on the map.
Plots labelled with the codes from a plot sheet
A plot sheet with Plot, Row, Col, Genotype, Treatment and Rep columns: all 96 plots matched by row and column, and labelled with their codes.
Step 3, Fix plots: the click button, Make plots equal with the plot size, and Undo; a plot added by clicking
Fix plots: a plot that was missing (row 1, column 5) added with one click, in line with its row and at the size of the others.
All 96 plots made equal: the same size, in straight rows and columns
Make plots equal: all 96 plots 0.97 × 1.05 m, in 6 × 16 straight rows and columns.
  1. Extract. Choose the indices and the Outline to measure: each plot's shape (the default), or the tight, medium, loose or equal outline it keeps. Equal plots suit totals and counts (pixels, plants, biomass per plot); means and fractions such as NDVI are per area already. Click Extract plots; the CSV's outline column says which outline was measured, and the saved plots keep all their outlines.

The plots are coloured from red (low) to green (high), with a table of the values in the panel. Hover over a plot to see all of its values, and download them with CSV (a table for Excel or R) or GeoJSON (the plots with their values, for GIS). Your plots are saved with the task and reappear the next time you open the panel.

Extracted plots coloured by NDVI with a plot's values
Results: plots coloured by mean NDVI, the table in the panel, and plot FB205 (row 2, column 5, variety G14) when you hover over it.
The whole field extracted as one plot
Whole field: the area as one plot, with its mean NDVI, NDRE, GNDVI and surface height. Very large areas are sampled, which the panel says.

What you get for each plot

  • Multispectral flights: NDVI, NDRE and GNDVI (mean, median, standard deviation, minimum, maximum), and, when calibrated, the mean reflectance of each band. NDVI = (NIR − Red)/(NIR + Red), NDRE = (NIR − Red edge)/(NIR + Red edge), GNDVI = (NIR − Green)/(NIR + Green), the same as the DEDAL cluster pipeline.
  • RGB flights: VARI, GLI and ExG.
  • Plant height from the surface model: the top of the canopy minus the ground in the alleys around the plot, the method of QGIS-HighGround by Rob Ellis (JIC Informatics). Also the median and 95th percentile elevation and the relief within the plot.
  • The plot's code, row, column, area and number of pixels, and the columns of your plot sheet or layout file. Pixels outside the flown area are left out.

Importing a layout

Import a layout file (step 1) loads plots you already have: GeoJSON, a zipped shapefile (.zip with the .shp, .shx, .dbf and .prj) or KML/KMZ, in any coordinate system (British National Grid included, converted with the Ordnance Survey's OSTN15 grid). The plot code is taken from a column such as plot, plot_code or label, and the other columns are kept. Point layouts (one point per plot) are not supported yet: use polygons.

6 Go further in DEDAL-Lab (R)

For analyses beyond the Plots panel (your own indices, soil removal and canopy cover, plant height, statistics and figures), DEDAL-Lab opens RStudio in your browser with the flight and your plots already in it, and a starter script.

  1. Make and extract your plots (step 5), then click Go further in DEDAL-Lab under the downloads in the Plots panel. Or choose DEDAL-Lab in the menu and click Open in DEDAL-Lab next to the flight.
  2. RStudio opens (the first time, after a short wait while the session starts). The flight is in flights/<flight name>/: the orthophoto, the surface model, your plots with their values and plot sheet columns, and analysis.R. Large orthophotos take a few minutes to copy; a COPYING.txt file is there until they are ready.
  3. Open analysis.R and run it section by section (Ctrl+Enter). It works out NDVI, NDRE, GNDVI, OSAVI and CIre (VARI, GLI, ExG for RGB), separates crop from soil, and gives each plot its statistics, canopy cover and plant height (canopy top minus the ground in the alleys around the plot, the HighGround method by Rob Ellis). Change the threshold, add indices or models: it is your copy.
  4. The results are saved in results/: plots_lab.csv (your plot information plus the new values), plots_lab.gpkg for QGIS, and figures. Download them from the Files pane (tick → More → Export).
The DEDAL-Lab page listing flights to open
The DEDAL-Lab page: your flights, with a tick where plots have been extracted.
RStudio with the flight's files and the starter script
RStudio with the Football flight copied in: the starter script (left) and the flight's files (right).
Map of mean NDVI per plot made by the starter script
One of the script's figures: mean NDVI per plot of the 96-plot trial.

Open several flights in the same session (for example every date of a trial) to compare them: join the results by plot code. A session lasts 10 hours and is then deleted, with the copied flights.

7 Open a flight in QGIS

Every flight can be downloaded as a ready-made QGIS project (QGIS 3.34 or later, free): the orthophoto, NDVI, the surface model and your plots, already styled.

  1. Click QGIS project at the top of the Plots panel, or choose QGIS Integration in the menu and click QGIS project next to the flight. Extract your plots first (step 5) so they come along.
  2. Unzip the download and double-click the .qgs file. Keep the files of the folder together.

The plots are coloured by mean NDVI and labelled with their codes when you zoom in; click one with Identify to see all its values and your plot sheet's columns. NDVI is worked out by QGIS from the orthophoto as you view it. The orthophoto of a multispectral flight is shown in NIR / Red / Green false colour, where vegetation is red. The zip includes the images, so a large flight is a large download: the QGIS Integration page shows the size.

The QGIS Integration page listing flights to download
The QGIS Integration page: a QGIS project for each of your flights, with its size.
A QGIS project in QGIS: NDVI with the trial plots coloured by mean NDVI and labelled with their codes
A flight's QGIS project opened in QGIS (Football field, 27 June 2025): NDVI, and the 96 trial plots made with auto-fit, coloured by their mean NDVI and labelled with their plot codes.

8 Download and good to know

  • Download Assets on a task gives you the orthophoto, surface model, point cloud and report.
  • Projects are deleted after 30 days (see the Terms and Conditions): download what you need.
  • Questions or problems: dedal@jic.ac.uk.