yttuncel
Junior Member level 3
- Joined
- Nov 18, 2012
- Messages
- 30
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,663
Hello,
In my current project I hold an image inside a ROM and when asked, I copy the content into a frame buffer which is read by the monitor. I can successfully copy and show the image on the screen. Now I am adding something new. The image will be rotated by x degrees (input) before being copied into the frame buffer.
One important thing is that I am using 1bpp in ROM. So it is not RGB data, only ones(background) and zeros(image).
I looked for rotation algorithms on the web but I can not select between the rotation matrix method and the rotation by shearing method. Rotation matrix seems more compute intensive than shearing method, but on the other hand it is easily implementable.
Can anybody give me any heads up, what method is the best for a hardware implementation?
Thanks.
In my current project I hold an image inside a ROM and when asked, I copy the content into a frame buffer which is read by the monitor. I can successfully copy and show the image on the screen. Now I am adding something new. The image will be rotated by x degrees (input) before being copied into the frame buffer.
One important thing is that I am using 1bpp in ROM. So it is not RGB data, only ones(background) and zeros(image).
I looked for rotation algorithms on the web but I can not select between the rotation matrix method and the rotation by shearing method. Rotation matrix seems more compute intensive than shearing method, but on the other hand it is easily implementable.
Can anybody give me any heads up, what method is the best for a hardware implementation?
Thanks.