As a part of my diploma thesis, i am trying to detect clouds and came up with a code, which takes two images, corrects them, collocates, subtracts and makes the clouds “visible”.
When i go step by step in snap, it works, however, when i try to do it i command line with gpt as one function i get this error:
“Error: java.awt.image.DataBufferUShort cannot be cast to java.awt.image.DataBufferShort”
do you have any suggestions, where the error came out and how to correct it?
snap_error.xml (3.4 KB)