i am making program which will find edges in RGB image using dizenzo and sobel method but i am getting this error msg in matlab:
"??? Error using ==> mpower
Both operands must be scalar.
Error in ==> pro at 27
gxx = [(abs(re))^2 + (abs(ge))^2 +(abs(be)^2)];"