Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change easting northing filter to use line fit instead of median #26

Open
bklappauf opened this issue Mar 23, 2014 · 1 comment
Open

Comments

@bklappauf
Copy link

there are still bad navigation points getting through the current filter and I think it is difficult to choose an appropriate threshold when comparing to the median because it will depend on the size of the lake and the length of the line. One option would be to fit a line to the northing easting data for each survey line and filter by distance from the line. Then the threshold is much easier to select since it will represent some presumed maximum variation of the sensor from the survey line during the survey. Also it would be possible to estimate a replacement point on the line if desired instead of Nan.

@wilsaj
Copy link
Contributor

wilsaj commented Jun 16, 2014

In #29 , I used a simple approach of replacing the fixed threshold with 5 * std and it seems to work pretty well. I spent a little bit of thresholding based on a linear fit but the boat tracks are sometimes non-linear near the ends or in shallows, so that assumption throws out a lot of good data, and picking an appropriate neighborhood to sub-select for outliers was tricky. I couldn't get a linear fit to perform better than the 5 stds approach, but I only tried fiddling with various nth order polynomial fits and thresholds on residuals. I'll leave this ticket open in case someone wants to explore it further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants