ODM icon indicating copy to clipboard operation
ODM copied to clipboard

enquire suggestions about the mosaic of NDVI

Open xialang2012 opened this issue 11 years ago • 14 comments

Hi everyone,

I used the OpenDroneMap to process the true color image, and it worked well when the quality of images is good. Recently I bought a near-infrared camera which owns green band, red band, blue band and near-infrared band. What I hope to obtain is the mosaic (orthophoto) NDVI images which is calculated by the following equation (1) NDVI = (Nir-R)/(Nir+R) in the equation, Nir is the reflectance of the near-infrared band, R is the reflectance of the Red band. Currently, I have one ideas to hand the mosaic work. The first step is calculate the NDVI by using the equation (1), and then use the NDVI images as the input images. However, the equation (1) is not a linear transformation, and especially when the vegetation grows well, the NDVI images usually can not be matched well by the current image recognition algorithms, such as sift, harris etc.

So, I wonder if I can process the RGB images first and record the relationships between the images, and then calculate NDVI for each images, and use those relationships to mosaic the NDVI images?

Thanks all of you.

xialang2012 avatar Oct 10 '15 07:10 xialang2012

As you surmised, you would mosaic first and then calculate NDVI, otherwise feature extraction could be problematic.

smathermather avatar Oct 10 '15 11:10 smathermather

@smathermather Yeah, but the mosaic results between the Red image and Nir images may be different, for the image features for those two band is different.

xialang2012 avatar Oct 10 '15 14:10 xialang2012

@xialang2012 -- that's true for any two bands. Is it especially so between NIR and the other bands?

smathermather avatar Oct 14 '15 01:10 smathermather

@smathermather Yes, there are many difference between NIR and Red bands. I wonder how the other commercial softwares, e.g. Pix4d achieve these functions.

xialang2012 avatar Oct 15 '15 01:10 xialang2012

My hunch is that the differences between the bands don't matter much, insofar as finding any static features to match in any bands or combination of bands is all that is needed.

If there is substantial differences in bidirectional reflectance distribution function ( https://en.wikipedia.org/wiki/Bidirectional_reflectance_distribution_function#Related_functions ) or other anisotropy between bands sufficient to result in non-static features where otherwise features could be matched, then it's an issue. But, I suspect for most use cases, the differences can be ignored.

That said, I'd love to see counter examples, especially in a CIR video feed which demonstrate between band anisotropy which shifts or changes features shape such that matches are impossible. My mental model could be quite wrong!

smathermather avatar Oct 15 '15 01:10 smathermather

@smathermather I will used the Red and Nir band images to try it later. By the way, I found the SURF feature match algorithm is fast than SIFT in the OpenCV library. Can we replace SIFT with SURF in the OpenDroneMap?

xialang2012 avatar Oct 15 '15 01:10 xialang2012

I've read that SURF, while faster, detects fewer features and has fewer matches. I'm not sure we want to trade speed for lower effectiveness.

dakotabenjamin avatar Oct 16 '15 12:10 dakotabenjamin

It is true that SURF detects fewer features that SIFT. So far, the most efficient mosaic software I have used is ICE from Microsoft. But Microsoft did not show enough detail information about the algorithm used in the ICE.

https://social.microsoft.com/Forums/en-US/889b4450-6666-4232-abe6-746c2d199677/ice-algorithm?forum=ice

xialang2012 avatar Oct 18 '15 12:10 xialang2012

@xialang2012 -- let me know if this issue needs reopened.

smathermather avatar Nov 23 '15 20:11 smathermather

@xialang2012 I'm also trying to get NDVI images from OpenDroneMap. Please help if you have successfully complete. Please share

Sharathmk99 avatar Jul 16 '16 20:07 Sharathmk99

@Sharathmk99 Sorry, not yet.

xialang2012 avatar Jul 18 '16 01:07 xialang2012

Hi @Sharathmk99 -- can you explain more what you are trying to do?

smathermather avatar Jul 18 '16 13:07 smathermather

@xialang2012, @smathermather - Just checking in again to see how we can succeed with creating NDVI maps with ODM? Is there any plugin or code completed by now that you can point me to?

hblanken avatar Jan 24 '17 08:01 hblanken

This is related to #190 , did you see that?

LucasMM86 avatar Jan 24 '17 12:01 LucasMM86