ImageProcessing.ArtemBurashnikov 1.0.0


Transformation Module

Contains types and functions for applying various image transformations.

Types

Type Description

Transformation

Represents different image transformation types.

Functions and values

Function or value Description

getTsfCPU threads _arg1

Full Usage: getTsfCPU threads _arg1

Parameters:
    threads : int - The number of threads to use for parallel processing.
    _arg1 : Transformation

Returns: Image -> Image A function that can apply the specified transformation using CPU resources.

Returns a CPU-based image transformation function for a specific transformation type.

threads : int

The number of threads to use for parallel processing.

_arg1 : Transformation
Returns: Image -> Image

A function that can apply the specified transformation using CPU resources.

getTsfGPU clContext localWorkSize _arg1

Full Usage: getTsfGPU clContext localWorkSize _arg1

Parameters:
    clContext : ClContext - The OpenCL context for GPU operations.
    localWorkSize : int - The local work size for GPU parallelism.
    _arg1 : Transformation

Returns: Image -> Image A function that can apply the specified transformation using GPU resources.

Returns a GPU-based image transformation function for a specific transformation type.

clContext : ClContext

The OpenCL context for GPU operations.

localWorkSize : int

The local work size for GPU parallelism.

_arg1 : Transformation
Returns: Image -> Image

A function that can apply the specified transformation using GPU resources.

transformationsOnCPU transformationsList threads

Full Usage: transformationsOnCPU transformationsList threads

Parameters:
    transformationsList : Transformation list - The list of image transformations to apply sequentially.
    threads : int - The number of threads to use for parallel processing.

Returns: Image -> Image The transformed image.

Applies a sequence of image transformations to an image using CPU resources.

transformationsList : Transformation list

The list of image transformations to apply sequentially.

threads : int

The number of threads to use for parallel processing.

Returns: Image -> Image

The transformed image.

transformationsOnGPU transformationsList context localWorkSize

Full Usage: transformationsOnGPU transformationsList context localWorkSize

Parameters:
    transformationsList : Transformation list - The list of image transformations to apply sequentially.
    context : ClContext - The OpenCL context for GPU operations.
    localWorkSize : int - The local work size for GPU parallelism.

Returns: Image -> Image The transformed image.

Applies a sequence of image transformations to an image using GPU resources.

transformationsList : Transformation list

The list of image transformations to apply sequentially.

context : ClContext

The OpenCL context for GPU operations.

localWorkSize : int

The local work size for GPU parallelism.

Returns: Image -> Image

The transformed image.