Select to view content in your preferred language

NDVI function in Python

2754
2
06-06-2013 05:51 AM
Elvis_de_JesúsDurán_Sierra
Emerging Contributor
Hi everyone!
I want to know if it is possible to call the NDVI function that is inside the Image analysis window of Arcmap 10.1 from a python script.
I have the following questions:
1. If it is possible, how can I call that function inside a python script???
2. Is it possible to access the source code of that function???

Regards.
Elvis Duran
Tags (2)
0 Kudos
2 Replies
ChristopherBlinn1
Deactivated User
Elvis,

I am not sure about the abilities for importing the function in python, however there was this post in technical blog that may be of assistance.

Hope this help!

Best,
Chris B.
0 Kudos
ChrisPedrezuela
Frequent Contributor
Or you could look into functions like RasterToNumPyArray(arcpy).
0 Kudos