-
Notifications
You must be signed in to change notification settings - Fork 0
/
imageProcessing.mli
20 lines (20 loc) · 955 Bytes
/
imageProcessing.mli
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
val rgblabHt : (int * int * int, int * int * int) Hashtbl.t
val isaHt : (Sdlvideo.color * Sdlvideo.color, bool) Hashtbl.t
val colors : Sdlvideo.color list ref
val msk : int32
val image : Sdlvideo.surface ref
val get_dims : Sdlvideo.surface -> int * int
val w : int ref
val h : int ref
val rgb2lab : int * int * int -> int * int * int
val f_i : int -> float
val rgb_distance : int * int * int -> int * int * int -> float
val lab_distance : int * int * int -> int * int * int -> float
val calc_contrast : 'a * 'b * 'c -> 'd * 'e * 'f -> unit
val crisscross : Sdlvideo.surface -> int * int -> int -> Sdlvideo.surface
val is_same_color : Sdlvideo.color -> Sdlvideo.color -> bool
val colorIndex : Sdlvideo.color -> Sdlvideo.color list -> int
val getColorAt : int * int -> Sdlvideo.color
val getHeightFor : Sdlvideo.color -> int
val print_borders : Sdlvideo.surface -> (int * int * 'a) list -> unit
val detect_areas : Sdlvideo.surface -> (int * int * int) list