Module with functions for image processing on the GPU
Function or value | Description |
Full Usage:
applyFilter filter kernel clContext localWorkSize queue
Parameters:
float32[][]
-
A two-dimensional array applied to an image as a filter
kernel : ClProgram<Range1D, (ClArray<byte> -> int -> int -> ClArray<float32> -> int -> ClArray<byte> -> unit)>
-
Compiled kernel for filter application
clContext : ClContext
-
Abstraction over OpenCL context
localWorkSize : int
-
Local workgroup size
queue : MailboxProcessor<Msg>
-
Command queue capable of handling messages of type Msg
Returns: MyImage -> MyImage
Image with type MyImage
|
|
Full Usage:
fishEye kernel clContext localWorkSize queue
Parameters:
ClProgram<Range1D, (ClArray<byte> -> int -> int -> ClArray<byte> -> unit)>
-
Compiled kernel for fisheye filter application
clContext : ClContext
-
Abstraction over OpenCL context
localWorkSize : int
-
Local workgroup size
queue : MailboxProcessor<Msg>
-
Command queue capable of handling messages of type Msg
Returns: MyImage -> MyImage
Image with type MyImage
|
|
Full Usage:
mirror side kernel clContext localWorkSize queue
Parameters:
MirrorDirection
-
The side to which the image will be reflected
kernel : ClProgram<Range1D, (ClArray<byte> -> int -> int -> int -> ClArray<byte> -> unit)>
-
Compiled kernel for reflection application
clContext : ClContext
-
Abstraction over OpenCL context
localWorkSize : int
-
Local workgroup size
queue : MailboxProcessor<Msg>
-
Command queue capable of handling messages of type Msg
Returns: MyImage -> MyImage
Image with type MyImage
|
|
Full Usage:
rotate side kernel clContext localWorkSize queue
Parameters:
Side
-
The side to which the image will be rotated
kernel : ClProgram<Range1D, (ClArray<byte> -> int -> int -> int -> ClArray<byte> -> unit)>
-
Compiled kernel for rotation application
clContext : ClContext
-
Abstraction over OpenCL context
localWorkSize : int
-
Local workgroup size
queue : MailboxProcessor<Msg>
-
Command queue capable of handling messages of type Msg
Returns: MyImage -> MyImage
Image with type MyImage
|
|