mzarowka / hsitools Goto Github PK
View Code? Open in Web Editor NEWHyperspectral core scanning data processing in R
Home Page: https://mzarowka.github.io/HSItools/
License: Other
Hyperspectral core scanning data processing in R
Home Page: https://mzarowka.github.io/HSItools/
License: Other
Stack plots in a row, using patchwork
Add a page or section where the user can input human-readable metadata, like the one below. Then, dump it into the rds and Quarto document and render it to HTML/PDF at the end.
Automatically write/store output of run_core() to .rds and script?
Get rois recorded in GIS software, read into session and overwrite shiny app output, or use in functions.
Save profile data to file
The last terra version fully compatible with Shiny was 1.7-46, later versions throw an error when displaying plots in shiny.
Vignette on calculation of hyperspectral indices from the processed data.
Hunt down and remove rgdal
dependencies - archived on cran as 1.6-7
Temporary bypass to install
remotes::install_version("rgdal", version = "1.6-7", repos = "http://cran.us.r-project.org")
What if files come from either a) an older version of the Specim scanner, b) an entirely different manufacturer, or c) strange magic made it a non-typical, chaotic structure? Can we let users choose DARK/WHITE/CAPTURE files at the first step in Shiny?
Prepare vignette for data normalization.
If files are listed and subset by position, some filenames (e.g. starting with W) mess up the workflow. Work on names, rather than position.
run_core()
allows proceeding without any layers selected, throwing an error later in prepare_core()
, default to all?
Add λREMP index calculation from Ghanbari et al., 2023.
From calibrated pixels, use true top and true bottom to assign actual depths.
Using internal HSItools:::rois_to_vect()
coerce "analysisRegions" to terra SpatVectors before shiny session ends.
Add option to process only ROIs, either roi selection screen of first screen.
Read metadata from header files and provide a nice output for user.
Calibrate pixel depth from tape measurement.
Example data won't load if the package is installed and called from a non-dev environment.
Plot image of the core and or ROIs
Write options to the same directory as processed core is
Generalize prepare_core()
so it accepts path to normalize full capture.
Add calculation of derivatives and amplitudes.
The second shiny dashboard is where reflectance can be loaded and displayed, and plots and spectral maps are displayed as the user changes the brush.
Add an option to remove recorded rois in shiny?
Save processing details to reprocess and modify the settings later.
Provide three modes for RABD calculations:
Add ROI overlays to plots
Following the napari-sediment (python workflow) create standalone documentation.
Future release on CRAN makes it hard to create rich documentation with numerous figures such as screenshots etc.
Documentation developed with Quarto is available here: https://mzarowka.quarto.pub/hsitools/ with GitHub repo https://github.com/mzarowka/HSItools-documentation
Get mean values of selected proxies from selection.
Function to plot SpatRaster with spectral maps
Add RABA calculation function.
Prepare alternative workflow for large SpatRasters from the newer hyperspectral cameras to avoid memory allocation errors.
General vignette on data plotting.
When adding many ROIs, the lower portion of the table becomes cutoof from view
The path stored in .rds is an absolute path, leading to reprocessing issues when the directory structure is changed.
Vignette on filtering, spectral smoothing etc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.