the code which is provided gets stuck at this point given below.
nsum = nsum + abs(fft(nwin,NFFT)).^2;
can you please help me out regarding this.
the error showing is
"Error using ==> mpower
Matrix must be square.
Error in ==> WienerNoiseReduction at 57
nsum = nsum + abs(fft(nwin,NFFT)).^2;"
Using the values stored in 'r', i have cut out the detected faces individually from some rgb images, and i am getting all faces in grayscale which is obvious because of the rgb2gray function i have used..
But is there any way to get those cut out faces in rgb ?? How to retain its original rgb composition after running the fdlibmex ??