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.