Arm Community
Site
Search
User
Site
Search
User
Groups
Education Hub
Arm Ambassadors
Open Source Software and Platforms
Research Collaboration and Enablement
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello forum
Operating Systems forum
SoC Design and Simulation forum
SystemReady Forum
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Internet of Things (IoT) blog
Operating Systems blog
SoC Design and Simulation blog
Tools, Software and IDEs blog
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Arm Development Studio forum
bilinear interpolation optimiziation using ARM
Jump...
Cancel
Locked
Locked
Replies
11 replies
Subscribers
120 subscribers
Views
11670 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
bilinear interpolation optimiziation using ARM
Ahmed Tolba
over 11 years ago
Note: This was originally posted on 16th March 2013 at
http://forums.arm.com
I'm working on ARM, and I'm trying to optimize downsampling an image, I have used OpenCV cv::resize and its slow ~3ms for 1280*960 to 400*300, I'm trying to use ARM neon to accelerate it, however I find it hard to get along the ARM neon instructions to rewrite it. I also tried to read few tutorials from arm.blog, and hilberspace.de, but still there are a lot of missing information about the topic, so I would like also someone to recommend a book or something about that topic.
I tried to think about the problem regarding ARM Neon language, so the instructions that load the registers load 8 bytes in one time in a row, but according my algorithm I try to load 4 bytes and interpolate between them.. I couldn't get how to implement that in ARM Neon. It would be a great learning experience
Here is my function:
The code is here :
http://pastebin.com/C2YdeV0M
it seems there is a problem with formatting code here in the forums.
Parents
Ahmed Tolba
over 11 years ago
Note: This was originally posted on 25th March 2013 at
http://forums.arm.com
Thanks you all for your replies.
@Exophase
Could you explain a little bit more about the problem with bilinear interpolation with vectors of Neon ?
I ended up with taking 3x3 pixels then average them, store the result in the dest image. It give good result, but I will try to test it in my image processing system and how good quality is it.
Cancel
Up
0
Down
Cancel
Reply
Ahmed Tolba
over 11 years ago
Note: This was originally posted on 25th March 2013 at
http://forums.arm.com
Thanks you all for your replies.
@Exophase
Could you explain a little bit more about the problem with bilinear interpolation with vectors of Neon ?
I ended up with taking 3x3 pixels then average them, store the result in the dest image. It give good result, but I will try to test it in my image processing system and how good quality is it.
Cancel
Up
0
Down
Cancel
Children
No data