summaryrefslogtreecommitdiffstats
path: root/petascope/test/testcases-wcps/04-vegetation_index.test
blob: a6b69d4ac0e9673b4b3627223a9482755b09cdd6 (plain)
1
for c in ( rgb ) return encode((char) ( ((c.0 / ((float)c.0 + c.1))-(c.1 / ((float)c.0 + c.1))) > 0.6 ) * 255, "png" )