how to generate hdl code for edge detection block in simulink

조회 수: 12 (최근 30일)

채택된 답변

Walter Roberson
Walter Roberson 2016년 2월 7일
  댓글 수: 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일
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