Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

Image processing is done in "Hardware" or "Software"

I am a newbie for FPGA. I have background in C/C++, Matlab ,and i just completed a book "Verilog by Examples".

I am wondering about image processing, such as blob analysis, threshold, edge, sobel.

is it done main part in hardware (fpga hdl), or software (niosii)??

If it has done software, it would be easy for me to apply C/C++, openCV in software.

P.S. The project that i will apply is grain color sorter ( real time image processing).

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I would very pleased that someone would explain the different between Hardware and software in image processing(embedded).

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Using a Nios running C, is suprisingly slow. Your best to do as much in HDL as possible.

    Have a look at opencores.org, there may be some stuff up on there.

    There is also the Altera University Program files (google it) that have a few video cores you may find useful.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I am no master, but i'll have a go of explaining.

    Using software requires some hardware running as a generic cpu (i.e. a Nios). Because the Nios has to be flexible in its calculation abilties, it takes many more cycles to complete an operation.

    Rather than having this supplied hardware (nios), you can make your own dedicated hardware using HDL. Your HDL will be able to operate at much higher speeds since it does not have all the unesceaary overhead.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thank you for AsValdr.

    I will use HDL Verilog. but the problem is there are no algerlitums just like software that I can find code in youtube or books.

    do you have a community of Verilog image processing.

    and angin Thank you.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Sorry, i've never looked that deep into it. All i can suggest is opencores.org and the University program stuff from Altera; if anything is there that is.