Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

switching between vector and image formats

siddy
Beginner
234 Views
Hi experts,
Any advise on how the application can seamlessly interpret an image (ippi..) as a vector (ipps..)?, of the data type that exists in both representations?
0 Kudos
2 Replies
Naveen_G_Intel
Employee
234 Views

Hi,

IPPS functions are expected data type is single dimensional (1D), IPPI functions processing data as 2D.

Regards,

Naveen Gv

0 Kudos
siddy
Beginner
234 Views
Yes, but can there be 2 strides for element access patterns, one for an "as vector" access and second for
"as image" access ? (maybe a third for volume access too). Why I say this is that in Matlab (which also expects vectorized coding style) it is possible, and it simplifies vectorization efforts and yields a good performance impact (as compared to a non-vectorized matlab code). I have personally found it very beneficial to re-interpret the same data block as vector, stack of image frames or volumes within the same application, depending on what is being extracted from (of) the data.

Just a thought at best, maybe an entry in my wish list too...
0 Kudos
Reply