SatDump 2.0.0-alpha-76a915210
|
Various processing functions (blur, equalize...) More...
#include "image.h"
Go to the source code of this file.
Functions | |
void | satdump::image::white_balance (Image &img, float percentileValue=0.05f) |
While balance algorithm from Gimp. | |
void | satdump::image::median_blur (Image &img) |
Median blur. Somewhat equivalent to Gimp's with a radius of 1. | |
void | satdump::image::kuwahara_filter (Image &img) |
Adaptive noise reduction filter. | |
void | satdump::image::equalize (Image &img, bool per_channel=false) |
Perform histogram equalization. | |
void | satdump::image::normalize (Image &img) |
Normalize the current image data. This takes the current min and max values and extends it to the full bit depth range. | |
void | satdump::image::linear_invert (Image &img) |
Invert the entire image. Blacks becomes white and the opposite. | |
void | satdump::image::simple_despeckle (Image &img, int thresold=10) |
Despeckle the image. Very basic despeckle algorithm. |
Various processing functions (blur, equalize...)
void satdump::image::equalize | ( | Image & | img, |
bool | per_channel = false ) |
Perform histogram equalization.
img | image to equalize |
per_channel | if true, performs the equalization separately for each spectral channel |
void satdump::image::kuwahara_filter | ( | Image & | img | ) |
Adaptive noise reduction filter.
img | image to process |
void satdump::image::linear_invert | ( | Image & | img | ) |
Invert the entire image. Blacks becomes white and the opposite.
img | image to process |
void satdump::image::median_blur | ( | Image & | img | ) |
Median blur. Somewhat equivalent to Gimp's with a radius of 1.
img | image to blur |
void satdump::image::normalize | ( | Image & | img | ) |
Normalize the current image data. This takes the current min and max values and extends it to the full bit depth range.
img | image to process |
void satdump::image::simple_despeckle | ( | Image & | img, |
int | thresold = 10 ) |
Despeckle the image. Very basic despeckle algorithm.
img | image to process |
thresold | difference over which the pixel is considered bad |
void satdump::image::white_balance | ( | Image & | img, |
float | percentileValue = 0.05f ) |
While balance algorithm from Gimp.
img | image to white balance |
percentileValue | percentile to balance to |