# Installing If you have `cargo` installed: ```bash cargo install hough_circle_transform_for_cme ``` A pre-compiled binary is available at `/target/release/houghse` # Usage ```man USAGE: houghse [FLAGS] [OPTIONS] FLAGS: -h, --help Prints help information --overwrite Overwrite the output file, if it exists -V, --version Prints version information OPTIONS: --generate-completions Generate shell completions (Defaults to /dev/stdout) --completion-path Path for the shell completion file generation -f, --format Format of the output circles is an image type output _(does not work yet... does not support writing output to an image)_ -i, --input Image file to be searched -l, --limits Limits to be applied to the search: 1) radius constraints (upper radius limit, lower radius limit) _(does not work yet...)_ 2) limit to the distance of multiple found circles _(does not work yet...)_ -o, --output Image file to draw the circle to or a `txt`/`npz`/`npy` file to write the circle parameters to _(does not work yet... prints to `/dev/stdout`)_ ``` Supported file types for input image `tiff`, `jpeg`, `png` ## TODO 1) implement setting of a range of radii 2) output to image and `npz`/`npy` for numpy deserialization 3) finding local maxima based on the limits instead of global maximum in order to find more than one circle a) A flag setting to change the needed significance of the local maxima 4) compensate for the mismatch of the number of votes cast on different radius size due to pixelation (due to the projection of the circle into a discrete pixel representation in the specified radius voting) 5) decide on what should be the voting matrix and on the value of votes from different pixels with different intensities (right now the bool voting is used, where a vote is cast evenly for every non-zero pixel)