About image processing on fpga

4 visualizzazioni (ultimi 30 giorni)
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)?

Risposta accettata

Bharath Venkataraman
Bharath Venkataraman il 28 Set 2016
Modificato: Bharath Venkataraman il 28 Set 2016
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 Commento
shraddha swami
shraddha swami il 29 Set 2016
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?

Accedi per commentare.

Più risposte (1)

Bharath Venkataraman
Bharath Venkataraman il 27 Set 2016
You can use the Edge Detection block in Vision HDL Toolbox - that block generates HDL code.
  1 Commento
shraddha swami
shraddha swami il 28 Set 2016
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

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by