Reshape function
Hi I have to translate from MAtlav to C this lines:
x=reshape(img,r*c,numChannels);
x=reshape(img,r,c,numChannels);
x=reshape(img,r,c);
x=reshape(img,r*c,scalesNumber);
I didn t understand well this function, but I tried with:
x=img.reshape(numColComp,rows*cols);
x=img.reshape(numColComp,rows);
x=img.reshape(numColComp,rows); //or x=img.reshape(0,rows)
x=img.reshape(0,rows);
I suppose I m doing it bad