sreevenkjan
Full Member level 5
- Joined
- Nov 4, 2013
- Messages
- 268
- Helped
- 27
- Reputation
- 54
- Reaction score
- 26
- Trophy points
- 1,308
- Location
- Germany
- Activity points
- 3,115
Hi All,
I am trying to find a maxima using a 8 neighborhood pixel for an filtered image. It is basically a 2D filter moving along the pixels of the image from left to right. I am trying to implement the same using VHDL. I have few questions regarding the approach.
1. When I read the pixels in a stream fashion, I need to read one complete row to access the pixel of below row. Suppose if the image has a width i.e 200 pixels. do I need to read 200 pixels completely to access the next row??. IS there another method to solve this??
If I am using a 3x3 filter then I will have to read 400 pixels so that I have starting pixel values of the below 2 rows.
2. Also is it useful to use a bram as row buffer or is it better to initialize an array and use it as a row buffer??
I am trying to find a maxima using a 8 neighborhood pixel for an filtered image. It is basically a 2D filter moving along the pixels of the image from left to right. I am trying to implement the same using VHDL. I have few questions regarding the approach.
1. When I read the pixels in a stream fashion, I need to read one complete row to access the pixel of below row. Suppose if the image has a width i.e 200 pixels. do I need to read 200 pixels completely to access the next row??. IS there another method to solve this??
If I am using a 3x3 filter then I will have to read 400 pixels so that I have starting pixel values of the below 2 rows.
2. Also is it useful to use a bram as row buffer or is it better to initialize an array and use it as a row buffer??