Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
공지
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

EigenValsVecs question

Ruslan_G_
초급자
973 조회수

 

Hello! I compared results of EigenValsVecs functions in IPP and OpenCV and found that in some cases ippiEigenValsVecs function returns exactly (1.0f, 0.0f) and (0.0f, 1.0f) eigen vectors although OpenCV returns eigen vectors which are not even close to vectors obtained with IPP.

For example with input 5x5 matrix

-116.127525f,      -152.685074f,       108.699646f,     -168.813187f,      166.688339f,
-195.550934f,       142.426865f,         63.002094f,       67.792168f,        66.547188f,
   40.681679f,        91.366081f,        -10.763326f,      186.464005f,      164.351349f,
   44.740143f,        64.384964f,        -80.919853f,       -29.437082f,       45.215580f,
   95.272400f,        21.906961f,         84.793060f,       -50.961384f,      250.437256f

IPP returns (1.0f, 0.0f) and (0.0f, 1.0f) eigen vectors for the (3, 3) element of the matrix, but OpenCV returns (-0.540550, 0.841312) and (-0.841312, -0.540550).

Is there any reason for such behavior or some criteria when it appear?

0 포인트
3 응답
Chao_Y_Intel
중재자
973 조회수

Hi, 

Thanks for your report.  We are checking now.   Which version of IPP are you testing now? 

Regards,
Chao

 

0 포인트
Ruslan_G_
초급자
973 조회수

Thanks for your answer. I'm testing IPP 9.0.

0 포인트
Chao_Y_Intel
중재자
973 조회수

Rusian, 

thanks for the information.  The engineer is checking the code now, and I will provide you further feedback. 

Regards,
Chao

0 포인트
응답