ImageProcessing.ArtemBurashnikov 1.0.0


HelpProviders Module

Contains helper types and functions for image editing.

Types

Type Description

EditType

Represents various types of image editing operations.

Image

Represents an image with pixel data.

ReflectionDirection

Represents the direction of reflection (horizontal or vertical).

RotationDirection

Represents the direction of rotation (clockwise or counterclockwise).

VirtualArray<'A>

Represents a virtual array that provides memory bounds checking.

Functions and values

Function or value Description

flattenArray2D array2D

Full Usage: flattenArray2D array2D

Parameters:
    array2D : 'a[,] - The 2D array to flatten.

Returns: 'a[] A flattened 1D array.

Flattens a 2D array into a 1D array.

array2D : 'a[,]

The 2D array to flatten.

Returns: 'a[]

A flattened 1D array.

loadAsImage file

Full Usage: loadAsImage file

Parameters:
    file : string - The path to the image file.

Returns: Image The loaded image.

Loads an image from a file.

file : string

The path to the image file.

Returns: Image

The loaded image.

saveImage image file

Full Usage: saveImage image file

Parameters:
    image : Image - The image to save.
    file : string - The path to the output file.

Saves an image to a file.

image : Image

The image to save.

file : string

The path to the output file.