Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Bimage.OpSourceOp is used to define pixel-level operations. These operations are performed on normalized floating-point values
Blend two images: a + b / 2
Minimum pixel value of two images
Maximum pixel value of two images
Convert a color image to grayscale
Convert a grayscale image to color
val eval :
?x:int ref ->
?y:int ref ->
?c:int ref ->
('a, 'b, 'c) t ->
('a, 'b, 'c, 'd, 'e, 'f) filterEvaluate an operation
val eval_expr :
?x:int ref ->
?y:int ref ->
?c:int ref ->
float Expr.t ->
('a, 'b, 'c, 'd, 'e, 'f) filterConvert an Expr to a filter
join f a b builds a new operation of f(a, b)
map f a builds a new operation of f(a)
Builds an operation returning the maximum value for a given kind
Builds an operation returning the minimum value for a given kind
Invert the values in an image
val cond :
(('a, 'b, 'c) Image.t array -> int -> int -> int -> bool) ->
('a, 'b, 'c) t ->
('a, 'b, 'c) t ->
('a, 'b, 'c) tConditional operation
Sobel in the X direction
Sobel in the Y direction
Sobel kernel
Blur using gaussian kernel. The size must be an odd number.
Apply a transformation
Rotation operation
Scale an image by the given amount
Adjust the brightness of an image. 0.0 will remove all brightness and 1.0 will keep the image as-is.
Per-channel threshold -- each entry in the given array is the threshold for the channel with the same index