Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spectral Indices - Adding Custom Indices. #67

Open
gtalckmin opened this issue Oct 6, 2020 · 0 comments
Open

Spectral Indices - Adding Custom Indices. #67

gtalckmin opened this issue Oct 6, 2020 · 0 comments

Comments

@gtalckmin
Copy link

Hi @bleutner ,

Is it possible to compute a additional index through (C++), without manually editing the src file spectralIndices.cpp ?
For instance:

NDRE <- (nir - redEdge2 )/ (nir + redEdge2)
 RStoolbox::spectralIndices(raster, green = 1, red=2, redEdge2 = 3, nir = 4 , indices = "NDVI", custom.index = NDRE)

It would be great if this was a functionality.
Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant