|
SatDump 2.0.0-alpha-520736c72
|
Somewhat generic histogram manipulation utilities. More...
Go to the source code of this file.
Functions | |
| std::vector< int > | satdump::image::histogram::get_histogram (std::vector< int > values, int len) |
| Get histogram of a buffer. | |
| std::vector< int > | satdump::image::histogram::equalize_histogram (std::vector< int > hist) |
| Equalize an histogram (stretch to normal distribution) | |
| std::vector< int > | satdump::image::histogram::make_hist_match_table (std::vector< int > input_hist, std::vector< int > target_hist, int maxdiff) |
| Make an histogram-matching table between 2 equalized histograms. | |
Somewhat generic histogram manipulation utilities.
| std::vector< int > satdump::image::histogram::equalize_histogram | ( | std::vector< int > | hist | ) |
Equalize an histogram (stretch to normal distribution)
| hist | histogram to equalize |
| std::vector< int > satdump::image::histogram::get_histogram | ( | std::vector< int > | values, |
| int | len ) |
Get histogram of a buffer.
| values | to get the history of |
| len | length of the output histogram |
| std::vector< int > satdump::image::histogram::make_hist_match_table | ( | std::vector< int > | input_hist, |
| std::vector< int > | target_hist, | ||
| int | maxdiff ) |
Make an histogram-matching table between 2 equalized histograms.
| input_hist | histogram to match from |
| target_hist | histogram to match to |
| maxdiff | Ignored (TODOREWORK?) |