Thanks to visit codestin.com
Credit goes to lib.rs

#detect #fits #healpix #plate-solver

lost-in-space

A high-performance plate solving library in Rust

1 unstable release

Uses new Rust 2024

0.1.0 Jan 16, 2026

#13 in #fits

Apache-2.0 OR MIT

74KB
1.5K SLoC

A library for detecting and analyzing astronomical sources in images.

Examples

use lost_in_space::plate_solve;
use lost_in_space::quad::generate_quads_from_detected_stars;
use lost_in_space::star::detect_stars_from_image;
 use image::DynamicImage;

fn main() -> lost_in_space::Result<()> {
    let image = DynamicImage::new_rgb8(1024, 768);
    let detected_stars = detect_stars_from_image(&image)?;

    let unresolved_plate = generate_quads_from_detected_stars(detected_stars)?;

    plate_solve(&unresolved_plate)?;

    Ok(())
}

Dependencies

~34MB
~662K SLoC