Bimage.DataSourceData provides some extra operations for Bigarray.Array1
Data type
Converts an array to a Data.t of the given ty
Reduce over two Data.t
map_inplace f data runs f over each value of data
map2_inplace f data1 data2 runs f over each value of data1 and data2
slice ~offs ~length data extracts a section of data of length values starting at index offs
copy_to ~dest src copies each value from src to dest
Convert between Data.t types
Convert between Data.t types with an existing destination image