#image #wavelet #astronomy #analysis #multiscale

bin+lib stardetect

Detect star positions and sizes in an image

4 releases (2 breaking)

0.3.0 Apr 16, 2024
0.2.1 Mar 30, 2024
0.2.0 Mar 24, 2024
0.1.0 Mar 24, 2024

#120 in Multimedia

Download history 152/week @ 2024-03-18 181/week @ 2024-03-25 71/week @ 2024-04-01 148/week @ 2024-04-15

552 downloads per month
Used in platesolve

Apache-2.0 and LGPL-2.1

23KB
508 lines

Stardetect – A library to efficiently detect stars positions and sizes in any image

This project provides an implementation of the star detection technique used in astronomical plate solving algorithms. The implementation uses À Trous Wavelet decomposition under the hood to optimize the image before running star detection algorithms.

Why

I'm trying to build a suite of tools in rust that facilitate image processing, primarily deep sky images and data. Star detection is particularly helpful in plate-solving astronomical images which allows various image processing techniques to be implemented, such as star correction, noise reduction, etc.

Usage

fn detect_stars() {
    let star_detect = StarDetect::try_from("./sample.jpg").unwrap();
    let star_centers = star_detect.compute_star_centers();
}

Installation

To use this library in your Rust project, add the following to your Cargo.toml file:

[dependencies]
stardetect = "0.1.0"

Dependencies

~32MB
~425K SLoC