Community
cancel
Showing results for 
Search instead for 
Did you mean: 
thorsan
Beginner
98 Views

Index image

Hi,

I have an image of 16u values. These values are indexes into a map of 8u values, so the map is a lookup table for converting the u16 values to 8u values. Is there a function for this in IPP?

Also, another question. Say I have a one channel image of 32f values and I want to do general arithmetics on it (add,mul,sqrt...), would it be faster to use the image functions or the signal processing functions? There is no ROI involved in the calculations.

Thanks,
Thor Andreas
0 Kudos
2 Replies
Vladimir_Dudnik
Employee
98 Views


Hello,

regarding your first question I think you may review of ippiLUTPalette functions.

I would recommend you to try Intel DMIP (Deferred Mode Image Processing)library for implementation image arithmetic tasks. It will build optimial processing pipeline for you and will alsoparallelize the task.

Regards,
Vladimir
thorsan
Beginner
98 Views


Thank you for your reply.

In ippi the data are in row major order and I use column major in my data since I do alot of column by column. My data is more or less a collection of vectors. Does there exist a similar function to LUTPalette in ipps?

Thanks,
Thor Andreas

Reply