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

ipprWarpAffine

Hadar_P_
Beginner
952 Views

Hi

Is there a special reason why ipprWarpAffine (and the other 3d functions as well) does not support signed short data? Is there a way to bypass it?

Thanks

Hadar

0 Kudos
5 Replies
Ying_H_Intel
Employee
952 Views

Hi Hadar, 

Right, it had only 8u, 16u, 32f in current version because they were asked when implemented.  If your data are 16s, you may have to convert to 32f  ippsConvert_16s32f, then call 32f function. 

Do you like the 16s as a new feature?  if yes, could you please share some background information about your project, data size etc. If they are private Information, you can send us private message.

Best Regards,

Ying  H.

Intel IPP Support 

P.S 

IppStatus ipprWarpAffine_8u_C1V(const Ipp8u* pSrc, IpprVolume srcVolume, int srcStep, int srcPlaneStep, IpprCuboid srcVoi, Ipp8u* pDst, int dstStep, int dstPlaneStep, IpprCuboid dstVOI, const double coeffs[3][4], int interpolation);

IppStatus ipprWarpAffine_16u_C1V(const Ipp16u* pSrc, IpprVolume srcVolume, int srcStep, int srcPlaneStep, IpprCuboid srcVoi, Ipp16u* pDst, int dstStep, int dstPlaneStep, IpprCuboid dstVOI, const double coeffs[3][4], int interpolation);

IppStatus ipprWarpAffine_32f_C1V(const Ipp32f* pSrc, IpprVolume srcVolume, int srcStep, int srcPlaneStep, IpprCuboid srcVoi, Ipp32f* pDst, int dstStep, int dstPlaneStep, IpprCuboid dstVOI, const double coeffs[3][4], int interpolation);

0 Kudos
Hadar_P_
Beginner
952 Views

Hi Ying

Thanks for the prompt answer!

I am dealing with medical data (hundreds of slices of 512*512 signed shorts usually, but also much bigger), and I would like to cut a slab or plane of this data, in general direction, with interpolation. 

Copying the data to 32f is impossible due to the cost in memory usage and time consumption.

Best

Hadar

0 Kudos
Hadar_P_
Beginner
952 Views

To make it clear, I would like to have something like matlab's interp3

0 Kudos
Ying_H_Intel
Employee
952 Views

Hi Hadar,

Get it. matlab's interp3, I had escalated your request to IPP product definition team for considering in next product plan. I will let you know if any updates about the feature. DPD200579391

Best Regards,

Ying

0 Kudos
Hadar_P_
Beginner
952 Views

Ying

Thanks a lot for your response, please add to the request the possibility to have different (float) factors for each axis, like different millimeter per pixel in each direction

Thanks again and best regards

Hadar

0 Kudos
Reply