# img-process-sac/sih-depthwizard-2026 architecture

> Architecture diagram of the GitHub repository img-process-sac/sih-depthwizard-2026, 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/img-process-sac/sih-depthwizard-2026
- Repository: https://github.com/img-process-sac/sih-depthwizard-2026

## Overview

SIH2026 describes a proposed system for turning single-view satellite imagery into elevation models and an interactive 3D flythrough; the repository contains only its README, not implementation source. The documented workflow uploads imagery, estimates relative depth, and branches by georeferencing: non-georeferenced images produce a relative DSM, while georeferenced images use DEM data or ground-control points for metric calibration. The elevation map then drives textured terrain rendering and navigation. Components and relationships below reflect documented plans, not verified runtime calls.

Main entry points: [`README.md`](https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md) (Metric calibration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_elevation["Elevation estimation"]
  node_upload["Image upload<br/>[README.md]"]
  node_metadata["Metadata routing<br/>[README.md]"]
  node_depth["Depth estimation<br/>[README.md]"]
  node_relative["Relative depth<br/>[README.md]"]
  node_rdsm["Relative DSM<br/>[README.md]"]
end

subgraph group_calibration["Scale calibration"]
  node_calibrate["Metric calibration<br/>[README.md]"]
  node_dem[("Low-res DEM")]
  node_gcps[("Ground control points")]
  node_dsm["Absolute DSM<br/>[README.md]"]
end

subgraph group_visualization["3D visualization"]
  node_terrain["Textured terrain<br/>[README.md]"]
  node_renderer["3D renderer"]
  node_flythrough["Flythrough interface<br/>[README.md]"]
  node_reference[("Reference datasets")]
end

node_user(("Imagery user"))
node_gamus[("GAMUS dataset")]

node_user -->|"uploads imagery"| node_upload
node_upload -->|"checks metadata"| node_metadata
node_metadata -->|"routes imagery"| node_depth
node_depth -->|"estimates depth"| node_relative
node_relative -->|"yields relative DSM"| node_rdsm
node_relative -->|"maps to metric"| node_calibrate
node_dem -.->|"provides elevation scale"| node_calibrate
node_gcps -.->|"provides control points"| node_calibrate
node_calibrate -->|"produces absolute DSM"| node_dsm
node_rdsm -->|"supplies elevation"| node_terrain
node_dsm -->|"supplies elevation"| node_terrain
node_terrain -->|"renders terrain"| node_renderer
node_upload -->|"projects optical texture"| node_terrain
node_renderer -->|"enables navigation"| node_flythrough
node_flythrough -->|"supports analysis"| node_user
node_gamus -.->|"supports training"| node_depth
node_flythrough -.->|"validates heights against"| node_reference

click node_upload "https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md"
click node_metadata "https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md"
click node_depth "https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md"
click node_relative "https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md"
click node_rdsm "https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md"
click node_calibrate "https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md"
click node_dsm "https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md"
click node_terrain "https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md"
click node_flythrough "https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md"

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_upload,node_metadata,node_depth,node_relative,node_rdsm,node_user toneBlue
class node_calibrate,node_dem,node_gcps,node_dsm,node_gamus toneAmber
class node_terrain,node_renderer,node_flythrough,node_reference toneMint
```

## Components

### Elevation estimation

- [Image upload](https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md): `README.md`
- [Metadata routing](https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md): `README.md`
- [Depth estimation](https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md): `README.md`
- [Relative depth](https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md): `README.md`
- [Relative DSM](https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md): `README.md`

### Scale calibration

- [Metric calibration](https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md): `README.md`
- **Low-res DEM**
- **Ground control points**
- [Absolute DSM](https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md): `README.md`

### 3D visualization

- [Textured terrain](https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md): `README.md`
- **3D renderer**
- [Flythrough interface](https://github.com/img-process-sac/sih-depthwizard-2026/blob/main/README.md): `README.md`
- **Reference datasets**

### Other components

- **Imagery user**
- **GAMUS dataset**

## Connections

- Imagery user → Image upload: uploads imagery (evidence: `README.md`)
- Image upload → Metadata routing: checks metadata (evidence: `README.md`)
- Metadata routing → Depth estimation: routes imagery (evidence: `README.md`)
- Depth estimation → Relative depth: estimates depth (evidence: `README.md`)
- Relative depth → Relative DSM: yields relative DSM (evidence: `README.md`)
- Relative depth → Metric calibration: maps to metric (evidence: `README.md`)
- Low-res DEM → Metric calibration: provides elevation scale (evidence: `README.md`)
- Ground control points → Metric calibration: provides control points (evidence: `README.md`)
- Metric calibration → Absolute DSM: produces absolute DSM (evidence: `README.md`)
- Relative DSM → Textured terrain: supplies elevation (evidence: `README.md`)
- Absolute DSM → Textured terrain: supplies elevation (evidence: `README.md`)
- Textured terrain → 3D renderer: renders terrain (evidence: `README.md`)
- Image upload → Textured terrain: projects optical texture (evidence: `README.md`)
- 3D renderer → Flythrough interface: enables navigation (evidence: `README.md`)
- Flythrough interface → Imagery user: supports analysis (evidence: `README.md`)
- GAMUS dataset → Depth estimation: supports training (evidence: `README.md`)
- Flythrough interface → Reference datasets: validates heights against (evidence: `README.md`)
