- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check the attached .bmp files. The src.bmp is 32 bits, logo1.bmp is 24 bits. Alpha values from 0 to 255. The CPU usage of the overlay function I created is very high because theoverlay imageis calculated by each pixel(and color).
Is there a way to use ippi to improve my overlay function performance?
Thanks,
ezcom
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have checked Overlay function using Alpha Composition in ippi. I used ippidemo.exe to test this functionality for src.bmp and logo1.bmp images. CPU usage was less than 30% on Core 2 Duo machine.
Can you check the same using ippidemo?
Ippidemo.exe - This is a demo application in the IPP installation folder (\IPP\6.1.x.xxx\ia32\demo).
Thanks,
Naveen Gv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey Naveen,
I'm able to run ippiDemo, but I can't find Alpha Composition. Could you let me know how you test the funtion?
Thanks,
ezcom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
After opening image from ippidemo, you will get Menu option Process, then click process by you can see following screen.
Regards,
Naveen Gv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please check the attached bmp files.ippIP Demo will calculate pixels ofentire range of src.bmp. But the function I need is that only to calculate pixels when logo pixels are not black.
If you look at the out.bmp, the onlychange from src.bmp is the logo text. Compare totheoutputI got from ippi demo, the entire range of picture is darker than src.bmp.
Regards,
ezcom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I noticed, you change both image src.bmp and log1.bmpto 3 channel 640x480, wichcause the alpha channel information with src.bmp was loss. You may try to convert the log.bmp to AC4 type, then call ippiAlphaCompC_8u_AC4R(.., Over). You will getyour expectedperformnance.
Regards,
Ying

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page