comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Need help to understand the meaning
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Need help to understand the meaning [message #93645] Tue, 20 September 2016 23:08 Go to next message
Suresh Negi is currently offline  Suresh Negi
Messages: 28
Registered: August 2016
Junior Member
pos = [0,0]
exp='BYTE((b1 EQ 1 AND b2 EQ 1 )*0 + BYTE(b1 EQ 1 AND b2 EQ 0 )*1)'
mathband_fid = [water_mask_fid, vegetation_mask_fid]


Please help me in understanding the exp.

Thank You.
Re: Need help to understand the meaning [message #93652 is a reply to message #93645] Wed, 21 September 2016 06:40 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Wednesday, September 21, 2016 at 2:08:04 AM UTC-4, Sanu wrote:
> pos = [0,0]
> exp='BYTE((b1 EQ 1 AND b2 EQ 1 )*0 + BYTE(b1 EQ 1 AND b2 EQ 0 )*1)'
> mathband_fid = [water_mask_fid, vegetation_mask_fid]

It's partly redundant. Probably the author wanted the option of looking one case where both B1 and B2 were true (=1), and another case where B1 is true and B2 is false.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Meaning of the expression
Next Topic: Shade areas in POLAR_CONTOUR

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 07:16:33 PDT 2025

Total time taken to generate the page: 0.00374 seconds