how to generate hdl code for edge detection block in simulink

 採用された回答

Walter Roberson
Walter Roberson 2016 年 2 月 7 日

1 投票

2 件のコメント

GOKUL GK
GOKUL GK 2016 年 2 月 7 日
please explain it for above edge detection block
Walter Roberson
Walter Roberson 2016 年 2 月 7 日
If I understand correctly, there is one Edge Detection Block that can be configured for different detectors including Sobel and Canny. The link above shows an example of using a Serialize block to pass an array in to an Edge Detector block, and a Deserialize block to decode.
Unfortunately I do not have that product so I cannot open the models to find out exactly which blocks they used.

サインインしてコメントする。

その他の回答 (1 件)

Bharath Venkataraman
Bharath Venkataraman 2016 年 2 月 8 日

1 投票

The Vision HDL Toolbox has an Edge Detection block that is suitable for HDL code generation. That block takes in serial input, much like you would expect the FPGA or ASIC to do. I suggest using that block instead of the one from Computer Vision System Toolbox.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by