Support Website Contact Support Blog

Vineyard NDVI and prescription maps


I have a question about the generation of the NDVI prescription map for a vineyard.

How can I eliminate the ground and generate the prescription map only using the vegetation pixels of the vines? This is really important especially in vineyards.

Otherwise I get errors in evaluating the NDVI values in zones where the vines have high vigour. In fact, when generating the prescription map with (let say) a grid size of 5 meter, the high NDVI values of the vines are averaged with the low values of the ground pixels resulting in wrong NDVI values in those zones.

Thanks for the answers,

Kartsiotis Simone

Hi Kartsiotis,

I understand the issue you are facing, in order to exclude the soil from the index map generated there are two options currently.  The first would be to use a custom index where the formula is adjusted to try remove soil from the values returned.  However, if you are using NDVI and working on the index values associated to this I would suggest the second option.

Pix4Dfields is our product dedicated to agriculture (, we offer the ability to import your drone images, create an orthomosaic and from this generate pre-made indices or custom index calculation.  If you wish to use the NDVI index this can have the values clamped to remove the extremes (e.g. the soil).  To do this click Index Generator, then Create a Custom Index and input the following formula:

(nir-red)/(nir+red) + 0/max(0;(nir-red)/(nir+red)-0.2)

Note: change the 0.2 value to change the constraints (e.g. 0.2 value here will remove all values below 0.2 on the NDVI scale, 0.4 would remove all values below 0.4).  For more information about the index tool see here:

You mention the use of prescription maps, we offer the ability to create zonation and prescription maps within Pix4Dfields, however the zonation would struggle with the custom index mentioned above because we have removed low index values and created a hole in our map.

We are working on tools where areas such as the vines will be detected and automatically only calculate the index on the areas of plants and exclude the ground, this tool will come in the near future.

Kind regards,


Hi Sam,

thanks for the answer.

I am using Pix4D Mapper so I can do what you said directly in the Index Calculator section. That would be ok for the NDVI map.

However, as you said, the problem is when generating the prescription map which leaves holes in the .shp file.

A good thing could be to consider these removed values as low values when processing the prescription file in order to have a .shp file without holes. Could be this possible?


Simone Kartsiotis

Hi Simone,

In Pix4Dfields the shapefile created would only cover the areas where a value is read and so your shapefile would have holes because the removed value areas are not part of the shapefile shapes contained within the file information.  This cannot be altered.  This behavior I would consider the same of Pix4Dmapper, however as I support Pix4Dfields I have asked a colleague for Pix4Dmapper to follow up on your request.

Kind regards,


Hola, como genero NDVI en tiempo real con Android.





Hola Jorge,

Lamentablemente por ahora no soportamos dispositivos Android, ParrotFields estará disponible en Android en el futuro.