VHDL-LP Filter to calculate mean value over an Image

Discussion in 'Embedded Systems and Microcontrollers' started by Mustafatarhan49, Aug 22, 2012.

  1. Mustafatarhan49

    Thread Starter Member

    Aug 16, 2012
    56
    0
    Hi All,

    I have to design a LPfilter in VHDL that calculates the mean value of all the pixels within the sliding window...
    I am quite new in VHDL so I need your advise :)
    I am going to use NexysII Xilinx Kit, I know a bit codding in VHDL but I have no clue how to make this design..

    For your help thanks alot!
     
  2. guitarguy12387

    Active Member

    Apr 10, 2008
    359
    12
    I'd recommend starting in matlab. Create an algorithm for this and then port it over to hardware.

    It basically boils down to a series of shifts/delays, multiplications, and additions. This is fairly straightforward with behavioral VHDL. Have a look at the language templates in ISE.

    Studying simple FIR filter implementations may help too.
     
Loading...