X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 25 Mar 2016 03:31 PM by  anon
Differences between > and GT or < and LW
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
25 Mar 2016 03:31 PM
    Hi everyone, I am trying to use the where function and i have found a dilema. My results are differents if i use the > than if i use GT. I had read the IDL online help but i don't understand the difference. I think where I use the > symbol, the values lower than the condition are set equal to the condition and with GT the values lower than the condition are ignored, isn't it? Thank you in advice.

    Deleted User



    New Member


    Posts:
    New Member


    --
    08 Apr 2016 11:42 AM
    Hi, I don't use the '>' symbolic version much, but I do use the GT and friends (EQ, GE, LT...) quite a bit and its my understanding that the character version returns a true/false. The example I'm thinking of is if you have a float image and you give it 'b1 gt 0.5', the result will be a binary image with all pixels that met the condition as 1 and all that failed as 0. I hope that helps a bit. Laura
    You are not authorized to post a reply.