I'm very new to FPGA. I got a Spartan-6 from Digilent. As my final year project I want to do image processing through it. How can MATLAB & Simulink be used for this? How should the camera be connected to the board? Through HDMI or USB?

  • \$\begingroup\$ Which camera are you using? \$\endgroup\$ – Leon Heller Apr 6 '11 at 16:25

You're very new to FPGAs and you want to do image processing? I'm no expert but that sounds like biting off a lot more than you can chew. Can you answer any of these questions:

  • What image processing algorithm do you want to implement? Can you express the algorithm in pseudocode?

  • What format is the image you want to process? Bitmap? JPEG? What color depth?

  • What image sensor have you chosen? What resolution is it? Is it grayscale or color?

  • Do you have a basic block diagram of the system? Can you show us?

If you haven't thought about any of these questions or don't understand the terms I'm using then this project probably isn't for you.

  • \$\begingroup\$ Very sound advice, despite the harsh tone. Also, have you considered whether FPGA is really the way to go? There seem to be a lot of FPGA-for-FPGA's-sake projects going around these days. \$\endgroup\$ – drxzcl Apr 7 '11 at 7:55
  • \$\begingroup\$ I don't find the answer to be harsh, just some good questions the poster should ask himself. \$\endgroup\$ – Trygve Laugstøl Apr 7 '11 at 8:48
  • 3
    \$\begingroup\$ Don't say that! He's the AngryEE, he's got a reputation to protect! ;) \$\endgroup\$ – drxzcl Apr 7 '11 at 8:52
  • \$\begingroup\$ So true, but I try not to be too angry because it puts people off. Still, I think some people need to realize that the cool-sounding projects they hear about online or in magazines represent weeks or months of work and are not straightforward, simple and fun. \$\endgroup\$ – AngryEE Apr 7 '11 at 11:57

Big question - I've started a series of articles about developing image processing systems in FPGAs. It's not complete yet, but it may give you some ideas. The first one is here

If you can get a sensor which directly connects to the FPGA pins (ie a clock, couple of sync pins and some data pins) you'll get going much quicker than having to pull data over USB/Firewire/etc.

  • \$\begingroup\$ Fantastic blog you have there!! \$\endgroup\$ – Kevin Boyd Nov 10 '11 at 21:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy