New answers tagged


The BYTSCL rescales your output from -1 to 1 -> 0 to 255. Remove that last bit, and you don't have your problem. BYTSCL is usually used for minimizing storage and bandwidth requirements associated with displaying data online. If you want to make sure that you do not have values below -1 and above 1, you can use this function: (float(b1) lt ...

Top 50 recent answers are included