# Canopy cover calculation using PIX4DFields

**URL:** <https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128>\
**Category:** Agriculture\
**Created:** [April 17, 2023, 7:39pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128 "2023-04-17T19:39:58Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![josel](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@josel](https://community.pix4d.com/u/josel)\
**Post date:** [April 17, 2023, 7:39pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/1 "2023-04-17T19:39:58Z")

</div>

We are anticipating to use PIX4D Field quite a bit this year on our experiments. One of them will be a Canola Photosynthesis trial. Here we will collect data on 180 genotypes of canola. The first bunch of data will be canopy cover. We want to know which lines will close the ground faster. For canopy cover, which index to do you think will be recommended (NDVI?). Is there some literature about this that I can follow?

---

<div class="post-metadata">

**Author:** ![Julius\_Petri](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/julius_petri/32/4592_2.png) [@Julius\_Petri](https://community.pix4d.com/u/Julius_Petri)\
**Post date:** [April 17, 2023, 8:11pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/2 "2023-04-17T20:11:39Z")

</div>

For your Canola Photosynthesis trial, NDVI (Normalized Difference Vegetation Index) is indeed a suitable index to measure canopy cover. NDVI is widely used to assess plant vigor, biomass, and canopy cover, as it takes into account the difference between near-infrared (NIR) and red light reflectance from the plant canopy.

To calculate NDVI, you can use the following formula:

NDVI = (NIR - Red) / (NIR + Red)

In your case, you can use PIX4Dfields to create NDVI maps based on the multispectral data you collect from your drone flights. By comparing NDVI values across different genotypes, you can determine which lines close the ground faster and better understand their growth patterns. For that use the annotation tools, to draw your plots, that will allow you to get plot average index data you can use for ranking the different varieties.

Here is a source for further reading:

[Agricultural Applications of High-Resolution  
Digital Multispectral Imagery: Evaluating  
Within-Field Spatial Variability of Canola  
(Brassica napus) in Western Australia](https://www.asprs.org/wp-content/uploads/pers/2005journal/may/2005_may_595-602.pdf)

---

<div class="post-metadata">

**Author:** ![josel](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@josel](https://community.pix4d.com/u/josel)\
**Post date:** [April 17, 2023, 8:51pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/3 "2023-04-17T20:51:18Z")

</div>

Thank you Julius,

You are a great man. I am new to this type of data collection. we are expecting to have our Mavic 3 multispectral within the next 3 weeks. Once I get the first flights I might need to contact you again.

Thanks again for your feedback.

---

<div class="post-metadata">

**Author:** ![Julius\_Petri](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/julius_petri/32/4592_2.png) [@Julius\_Petri](https://community.pix4d.com/u/Julius_Petri)\
**Post date:** [April 18, 2023, 6:34am UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/4 "2023-04-18T06:34:50Z")

</div>

We are happy to help, we love that stuff as much as you do :). Here is a video which should give you an idea how to use the annotation tools in PIX4Dfields to get your plot level data (at minute 5:30):

[![](https://global.discourse-cdn.com/pix4d/original/2X/f/f55e199d4e561fe91a3d25a8b1ab75ab3e4d321d.jpeg "High Definition digital surface models | PIX4Dfields Tutorials") ](https://www.youtube.com/watch?v=7GEecfFM900)

---

<div class="post-metadata">

**Author:** ![lowaltitude](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@lowaltitude](https://community.pix4d.com/u/lowaltitude)\
**Post date:** [April 21, 2023, 3:48pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/5 "2023-04-21T15:48:44Z")

</div>

You demonstrate importing geometry shape files, but where are these obtained from? Geometry files for what?

---

<div class="post-metadata">

**Author:** ![Julius\_Petri](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/julius_petri/32/4592_2.png) [@Julius\_Petri](https://community.pix4d.com/u/Julius_Petri)\
**Post date:** [April 24, 2023, 6:50am UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/6 "2023-04-24T06:50:10Z")

</div>

You either get them from you client or you created them in a GIS system like QGIS or Google Earth, we support .kml ; shapefile and .geojson.

---

<div class="post-metadata">

**Author:** ![lowaltitude](https://avatars.discourse-cdn.com/v4/letter/l/f19dbf/32.png) [@lowaltitude](https://community.pix4d.com/u/lowaltitude)\
**Post date:** [April 24, 2023, 9:26am UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/7 "2023-04-24T09:26:23Z")

</div>

Thanks. I tried Google Earth and exported a boundary, but get this error message when importing the kml file. Is that expected?

 ![Screenshot 2023-04-24 at 10.25.03](https://global.discourse-cdn.com/pix4d/original/2X/9/9e712cb5a416bbfd8f32016cfed07277c7b0cf20.jpeg)

---

<div class="post-metadata">

**Author:** ![Jose.Arnaudo](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/jose.arnaudo/32/5966_2.png) [@Jose.Arnaudo](https://community.pix4d.com/u/Jose.Arnaudo)\
**Post date:** [April 27, 2023, 7:06am UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/8 "2023-04-27T07:06:17Z")

</div>

Hi,

Make sure the boundary does not contain any error when drawing it (complicated edges).

Try creating a simple geometry and importing it in PIX4Dfields. If it fails, please share the file with us so we have a look.

Best,

---

<div class="post-metadata">

**Author:** ![josel](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@josel](https://community.pix4d.com/u/josel)\
**Post date:** [July 2, 2023, 5:03pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/9 "2023-07-02T17:03:06Z")

</div>

Hello Julius,  
Can PIX4D generate Leaf Area Index?

---

<div class="post-metadata">

**Author:** ![josel](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@josel](https://community.pix4d.com/u/josel)\
**Post date:** [July 2, 2023, 5:06pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/10 "2023-07-02T17:06:13Z")

</div>

Hi again,  
We have 4 reps of Lime trials. Each rep is in a different place of the farm field, very far away from each other. I have the 4 corners GPS coordinates of each rep, but do not know how to create a shape file so that the drone can flight only on each rep, not the entire field. Also making the shape file it will be ease for us to extract the data from each rep.

---

<div class="post-metadata">

**Author:** ![Julius\_Petri](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/julius_petri/32/4592_2.png) [@Julius\_Petri](https://community.pix4d.com/u/Julius_Petri)\
**Post date:** [July 2, 2023, 6:28pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/11 "2023-07-02T18:28:47Z")

</div>

Hi josel,

How easy it will be to transfer your GPS coordinates to Pix4dfields, depends in what format you have them. If they are already as shapefile, kml or geojson you could import them as annotations, and manually create the field boundaries on top of them.

If not you need to convert them via Qgis to one of the formats I mentioned above.

All in all should be a swift process.

---

<div class="post-metadata">

**Author:** ![josel](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@josel](https://community.pix4d.com/u/josel)\
**Post date:** [July 2, 2023, 7:42pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/12 "2023-07-02T19:42:18Z")

</div>

Thanks Julius,  
Do you have a walk through to convert the 4 corners of a research plots field to a shape file using QGIS?  
Thanks again.

Salvador (Mobile)

---

<div class="post-metadata">

**Author:** ![Julius\_Petri](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/julius_petri/32/4592_2.png) [@Julius\_Petri](https://community.pix4d.com/u/Julius_Petri)\
**Post date:** [July 2, 2023, 8:33pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/13 "2023-07-02T20:33:12Z")

</div>

Without knowing the format and structure of your GPS data this question cannot be answered.

---

<div class="post-metadata">

**Author:** ![josel](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@josel](https://community.pix4d.com/u/josel)\
**Post date:** [July 2, 2023, 9:29pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/14 "2023-07-02T21:29:07Z")

</div>

I have the gps coordinates of the 4 corners of each rep. For now on google earth I am dropping a pin on each coordinate, then I draw a rectangle following those pins. After that I delete the pins and save the file as a kmz.  
I thought there must be a better way to do this.

Salvador (Mobile)

---

<div class="post-metadata">

**Author:** ![Julius\_Petri](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/julius_petri/32/4592_2.png) [@Julius\_Petri](https://community.pix4d.com/u/Julius_Petri)\
**Post date:** [July 2, 2023, 9:51pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/15 "2023-07-02T21:51:54Z")

</div>

If you export it as kml from Google you can import that into Pix4Dfields as annotation or boundary.

If you want to create the plots automatically from the GPS data, this is a different story but can be done in QGIS.

To really help you we would need an example file from you.

---

<div class="post-metadata">

**Author:** ![josel](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@josel](https://community.pix4d.com/u/josel)\
**Post date:** [July 7, 2023, 9:07pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/16 "2023-07-07T21:07:21Z")

</div>

Hello Julius,

This PIX4D definitely needs some improvements. It is too tedious to draw the boundaries of each plot manually. It also sometimes it fails to save the boundary, as you can see, it check mark is grayed even though the polygon has been closed. Other software such as Solvi will identify each plot automatically provided each plot is clearly separated from one another.

Attached is the screenshot.

Thatnks,

 ![CDC-N NDVI Screenshot.PNG.jpg](https://global.discourse-cdn.com/pix4d/original/2X/9/91de0bab3ad7080a04b819e8f5ca26087cae6e87.jpeg)

---

<div class="post-metadata">

**Author:** ![Julius\_Petri](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/julius_petri/32/4592_2.png) [@Julius\_Petri](https://community.pix4d.com/u/Julius_Petri)\
**Post date:** [July 7, 2023, 9:55pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/17 "2023-07-07T21:55:51Z")

</div>

Yes we are aware that for big plot trials the current annotation tools are limited and a bit time consuming. We will eventually revisit this topic in the future, but this will not be soon to be honest with you, as our focus is currently on improving the software for practical applications in Agriculture.

For research a great tool alongside PIX4Dfields is QGIS which is actually completely free. Here is a tutorial on how to do what you want to achive: [How to separate plots and extract plot data using QGIS (Drones in agriculture series, 5/7)](https://youtu.be/SQbq2cxAk7k)

---

<div class="post-metadata">

**Author:** ![josel](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@josel](https://community.pix4d.com/u/josel)\
**Post date:** [July 7, 2023, 10:08pm UTC](https://community.pix4d.com/t/canopy-cover-calculation-using-pix4dfields/26128/18 "2023-07-07T22:08:23Z")

</div>

Thank you so much Julius for the quick response.

Salvador (Mobile)
