Laplace Edge Detection Filter

Filter

RIF_IMAGE_FILTER_LAPLACE

Description

This filter detects edges in the image using Laplacian method, which produces thin, pixel wide borders.

Parameters

None

Usage Example

rif_image_filter filter = nullptr;
rifContextCreateImageFilter(context, RIF_IMAGE_FILTER_LAPLACE, &filter);
rifCommandQueueAttachImageFilter(queue, filter, inputImage, outputImage);
rifContextExecuteCommandQueue(context, queue, nullptr, nullptr, nullptr);

Results

Input image

Output image