- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hello,
I have a library written in C compiled with IPP in Linux (Ububtu 12).
In the library I calculate the mean value of an image. There is a specific image that it's average is NAN. This function is part of a bigger loop that processes images. The input image's memory area is fixed and doesn't vary from image to image.
I verifired that all the image values are valid, the ROI is valid and the sizes are valid: all the input parameters are valid.
The return code is success and the mean value itself is NAN.
If I calculate the mean value with my own code the result is right and valid.
Please advise
Thanks
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
or please give us the test which we can compile and check the results on our side.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
The code works well 99.9% of the time.
In rare cases the function returns a success code but the mean value returned is NAN.
This code is part of a library. I have two modes of running my scenario:
1. A simple test application that tests the library
2. A bigger project that the library is staticaly linked to
I ran the same scaenrio in both ways (and verified that the inputs to the mean function are exact) and the bigger project's path have the reported problem. The only difference between the two calls is the image's address. In both cases it is a global array.
It's not a simple peice of code that may be tested easily on your side.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Amir,
Also, what are the input values you are using?
- Chuck
