utis-heliostatbeamcharacterization

UNet-based Target Image Segmentation

https://github.com/dlr-sf/utis-heliostatbeamcharacterization

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

UNet-based Target Image Segmentation

Basic Info
  • Host: GitHub
  • Owner: DLR-SF
  • License: other
  • Language: Python
  • Default Branch: main
  • Size: 126 MB
Statistics
  • Stars: 5
  • Watchers: 0
  • Forks: 1
  • Open Issues: 4
  • Releases: 0
Created almost 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md

logo

DOI License: MIT fair-software.eu Python

UTIS-HeliostatBeamCharacterization

UNet-Based Target Image Segmentation for Camera Target Method in Solar Tower Plants

Overview

This project presents a robust implementation of the UNet3+ framework designed for background separation and flux determination in calibration target images used in solar tower plants. The model is trained using artificially generated target images, which are created by combining background images with simulated focal spots. By leveraging these synthetic images with known properties, the UNet model is trained to accurately separate the background from the focal spots, enabling precise flux prediction. For an in-depth explanation and methodology, please refer to this paper. The model used to achieve the results in this paper is placed in the train models folder.

Directory Structure

``` UTIS-HeliostatBeamCharacterization/

data/ # Directory containing image datasets used for training and inference emptyTargetImages/ # Images of empty targets used for artificial data generation fluxImages/ # Images representing flux used for artificial data generation realSamples/ # Real images used to test the model's inference capabilities

logs/ # Directory to store training logs trained_models/ # Directory to store trained model checkpoints tests/ # Directory for test scripts and inference predict.py # Script for running inference with a trained model results.png # Example output from the inference script

utis/ # Core package directory containing model and utility code init.py # Makes this directory a Python package dataset.py # Script for loading and processing image data architecture/ init.py UNet3Plus.py # UNet3+ model architecture layers.py # Additional layers used in the model unetplmodule.py # PyTorch Lightning module for UNet3+ train.py # Script for training the UNet3+ model

setup.py # Script for installing the package README.md # Project description LICENSE # License for your package ```

Usage

Training

Run the training script:

sh python -m utis.train

Inference

Run the inference script:

sh python -m tests.predict

Results

The predicted images and a sample result grid are saved in the specified output directory as results.png:

The result grid is organized as follows: - First row: Input image - Second row: Predicted focal spot - Third row: Predicted background

Acknowledgments

This work is supported by the Helmholtz AI platform grant.


Owner

  • Name: DLR Institut for Solar Research
  • Login: DLR-SF
  • Kind: organization
  • Email: SF-OpenSource@dlr.de
  • Location: Germany

GitHub Events

Total
  • Watch event: 2
  • Push event: 2
Last Year
  • Watch event: 2
  • Push event: 2

Dependencies

.github/workflows/fair-software.yml actions
  • fair-software/howfairis-github-action 0.2.1 composite
pyproject.toml pypi
  • Pillow *
  • numpy *
  • pytorch-lightning *
  • torch *
  • torchvision *