# Export NDVI map

**URL:** <https://community.pix4d.com/t/export-ndvi-map/7370>\
**Category:** PIX4Dmapper Questions/Troubleshooting\
**Created:** [October 14, 2018, 1:05am UTC](https://community.pix4d.com/t/export-ndvi-map/7370 "2018-10-14T01:05:22Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rodrigo\_Aguilera](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@Rodrigo\_Aguilera](https://community.pix4d.com/u/Rodrigo_Aguilera)\
**Post date:** [October 14, 2018, 1:05am UTC](https://community.pix4d.com/t/export-ndvi-map/7370/1 "2018-10-14T01:05:22Z")

</div>

Hello

I aim to be able to count the trees (pine) within an area.  
take the flight with an inspire1 + a RedEdge-M camera from Micasense.

I do the process, I calibrate the images and everything goes well up there.  
when I want to export the data I export all the bands separately and I also export the NDVI Index, but when I take it to other analysis software such as Arcgis I see the monochromatic NDVI layer, I can not see it in color to start the classification process.

Please I need some guidance I am a novice in this.

Thank you.

---

<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:** [October 15, 2018, 8:48pm UTC](https://community.pix4d.com/t/export-ndvi-map/7370/2 "2018-10-15T20:48:07Z")

</div>

Hi Rodrigo,

You will need to export the color index map:&nbsp;[https://support.pix4d.com/hc/en-us/articles/202560539-How-to-generate-a-Colored-Index-Map-in-the-Index-Calculator](https://support.pix4d.com/hc/en-us/articles/202560539-How-to-generate-a-Colored-Index-Map-in-the-Index-Calculator). It will generate tif, jpg, png and also the color&nbsp;scale in a pdf file and will be stored in\_. **…\project\_name\4\_index** \indices\_\_\INDEX\_NAME.\_ The name of the files will be projectName\_rgba\_ndvi.format.

---

<div class="post-metadata">

**Author:** ![Joseph\_Oakes](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@Joseph\_Oakes](https://community.pix4d.com/u/Joseph_Oakes)\
**Post date:** [February 1, 2019, 4:29pm UTC](https://community.pix4d.com/t/export-ndvi-map/7370/3 "2019-02-01T16:29:25Z")

</div>

Hello Momtanu

We were following what you explained to this gentleman some time ago.

The color index map in Pix4D is showing the NDVI values as they were when corrected using the spectrometer in field.

But when I export this color index map and reopen it in ArcGIS, I obtain an image with different RGB bands and not nir, green and red bands as called in Pix4D, and on top of that, they do not contain NDVI values but just the bands with values from 0 to 255.

How do I correct that?

Thank you

&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:** [February 2, 2019, 12:48am UTC](https://community.pix4d.com/t/export-ndvi-map/7370/4 "2019-02-02T00:48:41Z")

</div>

Hi Joseph,

The colored index map is exported as tif, png and jpg, but it is only for visualization&nbsp;(in case you want to add it in a presentation). It will be a RGB image. However, if you want to use it for further analysis&nbsp;in ArcGIS&nbsp;or QGIS, you will have to use the&nbsp;file generated by Pix4D in the output folder (for example, Sequoia\_demo\_dataset\4\_index\indicesdvi\Sequoia\_demo\_dataset\_index\_ndvi.tif). It will show up as a monochromatic layer in QGIS in grayscale as it is a single band (NDVI having values from -1 to 1). You&nbsp;will have to colorize it in QGIS itself.

---

<div class="post-metadata">

**Author:** ![Joseph\_Oakes](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@Joseph\_Oakes](https://community.pix4d.com/u/Joseph_Oakes)\
**Post date:** [February 5, 2019, 1:08pm UTC](https://community.pix4d.com/t/export-ndvi-map/7370/5 "2019-02-05T13:08:54Z")

</div>

Hello&nbsp;

Thank you for your answer.

We are doing a calibration using a spectrometer which allow us to correct the NDVI regular equation using the value of white and shades of grey measured with the spectrometer in field at the time of flying. As this correction is done once the orthomosaic is already created, I doubt that this correction is present on the orthomosaic present in the output folder, and I fear it will be the original orthomosaic uncorrected. Am I right?

When I export the colored index map as a tif, it is indeed in “RGB” (I don’t know if it is a regular RGB or if ArcGIS is calling the bands RGB but they would represent the real nir, red, green bands). I was wondering if the band values for each pixel would be corrected using the equation from Pix4D (as compared to the images in the output folder), and then, we can use the equation calculator in ArcGIS to calculate the NDVI value with the regular NDVI equation. I tried in ArcGIS to use the corrected equation provided by Pix4D following the use of the spectrometer directly on the original orthomosaic from the output folder, but it doesn’t work.

---

<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 8, 2019, 12:08am UTC](https://community.pix4d.com/t/export-ndvi-map/7370/6 "2019-02-08T00:08:02Z")

</div>

Hi Joseph,

If the images have not been radiometrically calibrated before and the images are the raw images from the camera, the orthomosaic produced by Pix4D would be uncorrected.&nbsp;

The colored index map is just RGB with the values of red, green and blue for that colored map. I mean each pixel has a combination of red, green, blue to get that particular NDVI&nbsp;color of the pixel.

After getting&nbsp;the orthomosaic of each band, you can correct them with your equation. Are you not using the radiometric panel or the DLS sensor from Sequoia?

---

<div class="post-metadata">

**Author:** ![Joseph\_Oakes](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@Joseph\_Oakes](https://community.pix4d.com/u/Joseph_Oakes)\
**Post date:** [February 15, 2019, 6:24pm UTC](https://community.pix4d.com/t/export-ndvi-map/7370/7 "2019-02-15T18:24:08Z")

</div>

Hello,&nbsp;

We are indeed using radiometric panel (panel with shades from white to dark greys) and use a spectrometer to measure the reflectance on this panel. We do that at the same time we are flying our tetracam.

When back to the llab, we create the orthomosaic on uncorrected NDVI raw images (and it was advised to correct the orthomosaic and not the raw images). Once we have the orthomosaic, we use the calibration tool, to enter the data from the spectrometer, create an NDVI equation corrected for the reflectance, and apply it to create the “corrected” NDVI orthomosaic.

The idea is now to export this corrected orthomosaic as geotiff, so I can open it on ArcGIS and proceed to the rest of my analysis.

Can you explain me the steps to do so?

Thanks&nbsp;

---

<div class="post-metadata">

**Author:** ![Joseph\_Oakes](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@Joseph\_Oakes](https://community.pix4d.com/u/Joseph_Oakes)\
**Post date:** [February 18, 2019, 2:24pm UTC](https://community.pix4d.com/t/export-ndvi-map/7370/8 "2019-02-18T14:24:38Z")

</div>

Hello,&nbsp;

We are indeed using radiometric panel (panel with shades from white to dark greys) and use a spectrometer to measure the reflectance on this panel. We do that at the same time we are flying our tetracam.

When back to the llab, we create the orthomosaic on uncorrected NDVI raw images (and it was advised to correct the orthomosaic and not the raw images). Once we have the orthomosaic, we use the calibration tool, to enter the data from the spectrometer, create an NDVI equation corrected for the reflectance, and apply it to create the “corrected” NDVI orthomosaic.

The idea is now to export this corrected orthomosaic as geotiff, so I can open it on ArcGIS and proceed to the rest of my analysis.

Can you explain me the steps to do so?

Thanks&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:** [February 20, 2019, 12:49am UTC](https://community.pix4d.com/t/export-ndvi-map/7370/9 "2019-02-20T00:49:11Z")

</div>

Hi Joseph,&nbsp;

I hope I have understood this correctly 🙂 You are creating the NDVI equation along with radiometric calibration&nbsp;in some&nbsp;other tool and then using the index calculator to generate the index. You can export the index as geotiff and open it in ArcGIS. I have attached two screenshots. I have created an index named RG=R/G and exported it as geotiff.

&nbsp;

---

<div class="post-metadata">

**Author:** ![Joseph\_Oakes](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@Joseph\_Oakes](https://community.pix4d.com/u/Joseph_Oakes)\
**Post date:** [February 20, 2019, 4:23pm UTC](https://community.pix4d.com/t/export-ndvi-map/7370/10 "2019-02-20T16:23:03Z")

</div>

Hello,&nbsp;

So it is exactly what we want to do and globally what I was mentioning we did. That is the method we tried, but when I open the raster in ArcGIC, I obtain a RGB type of raster, with the 3 bands R, G, and B, instead of the NDVI values from -1 to +1 as expected (and present into the index map raster in Pix4D). I will retry again and let you posted.

thanks
