Getting an error unrecognized or unsupported array type
<p>I am calling function in view controller file </p>

<pre><code>cvCalcEigenObjects(nTrainFaces, 
                       (void *)faceImgArr,
                       (void *)eigenVectArr,
                       CV_EIGOBJ_NO_CALLBACK,
                       0,
                       0,
                       &amp;calcLimit,
                       pAvgTrainImg,
                       eigenValMat-&gt;data.fl);
</code></pre>

<p>where</p>

<pre><code>IplImage * * eigenVectArr[nFaces];  
IplImage * * faceImgArr[nFaces];  and nFaces=30
</code></pre>

<p>I am getting an error saying :</p>

<p>unrecognized or unsupported array type in function cvGetRawData.</p>

<p>Function defination is</p>

<pre><code>/* Calculates eigen values and vectors of covariation matrix of a set of
   arrays */
CVAPI(void)  cvCalcEigenObjects( int nObjects, void* input, void* output,
                                 int ioFlags, int ioBufSize, void* userData,
                                 CvTermCriteria* calcLimit, IplImage* avg,
                                 float* eigVals );
</code></pre>
