About image processing on fpga

4 次查看(过去 30 天)
HI i am using matlab 2015b i want to generater VHDL code for sobel edge detection from the simulink model but some blocks for that are not compatible with the HDL code generation.. so what can i do? is it possible to generate VHDL code for the same? and this generated code can be implemented on FPGA(ALTERA)?

采纳的回答

Bharath Venkataraman
编辑:Bharath Venkataraman 2016-9-28
Just wanted to confirm that you are trying to find Vision HDL Toolbox and not Computer Vision System Toolbox.
Just use the regular Simulink library list and try to find Vision HDL Toolbox. All blocks in there are compatible for HDL code genration, except for the Frame To Pixels and Pixels to Frame blocks, which are for simulation alone.
  1 个评论
shraddha swami
shraddha swami 2016-9-29
ok sir thank you.I want to generate vhdl code for sobel edge detection for an image stored on memory, so i took image from file ,edge detection and video viewer blocks. simulation is working but while generating HDL code i got an error "matrices are not supported at simulink block interfaces" and i am using matlab 2015b. link that you sent me is for 2016b.what should i do? am i going on right way?

请先登录,再进行评论。

更多回答(1 个)

Bharath Venkataraman
You can use the Edge Detection block in Vision HDL Toolbox - that block generates HDL code.
  1 个评论
shraddha swami
shraddha swami 2016-9-28
thank you sir. but i tried for that. i am unable to get vhdl code from the model. vision HDL toolbox is not available in 'HDL library browser' that means it is not compatible with the HDL code generation.but in help i found that blockset as compatible. so i am not getting what to do? please help me

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by