Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Bimage.ExprSourceExpr define a combinator which can be used to build filters
type 'a t = | Kernel : Input.index * Kernel.t -> pixel t| Transform : Input.index * Transform.t -> pixel t| Image : Input.index -> image t| Input : Input.index * int t * int t -> pixel t| X : int t| Y : int t| Int : int -> int t| Float : float -> float t| Bool : bool -> bool t| Gt : 'a t * 'a t -> bool t| Eq : 'a t * 'a t -> bool t| Lt : 'a t * 'a t -> bool t| And : bool t * bool t -> bool t| Or : bool t * bool t -> bool t| Not : bool t -> bool t| Cond : bool t * 'a t * 'a t -> 'a t| Func : 'b t * (int -> int -> 'b -> 'a t) -> 'a t| Pixel : 'b Pixel.t -> pixel t| Pixel_get : pixel t * int t -> float t| Pixel_set : pixel t * int t * float t -> pixel t| Value : 'a -> 'a t| Pair : 'a t * 'b t -> ('a * 'b) t| Shape : Input.index -> (int * int * int) t| Option : 'a t option -> 'a option tCompute value of expression at the given point
Get input data from the specified index
Create a kernel expr from an existing kernel
val combine_kernel :
?input:Input.index ->
(float -> float -> float) ->
Kernel.t t ->
Kernel.t t ->
pixel tCreate a kernel expession using two kernels combined using the designated operation
Apply a transformation
val rotate :
?input:Input.index ->
?center:(float * float) ->
Bimage__.Util.Angle.t ->
pixel tCreate a new Pair expr, used for joining existing expressions
An expression to average two images
An expression to take the lowest value from two images
An expression to take the highest value from two images
Multiply each pixel component