bfast icon indicating copy to clipboard operation
bfast copied to clipboard

ns and NS-ns thresholds

Open Carolina710 opened this issue 3 years ago • 2 comments

Hello Dmitry!

Thanks for the new commits! 👍

In the meantime, I found something that I think you know, but I would like to share.

For pixels that have few useful time samples, as you know, in Python they are treated with the condition: image

From some results I obtained with Tile_1 data, I found some discrepancies in the results for magnitudes in Python vs OpenCL: image Where magnsPB is magnitudes in Python and magnsCLB is magnitudes in OpenCL, with a MSE (mean squared error) of 142647860.0.

This is the plot for the magnitudes <=0: image

As we know, the algorithms are different so the results, but I managed to get some better results when I applied the same condition in OpenCL, after returning detailed results. Something like: image

Namely, for this particular example, I like to use threshold 9 instead of 5. I obtained the results: image

image With a MSE of 0.30474687.

Do you think it is a good idea for the user to choose the value for the condition?

It's just an idea, not a big problem if we have good data to process.

Thank you!

Carolina710 avatar Dec 01 '20 17:12 Carolina710