boost::gil::non_overlapping_interpolated_clahe
Performs local histogram equalization on tiles of size (tile_width_x, tile_width_y) Then uses the clip limit to redistribute excess pixels above the limit uniformly to other bins. The clip limit is specified as a fraction i.e. a bin's value is clipped if bin_value >= clip_limit * (Total number of pixels in the tile)
Synopsis
Declared in <boost/gil/image_processing/adaptive_histogram_equalization.hpp>
template<
typename SrcView,
typename DstView>
void
non_overlapping_interpolated_clahe(
SrcView const& src_view,
DstView const& dst_view,
std::ptrdiff_t tile_width_x = 20,
std::ptrdiff_t tile_width_y = 20,
double clip_limit = 0.03,
std::size_t bin_width = 1.0,
bool mask = false,
std::vector<std::vector<bool>> src_mask = {});
Parameters
Name |
Description |
src_view |
Input Source image view |
dst_view |
Output Output image view |
tile_width_x |
Input Tile width along x‐axis to apply HE |
tile_width_y |
Input Tile width along x‐axis to apply HE |
clip_limit |
Input Clipping limit to be applied |
bin_width |
Input Bin widths for histogram |
mask |
Input Specify if mask is to be used |
src_mask |
Input Mask on input image to ignore specified pixels |
Created with MrDocs