You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The shorelines are currently only determined from the MNDW, and that the pixel classification is used to determine the threshold. The MNDW may not be relevant in all cases. Further, we may want to consider the vegetation/beach interface as shoreline to avoid the noise related to tides. This interface cannot be accurately captured using the MNDW.
I added a setting option to not use the MNDWI to extract shorelines but instead use the interface between user-specified classes as shoreline:
Interface sand / whitewater+water
Interface sand/other
Let me know if you are interested in a merge request
The text was updated successfully, but these errors were encountered:
sebbelese
changed the title
How is surface classification related to shoreline detection?
Possibility to use interface between user-specified classes as shoreline
Aug 10, 2023
yes you can add in pull request, pls make sure it is in a separate function that can be called instead of extract_shorelines() and then document it. It's best if you merge your changes with the development branch. thanks a lot for your contribution
@sebbelese It's really cool. I'm interested in this. Can you tell me how this is achieved and can you share files?
Hello,
I did not initiate the pull request initially because I did not implement it following kvos' requirements, and I was not working on this project anymore at that time.
Edit : Unfortunately, I do not have access to the code anymore, it was from my previous job.
The technique was quite simple: filling with zeros all the classes that should be on one side, filling with ones all the classes on the other side, the define the boundary between zeros and ones.
The shorelines are currently only determined from the MNDW, and that the pixel classification is used to determine the threshold. The MNDW may not be relevant in all cases. Further, we may want to consider the vegetation/beach interface as shoreline to avoid the noise related to tides. This interface cannot be accurately captured using the MNDW.
I added a setting option to not use the MNDWI to extract shorelines but instead use the interface between user-specified classes as shoreline:
Interface sand / whitewater+water
![image](https://private-user-images.githubusercontent.com/16559668/256517503-6b02872d-517c-4e25-b201-bfc6eb44f143.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMTY5MDksIm5iZiI6MTcyNDAxNjYwOSwicGF0aCI6Ii8xNjU1OTY2OC8yNTY1MTc1MDMtNmIwMjg3MmQtNTE3Yy00ZTI1LWIyMDEtYmZjNmViNDRmMTQzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDIxMzAwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU5NjRiYmM4NjNjYmQ1ZDZlNTE1ODRmZmMxNjhjNTkzODQzZTZmNjM5YTI4NGU3MmRjNGNjOGE1MmYzMzJlMjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.k1HTOE6rlvobOf49w1wi-0ORXTa0Lgu1F--jpdWwcTk)
Interface sand/other
![image](https://private-user-images.githubusercontent.com/16559668/256517811-b2575585-7c2c-48d6-9426-62541a9c78e1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMTY5MDksIm5iZiI6MTcyNDAxNjYwOSwicGF0aCI6Ii8xNjU1OTY2OC8yNTY1MTc4MTEtYjI1NzU1ODUtN2MyYy00OGQ2LTk0MjYtNjI1NDFhOWM3OGUxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDIxMzAwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdkNzIwMTMwNzZhYWU1NDlhYzNkYzU3ZWQ4NmQ2MGRmOTBkYjI4NmM1YTBhYjY2OWM2NTAwOGM5MjMxNjA2ODgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.I8nLAVua1ptbDSoLba9H85iWmMbJNEmLAw6cRy20TTw)
Let me know if you are interested in a merge request
The text was updated successfully, but these errors were encountered: