package bimage
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Pixels are float vectors used to store normalized image data
val empty : int -> t
Create a new pixel with all channels set to 0
val length : t -> int
Get the number of channels in a pixel
val map_inplace : (float -> float) -> t -> unit
map_inplace f x
executes f
for each value in x
, assigning the new value to the same * index
map f x
executes f
for each value in x
, returning a new Pixel.t
map_inplace f x
executes f
for each value in x
, assigning the new value to the same * index
val fold : (float -> 'a -> 'a) -> t -> 'a -> 'a
Reduction over a pixel
val pp : Format.formatter -> t -> unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>