fMRI-to-Image Reconstruction Project
Research-Level Neural Decoding Documentation
This directory contains comprehensive documentation for the fMRI-to-Image reconstruction pipeline, organized by purpose and audience.
| Document | Purpose | Audience |
|---|---|---|
| Quick Start Guide | Get started in <5 minutes | New users, researchers |
| Usage Examples | Comprehensive command reference | All users |
| README | Project overview & setup | GitHub visitors |
Step-by-step tutorials for common tasks
-
Getting Started
GETTING_STARTED_DIFFUSION.md- Introduction to diffusion-based reconstructionQUICK_START.md- Rapid setup and first experiments
-
Training Guides
ADAPTER_TRAINING_GUIDE.md- CLIP adapter training workflowRIDGE_BASELINE.md- Ridge regression baseline setupMLP_IMPLEMENTATION.md- MLP encoder implementation
-
Evaluation & Analysis
EVALUATION_SUITE_GUIDE.md- Comprehensive evaluation toolsREPORTING_RECONSTRUCTION.md- Generating reports and visualizationsGALLERY_SUPPORT.md- Creating image galleries
System design and component specifications
-
Overview Documents
MODULARIZATION_COMPLETE.md- Module organization and structureDIFFUSION_DECODER.md- Diffusion model integration architecture
-
Component Specifications
- Model architectures (Ridge, MLP, Two-Stage, Adapter)
- Data pipeline design
- Preprocessing modules
- Evaluation framework
Implementation details and troubleshooting
-
Configuration
OPTIMAL_CONFIGURATION_GUIDE.md- Best practices for hyperparametersADAPTER_METADATA_SUMMARY.md- Adapter configuration reference
-
Data Management
NSD_Dataset_Guide.md- Natural Scenes Dataset structureDATA_VALIDATION_REAL_VS_FALLBACK.md- Data validation proceduresUPGRADE_TO_30K_SAMPLES.md- Scaling to full datasetGET_ALL_SAMPLES_GUIDE.md- Complete sample retrieval
-
Advanced Topics
DIFFUSION_ROBUSTNESS.md- Robustness techniques for diffusion modelsMANUAL_MODEL_DOWNLOAD.md- Manual model weight managementPREVENTING_MODEL_DOWNLOAD_BLOCKING.md- Offline model usage
- Start with
RIDGE_BASELINE.mdfor simplest approach - Progress to
MLP_IMPLEMENTATION.mdfor neural encoders - See
ADAPTER_TRAINING_GUIDE.mdfor diffusion integration
- Read
EVALUATION_SUITE_GUIDE.mdfor overview - Use
REPORTING_RECONSTRUCTION.mdfor generating reports - Check
GALLERY_SUPPORT.mdfor visual comparisons
- Start with
MODULARIZATION_COMPLETE.mdfor structure - Review
DIFFUSION_DECODER.mdfor reconstruction pipeline - See component-specific docs in
architecture/
- Check
NSD_Dataset_Guide.mdfor data problems - See
OPTIMAL_CONFIGURATION_GUIDE.mdfor config issues - Review
DATA_VALIDATION_REAL_VS_FALLBACK.mdfor validation
- Use clear, concise language appropriate for research audience
- Include code examples with expected outputs
- Provide performance benchmarks where applicable
- Cross-reference related documentation
# Title
**Brief description (1-2 sentences)**
## Overview
[High-level explanation]
## Prerequisites
[Required knowledge/setup]
## Detailed Guide
[Step-by-step instructions]
## Examples
[Concrete usage examples]
## Troubleshooting
[Common issues and solutions]
## References
[Related docs and citations]- Use syntax highlighting
- Include expected outputs
- Provide performance metrics (runtime, memory)
- Show both minimal and production examples
- Major changes: Increment version in doc header
- Keep deprecated sections with deprecation notices
- Archive outdated docs in
docs/archive/
- Technical accuracy: Test all code examples
- Clarity: Ensure understandability by target audience
- Completeness: Cover prerequisites, steps, and troubleshooting
- Currency: Update with API/implementation changes
- Allen et al. (2022) - Natural Scenes Dataset (NSD)
- Radford et al. (2021) - CLIP: Learning Transferable Visual Models
- Rombach et al. (2022) - High-Resolution Image Synthesis with Latent Diffusion
- Choose appropriate category (
guides/,architecture/,technical/) - Follow the structure template above
- Add entry to this README
- Cross-reference in related documents
- Test all code examples
- Maintain backward compatibility notes
- Update cross-references
- Increment version number
- Note changes in commit message
- Code examples tested and working
- Cross-references verified
- Follows style guide
- Appropriate for target audience
- Performance metrics included (if applicable)
- Troubleshooting section complete
For questions not covered in documentation:
- Check GitHub Issues
- Review Usage Examples
- Open a new issue with reproducible example
Last Updated: December 7, 2025
Maintainer: Bachelor Thesis Project
Status: Active Development