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

Add vignette on raster vector interaction #9

Open
lambdamoses opened this issue Aug 17, 2023 · 0 comments
Open

Add vignette on raster vector interaction #9

lambdamoses opened this issue Aug 17, 2023 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@lambdamoses
Copy link
Collaborator

Should go on Voyager website but I put this issue here as it has more to do with SFE than Voyager. The vignette should include:

  1. Convert raster segmentation masks to sf polygons. Also simplify polygons and deal with common causes on invalid polygons. I think the polygon simplification is kind of like significant figures, since I doubt if cell segmentation methods are so accurate or precise at the pixel level. The significant figure aspect should be further investigated. I can mention this in the vignette to inspire others to investigate.
  2. The raster to vector conversion is pretty easy with terra, but can be streamlined with a new function in the SFE package.
  3. Extract data from raster images with vector geometries. Again, easy with terra, just to show new users that it can be done.
@lambdamoses lambdamoses added the documentation Improvements or additions to documentation label Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant