pygmtsar icon indicating copy to clipboard operation
pygmtsar copied to clipboard

[Help]: regression trend removal causing artifacts

Open SteffanDavies opened this issue 1 year ago • 1 comments

Regression method is causing border artifacts:

image

image

Do you recommend any workaround except for increasing chunksize (it is currently 2048)

SteffanDavies avatar Feb 12 '24 17:02 SteffanDavies

You are right: we need to increase the chunksize to have a single chunk for the regression and revert it back later. To prevent performance degradation just filter out low correlation pixels. Typically, 1000 - 10000 pixels are more than enough for robust regression estimation.

AlexeyPechnikov avatar Feb 12 '24 18:02 AlexeyPechnikov