X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03 Oct 2008 07:39 AM by  anon
Band Ratios
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
03 Oct 2008 07:39 AM
    I have written a simple function to do a band ratios with the aim of expanding it. function RedEdgeModel, b1, b2 result = float(b1/b2) return, result END The problem I have with this code is the result is an image made up of zeros (black) what could be wrong with my code because when I use the band ratios in ENVI-TRANSFORMATION-BAND RATIOS everything work okay.

    Deleted User



    New Member


    Posts:
    New Member


    --
    03 Oct 2008 10:34 AM
    Hello tested with this function: float(b1)/float(b2) greetings. Christian Vargas  

    Deleted User



    New Member


    Posts:
    New Member


    --
    08 Oct 2008 04:04 AM
    Thank you, it worked well. Regards too.
    You are not authorized to post a reply.