Solar Hydrogen Alpha Telescope (SolHaT) aims to provide a desktop user interface for the SolHat project using Rust and the egui toolkit.
As a whole, SolHat is a tool for the stacking of solar and lunar astrophotography, aimed primarily at users of azimuth/elevation mounts (though not exclusively) by providing computationally derived parallactic rotation along with center-of-mass alignment. Frame calibration, analysis, limb darkening correction, and drizzle-enabled stacking are among the core functionality.
The program currently uses SER formatted files as inputs due to their non-compressed image storage and timestamping. Inputs include lights, darks, flats, darkflats, and bias frames; Only the lights are required to produce an output. An optional hot pixel map in json format can be used to replace hot/stuck camera sensor pixels.
Install Rust, then execute the following the ensure the correct dependencies are present:
sudo dnf group install -y "Development Tools"
sudo dnf install -y gtk3-devel
Install Rust. Most version of Ubuntu, as of this writing, don't seem to support GTK4 yet, with the exception of 22.10
Kinetic Kudu.
You will need to execute the following to ensure the correct dependencies are present:
sudo apt-get update
sudo apt-get install -y libgtk-3-dev
To build in Windows (natively, not in Windows Subsystem for Linux), install the latest versions of MS Visual Studio (Community edition is sufficient), and Rust.
Builds targetting .rpm
and .deb
packages are done in docker containers. Please ensure Docker is installed (host can be either Linux or Windows).
Building for .rpm
is done by kicking off the dockerbuild-fedora.sh
script. Using the docker/Dockerfile.fedora
can also be used to build a container with Solhat-UI installed.
Building for .deb
is done by kicking off the dockerbuild-debian.sh
script. Using the docker/Dockerfile.debian
can also be used to build a container with Solhat-UI installed.
Building a windows package is done using the WiX toolset. Before building, make sure Wix and cargo-wix is installed on your system. The build is done within Windows PowerShell. To create the .msi
, run:
cargo wix --no-capture
The hot pixel mapping file is a TOML formatted text file which provides the sensor width, height, and x/y coordinates to individual pixels.
Example:
sensor_width = 1936
sensor_height = 1216
hotpixels = [
[ 1169 , 48 ],
[ 170 , 997 ],
[ 395 , 733 ],
[ 1193 , 854 ],
]
Malvar, Henrique & He, Li-wei & Cutler, Ross. (2004). High-quality linear interpolation for demosaicing of Bayer-patterned color images. Acoustics, Speech, and Signal Processing, 1988. ICASSP-88., 1988 International Conference on. 3. iii - 485. 10.1109/ICASSP.2004.1326587. https://www.researchgate.net/publication/4087683_High-quality_linear_interpolation_for_demosaicing_of_Bayer-patterned_color_images
Getreuer, Pascal. (2011). Malvar-He-Cutler Linear Image Demosaicking. Image Processing On Line. 1. 10.5201/ipol.2011.g_mhcd. https://www.researchgate.net/publication/270045976_Malvar-He-Cutler_Linear_Image_Demosaicking
Telea, Alexandru. (2004). An Image Inpainting Technique Based on the Fast Marching Method. Journal of Graphics Tools. 9. 10.1080/10867651.2004.10487596. https://www.researchgate.net/publication/238183352_An_Image_Inpainting_Technique_Based_on_the_Fast_Marching_Method
Wilkens, H., Hahn, G. "SER Format Description, Version 3" February 6 2014. http://www.grischa-hahn.homepage.t-online.de/astro/ser/SER%20Doc%20V3b.pdf
Kraaikamp, Emil. "Autostakkert!" Version 3.1.4. https://www.autostakkert.com/