Module Opencv.Clahe
val clear : Algorithm.t -> unitUsage:
clear __selfClears the algorithm state
val empty : Algorithm.t -> boolUsage:
empty __selfReturns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
val save : Algorithm.t -> string -> unitUsage:
save __self filenameSaves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
val get_default_name : Algorithm.t -> stringUsage:
get_default_name __selfReturns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string.
val apply : ?dst:Cvdata.t -> t -> Cvdata.t -> Cvdata.tUsage:
apply ?dst __self srcEqualizes the histogram of a grayscale image using Contrast Limited Adaptive Histogram Equalization.
- Parameter:
src: Source image of type CV_8UC1 or CV_16UC1. - Parameter:
dst: Destination image.
- Parameter:
val set_clip_limit : t -> float -> unitUsage:
set_clip_limit __self clip_limitSets threshold for contrast limiting.
- Parameter:
clip_limit: threshold value.
- Parameter:
val get_clip_limit : t -> floatUsage:
get_clip_limit __self
val set_tiles_grid_size : t -> size2i -> unitUsage:
set_tiles_grid_size __self tile_grid_sizeSets size of grid for histogram equalization. Input image will be divided into equally sized rectangular tiles.
- Parameter:
tile_grid_size: defines the number of tiles in row and column.
- Parameter:
val collect_garbage : t -> unitUsage:
collect_garbage __self