Skip to content

[textures] Image convolution with custom user supplied kernel #3527

@Kimo-s

Description

@Kimo-s

Added the function void ImageKernelConvolution(Image *image, float* karnel, int karenlWidth) that does image convolution from a given user kernel defined as 1D array.

Image: Input image
karnel: pointer to1D float array for the kernel
karenlWidth: The width of the kernel matrix

The kernel matrix is only supported for square sized matrices.

Example results:
Screenshot 2023-11-11 173011
From left to right: Sharpen kernel, right Sobel operator, Gaussian blur done 6 times, Original image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions