Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Solar Event Tracking with Deep Regression Networks

Paper: Solar Event Tracking with Deep Regression Networks: A Proof of Concept Evaluation IEEE International Conference on Big Data (Big Data), 2019

White rectangle: ground truth  |  Red rectangle: predicted bounding box

Watch the demo video on YouTube


Overview

This project implements an automated pipeline for tracking solar events in Solar Dynamics Observatory (SDO) imagery using deep regression networks. Events such as coronal holes and active regions are sourced from NASA's Heliospheric Events Knowledgebase (HEK) and tracked across image sequences using the GOTURN deep regression tracker.

Pipeline:

HEK Event Metadata  →  SDO Image Download  →  GOTURN Tracking  →  Evaluation

Repository Structure

solar-event-tracking/
├── data-download/
│   ├── hek-event-download/
│   │   └── hek_event_download_CH_SPoCA.py   # Query HEK for solar event metadata
│   └── image-download/
│       ├── download_image_AR_dump.py         # Download SDO images via Helioviewer
│       ├── convert_jp2_to_jpg.py             # Convert JPEG2000 → JPG
│       ├── convert_hpc_to_pixel.py           # Transform HPC coordinates to pixels
│       ├── save_all_image_information_ar_12_13.py
│       ├── find_events_with_double_image_name.py
│       └── check_image_folder*.py            # Data validation utilities
├── evaluation-tracking/
│   └── evaluate_all_csv.py                   # Compute tracking metrics
├── videos/
│   ├── label-video.py                        # Extract labeled frames from AVI
│   ├── test_evaluate.py                      # Evaluation test script
│   └── HMI_7269_labels/                      # Sample labeled output frames
└── README.md

Dependencies

  • Python 3
  • sunpy — HEK API queries and JP2 image handling
  • OpenCV (cv2) — image processing and visualization
  • pandas — data manipulation and CSV I/O
  • numpy — numerical computations
  • pgmagick — JPEG2000 image conversion
  • Pillow — image utilities

Usage

1. Download Solar Event Metadata

Query the Heliospheric Events Knowledgebase (HEK) for coronal hole and sunspot events:

cd data-download/hek-event-download
python hek_event_download_CH_SPoCA.py

This outputs CSV files containing event metadata (bounding boxes, timestamps, solar coordinates).

2. Download Solar Images

Using the HEK event CSV files, download the corresponding SDO images from Helioviewer:

cd data-download/image-download
python download_image_AR_dump.py

Preprocessing utilities in the same folder:

Script Purpose
convert_jp2_to_jpg.py Convert SDO's native JPEG2000 format to JPG
convert_hpc_to_pixel.py Transform solar (HPC) coordinates to image pixel coordinates
find_events_with_double_image_name.py Detect and remove duplicate events
check_image_folder*.py Validate downloaded image sets

3. Train the Tracker

Train the deep regression network using GOTURN on the downloaded image sequences. Refer to the GOTURN repository for setup and training instructions.

4. Evaluate

Compute tracking accuracy metrics by comparing GOTURN output against ground-truth bounding boxes:

cd evaluation-tracking
python evaluate_all_csv.py

Metrics computed:

Metric Description
IoU Intersection over Union per frame
F-score Precision/recall balance
OTA Overall Tracking Accuracy
OTP Overall Tracking Precision
ATA Average Tracking Accuracy
Deviation Centroid distance between predicted and ground truth
PBM Partial Bounding Match

Data Sources


Citation

If you use this code or dataset in your research, please cite:

@INPROCEEDINGS{9006273,
  author={Sarker, Toqi Tahamid and Banda, Juan M.},
  booktitle={2019 IEEE International Conference on Big Data (Big Data)},
  title={Solar Event Tracking with Deep Regression Networks: A Proof of Concept Evaluation},
  year={2019},
  pages={4942-4949},
  doi={10.1109/BigData47090.2019.9006273}
}

About

Deep learning pipeline for tracking solar events (coronal holes, active regions) in NASA SDO imagery using the GOTURN regression tracker.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages