Crates.io | hough_circle_transform_for_cme |
lib.rs | hough_circle_transform_for_cme |
version | 0.1.3 |
source | src |
created_at | 2020-10-20 17:24:57.464811 |
updated_at | 2020-10-21 15:06:22.263391 |
description | Search for circles in the image using houghs transform and output either the parameters of the circles or an image with the circles drawn. Meant to be used for TIRF-SIM microscoped CME cell processes. |
homepage | |
repository | https://gitlab.com/kunzaatko/circle-hough-transform |
max_upload_size | |
id | 303578 |
size | 10,128,106 |
If you have cargo
installed:
cargo install hough_circle_transform_for_cme
A pre-compiled binary is available at /target/release/houghse
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 <COMPLETION> Generate shell completions (Defaults to /dev/stdout)
--completion-path <COMPLETION_PATH> Path for the shell completion file generation
-f, --format <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 <INPUT> Image file to be searched
-l, --limits <LIMIT> 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 <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
implement setting of a range of radii
output to image and npz
/npy
for numpy deserialization
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
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)
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)