# digitalholography/holodopplermatlab architecture

> Architecture diagram of the GitHub repository digitalholography/holodopplermatlab, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/digitalholography/holodopplermatlab
- Repository: https://github.com/digitalholography/holodopplermatlab

## Overview

HoloDoppler is a MATLAB application for analyzing time fluctuations in holographic images. The documented workflow is to select .holo/.cine files, configure parameters, preview or batch-render them, and obtain power-Doppler or spectral-moment images. The tree shows distinct reader, rendering, image-analysis, and saving subsystems, but no source excerpts were provided; links between those implementation components are therefore omitted unless the README explicitly documents them.

Main entry points: [`RenderingClass.m`](https://github.com/digitalholography/holodopplermatlab/blob/main/RenderingClass.m) (Rendering), [`launchBatch.m`](https://github.com/digitalholography/holodopplermatlab/blob/main/launchBatch.m) (Batch launcher), [`FolderManagement/FolderManagementUI.m`](https://github.com/digitalholography/holodopplermatlab/blob/main/FolderManagement/FolderManagementUI.m) (Folder management), [`Interface/getFileParameters.m`](https://github.com/digitalholography/holodopplermatlab/blob/main/Interface/getFileParameters.m) (Parameter files)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["User workflow"]
  node_batch["Batch launcher<br/>[launchBatch.m]"]
  node_folder["Folder management"]
end

subgraph group_inputs["Inputs and configuration"]
  node_holo["Holo reader<br/>[HoloReader.m]"]
  node_cine["Cine reader<br/>[CineReader.m]"]
  node_parameters["Parameter files"]
end

subgraph group_analysis["Rendering and analysis"]
  node_rendering["Rendering<br/>[RenderingClass.m]"]
end

subgraph group_results["Image outputs"]
  node_doppler["Power Doppler<br/>[moment0.m]"]
  node_moments["Spectral moments<br/>[moment1.m]"]
  node_saving["Image and video export<br/>[generate_image.m]"]
end

node_user(("Operator"))

node_user -->|"starts batch"| node_batch
node_user -->|"selects files"| node_folder
node_user -->|"selects config"| node_parameters
node_folder -->|"requests render"| node_rendering
node_batch -->|"starts rendering"| node_rendering
node_rendering -->|"produces output"| node_doppler
node_rendering -->|"produces output"| node_moments

click node_batch "https://github.com/digitalholography/holodopplermatlab/blob/main/launchBatch.m"
click node_folder "https://github.com/digitalholography/holodopplermatlab/blob/main/FolderManagement/FolderManagementUI.m"
click node_holo "https://github.com/digitalholography/holodopplermatlab/blob/main/ReaderClasses/HoloReader.m"
click node_cine "https://github.com/digitalholography/holodopplermatlab/blob/main/ReaderClasses/CineReader.m"
click node_parameters "https://github.com/digitalholography/holodopplermatlab/blob/main/Interface/getFileParameters.m"
click node_rendering "https://github.com/digitalholography/holodopplermatlab/blob/main/RenderingClass.m"
click node_doppler "https://github.com/digitalholography/holodopplermatlab/blob/main/Imaging/moment0.m"
click node_moments "https://github.com/digitalholography/holodopplermatlab/blob/main/Imaging/moment1.m"
click node_saving "https://github.com/digitalholography/holodopplermatlab/blob/main/Saving/generate_image.m"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_batch,node_folder toneBlue
class node_holo,node_cine,node_parameters toneAmber
class node_rendering toneMint
class node_doppler,node_moments,node_saving toneRose
class node_user toneIndigo
```

## Components

### User workflow

- [Batch launcher](https://github.com/digitalholography/holodopplermatlab/blob/main/launchBatch.m): `launchBatch.m`
- [Folder management](https://github.com/digitalholography/holodopplermatlab/blob/main/FolderManagement/FolderManagementUI.m): `FolderManagement/FolderManagementUI.m`

### Inputs and configuration

- [Holo reader](https://github.com/digitalholography/holodopplermatlab/blob/main/ReaderClasses/HoloReader.m): `ReaderClasses/HoloReader.m`
- [Cine reader](https://github.com/digitalholography/holodopplermatlab/blob/main/ReaderClasses/CineReader.m): `ReaderClasses/CineReader.m`
- [Parameter files](https://github.com/digitalholography/holodopplermatlab/blob/main/Interface/getFileParameters.m): `Interface/getFileParameters.m`

### Rendering and analysis

- [Rendering](https://github.com/digitalholography/holodopplermatlab/blob/main/RenderingClass.m): `RenderingClass.m`

### Image outputs

- [Power Doppler](https://github.com/digitalholography/holodopplermatlab/blob/main/Imaging/moment0.m): `Imaging/moment0.m`
- [Spectral moments](https://github.com/digitalholography/holodopplermatlab/blob/main/Imaging/moment1.m): `Imaging/moment1.m`
- [Image and video export](https://github.com/digitalholography/holodopplermatlab/blob/main/Saving/generate_image.m): `Saving/generate_image.m`

### Other components

- **Operator**

## Connections

- Operator → Batch launcher: starts batch (evidence: `README.md`)
- Operator → Folder management: selects files (evidence: `README.md`)
- Operator → Parameter files: selects config (evidence: `README.md`)
- Folder management → Rendering: requests render (evidence: `README.md`)
- Batch launcher → Rendering: starts rendering (evidence: `README.md`)
- Rendering → Power Doppler: produces output (evidence: `README.md`)
- Rendering → Spectral moments: produces output (evidence: `README.md`)
