The attached model implements a Sobel edge detection algorithm in Embedded MATLAB.
This demo shows how to read in an image operate on the serialized data and reconstruct the image back from serialized data after applying Sobel operators. The demo detects edges of a stop sign in the source image.
Please note that both the behavioral and hardware implementations of the Sobel operators are implemented in Embedded MATLAB in the attached model.
The hardware implementation operates on the serial data and is fully pipelined.