package bimage

  1. Overview
  2. Docs

Module BimageSource

Image processing library

v0.2.1 — homepage

Sourceexception Unsupported

Raised when attempting to use Char, Int8_signed, Int16_signed Bigarray types

Sourcetype ('a, 'b) kind = ('a, 'b) Bigarray.kind
Sourceval u8 : (int, u8) kind
Sourceval u16 : (int, u16) kind
Sourceval i32 : (int32, i32) kind
Sourceval i64 : (int64, i64) kind
Sourceval f32 : (float, f32) kind
Sourceval f64 : (float, f64) kind
Sourceval c32 : (Complex.t, c32) kind
Sourceval c64 : (Complex.t, c64) kind
Sourcemodule Error : sig ... end
Sourcemodule Angle : sig ... end

The Angle type is used instead of a float whenever a function expects an angle argument to avoid ambiguity

Sourcemodule Point : sig ... end

Point is a 2 element float tuple used to perform calculations on (x, y) coordinates

Sourcemodule Color : sig ... end

Color contains methods for creating and inspecting color types

Sourcetype gray = [
  1. | `Gray
]

1-channels gray color type

Sourcetype rgb = [
  1. | `Rgb
]

3-channel RGB color type

Sourcetype rgb_packed = [
  1. | `Rgb_packed
]
Sourcetype xyz = [
  1. | `Xyz
]

3-channel XYZ color type

Sourcetype yuv = [
  1. | `Yuv
]

3-channel YUV color type

Sourcetype rgba = [
  1. | `Rgba
]

4-channel RGBA image

Sourcetype any = [
  1. | `Any
]

Any color image

Sourceval gray : gray Color.t

Gray color

Sourceval rgb : rgb Color.t

RGB color

Sourceval rgb_packed : rgb_packed Color.t

RGB packed into a signle channel

Sourceval xyz : xyz Color.t

XYZ color

Sourceval yuv : yuv Color.t

YUV color

Sourceval rgba : rgba Color.t

RGBA color

Sourceval color : int -> any Color.t

Generic color

Sourcemodule Kind : sig ... end
Sourcemodule Data : sig ... end

The Data module defines several operations on one dimensional image data

Sourcemodule Pixel : sig ... end

Pixels are float vectors used to store image data

Sourcemodule Image : sig ... end

The Image module defines a simple interface for manipulating image data

Sourcemodule Kernel : sig ... end

Kernels are used for filtering images using convolution

Sourcetype ('a, 'b, 'c, 'd, 'e, 'f) filter = output:('d, 'e, 'f) Image.t -> ('a, 'b, 'c) Image.t array -> unit
Sourcemodule Transform : sig ... end
Sourcemodule Input : sig ... end

Defines the type used as input to operations

Sourcemodule Expr : sig ... end

Expr implements an operation combinator which can be used to build operations from low-level functions

Sourcemodule Op : sig ... end

Op is used to define pixel-level operations. These operations are performed on normalized floating-point values

Sourcemodule Hash : sig ... end
Sourceval (~@) : int -> Input.index
OCaml

Innovation. Community. Security.