Crate lost_in_space

Crate lost_in_space 

Source
Expand description

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(())
}

Modules§

catalog
primitives
quad
star
Functions for detecting stars in images.

Enums§

Error
Errors that can occur during plate solving.

Functions§

plate_solve
plate_solve_relative
Solves the relative position of the plates. This is useful for cases when you don’t care about the global position of the plates. Stacking could be such a case.

Type Aliases§

Result
Result type for plate solving.