# weitan1992/nsst-msmg-pcnn architecture

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

- Interactive diagram: https://gitdiagram.com/weitan1992/nsst-msmg-pcnn
- Repository: https://github.com/weitan1992/nsst-msmg-pcnn

## Overview

This is research code for multimodal medical image fusion using the NSST-MSMG-PCNN algorithm; README identifies `script.m` as its demo. The tree names fusion, PCNN, morphology, and NSST components, but their source was not sampled, so their detailed call sequence cannot be verified. The dashed link marks the likely demo-to-algorithm relationship, not a verified call.

Main entry points: [`script.m`](https://github.com/weitan1992/nsst-msmg-pcnn/blob/master/script.m) (Demo script), [`fusion_NSST_MSMG_PCNN.m`](https://github.com/weitan1992/nsst-msmg-pcnn/blob/master/fusion_NSST_MSMG_PCNN.m) (Fusion algorithm)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_demo["Demo"]
  node_demo_script["Demo script<br/>[script.m]"]
end

subgraph group_fusion["Fusion algorithm"]
  node_fusion_entry["Fusion algorithm"]
  node_pcnn["PCNN parameters"]
  node_morphology["Multiscale morphology<br/>[multiscale_morph.m]"]
end

subgraph group_transforms["Transform and filtering"]
  node_nsst["NSST toolbox"]
  node_atrous["Atrous convolution<br/>[atrousc.c]"]
end

node_researcher(("Researcher"))

node_researcher -->|"runs demo"| node_demo_script
node_demo_script -.->|"likely invokes"| node_fusion_entry

click node_demo_script "https://github.com/weitan1992/nsst-msmg-pcnn/blob/master/script.m"
click node_fusion_entry "https://github.com/weitan1992/nsst-msmg-pcnn/blob/master/fusion_NSST_MSMG_PCNN.m"
click node_pcnn "https://github.com/weitan1992/nsst-msmg-pcnn/blob/master/PCNN_withParameters.m"
click node_morphology "https://github.com/weitan1992/nsst-msmg-pcnn/blob/master/multiscale_morph.m"
click node_nsst "https://github.com/weitan1992/nsst-msmg-pcnn/tree/master/nsst_toolbox"
click node_atrous "https://github.com/weitan1992/nsst-msmg-pcnn/blob/master/nsst_toolbox/atrousc.c"

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_demo_script toneBlue
class node_fusion_entry,node_pcnn,node_morphology toneAmber
class node_nsst,node_atrous toneMint
class node_researcher toneIndigo
```

## Components

### Demo

- [Demo script](https://github.com/weitan1992/nsst-msmg-pcnn/blob/master/script.m): `script.m`

### Fusion algorithm

- [Fusion algorithm](https://github.com/weitan1992/nsst-msmg-pcnn/blob/master/fusion_NSST_MSMG_PCNN.m): `fusion_NSST_MSMG_PCNN.m`
- [PCNN parameters](https://github.com/weitan1992/nsst-msmg-pcnn/blob/master/PCNN_withParameters.m): `PCNN_withParameters.m`
- [Multiscale morphology](https://github.com/weitan1992/nsst-msmg-pcnn/blob/master/multiscale_morph.m): `multiscale_morph.m`

### Transform and filtering

- [NSST toolbox](https://github.com/weitan1992/nsst-msmg-pcnn/tree/master/nsst_toolbox): `nsst_toolbox`
- [Atrous convolution](https://github.com/weitan1992/nsst-msmg-pcnn/blob/master/nsst_toolbox/atrousc.c): `nsst_toolbox/atrousc.c`

### Other components

- **Researcher**

## Connections

- Researcher → Demo script: runs demo (evidence: `README.md`)
- Demo script → Fusion algorithm: likely invokes
