User Guide¶
Comprehensive documentation for using Hyperseed's features and workflows.
Overview¶
This user guide covers all aspects of hyperspectral seed analysis with Hyperseed, from data preparation to advanced workflows.
Topics¶
-
Learn about expected data structure and ENVI format requirements
-
Understand spectral preprocessing methods and when to use them
-
Explore segmentation algorithms and optimize seed detection
-
Process multiple datasets efficiently
-
Solutions to common issues and error messages
Typical Workflows¶
Basic Workflow¶
graph LR
A[Prepare Data] --> B[Run Analysis]
B --> C[Review Plots]
C --> D[Export Results]
- Ensure data is in correct format
- Run analysis with
--export-plots - Review segmentation quality
- Export final results
Advanced Workflow¶
graph LR
A[Prepare Data] --> B[Test Config]
B --> C{Satisfied?}
C -->|No| D[Adjust Settings]
D --> B
C -->|Yes| E[Batch Process]
E --> F[Export Results]
- Prepare data and create configuration
- Test on single dataset
- Iteratively adjust preprocessing and segmentation
- Batch process all datasets
- Export and analyze results
Best Practices¶
For Best Segmentation¶
- Use minimal preprocessing for segmentation
- Set appropriate min_pixels based on seed size
- Enable outlier removal to filter artifacts
- Use watershed algorithm for touching seeds
- Always review plots first before batch processing
For Spectral Analysis¶
- Apply appropriate preprocessing (SNV, smoothing, derivatives)
- Use calibrated data (not preprocessed data) for final spectra
- Check for bad pixels in reference images
- Validate wavelength calibration in header files
- Document preprocessing steps for reproducibility
Common Use Cases¶
Use Case 1: Quick Seed Count¶
Result: CSV with seed count and basic morphology
Use Case 2: Detailed Spectral Analysis¶
hyperseed analyze dataset/sample_001 \
--output results.csv \
--preprocess advanced \
--export-plots
Result: CSV with preprocessed spectra + visualization plots
Use Case 3: Production Batch Processing¶
Result: Consistent analysis across all datasets
Need More Help?¶
- Quick answers: Check Troubleshooting
- Command details: See CLI Reference
- API usage: See API Reference
- Report bugs: GitHub Issues