# Can't reproduce NDVI values

**URL:** <https://community.pix4d.com/t/cant-reproduce-ndvi-values/7485>\
**Category:** PIX4Dmapper Questions/Troubleshooting\
**Created:** [November 6, 2018, 8:33am UTC](https://community.pix4d.com/t/cant-reproduce-ndvi-values/7485 "2018-11-06T08:33:54Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marike\_Visser](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@Marike\_Visser](https://community.pix4d.com/u/Marike_Visser)\
**Post date:** [November 6, 2018, 8:33am UTC](https://community.pix4d.com/t/cant-reproduce-ndvi-values/7485/1 "2018-11-06T08:33:54Z")

</div>

Hallo,

I have stitched my Sequoia data with Pix4Dmapper. I am using the values in the generated Red and NIR orthomosaics tiff files to calculate NDVI values. However, when I compared the NDVI values which I get with that of the pixel in the same position of the exported NDVI geoTiff I do not get the same values.

For example

NIR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RED&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Calculated\_NDVI&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exported\_NDVI

39528&nbsp;&nbsp; 11872&nbsp;&nbsp; 0.538054475&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.8469724

12475&nbsp;&nbsp; 9586&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.130955079&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.61869067

31652&nbsp;&nbsp; 30197&nbsp;&nbsp; 0.023525037&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.4404439

&nbsp;

Can you please advise?

Marike

&nbsp;

---

<div class="post-metadata">

**Author:** ![momtanu.chakraborty](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/momtanu.chakraborty/32/269_2.png) [@momtanu.chakraborty](https://community.pix4d.com/u/momtanu.chakraborty)\
**Post date:** [November 6, 2018, 11:27am UTC](https://community.pix4d.com/t/cant-reproduce-ndvi-values/7485/2 "2018-11-06T11:27:36Z")

</div>

Hi Marike,

The orthomosaic maps do not have radiometric correction (they are just irradiance and not corrected for the&nbsp;sunlight, scattering etc) The reflectance maps are generated for NDVI or any other index calculation. If you use&nbsp;the reflectance maps of NIR and red for creating the NDVI, you will get the same results as Pix4D.

---

<div class="post-metadata">

**Author:** ![Marike\_Visser](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@Marike\_Visser](https://community.pix4d.com/u/Marike_Visser)\
**Post date:** [November 6, 2018, 12:37pm UTC](https://community.pix4d.com/t/cant-reproduce-ndvi-values/7485/3 "2018-11-06T12:37:50Z")

</div>

Thanks Momtanu

If the reflectance maps have radiometric correction, why would I see “ghost” images of my GCP checked boards?

---

<div class="post-metadata">

**Author:** ![momtanu.chakraborty](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/momtanu.chakraborty/32/269_2.png) [@momtanu.chakraborty](https://community.pix4d.com/u/momtanu.chakraborty)\
**Post date:** [November 6, 2018, 12:38pm UTC](https://community.pix4d.com/t/cant-reproduce-ndvi-values/7485/4 "2018-11-06T12:38:18Z")

</div>

The reflectance maps are radiometrically corrected. The reflectance maps are generated for each band for a multispectral&nbsp;camera.

Some useful links:&nbsp;[https://support.pix4d.com/hc/en-us/articles/202739409-Reflectance-map-vs-orthomosaic](https://support.pix4d.com/hc/en-us/articles/202739409-Reflectance-map-vs-orthomosaic)

[https://support.pix4d.com/hc/en-us/articles/202558349-Menu-View-Index-Calculator-Sidebar-1-Reflectance-Map](https://support.pix4d.com/hc/en-us/articles/202558349-Menu-View-Index-Calculator-Sidebar-1-Reflectance-Map)

[https://support.pix4d.com/hc/en-us/articles/115002441843-Inputs-and-outputs](https://support.pix4d.com/hc/en-us/articles/115002441843-Inputs-and-outputs) (output folder&nbsp;specified here)

---

<div class="post-metadata">

**Author:** ![jzanelli](https://avatars.discourse-cdn.com/v4/letter/j/b487fb/32.png) [@jzanelli](https://community.pix4d.com/u/jzanelli)\
**Post date:** [February 20, 2020, 1:56pm UTC](https://community.pix4d.com/t/cant-reproduce-ndvi-values/7485/5 "2020-02-20T13:56:52Z")

</div>

I have the same issue.  
I exported each band separately from step 3, so I am not using the reflectance band but the index GREEN NIR RED RED-EDGE and also NDVI. When I compare the results they do not match. Why is it so?  
I need to calculate many more index in my excel. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![momtanu.chakraborty](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/momtanu.chakraborty/32/269_2.png) [@momtanu.chakraborty](https://community.pix4d.com/u/momtanu.chakraborty)\
**Post date:** [February 20, 2020, 7:36pm UTC](https://community.pix4d.com/t/cant-reproduce-ndvi-values/7485/6 "2020-02-20T19:36:27Z")

</div>

@jzanelli which camera are you using? Are you calculating the NDVI from the index maps of each band in excel? To confirm, the values in excel do not match the NDVI map generated by Pix4D.

---

<div class="post-metadata">

**Author:** ![jzanelli](https://avatars.discourse-cdn.com/v4/letter/j/b487fb/32.png) [@jzanelli](https://community.pix4d.com/u/jzanelli)\
**Post date:** [February 20, 2020, 10:12pm UTC](https://community.pix4d.com/t/cant-reproduce-ndvi-values/7485/7 "2020-02-20T22:12:19Z")

</div>

I am using a SEQUOIA. I am exporting each band + NDVI index. Then in excel, I am checking if calculations with the bands match NDVI of pix4d, and they do not.

---

<div class="post-metadata">

**Author:** ![momtanu.chakraborty](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/momtanu.chakraborty/32/269_2.png) [@momtanu.chakraborty](https://community.pix4d.com/u/momtanu.chakraborty)\
**Post date:** [February 20, 2020, 11:18pm UTC](https://community.pix4d.com/t/cant-reproduce-ndvi-values/7485/8 "2020-02-20T23:18:14Z")

</div>

Hi @jzanelli, Can you please upload the quality report, the index map of each band and also the NDVI map for me? It would be good to have a look, you can upload them in google drive and share the link with me. If it is confidential, you can write us a personal support request, with the link to the files.

---

<div class="post-metadata">

**Author:** ![jzanelli](https://avatars.discourse-cdn.com/v4/letter/j/b487fb/32.png) [@jzanelli](https://community.pix4d.com/u/jzanelli)\
**Post date:** [February 28, 2020, 11:50pm UTC](https://community.pix4d.com/t/cant-reproduce-ndvi-values/7485/9 "2020-02-28T23:50:28Z")

</div>

Ok, I will do that. I uploaded in the folder 84546 under NDVI calculation error title. Thanks

---

<div class="post-metadata">

**Author:** ![momtanu.chakraborty](https://sea2.discourse-cdn.com/pix4d/user_avatar/community.pix4d.com/momtanu.chakraborty/32/269_2.png) [@momtanu.chakraborty](https://community.pix4d.com/u/momtanu.chakraborty)\
**Post date:** [February 29, 2020, 2:09am UTC](https://community.pix4d.com/t/cant-reproduce-ndvi-values/7485/10 "2020-02-29T02:09:21Z")

</div>

Hi @jzanelli, I could not reproduce your issue. I checked in Matlab, QGIS and excel, however, the NDVI values from Pix4D matched with the NDVI I generated with NIR and red tif files. Could you let me know how you are converting the tif to csv? If the conversion is not correct, it will mess up the values of the pixels
